/*********************************************** * 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]='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]='Original Music Section '; lists[90]='Cover Section'; lists[91]='Guitar Solo New!'; lists[92]='Piano Solo New!'; lists[93]='Solo Performance New!'; lists[94]='Band New!'; lists[95]='Vocal New!'; lists[100]='radio station'; lists[110]='by genre'; //lists[100]='charts'; //lists[101]='    weekly chart'; //lists[102]='    monthly chart'; //lists[103]='    yearly chart'; var blogs = new Array(); blogs[10]='Webmaster Blog'; //lists[100]=' video'; //lists[110]='    channels'; //lists[120]='    by genre'; //lists[140]=' merchandise'; //lists[150]=' digital / Scores'; var menuwidth='170px' var menubgcolor='#1a1a1a' 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)