/*
   --------------------------------------------------------------
      	<<    ArianBax  Script       >>
   --------------------------------------------------------------
   ______________________________________________________________
  |                                                             			|
  |       Programmed by:       Seyyed Reza Zahfaran             		|
  |       Email:               reza_zahfaran@yahoo.com          		|
  |       Website:             http://CrazyAngel.iR             			|
  |______________________________________________________________|

*/




var http = false;
try {
  http = new XMLHttpRequest();
} catch (trymicrosoft) {
  try {
    http = new ActiveXObject("Msxml2.XMLHTTP");
  } catch (othermicrosoft) {
    try {
      http = new ActiveXObject("Microsoft.XMLHTTP");
    } catch (failed) {
      http = false;
    }
  }
}
//alert(http);
function sendreq(url,method,params)
{
http.open(method,url,true);
http.onreadystatechange=function check_done1()
{
if(http.readyState==4)
{
response_ready(http.responseText);

}
}
if(method.ucase='POST')
{
http.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
http.setRequestHeader("Content-length", params.length);
http.setRequestHeader("Connection", "close");
}
http.send(params + '&ajax=1');
}


var http2 = false;
try {
  http2 = new XMLHttpRequest();
} catch (trymicrosoft) {
  try {
    http2 = new ActiveXObject("Msxml2.XMLHTTP");
  } catch (othermicrosoft) {
    try {
      http2 = new ActiveXObject("Microsoft.XMLHTTP");
    } catch (failed) {
      http2 = false;
    }
  }
}
//alert(http);
function sendreq2(url,method,params)
{
http2.open(method,url,true);
  http2.onreadystatechange=function check_done12()
  {
    if(http2.readyState==4)
    {
    response_ready2(http2.responseText);

    }
  }
  if(method.ucase='POST')
  {
  http2.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
  http2.setRequestHeader("Content-length", params.length);
  http2.setRequestHeader("Connection", "close");
  }
http2.send(params + '&ajax=1');
}