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]=' » cartelera semanal por género de audio' menu1[2]='» cartelera semanal para toques de audio' menu1[3]='» cartelera mensual para toques de audio' menu1[4]='» cartelera diaria para streams de audio' menu1[5]='» cartelera semanal para streams de audio' menu1[6]='» cartelera mensual para streams de audio' menu1[7]='» cartelera diaria para descargas de audio' menu1[8]='» cartelera semanal para descargas de audio' menu1[9]='» cartelera mensual para descargas de audio' menu1[10]=' » cartelera semanal por género de video' menu1[11]='» cartelera diaria para videos' menu1[12]='» cartelera semanal para videos' menu1[13]='» cartelera mensual para videos' //Contents for menu 2, and so on var menu2 = new Array() menu2[0]='» nuevos artistas' menu2[1]='» artistas (orden alfabetico)' menu2[2]='» artistas (por popularidad)' menu2[3]='» artistas (por puntaje)' menu2[4]='» nuevas canciones' menu2[5]='» canciones (orden alfabetico)' menu2[6]='» canciones (por popularidad)' menu2[7]='» canciones (por puntaje)' menu2[8]='» nuevos videos' menu2[9]='» videos (orden alfabetico)' menu2[10]='» videos (por popularidad)' menu2[11]='» videos (por puntaje)' menu2[12]='» productos de la tienda (orden alfabetico)' menu2[13]='» productos de la tienda (precios más bajos)' menu2[14]='» productos de la tienda (precios más altos)' menu2[15]='» eventos (orden alfabetico)' menu2[16]='» eventos (próximos)' menu2[17]='» eventos (ubicación)' 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)