var win = null; function popwin(mypage,myname,w,h,scroll) { LeftPosition = (screen.width) ? (screen.width-w)/2 : 0; TopPosition = (screen.height) ? (screen.height-h)/2 : 0; settings = 'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable' win = window.open(mypage,myname,settings) } /*********************************************** * 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[1]='»  charts by mix genre' menu1[2]='»  mix daily chart' menu1[3]='»  mix weekly chart' menu1[4]='»  mix monthly chart' // // // menu1[10]='  »  weekly charts by video genre' // menu1[11]='»  video plays daily chart' // menu1[12]='»  video plays weekly chart' // menu1[13]='»  video plays monthly chart' // // //Contents for menu 2, and so on var menu2 = new Array() menu2[0]='»  newest djs' menu2[1]='»  djs (alphabetically)' menu2[2]='»  djs (by popularity)' menu2[3]='»  djs (by rating)' menu2[4]='»  newest mixes' menu2[5]='»  mixes (alphabetically)' menu2[6]='»  mixes (by popularity)' menu2[7]='»  mixes (by rating)' //Contents for menu 4 var menu4 = new Array() menu4[1]='»  newest videos' menu4[2]='»  videos (alphabetically)' menu4[3]='»  videos (by popularity)' // menu4[4]='»  videos (by rating)' //Contents for menu 3 var menu3 = new Array() menu3[0]='»  events calendar' menu3[1]='»  events (alphabetical)' menu3[2]='»  events (upcoming)' menu3[3]='»  events (location)' //Contents for menu 5, and so on var menu5 = new Array() menu5[0]='»  newest listeners' menu5[1]='»  listeners (alphabetically)' var menuwidth='200px' //default menu width var menubgcolor='#E7E7E7' //menu bgcolor var disappeardelay=100 //menu disappear speed onMouseout (in miliseconds) var hidemenu_onclick="no" //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('') 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)