Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var gt,boton,io,tma;io=1;tma=enlaces.length;function getBID(a){return document.getElementById(a)}function abrienl(a){window.open(enlaces[parseInt(a.substring(4))])}
- for(i=1;i<tma;i++,io++){document.writeln('<center><INPUT TARGET="_blank" class="btndirect" TYPE="button" VALUE="" id="btnd'+String(io)+'" onclick="abrienl(id)"></center>');if(tma>2){getBID("btnd"+String(i)).value="Descarga Parte "+String(i)}else{getBID("btnd"+String(i)).value="Descarga un Enlace"}}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement