//Contents for menu 1 (Sex Guide), and so on
var menu1=new Array()
menu1[0]='<a href="http://sex.guruhealthguide.com/sexguide/safe-sex.html">Safe Sex<\/a>'
menu1[1]='<a href="http://sex.guruhealthguide.com/sexguide/sex-faq-male.html"> Sex FAQ for Male<\/a>'
menu1[2]='<a href="http://sex.guruhealthguide.com/sexguide/sex-faq-female.html"> Sex FAQ for Female<\/a>'
menu1[3]='<a href="http://sex.guruhealthguide.com/sexguide/masturbation.html"> Masturbation<\/a>'
menu1[4]='<a href="http://sex.guruhealthguide.com/sexguide/premature-ejaculation.html">Premature ejaculation<\/a>'
menu1[5]='<a href="http://sex.guruhealthguide.com/sexguide/sex-myths-busted.html"> Sex Myths busted<\/a>'
menu1[6]='<a href="http://sex.guruhealthguide.com/sexguide/how-to-improve.html"> How to improve<\/a>'



//Contents for menu 2 (Pranayam), and so on
var menu2=new Array()
menu2[0]='<a href="http://pranayam.guruhealthguide.com/bhastrika_pranayam.html"> Bhastrika Pranayam</a>'
menu2[1]='<a href="http://pranayam.guruhealthguide.com/kapalbhati_pranayam.html"> Kapalbhati Pranayam</a>'
menu2[2]='<a href="http://pranayam.guruhealthguide.com/anulom_vilom_pranayam.html"> Anulom Vilom Pranayam</a>'
menu2[3]='<a href="http://pranayam.guruhealthguide.com/bhramari_pranayam.html"> Bhramari Pranayam</a>'



//Contents for menu 3 (Birth Control), and so on
var menu3=new Array()
menu3[0]='<a href="http://sex.guruhealthguide.com/birthcontrol/condom.html" >Barrier methods > Condoms<\/a>'
menu3[1]='<a href="http://sex.guruhealthguide.com/birthcontrol/female-condom.html">Female condom <\/a>'
menu3[2]='<a href="http://sex.guruhealthguide.com/birthcontrol/oral-contraception.html">Oral contraception > Pills<\/a>' 
menu3[3]='<a href="http://sex.guruhealthguide.com/birthcontrol/spermicides.html" >Vaginal method > Spermicides<\/a>'
menu3[4]='<a href="http://sex.guruhealthguide.com/birthcontrol/emergency-contraception.html">Emergency Contraception > ePills<\/a>'
menu3[5]='<a href="http://sex.guruhealthguide.com/birthcontrol/birth-control-faq.html">Birth Control FAQ<\/a>'

//Contents for menu 4 (Pregnancy), and so on
var menu4=new Array()
menu4[0]='<a href="http://pregnancy.guruhealthguide.com/menstrual-cycle-the-female-reproductive-cycle.html">Female Reproductive Cycle<\/a>'
menu4[1]='<a href="http://pregnancy.guruhealthguide.com/trying-to-conceive-tips-to-get-pregnant-fast.html">Tips to get pregnant<\/a>'
menu4[2]='<a href="http://pregnancy.guruhealthguide.com/pregnancy-symptoms.html">Pregnancy Symptoms<\/a>'
menu4[3]='<a href="http://pregnancy.guruhealthguide.com/pregnancy-test.html">Pregnancy Test<\/a>'
menu4[4]='<a href="http://pregnancy.guruhealthguide.com/pregnancy-food.htm">Pregnancy Food<\/a>'
menu4[5]='<a href="http://pregnancy.guruhealthguide.com/sex-during-pregnancy.html">Sex during pregnancy<\/a>'

//Contents for menu 5 (HIV/AIDS), and so on
var menu5=new Array()
menu5[0]='<a href="">What is HIV &amp; AIDS<\/a>'
menu5[1]='<a href="">FAQ<\/a>'
menu5[2]='<a href="">Cause of AIDS<\/a>'
menu5[3]='<a href="">Other STDs<\/a>'


//Contents for menu 7 (Common Illness), and so on
var menu7=new Array()
menu7[0]='<a href="">Cold &amp; Cough<\/a>'
menu7[1]='<a href="">Fever<\/a>'
menu7[2]='<a href="">Body ache<\/a>'
menu7[3]='<a href="">Allergy<\/a>'


//Contents for menu 8 (Medicine), and so on
var menu8=new Array()
menu8[0]='<a href="">For Cold &amp; Cough<\/a>'



//Contents for menu 9 (Diseases), and so on
var menu9=new Array()
menu9[0]='<a href="http://guruhealthguide.com/diseases/swine-flu/index.html">Swine Flu<\/a>'
menu9[1]='<a href="http://guruhealthguide.com/diseases/dengue">Dengue<\/a>'
menu9[2]='<a href="http://guruhealthguide.com/diseases/malaria">Maleria<\/a>'
menu9[3]='<a href="http://guruhealthguide.com/diseases/eye-flu-symptoms-eye-flu-cure.html">Eye Flue<\/a>'
menu9[4]='<a href="http://guruhealthguide.com/diseases/heart-attack">Heart Attack<\/a>'
menu9[5]='<a href="http://guruhealthguide.com/diseases/cancer">Cancer<\/a>'


var menuwidth='195px' //default menu width
var menubgcolor='whitesmoke'  //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 ie4=document.all
var ns6=document.getElementById&&!document.all

if (ie4||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 (ie4||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=ie4 && !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=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 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 (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")+"px"
dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+obj.offsetHeight+"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)
}

if (hidemenu_onclick=="yes")
document.onclick=hidemenu