function closefloatleft()
{
searchspe2.style.visibility='hidden';
}
function closefloatright()
{
searchspe.style.visibility='hidden';
}
function openright()
{
window.open('mailto:jz_jbzx@dl.gov.cn','');
}
function openleft()
{
window.open('http://www.dljz.gov.cn/content.aspx?id=2008-6-3/200863152045.htm','');
}
var specialcode="<DIV id=searchspe style='Z-INDEX: 100; right: 1px; WIDTH: 100px; POSITION: absolute; TOP: 30px;'><IMG style='CURSOR: hand' onclick='openright()' height='240' src='/floatpic/200761582627343right.jpg' width='100' border='0'><IMG style='CURSOR: hand' onclick='closefloatright()' height='35' src='images/close2.gif' width='100' border='0'></DIV>";
document.write(specialcode);
lastScrollX=0;
function heartBeat0()
{
diffY=document.body.scrollTop;
percent=.1*(diffY-lastScrollX);
if(percent>0)percent=Math.ceil(percent);
else percent=Math.floor(percent);
document.all.searchspe.style.pixelTop+=percent;
lastScrollX=lastScrollX+percent;
}
window.setInterval("heartBeat0()",1);
var specialcode2="<DIV id=searchspe2 style='Z-INDEX: 100; left: 1px; WIDTH: 100px; POSITION: absolute; TOP: 30px;'><IMG style='CURSOR: hand' onclick='openleft()' height='240' src='/floatpic/20086280336247left.asp' width='100' border='0'><IMG style='CURSOR: hand' onclick='closefloatleft()' height='35' src='images/close2.gif' width='100' border='0'></DIV>";
document.write(specialcode2);
lastScrollY=0;
function heartBeat1()
{
diffY=document.body.scrollTop;
percent=.1*(diffY-lastScrollY);
if(percent>0)percent=Math.ceil(percent);
else percent=Math.floor(percent);
document.all.searchspe2.style.pixelTop+=percent;
lastScrollY=lastScrollY+percent;
}
window.setInterval("heartBeat1()",1);