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]=':: LISTA SEMANAL POR GENERO MUSICAL' //menu1[2]='» audio plays weekly chart' //menu1[3]='» audio plays monthly chart' menu1[4]='» canciones escuchadas hoy' menu1[5]='» canciones escuchadas esta semana' menu1[6]='» canciones escuchadas este mes' menu1[7]='» canciones descargadas hoy' menu1[8]='» canciones descargadas esta semana' menu1[9]='» canciones descargadas este mes' menu1[10]=':: LISTA SEMANAL POR GENERO DE VIDEO' menu1[11]='» videos vistos hoy' menu1[12]='» videos vistos esta semana' menu1[13]='» videos vistos este mes' //Contents for menu 2, and so on var menu2 = new Array() menu2[0]=':: NUEVOS ARTISTAS' menu2[1]='» artistas (ordenados alfabeticamente)' menu2[2]='» artistas (mas populares)' menu2[3]='» artistas (por calificacion)' menu2[4]=':: NUEVAS CANCIONES' menu2[5]='» canciones (ordenados alfabeticamente)' menu2[6]='» canciones (mas populares)' menu2[7]='» canciones (por calificacion)' menu2[8]=':: NUEVOS VIDEOS' menu2[9]='» videos (ordenados alfabeticamente)' menu2[10]='» videos (mas populares)' menu2[11]='» videos (por calificacion)' menu2[12]='» productos (ordenados alfabeticamente)' menu2[13]='» productos (precios mas bajos)' menu2[14]='» productos (precios mas altos)' menu2[15]='» eventos (ordenados alfabeticamente)' menu2[16]='» eventos (proximos)' menu2[17]='» eventos (por ubicacion)' //Contents for menu 3 var menu3 = new Array() menu3[1]='» novedades' menu3[2]='» Blog de Musica Cristiana' menu3[3]='» Chat Cristiano' //Contents for menu 4 var menu4 = new Array() menu4[1]='» escribenos' menu4[2]='» quienes somos' menu4[3]='» preguntas frecuentes' menu4[4]='» mapa del sitio' menu4[5]='» LINKS / agregar un link' menu4[6]='» RECURSOS GRATUITOS' menu4[7]='» VOTA por Nosotros' menu4[8]='» Descargar Toolbar' menu4[9]='» Chat Cristiano' var menuwidth='200px' //default menu width var menubgcolor='#FFFFFF' //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)