function header()
{
	var p=document.location.href;
	var pn=p.lastIndexOf('/');
	var pe=p.indexOf('?');
	//alert(pe);
	if(pe!='-1')
	var pageName=p.substring(pn+1,pe);
	else
	var pageName=p.substring(pn+1);	
	
	
var str='';
str+='<div class="main">';
str+='<div class="header_main">';
str+='<div class="header_main_C1">';
str+='<a href="index.php" title="Medma Infomatix"><img class="img_logo" src="images/medma_logo.jpg" width="215" height="121" border="0" alt="Medma Infomatix" title="Medma Infomatix" /></a>';
str+='</div>';
str+='<div class="header_main_C2">';
str+='<div class="header_main_C2_R1">';
str+='<a href="http://nasscom.org/" target="_blank" title="NASSCOM Member"><img class="img_empowering" src="images/nasscom_logo.jpg" width="136" height="35" border="0"  alt="NASSCOM Member" title="NASSCOM Member" /></a>';
str+='</div>';
str+='<div class="header_main_C2_R2">';
str+='<div class="menu_row">';
if(pageName=='' || pageName=='index.php')
{
str+='<div name="link1" class="menu_home_selected">';
str+='<div class="menu_text">Home</div>';
str+='</div>';
}
else
{
str+='<a href="index.php" title="Home" >';
str+='<div name="link1" class="menu_row_links_1" onmouseover="this.style.background=\'url(images/link_over.jpg)\';this.style.color=\'white\';" onmouseout="this.style.background=\'url(images/link_on.jpg)\';this.style.color=\'#666666\';">';
str+='<div class="menu_text">Home</div>';
str+='</div>';
str+='</a>';	
}
if(pageName=='our-company.php')
{
str+='<div name="link2"  class="menu_Who_what_selected">';
str+='<div class="menu_text">Who We Are</div>';
str+='</div>';
}
else
{
str+='<a href="our-company.php" title="Who We Are">';
str+='<div name="link2"  class="menu_Who_what" onmouseover="this.style.background=\'url(images/link_over.jpg)\';this.style.color=\'white\';" onmouseout="this.style.background=\'url(images/link_on.jpg)\';this.style.color=\'#666666\';">';
str+='<div class="menu_text">Who We Are</div>';
str+='</div>';
str+='</a>';	
}
if(pageName=='recent-projects.php')
{
str+='<div name="link3"  class="menu_Who_what_selected">';
str+='<div class="menu_text">What We Do</div>';
str+='</div>';
}
else
{
str+='<a href="recent-projects.php" title="What We Do">';
str+='<div name="link3"  class="menu_Who_what" onmouseover="this.style.background=\'url(images/link_over.jpg)\';this.style.color=\'white\';" onmouseout="this.style.background=\'url(images/link_on.jpg)\';this.style.color=\'#666666\';">';
str+='<div class="menu_text">What We Do</div>';
str+='</div>';
str+='</a>';	
}
if(pageName=='vision-values.php')
{
str+='<div name="link4"  class="menu_vision_career_selected">';
str+='<div class="menu_text">Vision &amp; Values</div>';
str+='</div>';
}
else
{
str+='<a href="vision-values.php" title="Vision &amp; Values">';
str+='<div name="link4"  class="menu_vision_career" onmouseover="this.style.background=\'url(images/link_over.jpg)\';this.style.color=\'white\';" onmouseout="this.style.background=\'url(images/link_on.jpg)\';this.style.color=\'#666666\';">';
str+='<div class="menu_text">Vision &amp; Values</div>';
str+='</div>';
str+='</a>';	
}
if(pageName=='new-career.php')
{
str+='<div name="link5"  class="menu_vision_career_selected">';
str+='<div class="menu_text">Careers with Us</div>';
str+='</div>';
}
else
{
str+='<a href="new-career.php" title="Careers with Us" target="_blank">';
str+='<div name="link5"  class="menu_vision_career" onmouseover="this.style.background=\'url(images/link_over.jpg)\';this.style.color=\'white\';" onmouseout="this.style.background=\'url(images/link_on.jpg)\';this.style.color=\'#666666\';">';
str+='<div class="menu_text">Careers with Us</div>';
str+='</div>';
str+='</a>';	
}
if(pageName=='contactus.php' || pageName=='get-free-quote.php' || pageName=='send-email.php')
{
str+='<div name="link6"  class="menu_contact_selected">';
str+='<div class="menu_text">Contact Us</div>';
str+='</div>';
}
else
{
str+='<a href="contactus.php" title="Contact Us">';
str+='<div name="link6"  class="menu_contact" onmouseover="this.style.background=\'url(images/link_over.jpg)\';this.style.color=\'white\';" onmouseout="this.style.background=\'url(images/link_on.jpg)\';this.style.color=\'#666666\';">';
str+='<div class="menu_text">Contact Us</div>';
str+='</div>';
str+='</a>';	
}
str+='</div>';
str+='</div>';
str+='</div>';
str+='<div class="header_main_C3">';
str+='<img class="img_heder_right" src="images/header_right.jpg" width="6" height="121" border="0" alt="header_right.jpg" />';
str+='</div>';
str+='</div>';

document.write(str);
}


