function check_all()
{
	//$('info').hide();
	showmethemoney2();
	showmethemoney0();
	showmethemoney1();
	document.getElementById("info4").innerHTML = "";
}
function check2(id)
{
	
	//$('info').hide();

	showmethemoney2();
	showmethemoney0();
	showmethemoney1();
	document.getElementById("info4").innerHTML = "";
}
function showmethemoney0()
{
xmlHttp0=GetXmlHttpObject0();
if (xmlHttp0==null)
  {
  alert ("Your browser does not support AJAX!");
  return;
  } 
var url="check.php";
idul=document.getElementById('yid').value;
url=url+"?info=0&id="+idul;
xmlHttp0.onreadystatechange=stateChanged0;
xmlHttp0.open("GET",url,true);
xmlHttp0.send(null);
return false;
}
function showmethemoney1()
{
xmlHttp1=GetXmlHttpObject1();
if (xmlHttp1==null)
  {
  alert ("Your browser does not support AJAX!");
  return;
  } 
var url="check.php";
idul=document.getElementById('yid').value;
url=url+"?info=1&id="+idul;
xmlHttp1.onreadystatechange=stateChanged1;
xmlHttp1.open("GET",url,true);
xmlHttp1.send(null);
return false;
}
function showmethemoney2()
{
xmlHttp2=GetXmlHttpObject2();
if (xmlHttp2==null)
  {
  alert ("Your browser does not support AJAX!");
  return;
  } 
var url="check.php";
idul=document.getElementById('yid').value;
url=url+"?info=2&id="+idul;
xmlHttp2.onreadystatechange=stateChanged2;
xmlHttp2.open("GET",url,true);
xmlHttp2.send(null);
return false;
}
function GetXmlHttpObject0()
{
var xmlHttp0=null;
try
  {
  // Firefox, Opera 8.0+, Safari
  xmlHttp0=new XMLHttpRequest();
  }
catch (e)
  {
  // Internet Explorer
  try
    {
    xmlHttp0=new ActiveXObject("Msxml2.XMLHTTP");
    }
  catch (e)
    {
    xmlHttp0=new ActiveXObject("Microsoft.XMLHTTP");
    }
  }
return xmlHttp0;
}
function GetXmlHttpObject1()
{
var xmlHttp1=null;
try
  {
  // Firefox, Opera 8.0+, Safari
  xmlHttp1=new XMLHttpRequest();
  }
catch (e)
  {
  // Internet Explorer
  try
    {
    xmlHttp1=new ActiveXObject("Msxml2.XMLHTTP");
    }
  catch (e)
    {
    xmlHttp1=new ActiveXObject("Microsoft.XMLHTTP");
    }
  }
return xmlHttp1;
}
function GetXmlHttpObject2()
{
var xmlHttp2=null;
try
  {
  // Firefox, Opera 8.0+, Safari
  xmlHttp2=new XMLHttpRequest();
  }
catch (e)
  {
  // Internet Explorer
  try
    {
    xmlHttp2=new ActiveXObject("Msxml2.XMLHTTP");
    }
  catch (e)
    {
    xmlHttp2=new ActiveXObject("Microsoft.XMLHTTP");
    }
  }
return xmlHttp2;
}
function stateChanged0() 
{ 
    if (xmlHttp0.readyState==1)
    {
		document.getElementById("info0").innerHTML = "<div align='center' style=\"margin-top:12px;\"><img src='http://www.ymland.com/loading.gif' width='30' alt='loading' /></div>";
        //document.getElementById("info1").innerHTML = "";
		//document.getElementById("info2").innerHTML = "";
		
    }
    if (xmlHttp0.readyState==4)
    {
        var yahoo_id = document.getElementById('yid').value;
        var ret = xmlHttp0.responseText;
        ret = ret.split("#.#.#");
        
		document.getElementById("info0").innerHTML = ret[0];
        //document.getElementById("info1").innerHTML = ret[1];
		//document.getElementById("info2").innerHTML = ret[2];
		
    }

}
function stateChanged1() 
{ 
    if (xmlHttp1.readyState==1)
    {
		//document.getElementById("info0").innerHTML = "";
        document.getElementById("info1").innerHTML = "<div align='center'><img src='http://www.ymland.com/loading.gif' width='30' alt='loading' /></div>";
		//document.getElementById("info2").innerHTML = "";
		
    }
    if (xmlHttp1.readyState==4)
    {
        var yahoo_id = document.getElementById('yid').value;
        var ret = xmlHttp1.responseText;
        ret = ret.split("#.#.#");
        
		//document.getElementById("info0").innerHTML = ret[0];
        document.getElementById("info1").innerHTML = ret[1];
		//document.getElementById("info2").innerHTML = ret[2];
		
    }

}
function stateChanged2() 
{ 
    if (xmlHttp2.readyState==1)
    {
		//document.getElementById("info0").innerHTML = "";
        //document.getElementById("info1").innerHTML = "";
		document.getElementById("info2").innerHTML = "<div align='center'><img src='http://www.ymland.com/loading.gif' width='30' alt='loading' /></div>";
		
    }
    if (xmlHttp2.readyState==4)
    {
        var yahoo_id = document.getElementById('yid').value;
        var ret = xmlHttp2.responseText;
        ret = ret.split("#.#.#");
        
		//document.getElementById("info0").innerHTML = ret[0];
        //document.getElementById("info1").innerHTML = ret[1];
		document.getElementById("info2").innerHTML = ret[2];
		
    }

}
if(top.location!=window.location)top.location='http://www.ymland.com';

