
var menu1=new Array()

var menu2=new Array()

var menu3=new Array()

var menu4=new Array()

menu4[0]='<a href="opd.html">Outpatient</a>'
menu4[1]='<a href="ipd.html">Inpatient</a>'


var menu5=new Array()

menu5[0]='<a href="hospital.aspx">Healthcare Facilities</a>'
menu5[1]='<a href="allmedia.aspx">Amenities</a>'


var menu6=new Array()

var menu7=new Array()

var menu8=new Array()

menu8[1]='<a href="pdffiles/AP.pdf">Outpatient Procedures</a>'
menu8[2]='<a href="pdffiles/AP.pdf">Admission Procedures</a>'
menu8[3]='<a href="pdffiles/AP.pdf">Information for Attenders</a>'
menu8[4]='<a href="pdffiles/AP.pdf">Master Health Checkup-Guide</a>'



var menuwidth='180px' //default menu width

var menubgcolor='gray'  //menu bgcolor

var disappeardelay=250  //menu disappear speed onMouseout (in miliseconds)

var hidemenu_onclick="yes" //hide menu when user clicks within menu?


/////No further editting needed


var ie8=document.all

var ns6=document.getElementById&&!document.all



if (ie8||ns6)

document.write('<div id="dropmenudiv" style="visibility:hidden;width:'+menuwidth+';background-color:'+menubgcolor+'" onMouseover="clearhidemenu()" onMouseout="dynamichide(event)"></div>')

function getposOffset(what, offsettype){

var totaloffset=(offsettype=="left")? what.offsetLeft : what.offsetTop;

var parentEl=what.offsetParent;

while (parentEl!=null){

totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop;

parentEl=parentEl.offsetParent;

}

return totaloffset;

}

function showhide(obj, e, visible, hidden, menuwidth){

if (ie8||ns6)

dropmenuobj.style.left=dropmenuobj.style.top="-500px"

if (menuwidth!=""){

dropmenuobj.widthobj=dropmenuobj.style

dropmenuobj.widthobj.width=menuwidth

}

if (e.type=="click" && obj.visibility==hidden || e.type=="mouseover")

obj.visibility=visible

else if (e.type=="click")

obj.visibility=hidden

}



function iecompattest(){

return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body

}



function clearbrowseredge(obj, whichedge){

var edgeoffset=0

if (whichedge=="rightedge"){

var windowedge=ie8 && !window.opera? iecompattest().scrollLeft+iecompattest().clientWidth-15 : window.pageXOffset+window.innerWidth-15

dropmenuobj.contentmeasure=dropmenuobj.offsetWidth

if (windowedge-dropmenuobj.x < dropmenuobj.contentmeasure)

edgeoffset=dropmenuobj.contentmeasure-obj.offsetWidth

}

else{

var topedge=ie8 && !window.opera? iecompattest().scrollTop : window.pageYOffset

var windowedge=ie8 && !window.opera? iecompattest().scrollTop+iecompattest().clientHeight-15 : window.pageYOffset+window.innerHeight-18

dropmenuobj.contentmeasure=dropmenuobj.offsetHeight

if (windowedge-dropmenuobj.y < dropmenuobj.contentmeasure){ //move up?

edgeoffset=dropmenuobj.contentmeasure+obj.offsetHeight

if ((dropmenuobj.y-topedge)<dropmenuobj.contentmeasure) //up no good either?

edgeoffset=dropmenuobj.y+obj.offsetHeight-topedge

}

}

return edgeoffset

}



function populatemenu(what){

if (ie8||ns6)

dropmenuobj.innerHTML=what.join("")

}


function dropdownmenu(obj, e, menucontents, menuwidth){

if (window.event) event.cancelBubble=true

else if (e.stopPropagation) e.stopPropagation()

clearhidemenu()

dropmenuobj=document.getElementById? document.getElementById("dropmenudiv") : dropmenudiv

populatemenu(menucontents)



if (ie8||ns6){

showhide(dropmenuobj.style, e, "visible", "hidden", menuwidth)

dropmenuobj.x=getposOffset(obj, "left")

dropmenuobj.y=getposOffset(obj, "top")

dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+"px"

dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+obj.offsetHeight+"px"

}



return clickreturnvalue()

}



function clickreturnvalue(){

if (ie8||ns6) return false

else return true

}



function contains_ns6(a, b) {

while (b.parentNode)

if ((b = b.parentNode) == a)

return true;

return false;

}



function dynamichide(e){

if (ie8&&!dropmenuobj.contains(e.toElement))

delayhidemenu()

else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))

delayhidemenu()

}



function hidemenu(e){

if (typeof dropmenuobj!="undefined"){

if (ie8||ns6)

dropmenuobj.style.visibility="hidden"

}

}



function delayhidemenu(){

if (ie8||ns6)

delayhide=setTimeout("hidemenu()",disappeardelay)

}



