/**
 * @Proyecto: Musicafina 1.6
 * @Autor: Andysin
 * @Para: Musicafina
 * @Creacion: 21/12/09
 * @Edicion: Equipo Musicafina
 * @Archivo: Reproductor.js
**/
function $(el) {return document.getElementById(el);}

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

function CncionAct(aes){ return 	$('CancionActual').value = $('hugo'+aes+'').href;}


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

function i(M){
// cll(M);
	selecc_m(M);
	CncionAct(M);
	Procesar_letra(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("|");
__Flow = __Actual[i].split("::");
return __Flow;
}