function imageSelected(imgId)
{
	if(imgId=='img1')
	{
	document.getElementById('img1').src='images/company_over.jpg';
	document.getElementById('img2').src='images/expertise_on.jpg';
	document.getElementById('img3').src='images/people_on.jpg';
	}
	else if(imgId=='img2')
	{
	document.getElementById('img1').src='images/company_on.jpg';
	document.getElementById('img2').src='images/expertise_over.jpg';
	document.getElementById('img3').src='images/people_on.jpg';
	}
	else if(imgId=='img3')
	{
	document.getElementById('img1').src='images/company_on.jpg';
	document.getElementById('img2').src='images/expertise_on.jpg';
	document.getElementById('img3').src='images/people_over.jpg';
	}
	//setInterval();
}


function aboutCompany(val)
{
	if(val=='1')
	{
	document.getElementById('company').style.display='block';
	document.getElementById('expertise').style.display='none';
	document.getElementById('people').style.display='none';
	}
	else if(val=='2')
	{
	document.getElementById('company').style.display='none';
	document.getElementById('expertise').style.display='block';
	document.getElementById('people').style.display='none';
	}
	else if(val=='3')
	{
	document.getElementById('company').style.display='none';
	document.getElementById('expertise').style.display='none';
	document.getElementById('people').style.display='block';
	}
}


