function floater(swfpath) {

document.write("<DIV ID='nanafloater' STYLE='display:none;position:fixed!important;/* FF IE7*/position:absolute;/*IE6*/ right:20px;top:50px; width:200px; height:315px; z-index:40; visibility: visible;'  onclick='pgvSendClick({hottag:\"IED.NANA.INDEXSHTML.floater\"});'>");
document.writeln("<table width=\"200\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">");
document.writeln("      <tr>");
document.writeln("        <td align=\"center\"><table width=\"200\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">");
document.writeln("  <tr>");
document.writeln("    <td><img src=\"http:\/\/www.jayqq.com\/js\/fly\/fly_top.gif\" width=\"200\" height=\"29\"><\/td>");
document.writeln("  <\/tr>");
document.writeln("  <tr>");
document.writeln("    <td height=\"230\" align=\"center\" valign=\"middle\" background=\"http:\/\/www.jayqq.com\/js\/fly\/fly_bg.gif\"><a href=\"http:\/\/v.jayqq.com\/content\/?753.html\" target=\"_blank\" title=\"周杰伦《跨时代》MV集合\"><img width=\"186\" height=\"225\" border=\"0\" src=\"http:\/\/v.jayqq.com\/pic\/uploadimg\/2010-5\/151022295.jpg\"\/><\/a><\/td>");
document.writeln("  <\/tr>");
document.writeln("  <tr>");
document.writeln("    <td><a href=\"http:\/\/v.jayqq.com\" target=\"_blank\"><img src=\"http:\/\/www.jayqq.com\/js\/fly\/fly_but.gif\" width=\"200\" height=\"58\" border=\"0\"><\/a><\/td>");
document.writeln("  <\/tr>");
document.writeln("<\/table>")
document.writeln("<a href=\"javascript:guanbi()\">关闭<\/a>")
document.writeln("<\/div>")

if(NS || IE) action = window.setInterval("heartBeat()",1);
}

self.onError=null;
whichIt = null; 
lastScrollY = 0;
NS = (document.layers) ? 1 : 0;
IE = (document.all) ? 1: 0;
/***** STALKER CODE *****/
function heartBeat() {
var chk_i2;
if(IE) { 
	diffY = document.body.scrollTop; 
	}
if(NS) { diffY = self.pageYOffset}
if(diffY != lastScrollY) {
	percent = .1 * (diffY - lastScrollY);
	if(percent > 0){
		 percent = Math.ceil(percent);
		 chk_i2 ="yes";
	}
	else{
		 percent = Math.floor(percent);
		 chk_i2 ="no";
	}

if(IE){
		if ((chk_i2 == "yes") && (document.all.nanafloater.style.pixelTop < (chk_vlue=document.body.scrollHeight - (200)))){
		 document.all.nanafloater.style.pixelTop += percent;
		}
		else if ((chk_i2 == "no") && (document.all.nanafloater.style.pixelTop > 50)){
		 document.all.nanafloater.style.pixelTop += percent;
		}

	}
if(NS) document.nanafloater.top += percent; 
lastScrollY = lastScrollY + percent;
}
}
function index_floater() {
floater();
setTimeout("document.getElementById('nanafloater').style.display='block';",10000);

}
function guanbi() {
document.getElementById("nanafloater").style.display='none';
}