
/***********************************************
* 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="meet_our_team.html#staff">Our Staff</a>'
menu1[1]='<a href="meet_our_team.html#board">Board of Directors</a>'

var menu2=new Array()
menu2[0]='<a href="loan_information.html#eligibility">Eligibility</a>'
menu2[1]='<a href="loan_information.html#terms">Terms & Rates</a>'
menu2[2]='<a href="loan_information.html#collateral">Collateral & Co-signers</a>'
menu2[3]='<a href="loan_information.html#lending">Lending Fees</a>'

var menu3=new Array()
menu3[0]='<a href="ways_to_give.html#monetary">Monetary Giving</a>'
menu3[1]='<a href="ways_to_give.html#give">Other Ways to Give</a>'
menu3[2]='<a href="volunteer.php">Volunteering</a>'

var menu4=new Array()
menu4[0]='<table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td><center><a href="mission_history.html">Mission & History</a></center></td><td><center><a href="our_impact.html">Our Impact</a></center></td><td><center><a href="meet_our_team.html">Meet Our Team</a></center></td><td><center><a href="community_partnerships.html">Community Partnerships</a></center></td><td><center><a href="employment.html">Employment</a></center></td><td><center><a href="contact_us.html">Contact Us</a></center></td></tr></table>'

var menu5=new Array()
menu5[0]='<table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td><center><a href="loan_information.html">Loan Information</a></center></td><td><center><a href="how_to_apply.html">How To Apply</a></center></td><td><center><a href="small_business_resources.html">Small Business Resources</a></center></td><td><center><a href="meet_our_clients.html">Meet Our Clients</a></center></td><td><center><a href="client_business_directory.html">Client Business Directory</a></center></td></tr></table>'

var menu6=new Array()
menu6[0]='<table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td><center><a href="why_support_us.html"> Why Support Us</a></center></td><td><center><a href="ways_to_give.html"> Ways To Give</a></center></td><td><center><a href="https://app.etapestry.com/hosted/ACCIONSanDiego/OnlineGiving.html"> Donate Online</a></center></td><td><center><a href="our_supporters.html"> Our Supporters</a></center></td><td><a href="volunteer.php"> Volunteer</a></td></tr></table>'

var menu7=new Array()
menu7[0]='<table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td><center><a href="media_center.html">Media Center</a></center></td><td><center><a href="newsletters.html">Newsletters</a></center></td><td><center><a href="annual_reports.html">Annual Reports</a></center></td><td><center><a href="events.html">Events</a></center></td></tr></table>'

var menu8=new Array()
menu8[0]='<a href="create_profile.php">Register/Create Profile</a>';
menu8[1]='<a href="vol_login.php">Volunteer Login</a>';

var menu9=new Array()
menu9[0]='<a href="find_a_mentor.php#leadprogram">About Our Business Support Program</a>'
menu9[1]='<a href="find_a_mentor.php#accionassistance">Request Assistance From ACCION San Diego</a>'
menu9[2]='<a href="find_a_mentor.php#micromentorassistance">Find Assistance With MicroMentor.org</a>'
menu9[3]='<a href="small_business_resources.html">Get Assistance From ACCION San Diego community partners</a>'
menu9[4]='<a href="find_a_mentor.php#testimonials">Client Testimonials</a>'

var menu10=new Array()
menu10[0]='<a href="vol_opportunities.php?type=0">Leadership &amp; Mentoring</a>'
menu10[1]='<a href="vol_opportunities.php?type=1">Entrepreneurial Training &amp; Assistance</a>'
menu10[2]='<a href="vol_opportunities.php?type=2">Administration / Office Assistance</a>'
menu10[3]='<a href="vol_opportunities.php?type=3">Fundraising</a>'
menu10[4]='<a href="vol_opportunities.php?type=4">Marketing &amp; Outreach</a>'
menu10[5]='<a href="vol_opportunities.php?type=5">Data / Analysis</a>'

var menu11=new Array()
menu11[0]='<a href="vol_change_pass.php">Change Password</a>'
menu11[1]='<a href="vol_change_email.php">Edit Email Settings</a>'
menu11[2]='<a href="vol_change_info.php">Edit Personal Information</a>'




var menuwidth='80px' //default menu width
var menubgcolor='#FFFFFF'  //menu bgcolor
var disappeardelay=100  //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>')
document.write('<div id="dropmenudivrambo" 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)+23 : 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
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")-10
dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+"px"
dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+obj.offsetHeight+"px"
}

return clickreturnvalue()
}
//mychange

function dropdownrambo(obj, e, menucontents, menuwidth,offtop,offleft){
if (window.event) event.cancelBubble=true
else if (e.stopPropagation) e.stopPropagation()
clearhidemenu()
dropmenuobj=document.getElementById? document.getElementById("dropmenudivrambo") : dropmenudivrambo
populatemenu(menucontents)

if (ie4||ns6){
showhide(dropmenuobj.style, e, "visible", "hidden", menuwidth)
dropmenuobj.x=getposOffset(obj, "left")-offleft
dropmenuobj.y=getposOffset(obj, "top")+offtop
dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+"px"
dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+obj.offsetHeight+"px"
dropmenuobj.style.className="dropmenudivrambo";
}

return clickreturnvalue()
}

///end my change


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