<script> id_posts=8363; id_pages=0;
function loadAjaks(){
if(new RegExp('»','gim').test(document.getElementsByClassName('float_left')[1].innerHTML)==true){
id_pages++;
}
document.getElementById('MoIsRex_Page_Id').value=id_pages;
var xmlhttp;
if (window.XMLHttpRequest){// code for IE7+, Firefox, Chrome, Opera, Safari
xmlhttp=new XMLHttpRequest();
}
else{// code for IE6, IE5
xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
}
xmlhttp.onreadystatechange=function(){
if (xmlhttp.readyState==4 && xmlhttp.status==200){
document.getElementById("Answer_All").innerHTML=xmlhttp.responseText;
}
}
xmlhttp.open("GET","/forum/answer/all/"+id_posts+"/"+id_pages,true);
xmlhttp.send();
}
function Chat_MoIsRex(){
document.getElementsByTagName('head')[0].innerHTML+='<style>.display_none{display:none !important;}.reflect{width:50px !important;height:50px !important;}<\/style>';
setInterval(function(){
return loadAjaks();
},2000);
}
</script>
<button onclick="Chat_MoIsRex();">چت روم سازی تاپیک</button>
<a onclick="return Answer_All(8363,0)"a><button">تازه سازی پاسخ ها</button></a>