function show_div(linkId)
	{
		if(linkId=='1st')
		{
		document.getElementById("who_div").style.display='';
		document.getElementById("what_div").style.display='none';
		document.getElementById("awards_div").style.display='none';
		document.getElementById("link1").className='selectedLink';
		document.getElementById("link2").className='';
		document.getElementById("link3").className='';
		document.getElementById("img1").src='images/link_images/over_arrow.jpg';
		document.getElementById("img2").src='images/link_images/on_arrow.jpg';
		document.getElementById("img3").src='images/link_images/on_arrow.jpg';
		document.getElementById("aboutUsMiddleDivHeight").style.height='489px';
		document.getElementById("aboutUsLeftDivHeight").style.height='485px';
		}
		else if(linkId=='2nd')
		{
		document.getElementById("what_div").style.display='';
		document.getElementById("who_div").style.display='none';
		document.getElementById("awards_div").style.display='none';
		document.getElementById("link1").className='';
		document.getElementById("link2").className='selectedLink';
		document.getElementById("link3").className='';
		document.getElementById("img1").src='images/link_images/on_arrow.jpg';
		document.getElementById("img2").src='images/link_images/over_arrow.jpg';
		document.getElementById("img3").src='images/link_images/on_arrow.jpg';
		document.getElementById("aboutUsMiddleDivHeight").style.height='749px';
		document.getElementById("aboutUsLeftDivHeight").style.height='745px';
		}
		else if(linkId=='3rd')
		{
		document.getElementById("awards_div").style.display='';
		document.getElementById("who_div").style.display='none';
		document.getElementById("what_div").style.display='none';
		document.getElementById("link1").className='';
		document.getElementById("link2").className='';
		document.getElementById("link3").className='selectedLink';
		document.getElementById("img1").src='images/link_images/on_arrow.jpg';
		document.getElementById("img2").src='images/link_images/on_arrow.jpg';
		document.getElementById("img3").src='images/link_images/over_arrow.jpg';
		document.getElementById("aboutUsMiddleDivHeight").style.height='910px';
		document.getElementById("aboutUsLeftDivHeight").style.height='906px';
		}
		
	}	
	
		function show_vison_div(linkId)
	{
	
		if(linkId=='1st')
		{
		document.getElementById("comp_val").style.display='';
		document.getElementById("social_resp").style.display='none';
		document.getElementById("social_resp_2").style.display='none';
		//document.getElementById("vision_div").style.display='none';
		//document.getElementById("contact_div").style.display='none';
		//document.getElementById("social_div").style.display='none';
		document.getElementById("link1").className='selectedLink';
		document.getElementById("link2").className='';
		//document.getElementById("link3").className='';
		//document.getElementById("link4").className='';
		//document.getElementById("link5").className='';
		document.getElementById("visonMiddleDivHeight").style.height='575px';
		document.getElementById("visonLeftDivHeight").style.height='573px';
		document.getElementById("img1").src='images/link_images/over_arrow.jpg';
		document.getElementById("img2").src='images/link_images/on_arrow.jpg';
		//document.getElementById("img3").src='images/link_images/on_arrow.jpg';
		//document.getElementById("img4").src='images/link_images/on_arrow.jpg';
		//document.getElementById("img5").src='images/link_images/on_arrow.jpg';								
		}
		else if(linkId=='2nd')
		{
		if(window.screen.width>1024 || screen.width>1024)
			{
		//document.getElementById("socialGiving").style.marginTop='55px';
		document.getElementById("comp_val").style.display='none';
		document.getElementById("social_resp").style.display='';
		document.getElementById("social_resp_2").style.display='none';
			}
		else
			{
		//document.getElementById("socialGiving").style.marginTop='55px';
		document.getElementById("comp_val").style.display='none';
		document.getElementById("social_resp").style.display='none';
		document.getElementById("social_resp_2").style.display='';
			}
		//document.getElementById("vision_div").style.display='none';
		//document.getElementById("contact_div").style.display='none';
		//document.getElementById("social_div").style.display='none';
		document.getElementById("link1").className='';
		document.getElementById("link2").className='selectedLink';
		//document.getElementById("link3").className='';
		//document.getElementById("link4").className='';
		//document.getElementById("link5").className='';
		document.getElementById("visonMiddleDivHeight").style.height='920px';
		document.getElementById("visonLeftDivHeight").style.height='917px';
		document.getElementById("img1").src='images/link_images/on_arrow.jpg';
		document.getElementById("img2").src='images/link_images/over_arrow.jpg';
		//document.getElementById("img3").src='images/link_images/on_arrow.jpg';
		//document.getElementById("img4").src='images/link_images/on_arrow.jpg';
		//document.getElementById("img5").src='images/link_images/on_arrow.jpg';
		}
	}
	
	
	function show_project_div(linkId)
	{
	
		if(linkId=='1st')
		{
		document.getElementById("comp_val").style.display='';
		document.getElementById("social_resp").style.display='none';
		document.getElementById("vision_div").style.display='none';
		document.getElementById("contact_div").style.display='none';
		//document.getElementById("social_div").style.display='none';
		document.getElementById("link1").className='selectedLink';
		document.getElementById("link2").className='';
		document.getElementById("link3").className='';
		document.getElementById("link4").className='';
		//document.getElementById("link5").className='';
		document.getElementById("linkPageMiddleDivLessHeight").style.height='700px';
		document.getElementById("leftColMainDivLessHeight").style.height='575px';
		document.getElementById("img1").src='images/link_images/over_arrow.jpg';
		document.getElementById("img2").src='images/link_images/on_arrow.jpg';
		document.getElementById("img3").src='images/link_images/on_arrow.jpg';
		document.getElementById("img4").src='images/link_images/on_arrow.jpg';
		//document.getElementById("img5").src='images/link_images/on_arrow.jpg';								
		}
		else if(linkId=='2nd')
		{
		document.getElementById("comp_val").style.display='none';
		document.getElementById("social_resp").style.display='';
		document.getElementById("vision_div").style.display='none';
		document.getElementById("contact_div").style.display='none';
		//document.getElementById("social_div").style.display='none';
		document.getElementById("link1").className='';
		document.getElementById("link2").className='selectedLink';
		document.getElementById("link3").className='';
		document.getElementById("link4").className='';
		//document.getElementById("link5").className='';
		document.getElementById("linkPageMiddleDivLessHeight").style.height='700px';
		document.getElementById("leftColMainDivLessHeight").style.height='575px';
		document.getElementById("img1").src='images/link_images/on_arrow.jpg';
		document.getElementById("img2").src='images/link_images/over_arrow.jpg';
		document.getElementById("img3").src='images/link_images/on_arrow.jpg';
		document.getElementById("img4").src='images/link_images/on_arrow.jpg';
		//document.getElementById("img5").src='images/link_images/on_arrow.jpg';
		}
		else if(linkId=='3rd')
		{
		document.getElementById("what_div").style.display='none';
		document.getElementById("who_div").style.display='none';
		document.getElementById("vision_div").style.display='';
		document.getElementById("contact_div").style.display='none';
		//document.getElementById("social_div").style.display='none';
		document.getElementById("link1").className='';
		document.getElementById("link2").className='';
		document.getElementById("link3").className='selectedLink';
		document.getElementById("link4").className='';
		//document.getElementById("link5").className='';
		document.getElementById("linkPageMiddleDivLessHeight").style.height='700px';
		document.getElementById("leftColMainDivLessHeight").style.height='575px';
		document.getElementById("img1").src='images/link_images/on_arrow.jpg';
		document.getElementById("img2").src='images/link_images/on_arrow.jpg';
		document.getElementById("img3").src='images/link_images/over_arrow.jpg';
		document.getElementById("img4").src='images/link_images/on_arrow.jpg';
		//document.getElementById("img5").src='images/link_images/on_arrow.jpg';		
		}
		else if(linkId=='4th')
		{
		document.getElementById("what_div").style.display='none';
		document.getElementById("who_div").style.display='none';
		document.getElementById("vision_div").style.display='none';
		document.getElementById("contact_div").style.display='';
		//document.getElementById("social_div").style.display='none';
		document.getElementById("link1").className='';
		document.getElementById("link2").className='';
		document.getElementById("link3").className='';
		document.getElementById("link4").className='selectedLink';
		//document.getElementById("link5").className='';
		document.getElementById("linkPageMiddleDivLessHeight").style.height='700px';
		document.getElementById("leftColMainDivLessHeight").style.height='575px';
		document.getElementById("img1").src='images/link_images/on_arrow.jpg';
		document.getElementById("img2").src='images/link_images/on_arrow.jpg';
		document.getElementById("img3").src='images/link_images/on_arrow.jpg';
		document.getElementById("img4").src='images/link_images/over_arrow.jpg';
		//document.getElementById("img5").src='images/link_images/on_arrow.jpg';		
		}
		else if(linkId=='5th')
		{
		document.getElementById("what_div").style.display='none';
		document.getElementById("who_div").style.display='none';
		document.getElementById("vision_div").style.display='none';
		document.getElementById("contact_div").style.display='none';
		//document.getElementById("social_div").style.display='';
		document.getElementById("link1").className='';
		document.getElementById("link2").className='';
		document.getElementById("link3").className='';
		document.getElementById("link4").className='';
		//document.getElementById("link5").className='selectedLink';
		document.getElementById("linkPageMiddleDivLessHeight").style.height='700px';
		document.getElementById("leftColMainDivLessHeight").style.height='575px';
		document.getElementById("img1").src='images/link_images/on_arrow.jpg';
		document.getElementById("img2").src='images/link_images/on_arrow.jpg';
		document.getElementById("img3").src='images/link_images/on_arrow.jpg';
		document.getElementById("img4").src='images/link_images/on_arrow.jpg';
		//document.getElementById("img5").src='images/link_images/over_arrow.jpg';		
		}
	}
	
