  //function locking(modelName,modelId,ParamValue,ParamId,names,DataUnit){   
    function locking(){  
　　　　var ShopConfirmLayer=document.getElementById("ShopConfirmLayer");
　　　　var webBgLayer=document.getElementById("webBgLayer");
　　 // ShopConfirmLayer.innerHTML=str;
　　　　 ShopConfirmLayer.style.display="";
　　 ShopConfirmLayer.style.left=parseInt((document.documentElement.scrollWidth-ShopConfirmLayer.offsetWidth)/2)+document.documentElement.scrollLeft+"px";
　　 ShopConfirmLayer.style.top=Math.abs(parseInt((document.documentElement.clientHeight-ShopConfirmLayer.offsetHeight)/2))+document.documentElement.scrollTop+"px";
　　 webBgLayer.style.display="";
　　 webBgLayer.style.height=document.documentElement.scrollHeight+"px"; 
   }   
  function    Lock_CheckForm(theForm){   
　　　　var ShopConfirmLayer=document.getElementById("ShopConfirmLayer");
　　　　var webBgLayer=document.getElementById("webBgLayer");
　　　　ShopConfirmLayer.style.display="none";
　　　　webBgLayer.style.display="none";
   } 
   
   
   
String.prototype.GetValue= function(para) {  
  var reg = new RegExp("(^|&)"+ para +"=([^&]*)(&|$)");  
  var r = this.substr(this.indexOf("\?")+1).match(reg);  
  if (r!=null) return unescape(r[2]); return null;  
}  
var str = location.href;  
var  tipId = window.setInterval("show()",10000);   
var xmlHttp;
function show()
{ 
    xmlHttp=GetXmlHttpObject();
    if (xmlHttp==null)
    {
        alert ("Browser does not support HTTP Request");
        return;
    }
    var url="BuyCarInfoListAjax.aspx?currentPage="+str.GetValue("currentPage");
    
    xmlHttp.open("post",url,true);
    xmlHttp.send("");
    xmlHttp.onreadystatechange=showvalue;
}
 
function showvalue()
{
   if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete")
   { 
        document.getElementById("divshow").innerHTML=xmlHttp.responseText;
   } 
}
function GetXmlHttpObject()
{
    var xmlHttp=null;
    try
    {
        xmlHttp=new XMLHttpRequest();
    }
    catch (e)
    {
        try
        {
            xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
        }
        catch (e)
        {
            xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
        }
    }
    return xmlHttp;
    
}
   
  
   
   



