/*********************************************** * 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 ***********************************************/ var charts = new Array(); charts[1]=' music charts'; charts[2]='    weekly chart'; charts[3]='    monthly chart'; charts[4]='    yearly chart'; charts[10]=' video charts'; charts[11]='    weekly chart'; charts[12]='    monthly chart'; charts[13]='    yearly chart'; var lists = new Array(); lists[10]=' artists'; lists[20]='    by location'; lists[30]='    by total plays'; lists[40]='    by rating'; lists[50]='    by fans'; lists[60]=' members'; lists[65]='    by friends'; lists[70]=' music'; lists[80]='    radio'; lists[90]='    by genre'; lists[100]=' videos'; lists[110]='    channels'; lists[120]='    by genre'; lists[140]=' merchandise'; lists[150]=' digital downloads'; var scholarships = new Array(); scholarships[1]=' What We Do'; scholarships[2]=' MFH Scholarships'; scholarships[4]=' Apply Online'; scholarships[5]=' MFH Free Performance Nights'; var donate = new Array(); donate[1]=' Donate to MFH'; donate[2]=' Volunteer for MFH'; var about = new Array(); about[1]=' Contact Us'; about[2]=' Board of Directors'; about[3]=' Volunteer for MFH'; var menuwidth='220px' var menubgcolor='#000000' var disappeardelay=100 var hidemenu_onclick="no" var ie4=document.all var ns6=document.getElementById&&!document.all if (ie4||ns6) document.write('') 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 + 2; } 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)