function show_div_wwd(linkId)
	{
	
		if(linkId=='1st')
		{
		
		document.getElementById("link1").className='selectedLink';
		document.getElementById("link2").className='';
		document.getElementById("link3").className='';
		document.getElementById("link4").className='';		
		document.getElementById("img1").src='images/link_images/over_arrow.jpg';
		document.getElementById("img2").src='images/link_images/on_arrow.jpg';
		document.getElementById("img3").src='images/link_images/on_arrow.jpg';
		document.getElementById("img4").src='images/link_images/on_arrow.jpg';
		document.getElementById("linkPageMiddleDivLessHeight").style.height='700px';
		document.getElementById("leftColMainDivLessHeight").style.height='575px';								
		}
		else if(linkId=='2nd')
		{
		
		document.getElementById("link1").className='';
		document.getElementById("link2").className='selectedLink';
		document.getElementById("link3").className='';
		document.getElementById("link4").className='';			
		document.getElementById("img1").src='images/link_images/on_arrow.jpg';
		document.getElementById("img2").src='images/link_images/over_arrow.jpg';
		document.getElementById("img3").src='images/link_images/on_arrow.jpg';
		document.getElementById("img4").src='images/link_images/on_arrow.jpg';
		document.getElementById("linkPageMiddleDivLessHeight").style.height='700px';
		document.getElementById("leftColMainDivLessHeight").style.height='575px';
			}
		else if(linkId=='3rd')
		{
		
		document.getElementById("link1").className='';
		document.getElementById("link2").className='';
		document.getElementById("link3").className='selectedLink';
		document.getElementById("link4").className='';				
		document.getElementById("img1").src='images/link_images/on_arrow.jpg';
		document.getElementById("img2").src='images/link_images/on_arrow.jpg';
		document.getElementById("img3").src='images/link_images/over_arrow.jpg';
		document.getElementById("img4").src='images/link_images/on_arrow.jpg';
		document.getElementById("linkPageMiddleDivLessHeight").style.height='700px';
		document.getElementById("leftColMainDivLessHeight").style.height='575px';	
		}
		else if(linkId=='4th')
		{
		document.getElementById("link1").className='';
		document.getElementById("link2").className='';
		document.getElementById("link3").className='';
		document.getElementById("link4").className='selectedLink';				
		document.getElementById("img1").src='images/link_images/on_arrow.jpg';
		document.getElementById("img2").src='images/link_images/on_arrow.jpg';
		document.getElementById("img3").src='images/link_images/on_arrow.jpg';
		document.getElementById("img4").src='images/link_images/over_arrow.jpg';
		document.getElementById("linkPageMiddleDivLessHeight").style.height='700px';
		document.getElementById("leftColMainDivLessHeight").style.height='575px';
		}
		
	}	

