// JavaScript Document
lastScrollY = 0;
function heartBeat(){
var diffY;
if (document.documentElement && document.documentElement.scrollTop)
diffY = document.documentElement.scrollTop;
else if (document.body)
diffY = document.body.scrollTop
else
{/*Netscape stuff*/}
//alert(diffY);
percent=.1*(diffY-lastScrollY);
if(percent>0)percent=Math.ceil(percent);
else percent=Math.floor(percent);
document.getElementById("leftDiv").style.top = parseInt(document.getElementById("leftDiv").style.top)+percent+"px";
document.getElementById("rightDiv").style.top = parseInt(document.getElementById("rightDiv").style.top)+percent+"px";
lastScrollY=lastScrollY+percent;
//alert(lastScrollY);
}
//ɾ󣬶Ļƶ
window.setInterval("heartBeat()",1);
//-->
//رհť
function close_left1(){
    document.getElementById("left1").style.visibility='hidden';
}
function close_left2(){
    document.getElementById("left2").style.visibility='hidden';
}
function close_right1(){
    document.getElementById("right1").style.visibility='hidden';
}
function close_right2(){
    document.getElementById("right2").style.visibility='hidden';
}
//ʾʽ
document.writeln("<style type=\"text\/css\">");
document.writeln("#leftDiv,#rightDiv{width:109px;height:200px;position:absolute;}");
document.writeln(".itemFloat{width:66px;height:auto;}");
document.writeln("<\/style>");
//ΪҪ
document.writeln("<div id=\"leftDiv\" style=\"top:40px;left:5px\">");
//------鿪ʼ
//---L1
//document.writeln("<div id=\"left1\" class=\"itemFloat\">");
//document.writeln("<img src=images/left_14.jpg width=65 height=202 />");
//document.writeln("<a href=\"javascript:close_left1();\" title=\"رĹ\"><\/a><br><br><br><br>");
//document.writeln("<\/div>");

//------
document.writeln("<\/div>");
document.writeln("<div id=\"rightDiv\" style=\"top:150px;right:7px\">");
//------Ҳ
//---R1
document.writeln("<div id=\"right1\" class=\"itemFloat\">");

document.writeln("<table width=\"115\" border=\"0\" cellspacing=\"0\"  cellpadding=\"0\">");

document.writeln("    <tr>");
document.writeln("      <td  ><img src=\"images/top_qq.gif\"  width=\"109\" height=\"37\" /></td>");
document.writeln("    </tr>");



 
 
document.writeln("    <tr>");
document.writeln("      <td width=\"109\"  align=\"center\" style=\"padding-top:2px;padding-left:2px;background:url(images/bg_qq.gif) repeat-y;\"><a href=\"tencent://message/?uin=1252965666&amp;Site=德宏装饰&amp;Menu=no\" class=\"font6\" title=\"德宏装饰\"><img src=\"images/aa_09.gif\" boder=\"0\" width=\"24\" height=\"23\" boder=\"0\" align=\"absmiddle\" hspace=\"0\"    />德宏装饰</a></td>");
document.writeln("    </tr>");

      


document.writeln("    <tr>");
document.writeln("      <td ><img src=\"images/botom_qq.gif\" width=\"109\" height=\"30\" /></td>");
document.writeln("    </tr>");
document.writeln("  </table>");

document.writeln("<div   onclick=\"javascript:close_right1();\" style=\"position:absolute;top:3px;left:94px; z-index:100;width:18px;height:15px;cursor:hand\">&nbsp;&nbsp;&nbsp;</div><br><br><br><br>");
document.writeln("<\/div>");

//------Ҳ
document.writeln("<\/div>");

