 function lx(l){
tc=l+300;
tes='<div style="position: absolute; width:100px; height: 20px; z-index: 1; left: 600px; top:'+tc+'px;border: 1px solid #000000"><center><font face="Verdana" size="1"><b>SCROLL</b></font><br><a href=# onclick="pause('+l+');return false;"><img border="0" src="/mxr/im/pause.jpg" width="20" height="20" alt="PAUSE"></a> <a href=# onclick="para();return false;"><img border="0" src="/mxr/im/stop.jpg" width="20" height="20" alt="STOP"></a> <a href="#" onClick="mais(3);return false;"><img border="0" src="/mxr/im/mais.jpg" width="20" height="20" alt="ACELERAR"></a> <a href="#" onClick="mais(-3);return false;"><img border="0" src="/mxr/im/menos.jpg" width="20" height="20" alt="DIMINUIR"></a></div>';
document.getElementById('painel').innerHTML = tes;
}
function play(y){
var t = document.getElementById('tempox').innerHTML;
x=Number(t)+y;
music.scrollTop=x;
d=x+3;
linha=setTimeout("play("+d+")",x);
lx(x);
if(x>2000){
para();
}
}
function pause(l){
tc=l+100;
tes='<div style="position: absolute; width:100px; height: 20px; z-index: 1; left: 600px; top:'+tc+'px; border: 1px solid #000000"><center><font face="Verdana" size="1"><b>SCROLL</b></font><br><a href=# onclick="play('+l+');return false;"><img border="0" src="/mxr/im/play.jpg" width="20" height="20" alt="PLAY"></a> <a href=# onclick="para();return false;"><img border="0" src="/mxr/im/stop.jpg" width="20" height="20" alt="STOP"></a> <a href="#" onClick="mais(3);return false;"><img border="0" src="/mxr/im/mais.jpg" width="20" height="20" alt="ACELERAR"></a> <a href="#" onClick="mais(-3);return false;"><img border="0" src="/mxr/im/menos.jpg" width="20" height="20" alt="DIMINUIR"></a></div>';
document.getElementById('painel').innerHTML = tes;
stop=clearTimeout(linha);
}
function para(z)
{
stop=clearTimeout(linha);
tes="";
document.getElementById('painel').innerHTML = tes;
}
function mais(t){
var temp = document.getElementById('tempox').innerHTML;
x=Number(temp)+t;
if(x<1){x=1}
document.getElementById('tempox').innerHTML = x;
}

