suspendcode='<div id="world1" style="z-index:2;left:40px;top:52px;position:absolute;"><a href="http://www.hfxyzxcc.cn" target="_blank"><img src="img/1.jpg" /></a><br /></div>'
document.writeln(suspendcode);
suspendcode='<div id="world2" style="z-index:2;left:40px;top:90px;position:absolute;"><a href="http://www.csxyzxcc.cn" target="_blank"><img src="img/2.jpg" /></a><br /></div>'
document.writeln(suspendcode);
suspendcode='<div id="world3" style="z-index:2;left:40px;top:126px;position:absolute;"><a href="http://www.zkxyz.cn" target="_blank"><img src="img/4.jpg" /></a><br /></div>'
document.writeln(suspendcode);
suspendcode='<div id="world4" style="z-index:2;left:40px;top:162px;position:absolute;"><a href="lianxiwomen.htm" target="_blank"><img src="img/5.jpg" /></a><br /></div>'
document.writeln(suspendcode);
suspendcode='<div id="world5" style="z-index:2;left:40px;top:198px;position:absolute;"><a href="http://www.28cyjm.com" target="_blank"><img src="img/6.jpg" /></a><br /></div>'
document.writeln(suspendcode);
suspendcode='<div id="world7" style="z-index:2;left:40px;top:238px;position:absolute;"><a href="http://www.csxyzxcc.cn/" target="_blank"><img src="img/8.jpg" /></a><br /></div>'
document.writeln(suspendcode);

var lastScrollY=0;
var world1=document.getElementById("world1");
var world2=document.getElementById("world2");
var world3=document.getElementById("world3");
var world4=document.getElementById("world4");
var world5=document.getElementById("world5");
var world7=document.getElementById("world7");

function heartBeat(){
	var diffY;
	if (document.documentElement && document.documentElement.scrollTop)
		diffY = document.documentElement.scrollTop;
	else if (document.body)
		diffY = document.body.scrollTop
	else{}
	percent=.1*(diffY-lastScrollY);
	if(percent>0) percent=Math.ceil(percent);
	else percent=Math.floor(percent);
	world1.style.top=parseInt(world1.style.top)+percent+"px";
	world2.style.top=parseInt(world2.style.top)+percent+"px";
	world3.style.top=parseInt(world3.style.top)+percent+"px";
	world4.style.top=parseInt(world4.style.top)+percent+"px";
	world5.style.top=parseInt(world5.style.top)+percent+"px";
	world7.style.top=parseInt(world7.style.top)+percent+"px";
	lastScrollY=lastScrollY+percent;
}
function hide(){
	world1.style.visibility="hidden";
	world2.style.visibility="hidden";
	world3.style.visibility="hidden";
	world4.style.visibility="hidden";
	world5.style.visibility="hidden";
	world7.style.visibility="hidden";
	
	
}
window.setInterval("heartBeat()",1);
