function hideFlash(){
   alert("777");
   $('rightdiv').style.diplay ="none";
   $('leftdiv').style.diplay ="none";
   
}
function moviexin1_DoFSCommand(command, args) {
	var 幸福安康Obj = isInternetExplorer ? document.all.幸福安康 : document.幸福安康;
	alert("777");
	if(command=="hideFlash"){
	幸福安康Obj.style.diplay ="none";
	
   $('rightdiv').style.diplay ="none";
   $('leftdiv').style.diplay ="none";
	}
	//
}
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("leftdiv").style.top)+percent+"px";

lastScrollY=lastScrollY+percent; 
//alert(lastScrollY);
}

//
window.setInterval("heartBeat()",1);