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]='  » weekly charts by audio genre' menu1[2]='» audio plays weekly chart' menu1[3]='» audio plays monthly chart' menu1[4]='» audio streams daily chart' menu1[5]='» audio streams weekly chart' menu1[6]='» audio streams monthly chart' menu1[7]='» audio downloads daily chart' menu1[8]='» audio downloads weekly chart' menu1[9]='» audio downloads 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 artists' menu2[1]='» artists (alphabetically)' menu2[2]='» artists (by popularity)' menu2[3]='» artists (by rating)' menu2[4]='» newest songs' menu2[5]='» songs (alphabetically)' menu2[6]='» songs (by popularity)' menu2[7]='» songs (by rating)' menu2[8]='» newest videos' menu2[9]='» videos (alphabetically)' menu2[10]='» videos (by popularity)' menu2[11]='» videos (by rating)' menu2[12]='» store items (alphabetically)' menu2[13]='» store items (lowest price)' menu2[14]='» store items (highest price)' menu2[15]='» events (alphabetical)' menu2[16]='» events (upcoming)' menu2[17]='» events (location)' //Contents for menu 4 var menu4 = new Array(); menu4[1]='» Home All Artists' menu4[2]='» Home Prof Artists' menu4[3]='» Home Prof Dancers' menu4[4]='» Home Competition' menu4[5]='» Home Stars' menu4[6]='» Home Super Stars' menu4[7]='» Home Zingerbay' menu4[8]='» Home Artist Promotion' //Contents for menu 1 var menu3 = new Array(); menu3[1]='» Home' menu3[2]='» Music' menu3[3]='» Artist' menu3[4]='» Radio' menu3[5]='» Web' menu3[6]='» ZFree' menu3[7]='» ZShop' menu3[8]='» Milgaya' menu3[9]='» Competition' var menuwidth='200px' //default menu width var menubgcolor='#001926' //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)