function postUrl ( url ){
	new Image().src=url+"&cb="+Math.random();
}
  

function closediv(){
    document.getElementById('refer').style.display='none';
	document.getElementById('news').style.display='none';
}
function open_kf_window()
{
var kf_openurl="http://eca.dongfeng-nissan.com.cn/client.jsp?flag=1&companyId=13&style=320";
var kf_win = window.open(kf_openurl,"chat_self","height="+473+",width="+703+",top=200,left=200,status=yes,toolbar=no,menubar=no,resizable=no,scrollbars=no,location=no,titlebar=no");
}

function open_win_chat_for_win()
{
var chat_openurl="http://eca.dongfeng-nissan.com.cn/client.jsp?flag=1&companyId=2&style=316&locate=cn&refer=http://march.dongfeng-nissan.com.cn/flash/&username=&workId=0&keyword=";
var chat_win = window.open(chat_openurl,"chat_self","height="+473+",width="+703+",top=200,left=200,status=yes,toolbar=no,menubar=no,resizable=no,scrollbars=no,location=no,titlebar=no");
}

 var ele = document.getElementById("ecadiv");
  function move()
  {
    var clientW = document.documentElement.clientWidth;
	
    var clientH = navigator.appName != "Opera" ? document.documentElement.clientHeight : document.body.clientHeight;
	
    var scrollTop = window.screen.availHeight;
    //var scrollLeft = Math.max(document.documentElement.scrollLeft,document.body.scrollLeft);

    ele.style.top = (scrollTop/4) + "px";
	//alert( ele.style.top);
    ele.style.left = (250) + "px";
  }
//setInterval("move()",500);

//window.attachEvent("onload", correctPNG); 

    var prox; 
    var proy; 
    var proxc; 
    var proyc; 
    function show(id){/*--打开--*/ 
        clearInterval(prox); 
        clearInterval(proy); 
        clearInterval(proxc); 
        clearInterval(proyc); 
        var o = document.getElementById(id); 
        o.style.display = "block"; 
        o.style.width = "1px"; 
        o.style.height = "204px";  
        prox = setInterval(function(){openx(o,206)},20); 
    }     
    function openx(o,x){/*--打开x--*/ 
        var cx = parseInt(o.style.width); 
        if(cx < x) 
        { 
            o.style.width = (cx + Math.ceil((x-cx)/5)) +"px"; 
        } 
        else 
        { 
            clearInterval(prox); 
            proy = setInterval(function(){openy(o,200)},10); 
        } 
    }     
    function openy(o,y){/*--打开y--*/     
        var cy = parseInt(o.style.height); 
        if(cy < y) 
        { 
            o.style.height = (cy + Math.ceil((y-cy)/5)) +"px"; 
        } 
        else 
        { 
            clearInterval(proy);             
        } 
    }     
    function closeed(id){/*--关闭--*/ 
        clearInterval(prox); 
        clearInterval(proy); 
        clearInterval(proxc); 
        clearInterval(proyc);         
        var o = document.getElementById(id); 
        if(o.style.display == "block") 
        { 
            proyc = setInterval(function(){closex(o)},20);             
        }         
    }     
    function closey(o){/*--打开y--*/     
        var cy = parseInt(o.style.height); 
        if(cy > 0) 
        { 
            o.style.height = (cy - Math.ceil(cy/5)) +"px"; 
        } 
        else 
        { 
            clearInterval(proyc);                 
            proxc = setInterval(function(){closex(o)},10); 
        } 
    }     
    function closex(o){/*--打开x--*/ 
        var cx = parseInt(o.style.width); 
        if(cx > 0) 
        { 
            o.style.width = (cx - Math.ceil(cx/5)) +"px"; 
        } 
        else 
        { 
            clearInterval(proxc); 
            o.style.display = "none"; 
        } 
    }     
	function initiate(loginID, pageID ,top ,left)
	{
	}


