<!--Business Parteners-->
var menu20=new Array()
menu20[0]='<a href="beautycatagory.jsp?sect=beautycatagorytable&id=256">Massage Therapy Centre</a>'
menu20[1]='<a href="#">Beauty Clinic</a>'
menu20[2]='<a href="#">Fashion Training Institute</a>'
menu20[3]='<a href="#">Fashion Mall</a>'
menu20[4]='<a href="beautycatagory.jsp?sect=beautycatagorytable&id=251">Escort Service Centre</a>'
<!--Products-->
var menu21=new Array()
menu21[0]='<a href="productdetail.jsp?sect=producttable&amp;id=1">Ayur-X </a>'
menu21[1]='<a href="productdetail.jsp?sect=producttable&amp;id=2">Ayurlim </a>'
menu21[2]='<a href="productdetail.jsp?sect=producttable&amp;id=3">N-Hance</a>'
menu21[3]='<a href="#">Ayur Hair</a>'
menu21[4]='<a href="productdetail.jsp?sect=producttable&amp;id=5">Ayur Flow</a>'
menu21[5]='<a href="#">Ayur Asma</a>'
menu21[6]='<a href="#">Ayur Rhuma</a>'
menu21[7]='<a href="productdetail.jsp?sect=producttable&amp;id=8">Ayur Plex</a>'

<!--Registration-->
var menu22=new Array()
menu22[0]='<a href="beautycatagory.jsp?sect=beautycatagorytable&id=680"">Clinic Registration</a>'

<!--beauty Times-->
var menu23=new Array()
menu23[0]='<a href="productdetail.jsp?sect=producttable&amp;id=9">Pig & Pretty</a>'
menu23[1]='<a href="productdetail.jsp?sect=producttable&amp;id=10">Protect your Skin</a>'
menu23[2]='<a href="productdetail.jsp?sect=producttable&amp;id=11">Beauty is skin deep</a>'
menu23[3]='<a href="productdetail.jsp?sect=producttable&amp;id=12">Beauty FAQ</a>'


<!--Cosmetic Dermatology-->
var menu24=new Array()
menu24[0]='<a href="treatmentdetail.jsp?sect=subtreatment&id=1">Body Treatments</a>'
menu24[1]='<a href="treatmentdetail.jsp?sect=subtreatment&id=2">Common Skin Flaws</a>'
menu24[2]='<a href="treatmentdetail.jsp?sect=subtreatment&id=3">Facial Treatments</a>'
menu24[3]='<a href="treatmentdetail.jsp?sect=subtreatment&id=4">Hair Loss</a>'
menu24[4]='<a href="treatmentdetail.jsp?sect=subtreatment&id=5">Injectables/Fillers A-Z</a>'
menu24[5]='<a href="treatmentdetail.jsp?sect=subtreatment&id=6">Laser Hair Removal</a>'
menu24[6]='<a href="treatmentdetail.jsp?sect=subtreatment&id=7">Professional Skin Care Products</a>'


<!--Cosmetic Surgery-->
var menu25=new Array()
menu25[0]='<a href="treatmentdetail.jsp?sect=subtreatment&id=8">Rhinoplasty</a>'
menu25[1]='<a href="treatmentdetail.jsp?sect=subtreatment&id=9">Abdominoplasty</a>'
menu25[2]='<a href="treatmentdetail.jsp?sect=subtreatment&id=10">Breast Augmentation/Implants</a>'
menu25[3]='<a href="treatmentdetail.jsp?sect=subtreatment&id=11">Mastopexy/Breast Lift</a>'
menu25[4]='<a href="treatmentdetail.jsp?sect=subtreatment&id=12">Liposuction</a>'
menu25[5]='<a href="treatmentdetail.jsp?sect=subtreatment&id=13">Surgery for Prominent Ear</a>'
menu25[6]='<a href="treatmentdetail.jsp?sect=subtreatment&id=14">Gynecomastia</a>'
menu25[7]='<a href="treatmentdetail.jsp?sect=subtreatment&id=15">Hair Transplant</a>'
menu25[8]='<a href="treatmentdetail.jsp?sect=subtreatment&id=16">Face Lift </a>'


