var xmlHttp,oxmlHttp; var GetRandomn = 0; //----------------------------------------------------------------------------------------首页新闻模块 function get_xm_money_cars(jyjg) { xmlHttp=GetXmlHttpObject(); oxmlHttp=GetXmlHttpObject(); if (xmlHttp==null) { alert ("您的浏览器不支持AJAX!"); return; } var url="/xt_money_cars_list.php?jyjg="+jyjg+"&t=" + new Date().getTime(); xmlHttp.onreadystatechange=get_index_news; xmlHttp.open("GET",url,true); xmlHttp.send(null); } function get_index_news() { if (xmlHttp.readyState==4) { document.getElementById("cars_tx_money").innerHTML=xmlHttp.responseText } } function get_cars_pl(id1,page) { xmlHttp=GetXmlHttpObject(); oxmlHttp=GetXmlHttpObject(); if (xmlHttp==null) { alert ("您的浏览器不支持AJAX!"); return; } var url="/pinglun_ajax.php?id1="+id1+"&page="+page+"&t=" + new Date().getTime(); xmlHttp.onreadystatechange=get_cars_pl_list; xmlHttp.open("GET",url,true); xmlHttp.send(null); } function get_cars_pl_list() { if (xmlHttp.readyState==4) { document.getElementById("cars_pl").innerHTML=xmlHttp.responseText } } function load_xt_car(page,class1,money) { xmlHttp=GetXmlHttpObject(); oxmlHttp=GetXmlHttpObject(); if (xmlHttp==null) { alert ("您的浏览器不支持AJAX!"); return; } var url="/index3_xt_jx.php?page="+page+"&class1="+class1+"&money="+money+"&t=" + new Date().getTime(); xmlHttp.onreadystatechange=load_xt_car_list; xmlHttp.open("GET",url,true); xmlHttp.send(null); } function load_xt_car_list() { if (xmlHttp.readyState==4) { document.getElementById("tx_jg_car_list").innerHTML=xmlHttp.responseText; document.getElementById("xt_jg_car_box1").style.display="none"; document.getElementById("xt_jg_car_box").style.display=""; } } function load_xt_jg_car(money) { xmlHttp=GetXmlHttpObject(); oxmlHttp=GetXmlHttpObject(); if (xmlHttp==null) { alert ("您的浏览器不支持AJAX!"); return; } var url="/index3_xt_jx_list.php?money="+money+"&t=" + new Date().getTime(); xmlHttp.onreadystatechange=load_xt_jg_car_list; xmlHttp.open("GET",url,true); xmlHttp.send(null); } function load_xt_jg_car_list() { if (xmlHttp.readyState==4) { document.getElementById("tx_jg_car_list").innerHTML=xmlHttp.responseText; document.getElementById("xt_jg_car_box").style.display=""; } } function GetXmlHttpObject() { var xmlHttp=null; try { // Firefox, Opera 8.0+, Safari xmlHttp=new XMLHttpRequest(); } catch (e) { // Internet Explorer try { xmlHttp=new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) { xmlHttp=new ActiveXObject("Microsoft.XMLHTTP"); } } return xmlHttp; } document.write("107"); document.write("
");