// 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("lovexin12").style.top=parseInt(document.getElementById("lovexin12").style.top)+percent+"px";
document.getElementById("lovexin14").style.top=parseInt(document.getElementById("lovexin14").style.top)+percent+"px";
document.getElementById("lovexin16").style.top=parseInt(document.getElementById("lovexin16").style.top)+percent+"px";
document.getElementById("lovexin18").style.top=parseInt(document.getElementById("lovexin18").style.top)+percent+"px";

lastScrollY=lastScrollY+percent; 
//alert(lastScrollY);
}



//------------tag <img> for left picture start
suspendcode12="<DIV id=\"lovexin12\" style='left:0px;POSITION:absolute;TOP:5px;z-index:100'><a href='#' target='_blank'><img src='gg/right.jpg' border='0' ></a><br><a href=JavaScript:; onclick=\"lovexin12.style.display = 'none'\"><img border=0 src=gg/close.gif></a></div>";
//-----------tag <img> end
//------------tag <img> for right picture start
suspendcode14="<DIV id=\"lovexin14\" style='right:0px;POSITION:absolute;TOP:5px;z-index:100'><a href='#' target='_blank'><img src='gg/right.jpg' border='0' ></a><br><a href=JavaScript:; onclick=\"lovexin14.style.display = 'none'\"><img border=0 src=gg/close.gif></a></div>";
//-----------tag <img> end

//------------tag <img> for left picture start
suspendcode16="<DIV id=\"lovexin16\" style='left:0px;POSITION:absolute;TOP:325px;z-index:100'><a href='#' target='_blank'><img src='gg/right.jpg' border='0' ></a><br><a href=JavaScript:; onclick=\"lovexin16.style.display = 'none'\"><img border=0 src=gg/close.gif></a></div>";
//-----------tag <img> end

//------------tag <img> for right picture start
suspendcode18="<DIV id=\"lovexin18\" style='right:0px;POSITION:absolute;TOP:325px;z-index:100'><a href='#' target='_blank'><img src='gg/right.jpg' border='0' ></a><br><a href=JavaScript:; onclick=\"lovexin18.style.display = 'none'\"><img border=0 src=gg/close.gif></a></div>";
//-----------tag <img> end



//-----------tag  <object> for left flash start
suspendcode12="<DIV id=\"lovexin12\" style='left:0px;POSITION:absolute;TOP:5px;z-index:100'><a href='#' target='_blank'><object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0\" width=\"101\" height=\"300\">"
suspendcode12+="<param name=\"movie\" value=\"gg/Liwen.swf\">";
suspendcode12+="<param name=\"quality\" value=\"high\">";
suspendcode12+="<embed src=\"gg/Liwen.swf\" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" width=\"101\" height=\"300\"></embed></object></a><br><a href=JavaScript:; onclick=\"lovexin12.style.visibility='hidden'\"><img border=0 src=gg/close.gif></a></div>";
//-----------tag <object> end



//-----------tag  <object> for right flash start
suspendcode14="<DIV id=\"lovexin14\" style='right:0px;POSITION:absolute;TOP:5px;z-index:100'><a href='#' target='_blank'><object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0\" width=\"101\" height=\"300\">"
suspendcode14+="<param name=\"movie\" value=\"gg/gaoyang.swf\">";
suspendcode14+="<param name=\"quality\" value=\"high\">";
suspendcode14+="<embed src=\"gg/gaoyang.swf\" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" width=\"101\" height=\"300\"></embed></object></a><br><a href=JavaScript:; onclick=\"lovexin14.style.visibility='hidden'\"><img border=0 src=gg/close.gif></a></div>";
//-----------tag <object> end


//-----------tag  <object> for left flash start
suspendcode16="<DIV id=\"lovexin16\" style='left:0px;POSITION:absolute;TOP:325px;z-index:100'><a href='#' target='_blank'><object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0\" width=\"101\" height=\"300\">"
suspendcode16+="<param name=\"movie\" value=\"gg/oslo.swf\">";
suspendcode16+="<param name=\"quality\" value=\"high\">";
suspendcode16+="<embed src=\"gg/oslo.swf\" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" width=\"101\" height=\"300\"></embed></object></a><br><a href=JavaScript:; onclick=\"lovexin16.style.visibility='hidden'\"><img border=0 src=gg/close.gif></a></div>";
//-----------tag <object> end


//-----------tag  <object> for right flash start
suspendcode18="<DIV id=\"lovexin18\" style='right:0px;POSITION:absolute;TOP:325px;z-index:100'><a href='#' target='_blank'><object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0\" width=\"101\" height=\"300\">"
suspendcode18+="<param name=\"movie\" value=\"gg/glm.swf\">";
suspendcode18+="<param name=\"quality\" value=\"high\">";
suspendcode18+="<embed src=\"gg/glm.swf\" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" width=\"101\" height=\"300\"></embed></object></a><br><a href=JavaScript:; onclick=\"lovexin18.style.visibility='hidden'\"><img border=0 src=gg/close.gif></a></div>";
//-----------tag <object> end



document.write(suspendcode12); 
document.write(suspendcode14); 
document.write(suspendcode16); 
document.write(suspendcode18); 
window.setInterval("heartBeat()",1);