<!--Comestic Ophthalmology-->
var menu26=new Array()
menu26[0]='<a href="treatmentdetail.jsp?sect=subtreatment&id=17">Lasik</a>'
menu26[1]='<a href="treatmentdetail.jsp?sect=subtreatment&id=18">Crystalens</a>'
menu26[2]='<a href="treatmentdetail.jsp?sect=subtreatment&id=19">Cataract Surgery</a>'
menu26[3]='<a href="treatmentdetail.jsp?sect=subtreatment&id=20">Glaucoma Treatment</a>'
menu26[4]='<a href="treatmentdetail.jsp?sect=subtreatment&id=21">Medical Lasers</a>'
menu26[5]='<a href="treatmentdetail.jsp?sect=subtreatment&id=22">Eyelid Surgery</a>'
menu26[6]='<a href="treatmentdetail.jsp?sect=subtreatment&id=23">Keratoplasty</a>'
menu26[7]='<a href="treatmentdetail.jsp?sect=subtreatment&id=24">Retina Detachment</a>'
menu26[8]='<a href="treatmentdetail.jsp?sect=subtreatment&id=25">Vitrectomy</a>'
menu26[9]='<a href="treatmentdetail.jsp?sect=subtreatment&id=26">Laser</a>'
menu26[10]='<a href="treatmentdetail.jsp?sect=subtreatment&id=27">Ptosis</a>'
menu26[11]='<a href="treatmentdetail.jsp?sect=subtreatment&id=28">Phaco + IOL</a>'
menu26[12]='<a href="treatmentdetail.jsp?sect=subtreatment&id=29">Squint Correction</a>'


<!--Comestic Ayurveda-->
var menu27=new Array()
menu27[0]='<a href="treatmentdetail.jsp?sect=subtreatment&id=661">Herbs in Cosmetics</a>'
menu27[1]='<a href="treatmentdetail.jsp?sect=subtreatment&id=662">Medicinal Herbs as Cosmetics</a>'
menu27[2]='<a href="treatmentdetail.jsp?sect=subtreatment&id=663">Skin Care and Ayurved</a>'
menu27[3]='<a href="treatmentdetail.jsp?sect=subtreatment&id=664">Facts to Remember</a>'
menu27[4]='<a href="treatmentdetail.jsp?sect=subtreatment&id=665">Rasayana and Cosmetology</a>'
menu27[5]='<a href="treatmentdetail.jsp?sect=subtreatment&id=666">Ideal Diet for Skin</a>'
menu27[6]='<a href="treatmentdetail.jsp?sect=subtreatment&id=667">Skin Care During Pregnancy</a>'
menu27[7]='<a href="treatmentdetail.jsp?sect=subtreatment&id=668">Fascinating Facts</a>'
menu27[8]='<a href="treatmentdetail.jsp?sect=subtreatment&id=669">Change in Our Skin</a>'


var disappeardelay=250  //menu disappear speed onMouseout (in miliseconds)
var horizontaloffset=2 //horizontal offset of menu from default location. (0-5 is a good value)

/////No further editting needed

var ie4=document.all
var ns6=document.getElementById&&!document.all

if (ie4||ns6)
document.write('<div id="dropmenudiv" style="visibility:hidden;width: 160px" 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 (ie4||ns6)
dropmenuobj.style.left=dropmenuobj.style.top=-500
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=ie4 && !window.opera? iecompattest().scrollLeft+iecompattest().clientWidth-15 : window.pageXOffset+window.innerWidth-15
dropmenuobj.contentmeasure=dropmenuobj.offsetWidth
if (windowedge-dropmenuobj.x-obj.offsetWidth < dropmenuobj.contentmeasure)
edgeoffset=dropmenuobj.contentmeasure+obj.offsetWidth
}
else{
var topedge=ie4 && !window.opera? iecompattest().scrollTop : window.pageYOffset
var windowedge=ie4 && !window.opera? iecompattest().scrollTop+iecompattest().clientHeight-15 : window.pageYOffset+window.innerHeight-18
dropmenuobj.contentmeasure=dropmenuobj.offsetHeight
if (windowedge-dropmenuobj.y < dropmenuobj.contentmeasure){ //move menu up?
edgeoffset=dropmenuobj.contentmeasure-obj.offsetHeight
if ((dropmenuobj.y-topedge)<dropmenuobj.contentmeasure) //up no good either? (position at top of viewable window then)
edgeoffset=dropmenuobj.y
}
}
return edgeoffset
}

function populatemenu(what){
if (ie4||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 (ie4||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")+obj.offsetWidth+horizontaloffset+"px"
dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+"px"
}

return clickreturnvalue()
}

function clickreturnvalue(){
if (ie4||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 (ie4&&!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 (ie4||ns6)
dropmenuobj.style.visibility="hidden"
}
}

function delayhidemenu(){
if (ie4||ns6)
delayhide=setTimeout("hidemenu()",disappeardelay)
}

function clearhidemenu(){
if (typeof delayhide!="undefined")
clearTimeout(delayhide)
}