function show_div_contact(linkId)
	{
	
		if(linkId=='1st')
		{
		document.getElementById("get_free_quote").style.display='';
		document.getElementById("send_email").style.display='none';
		}
		else if(linkId=='2nd')
		{
		document.getElementById("get_free_quote").style.display='none';
		document.getElementById("send_email").style.display='';
		}
	}


function showTitles(flg,vTitles,tTitles,videoID,textID)
{
 if(flg==1)
 {
  document.getElementById(videoID).style.display='';
  document.getElementById(textID).style.display='none';
  document.getElementById(vTitles).className='pageHeadingSmallBoldBlue';
  document.getElementById(tTitles).className='pageHeadingSmallBoldGrey';
 }
 else if(flg==2)
 {
  document.getElementById(videoID).style.display='none';
  document.getElementById(textID).style.display='';
  document.getElementById(vTitles).className='pageHeadingSmallBoldGrey';
  document.getElementById(tTitles).className='pageHeadingSmallBoldBlue';
 }
 else
 {
  document.getElementById(videoID).style.display='';
  document.getElementById(textID).style.display='none';
  document.getElementById(vTitles).className='pageHeadingSmallBoldBlue';
  document.getElementById(tTitles).className='pageHeadingSmallBoldGrey';
 }
 	
}


function left_menu()
{
        var str='';
	str+="<div>&nbsp;</div><div class='leftMenuPad' style='font-size:13px;'>";
	str+="<div class='leftMenuRowNoBorder'><div class='arrowImgCol' align='center'><img id=\'img1\' src='images/link_images/over_arrow.jpg' /></div><div class='leftMenuLinkCol'><a href='javascript:void(0)' id='1st' onclick=\"show_div('1st');\" title='About Us'><span id='link1' class='selectedLink'>About Us</span></a></div></div>";
	str+="<div class='leftMenuRow'><div class='arrowImgCol' align='center'><img id=\'img2\' src='images/link_images/on_arrow.jpg' /></div><div class='leftMenuLinkCol'><a href='javascript:void(0)' id='2nd' onclick=\"show_div('2nd');\" title='Management'><span id='link2'>Management</span></a></div></div>";
	str+="<div class='leftMenuRow'><div class='arrowImgCol' align='center'><img id=\'img3\' src='images/link_images/on_arrow.jpg' /></div><div class='leftMenuLinkCol'><a href='javascript:void(0)' id='3rd' onclick=\"show_div('3rd');\" title='Accreditations & Awards'><span id='link3'>Accreditations & Awards</a></div></div>";	
	str+="<div class='leftMenuRow'><div class='arrowImgCol' align='center'><img id=\'img5\' src='images/link_images/on_arrow.jpg' /></div><div class='leftMenuLinkCol'><a href='http://picasaweb.google.com/medmatest/LifeMedma' target='_blank' title='Life@medma'><span id='link5'>Life@medma</a></div></div>";
	str+="<div class='leftMenuRow'><div class='arrowImgCol' align='center'><img id=\'img4\' src='images/link_images/on_arrow.jpg' /></div><div class='leftMenuLinkCol'><a href='http://team.medma.in' target='_blank' title='Team Blog'><span id='link4'>Team Blog</span></a></div></div>";
	
	str+="</div>";
	document.write(str);
}


