Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script type="text/javascript">
- function script(){document.write("<script type=\"text\/javascript\" src=\"/script\"><\/script>")}
- script();
- </script>
- <?php
- header("Content-type: application/javascript");
- ?>
- function showPlayerNew(e,t,n){var r=document.getElementById("player_"+e),p=document.getElementById("lk_"+e);if("<span><b>▢ STOP</b></span>"===p.innerHTML)r.innerHTML="",p.innerHTML="<span><b>▶ PLAY</b></span>";else{var a=document.getElementsByTagName("div");for(i=0;i<a.length;i++)"player_"==a[i].className&&(a[i].innerHTML="");r.innerHTML="",window.XMLHttpRequest?xmlhttp=new XMLHttpRequest:xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"),xmlhttp.open("GET","/player/player_"+n+".php?filename="+e+"&ref="+t),r.innerHTML='<center style="margin-top:15px;"><img src="/player/img/loading.gif" /></center>',xmlhttp.onreadystatechange=function(){4==xmlhttp.readyState&&200==xmlhttp.status&&(r.innerHTML=xmlhttp.responseText,p.innerHTML="<span><b>▢ STOP</b></span>")},xmlhttp.send(null)}}function getXMLHttp(){var e;try{e=new XMLHttpRequest}catch(t){try{e=new ActiveXObject("Msxml2.XMLHTTP")}catch(t){try{e=new ActiveXObject("Microsoft.XMLHTTP")}catch(e){return!1}}}return e}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement