lastScrollY_up2 = 220;
function heartBeat_up2(){
var diffY_up2;
if (document.documentElement && document.documentElement.scrollTop)
diffY_up2 = document.documentElement.scrollTop;
else if (document.body)
diffY_up2 = document.body.scrollTop
else
{/*Netscape stuff*/}
//alert(diffY);
percent_up2=.1*(diffY_up2-lastScrollY_up2);
if(percent_up2>0)percent_up2=Math.ceil(percent_up2);
else percent_up2=Math.floor(percent_up2);
document.getElementById("rightDiv_up2").style.top = parseInt(document.getElementById("rightDiv_up2").style.top)+percent_up2+"px";
lastScrollY_up2=lastScrollY_up2+percent_up2;
//alert(lastScrollY);
}
//下面这段删除后，对联将不跟随屏幕而移动。
function menuChange_up2()
{
		document.getElementById("rightDiv_up2").style.display = "none"; 

}


window.setInterval("heartBeat_up2()",1);

document.writeln("<style type=\"text\/css\">");
document.writeln("#leftDiv,#rightDiv_up2{width:105px;height:100px;position:absolute;}");
document.writeln(".itemFloat{width:100px;height:auto;line-height:5px}");
document.writeln("<\/style>");

document.writeln("<div id=\"rightDiv_up2\" style=\"top:460px;left:4px;z-index:100;\">");
//------右侧各块结束
//---R1
document.writeln("<div id=\"right_up21\" class=\"itemFloat\">");
document.writeln("<DIV id=\"STATICMENU\" style=\"Z-INDEX:999; LEFT:0px; VISIBILITY: visible; WIDTH: 120px; POSITION: absolute;TOP:0px; HEIGHT: 300px\"><table width=\"120\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\"><tr><td valign=\"top\"><div align=\"right\"><a onclick=\"menuChange_up2()\"><img src=\"/imagesnewyear2012/close.gif\" style=\"CURSOR: hand\" alt=\"关闭\" border=\"0\" width=\"15\" height=\"16\" align=\"top\"></a></div></td></tr>");
document.writeln("<tr><td><img src=\"/imagesnewyear2012/2012topbj04.jpg\"></td></tr></table></DIV>");
document.writeln("<\/div>");
document.writeln("<\/div>");