function showFotterLink(flg)
{
//alert(flg)
 if(flg==1)
 {
 document.getElementById('privacy_policy').style.display='';
 document.getElementById('returns_policy').style.display='none';
 document.getElementById('terms_conditions').style.display='none';
 document.getElementById('link1').style.color='#3182AD';
document.getElementById('link2').style.color='#666666';
document.getElementById('link3').style.color='#666666';
document.getElementById('img1').src='images/link_images/over_arrow.jpg';
document.getElementById('img2').src='images/link_images/on_arrow.jpg';
document.getElementById('img3').src='images/link_images/on_arrow.jpg';
 }
 else if(flg==2)
 {
 document.getElementById('privacy_policy').style.display='none';
 document.getElementById('returns_policy').style.display='';
 document.getElementById('terms_conditions').style.display='none';
 document.getElementById('link1').style.color='#666666';
 document.getElementById('link2').style.color='#3182AD';
document.getElementById('link3').style.color='#666666';
document.getElementById('img1').src='images/link_images/on_arrow.jpg';
document.getElementById('img2').src='images/link_images/over_arrow.jpg';
document.getElementById('img3').src='images/link_images/on_arrow.jpg';
 }
 else if(flg==3)
 {
 document.getElementById('privacy_policy').style.display='none';
 document.getElementById('returns_policy').style.display='none';
 document.getElementById('terms_conditions').style.display='';
 document.getElementById('link1').style.color='#666666';
 document.getElementById('link2').style.color='#666666';
 document.getElementById('link3').style.color='#3182AD';
document.getElementById('img1').src='images/link_images/on_arrow.jpg';
document.getElementById('img2').src='images/link_images/on_arrow.jpg';
document.getElementById('img3').src='images/link_images/over_arrow.jpg';
 }
  	
}


function left_menu_footerlink(Title)
{
	//alert(Title)
        var str='';
	str+="<div>&nbsp;</div><div class='leftMenuPad' style='font-size:13px;'>";
	if(Title=='1')
	{
	str+="<div class='leftMenuRowNoBorder'><div class='arrowImgCol' align='center'><img id=\'img1\' src='images/link_images/over_arrow.jpg' /></div><div class='leftMenuLinkCol'><a href='javascript:void(0)' id='1st' title='Privacy Policy' onclick='showFotterLink(1);'><span id='link1' class='selectedLink'>Privacy Policy</span></a></div></div>";
	}
	else
	{
	str+="<div class='leftMenuRowNoBorder'><div class='arrowImgCol' align='center'><img id=\'img1\' src='images/link_images/on_arrow.jpg' /></div><div class='leftMenuLinkCol'><a href='javascript:void(0)' id='1st' title='Privacy Policy' onclick='showFotterLink(1);'><span id='link1'>Privacy Policy</span></a></div></div>";
	}
	if(Title=='2')
	{
	str+="<div class='leftMenuRow'><div class='arrowImgCol' align='center'><img id=\'img2\' src='images/link_images/over_arrow.jpg' /></div><div class='leftMenuLinkCol'><a href='javascript:void(0)' id='2nd' title='Returns Policy' onclick='showFotterLink(2);'><span id='link2' class='selectedLink'>Returns Policy</span></a></div></div>";
	}	
	else
	{
	str+="<div class='leftMenuRow'><div class='arrowImgCol' align='center'><img id=\'img2\' src='images/link_images/on_arrow.jpg' /></div><div class='leftMenuLinkCol'><a href='javascript:void(0)' id='2nd' title='Returns Policy' onclick='showFotterLink(2);'><span id='link2'>&nbsp;Returns Policy</span></a></div></div>";
	}
	if(Title=='3')
	{
	str+="<div class='leftMenuRow'><div class='arrowImgCol' align='center'><img id=\'img3\' src='images/link_images/over_arrow.jpg' /></div><div class='leftMenuLinkCol'><a href='javascript:void(0)' id='3rd' title='Terms &amp; Conditions' onclick='showFotterLink(3);'><span id='link3' class='selectedLink'>Terms &amp; Conditions</span></a></div></div>";
	}
	else
	{
	str+="<div class='leftMenuRow'><div class='arrowImgCol' align='center'><img id=\'img3\' src='images/link_images/on_arrow.jpg' /></div><div class='leftMenuLinkCol'><a href='javascript:void(0)' id='3rd' title='Terms &amp; Conditions' onclick='showFotterLink(3);'><span id='link3'>Terms &amp; Conditions</span></a></div></div>";
	}
	str+="</div>";
	document.write(str);
}

