//2012-5-19 JoXCN-JS-Expand for Ajax_GET
function Ajax_GET(url,val,func,Wfunc,Sfunc,renew,otime)
{
	this.re=renew;
	this.wait=Wfunc;
	this.isok=func;
	this.Sfunc=Sfunc;
	this.ot=otime*1000;
	var the=this,vs="";		
	this.val=val;
	this.Begin=function()
	{
		window.XMLHttpRequest?this.XHR=new XMLHttpRequest():this.XHR=new ActiveXObject("Microsoft.XMLHTTP");
		this.XHR.onreadystatechange=function()
		{
			if(the.XHR.readyState==4 && (the.XHR.status>=200 || the.XHR.status<=300))
			{
				the.R=the.XHR.responseText;
				the.H=the.XHR.getAllResponseHeaders();
				the.XR=the.XHR.responseXML;
				clearTimeout(the.over);
				return the.isok();
			}
			else
			{the.wait?the.wait():"";}
		}
		this.over=setTimeout(function(){the.Begin();},the.ot);
		var m=new Date();
		this.re?this.url=url+"?RE="+m.getTime()+"&":this.url=url+"?";
		this.XHR.open("get",this.url+this.val,true);
		this.XHR.send(null);
	}
	this.Stop=function()
	{
		this.XHR.abort();
		this.Sfunc!=""?this.Sfunc():"";
	}
}
//2012-5-20 The Ajax_GET is End
//2012-6-10 The Ajax_GET is Change