function clearhidemenu(){

if (typeof delayhide!="undefined")

clearTimeout(delayhide)

}



if (hidemenu_onclick=="yes")

document.onclick=hidemenu

document.write('<div id="top-nav">');
document.write('<LINK href="bgmenu.css"  rel="stylesheet" type="text/css">');
document.write('<LINK href="menu.css"  rel="stylesheet" type="text/css">');
document.write('<table cellpadding="0" cellspacing="0" border=0 width="100%">');
document.write('<tr>');
document.write('<td bgcolor="#7BA6C8" width="30%">');
document.write('<center><img src="hmhwww.gif"></center>');
document.write('</td>');
document.write('</tr>');
document.write('</table>');

document.write('<table cellpadding="0" cellspacing="0" width="100%">');
document.write('<tr>');
document.write('<td>');
document.write('<table bgcolor="#7BA6C8" width="100%" border="0" cellspacing="0" cellpadding="0" style="text-align:left">');
document.write('<tr>');

document.write('<td  width="5">');
document.write('<img src="nav-1.gif" width="5" height="21">');
document.write('</td>');
document.write('<td align="center" valign="middle" style="background-image: url(nav-2.gif); background-repeat: repeat-x">');
document.write('<b><center><a class="content2" href="index.htm"> <img src="home1.gif" border="0">Home </a></center></b>');
document.write('</td>');
document.write('<td width="5"><img src="nav-3.gif" width="5" height="21"></td>');


document.write('<td  width="5">');
document.write('<img src="nav-1.gif" width="5" height="21">');
document.write('</td>');


document.write('<td align="center" valign="middle" style="background-image: url(nav-2.gif); background-repeat: repeat-x;" class="content2">');
document.write('<a href="aboutus.htm" class="content2">About Us</a>');
document.write('</td>');

document.write('<td width="5"><img src="nav-3.gif" width="5" height="21" /></td>');
document.write('<td width="5"><img src="nav-1.gif" width="5" height="21" /></td>');
document.write('<td align="center" valign="middle" style="background-image: url(nav-2.gif); background-repeat: repeat-x;" class="content2">');
document.write('<a class="content2" href="milestones.htm">Milestones</a> </td>');

document.write('<td width="5"><img src="nav-3.gif" width="5" height="21" /></td>');
document.write('<td width="5"><img src="nav-1.gif" width="5" height="21" /></td>');

document.write('<td align="center" valign="middle" style="background-image: url(nav-2.gif); background-repeat: repeat-x;" class="content2">');
document.write('<a id="ctl00_HyperLink10" class="content2" href="projects.htm">Projects</a> </td>');

document.write('<td width="5"><img src="nav-3.gif" width="5" height="21" /></td>');
document.write('<td width="5"><img src="nav-1.gif" width="5" height="21" /></td>');

document.write('<td align="center" valign="middle" style="background-image: url(nav-2.gif); background-repeat: repeat-x;" class="content2">'); document.write('<a id="ctl00_HyperLink11" class="content2" href="patientcare.htm">Patient Care</a> </td>');

document.write('<td width="5"><img src="nav-3.gif" width="5" height="21" /></td>');
document.write('<td width="5"><img src="nav-1.gif" width="5" height="21" /></td>');

document.write('<td align="center" valign="middle" style="background-image: url(nav-2.gif); background-repeat: repeat-x;" class="content2">');
document.write('<a id="ctl00_HyperLink13" class="content2" href="donations.htm">Donations</a> </td>');



document.write('<td width="5"><img src="nav-3.gif" width="5" height="21" /></td>');

document.write('<td width="5"><img src="nav-1.gif" width="5" height="21" /></td>');

document.write('<td align="center" valign="middle" style="background-image: url(nav-2.gif); background-repeat: repeat-x;" class="content2">');

document.write('<a id="ctl00_HyperLink13" class="content2" href="empanel.htm">Empanelment</a> </td>');

document.write('<td width="5"><img src="nav-3.gif" width="5" height="21" /></td>');

document.write('<td width="5"><img src="nav-1.gif" width="5" height="21" /></td>');

document.write('<td align="center" valign="middle" style="background-image: url(nav-2.gif); background-repeat: repeat-x;" class="content2" onMouseover="dropdownmenu(this, event, menu8,menuwidth)" onMouseout="delayhidemenu()">');

document.write('<a id="ctl00_HyperLink13" class="content2" href="category.aspx?id=10">Patient Information</a> </td>');

document.write('<td width="5"><img src="nav-3.gif" width="5" height="21" /></td>');

document.write('</tr>');
document.write('</table>');
document.write('</td>');
document.write('</tr>');
document.write('</table>');

document.write('<!--<img src="main_img.gif">-->');
document.write('</div>');


	<!--onMouseover="dropdownmenu(this, event, menu4,menuwidth)" onMouseout="delayhidemenu()">');--!>