function leftMenu_contactus()
{
	var p=document.location.href;
	var pn=p.lastIndexOf('/');
	var pe=p.indexOf('?');
	//alert(pe);
	if(pe!='-1')
	var pageName=p.substring(pn+1,pe);
	else
	var pageName=p.substring(pn+1);	

	var str='';
	str+="<div>&nbsp;</div><div class='leftMenuPad' style='font-size:13px;'>";
	if(pageName=='contactus.php')
	{
	str+="<div class='leftMenuRowNoBorder'><div class='arrowImgCol' align='center'><img src='images/link_images/over_arrow.jpg' /></div><div class='leftMenuLinkCol'><a href='contactus.php' title='Contact Us'><span class='selectedLink'>Contact Us</span></a></div></div>";
	}
	else
	{
	str+="<div class='leftMenuRowNoBorder'><div class='arrowImgCol' align='center'><img src='images/link_images/on_arrow.jpg' /></div><div class='leftMenuLinkCol'><a href='contactus.php' title='Contact Us'>Contact Us</a></div></div>";
	}
	if(pageName=='get-free-quote.php')
	{
	str+="<div class='leftMenuRow'><div class='arrowImgCol' align='center'><img src='images/link_images/over_arrow.jpg' /></div><div class='leftMenuLinkCol'><a href='get-free-quote.php' title='Get Free Quote'><span class='selectedLink'>Get Free Quote</span></a></div></div>";
	}
	else
	{
	str+="<div class='leftMenuRow'><div class='arrowImgCol' align='center'><img src='images/link_images/on_arrow.jpg' /></div><div class='leftMenuLinkCol'><a href='get-free-quote.php'  title='Get Free Quote'><span id='1st'>Get Free Quote</span></a></div></div>";
	}
	str+="</div>";
	document.write(str);
}

/*
function vision_left_menu()
{
        var str='';
	str+="<div>&nbsp;</div><div class='leftMenuPad' style='font-size:13px;'>";
	str+="<div class='leftMenuRowNoBorder' style='height:35px;'><div class='arrowImgCol' align='center'><img id=\'img1\' src='images/link_images/over_arrow.jpg' /></div><div class='leftMenuLinkCol'><a href='vision-values.php' id='1st' onclick=\"show_project_div('1st');\" title='Company Values'><span id='link1' class='selectedLink'>Company Values</span></a></div></div>";
	str+="<div class='leftMenuRowNoBorder' style='height:35px;'><div class='arrowImgCol' align='center'><img id=\'img1\' src='images/link_images/on_arrow.jpg' /></div><div class='leftMenuLinkCol'><a href='social-responsibility.php' id='1st' onclick=\"show_project_div('2nd');\" title='Social Responsibilty'><span id='link2'>Social Responsibilty</span></a></div></div>";
	str+="</div>";
	document.write(str);
}
*/
function vision_left_menu()
{
        var str='';
	str+="<div>&nbsp;</div><div class='leftMenuPad' style='font-size:13px;'>";
	str+="<div class='leftMenuRowNoBorder' style='height:35px;'><div class='arrowImgCol' align='center'><img id=\'img1\' src='images/link_images/over_arrow.jpg' /></div><div class='leftMenuLinkCol'><a href='javascript:void(0)' id='1st' onclick=\"show_vison_div('1st');\" title='Company Values'><span id='link1' class='selectedLink'>Company Values</span></a></div></div>";
	str+="<div class='leftMenuRowNoBorder' style='height:35px;'><div class='arrowImgCol' align='center'><img id=\'img2\' src='images/link_images/on_arrow.jpg' /></div><div class='leftMenuLinkCol'><a href='javascript:void(0)' id='2nd' onclick=\"show_vison_div('2nd');\" title='Social Responsibilty'><span id='link2'>Social Responsibilty</span></a></div></div>";
	str+="</div>";
	document.write(str);
}

function index_footer()
{
     var str='';
     str+="<div class='footCopyrightCol' align='right'><b><a href='our-company.php?flg=1' title='Winner of IT Supplier Award 2010'>Winner of IT Supplier Award 2010</a></b></div>";	
     str+="<div class='footCopyrightCol' align='right'>Copyright &copy; 1998-2010 Medma Infomatix. All Rights Reserved</div>";
     str+="<div class='footLinkMainCol' align='right'><a href='company-policies.php?title=1' title='Privacy Policy'>Privacy Policy</a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;<a href='company-policies.php?title=2' title='Returns Policy'>Returns Policy</a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;<a href='company-policies.php?title=3' title='Terms &amp; Conditions'>T &amp; C</a></div>";
     document.write(str);			
}

