

/***********************************************
* AnyLink Drop Down Menu- © Dynamic Drive (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/

//Contents for menu 1
var menu1=new Array()
menu1[0]='<a href="about.htm">Introduction</a>'
menu1[1]='<a href="about.htm#philosophy">Philosophy, Vision And Mission</a>'
menu1[2]='<a href="about.htm#registration">Registration Of The Organisation<BR>&nbsp;And Governing Body</a>'
menu1[3]='<a href="about.htm#stakeholders">Stakeholders</a>'
menu1[4]='<a href="partners.htm">Our Partners</a>'

//Contents for menu 2, and so on
var menu2=new Array()
menu2[0]='<a href="education.htm">Education And Children</a>'
menu2[1]='<a href="children.htm">Children And Youths<BR>&nbsp;In Social Development</a>'
menu2[2]='<a href="street.htm">Street And Working Children<br>&nbsp;Programme . Rag Picking Children</A>'
menu2[3]='<a href="boys.htm">Residential Home For Street Boy</A>'
menu2[4]='<a href="girls.htm">Residential Home For Street Girl</A>'
menu2[5]='<a href="av&ti.htm">Asha Vocational &<BR>&nbsp;Technical Training Institute</a>'
menu2[6]='<a href="human.htm">Human Resource Development<br>&nbsp;& Training Centre</a>'
menu2[7]='<a href="residential.htm">Residential Community<br>&nbsp;Development Training Programme</a>'
menu2[8]='<a href="health.htm">Community & Health</a>'
menu2[9]='<a href="we_programme.htm">The Women Empowerment &nbsp;Programme</a>'
menu2[10]='<a href="agri.htm">Agri-Farming Project</a>'
menu2[11]='<a href="mass.htm">Mass Communication and Drama &nbsp;Unit</a>'
menu2[12]='<a href="studio.htm">Asha Studio </a>'
menu2[13]='<a href="acd-centre.htm">Asha Child Development Centre <img src="images/newtw9.gif" width="23" height="9" border="0"></a>'
menu2[14]='<a href="cbcs-programme.htm">Community Based Care & Support &nbsp;Programme <img src="images/newtw9.gif" width="23" height="9" border="0"></a>'
menu2[15]='<a href="t-i-project.htm">Targeted Intervention Project <img src="images/newtw9.gif" width="23" height="9" border="0"></a>'
menu2[16]='<a href="http://www.childlineindia.org.in/" target="_blank">Child Help line</a>'
menu2[17]='<a href="integrated.htm">Integrated Rural Development &nbsp;Project</a>'
menu2[18]='<a href="distressed.htm">Short Stay Home For Distressed &nbsp;Women </a>'
menu2[19]='<a href="daycare.htm">Physically & Mentally Challenged &nbsp;Children</a>'
menu2[20]='<a href="ashday.htm">Elderly People</a>'
menu2[21]='<a href="education.htm">Early Childhood Education & &nbsp;Development Programme</a>'
menu2[22]='<a href="">Leprosy Work</a>'
menu2[23]='<a href="">Relief Work</a>'
menu2[24]='<a href="">Rural Womens Development &nbsp;Programme</a>'
menu2[25]='<a href="street.htm">De-addiction Programme</a>'
menu2[26]='<a href="street.htm">Anti-Tobacco Programme </a>'
menu2[27]='<a href="t-i-project.htm">Inclusive Development of Socially &nbsp;Excluded Children</a>'


//Contents for menu 3, and so on
var menu3=new Array()
menu3[0]='<a href="#">Education Of Children</a>'
menu3[1]='<a href="#">Education And Development<br>&nbsp;Of Disabled Person</a>'
menu3[2]='<a href="#">Care And Development of<br>&nbsp;Children At Shelter</a>'
menu3[3]='<a href="#">Early Childhood Development<br>&nbsp;Of Home Centers</a>'
menu3[4]='<a href="#">Elderly People</a>'
		
		
var menuwidth='165px' //default menu width
var menucolor='#000000'  //menu textcolor
var menubgcolor='#EEF5FD'  //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 ie5=document.all
var ns6=document.getElementById&&!document.all

if (ie5||ns6)
document.write('<div id="dropmenudiv" style="visibility:hidden;width:'+menuwidth+'; color:'+menucolor+'; 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 (ie5||ns6)
dropmenuobj.style.left=dropmenuobj.style.top=-500
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=ie5 && !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=ie5 && !window.opera? iecompattest().scrollTop : window.pageYOffset
var windowedge=ie5 && !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 (ie5||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 (ie5||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 (ie5||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 (ie5&&!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 (ie5||ns6)
dropmenuobj.style.visibility="hidden"
}
}

function delayhidemenu(){
if (ie5||ns6)
delayhide=setTimeout("hidemenu()",disappeardelay)
}

function clearhidemenu(){
if (typeof delayhide!="undefined")
clearTimeout(delayhide)
}

if (hidemenu_onclick=="yes")
document.onclick=hidemenu




