var web800_div_content = ''; var web800_div_style = '
'; web800_div_content = '
'; var web800_iframe = ''; web800_div_style += ''; web800_div_style += '
'; var web800_div = document.createElement("div"); var web800_flow_x = 40; var web800_flow_y = 40; web800_div.innerHTML = web800_iframe+web800_div_content+web800_div_style; if(window.attachEvent) window.attachEvent("onload",function(){ document.body.appendChild(web800_div); setInterval('web800_flow()',500); }); if(window.addEventListener){ window.addEventListener("load",function(){ document.body.appendChild(web800_div); setInterval('web800_flow()',500); },true); } var web800_ie6_yn = 0; if(navigator.appName.indexOf("Microsoft Internet Explorer") != -1 && navigator.appVersion.indexOf("MSIE 6.0") != -1){ web800_ie6_yn = 1; } function web800_flow(){ var c = document.getElementById("web800_chat"); var i = document.getElementById("web800_ifr"); var l = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft; var t = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop; if(web800_ie6_yn) l = 0; var flow_x = web800_flow_x -l + "px"; var flow_y = web800_flow_y +t + "px"; if(c){ if(web800_ie6_yn) c.style.right = "0px"; c.style.right = flow_x; c.style.top = flow_y; } if(i){ if(web800_ie6_yn) i.style.right = "0px"; i.style.width = i.nextSibling.offsetWidth + "px"; i.style.height = i.nextSibling.offsetHeight + "px"; i.style.right = flow_x; i.style.top = flow_y; } }