/****创建XMLHttpRequest对象****/
var xmlHttp=false; //定义变量并赋值为FALSE
try{xmlHttp=new ActiveXObject("Msxnl2.XMLHTTP");}//高版本IE创建的方法
catch(e){
try{xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");} //低版本IE创建XMLHttpRequest的方法
catch(e2){}
	}

if(!xmlHttp&&typeof XMLRequest!="undefined"){
	try{xmlHttp=new XMLHttpRequest();} //使用其他浏览器创建ＸＭＬｒｅｑｕｅｓｔ的方法
	catch(e3){xmlHttp=False;}          //为变量xmlhttp赋值为FALse
	}
/*xmlHttp.open(srting method,string url,boolean asyn,string user,string password);
xmlHttp.open("get","inc/inc.asp","true");*/

function show(url,showdom){
	xmlHttp.open("get",url,"true");
	xmlHttp.onreadystatechange=function(){
		if(xmlHttp.readyState==4){
		if(xmlHttp.status==200 || xmlHttp.status==0){
		var tet=xmlHttp.ResponseText;
		$(showdom).html(tet);
		}	
		}							  
}
    xmlHttp.Send()
}

