// Codigo Javascript Escrito por Andysin
// muchas gracias andy por la ayuda en este js ;) 
// tu sabes q soy bruto pa eso mUjajaja : D
// nuevas funciones y agregados por zenti
function $(el) {return document.getElementById(el);}



var l = 1
function scrollear(ap)
{
var puntodescroll = document.getElementById('zenti' + ap).offsetTop;
if(l <= 6 && l >= 1)
{
document.getElementById('lista_musica').scrollTop = puntodescroll;
l++;
}
}

function cll(n){
for(c = 0; c <= 3; c++){document.getElementById("lista_musica").scrollTop =  10*(n-1);}
}


function Swf(path) {      
var swf = navigator.appName.indexOf("Microsoft") != -1;      
return (swf) ? window[path] : document[path];
}

function i(M){
// cll(M);
  selecc_m(M);
  Procesar_video(M);
  Swf("myRepro").Suena(M);    
}

function clickM(num){
	 i(num);
}


function selecc_m(i){
cc = musicax.split("|");
for(var z=0;z < cc.length; z++){
if(z == i){$(i).className = "ListSelecc";} else { $(z).className =  (z%2)?('Sn'):('Sl');
		}
	}
}




function cancion_actual(i){
__Actual = musicax.split("|");
__zen = __Actual[i].split("::");
return __zen;
}

/*
0 = url
1 = art
2 = tema
*/