function footer()
{
     var str='';
     str+="<div class='pr_fotter footerLinkFnt'>";
     str+="<div class='footCopyrightColLinkPages' align='right'><b><a href='our-company.php?flg=1' title='Winner of IT Supplier Award 2010'>Winner of IT Supplier Award 2010</a></b></div>";	
     str+="<div class='footCopyrightColLinkPages' align='right'>Copyright &copy; 1998-2010 Medma Infomatix. All Rights Reserved</div>";
      str+="<div class='footLinkMainCol' align='right' style='width:97.5%'><a href='company-policies.php?title=1' title='Privacy Policy'>Privacy Policy</a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;<a href='company-policies.php?title=2' title='Returns Policy'>Returns Policy</a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;<a href='company-policies.php?title=3' title='Terms &amp; Conditions'>T &amp; C</a></div>";
     str+="</div>";
     document.write(str);			
}

function header_career(n)
{
var str='';
str+='<table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td width="38%">&nbsp;</td><td width="73%"  class="menucolor" height="23"><table width="100%" border="0" cellspacing="0" cellpadding="0" class="mar_top">';
str+='<tr><td align="center" width="7%"><a href="new-career.php"title="Home">Home</a>&nbsp;&nbsp;&nbsp;</td><td align="center" width="4%">&nbsp;|</td><td align="center" width="19%" ><a href="jobs-openings.php" title="Job Openings">Job Openings</a>&nbsp;&nbsp;</td><td align="center" width="3%">|</td><td align="center" width="19%"><a href="case-studies.php" title="Case Studies">Case Studies</a>&nbsp;</td><td align="center" width="2%">&nbsp;|</td><td align="center" width="24%">&nbsp;&nbsp;&nbsp;<a href="submit-resume.php?level=0" title="Submit Resume">Submit Resume</a>&nbsp;&nbsp;</td><td align="center" width="4%">|</td><td align="center" width="14%"><a href="contact-info.php" title="Contact Us">Contact Us</a></td></tr>      </table></td></tr>';
str+='</table>';
document.write(str);
}

function header_logos_career()
{
var str='';
str+='<div style="width:85%;float:left;"><a href="new-career.php" title="Medma Infomatix"><img src="career_slice/logo.jpg"  border="0"/></a></div><div style="width:15%;float:left;"><a href="http://nasscom.org/" target="_blank" title="NASSCOM Member"><img src="images/nasscom_logo.jpg" alt="NASSCOM Member" title="NASSCOM Member" style="margin-top:15px;" /></a></div>';
document.write(str);
}




function footer_career()
{
     var str='';
     str+="<div class='cfoot' style='padding-top:10px;'><div class='pr_fotter_text' align='right'>Copyright &copy; 1998-2010 Medma Infomatix All Rights Reserved &nbsp;&nbsp;</div></div>";
     document.write(str);			
}


function socialResponsibilityImage()
{
var str='';
str+='<embed style="float:right; clear:right;" type="application/x-shockwave-flash" src="http://picasaweb.google.com/s/c/bin/slideshow.swf" width="300" height="216" flashvars="host=picasaweb.google.com&amp;captions=1&amp;hl=en_US&amp;feat=flashalbum&amp;RGB=0x000000&amp;feed=http%3A%2F%2Fpicasaweb.google.com%2Fdata%2Ffeed%2Fapi%2Fuser%2Fmedmatest%2Falbumid%2F5426888498359980785%3Falt%3Drss%26kind%3Dphoto%26hl%3Den_US" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>';
document.write(str);
}


function socialResponsibilityVideo()
{
var str='';
str+='<object width="300" height="190" style="float:right;clear:right;margin-top:15px;"><param name="movie" value="http://www.youtube.com/v/w8F6sACqUkY&amp;hl=en_US&amp;fs=1&amp;"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/w8F6sACqUkY&amp;hl=en_US&amp;fs=1&amp;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="300" height="190"></embed></object>';
document.write(str);
}


function careerLifeSlideImage()
{
var str='';
str+='<div><embed type="application/x-shockwave-flash" src="http://picasaweb.google.com/s/c/bin/slideshow.swf" width="325" height="225" flashvars="host=picasaweb.google.com&amp;captions=1&amp;hl=en_US&amp;feat=flashalbum&amp;RGB=0x333333&amp;feed=http%3A%2F%2Fpicasaweb.google.com%2Fdata%2Ffeed%2Fapi%2Fuser%2Fmedmatest%2Falbumid%2F5426965709116710193%3Falt%3Drss%26kind%3Dphoto%26hl%3Den_US" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed></div>';
document.write(str);
}
