var imgheight;
var imgright;
document.ns = navigator.appName == "Netscape";
window.screen.width > 800 ? imgheight=350 : imgheight=350;
window.screen.width > 800 ? imgright=window.screen.width-5-120 : imgright=window.screen.width-120-120;
window.screen.width > 800 ? imgheight=350 : imgheight=350;


// 右下漂浮位置
function myRightload2()
{
	if(navigator.appName == "Netscape") {
		document.getElementById("myright2").pageY = pageYOffset + 450;
		document.getElementById("myright2").pageX = imgright+20;
		rightmove2();
	}
	else {
		document.getElementById("myright2").style.top = document.documentElement.scrollTop + 450;
		document.getElementById("myright2").style.left = imgright+20;
		rightmove2();
	}
}
function rightmove2()
{
	if(document.ns) {
		document.getElementById("myright2").top = pageYOffset + 450;
		document.getElementById("myright2").left = imgright+20;
		setTimeout("rightmove2();", 80);
	}
	else {
		document.getElementById("myright2").style.top = document.documentElement.scrollTop + 450;
		document.getElementById("myright2").style.left = imgright+20;
		setTimeout("rightmove2();", 80);
	}
}


if (window.screen.width > 800) {
if(navigator.appName == "Netscape") {
	document.write("<layer id='myright2' style='position: absolute; width: 51px;height: 50px; top: 300px; left: 5px; visibility: visible; z-index: 1;'>");
	document.write("<img style='cursor:hand ' alt='喜欢本站，点此收藏' src=''/images/j_fav_add.gif' height=120 width=82 onClick=\"window.external.addFavorite('http://www.shidaph.com','诺基亚手机网（http://www.shidaph.com）')\">");
        document.write("<p/><p/><p/>");
	document.write("</layer>");
	myRightload2();
}
else {
	document.write("<div id='myright2' style='position: absolute; width: 51px;height: 50px; top: 300px; left: 5px; visibility: visible; z-index: 1;'>");
	document.write("<img style='cursor:hand ' alt='喜欢本站，点此收藏' src='/images/j_fav_add.gif' height=120 width=82 onClick=\"window.external.addFavorite('http://www.shidaph.com','诺基亚手机网（http://www.shidaph.com）')\">");
        document.write("<br/>");
	document.write("</div>");
	myRightload2();
}

} else {
 //alert("分辩率较低可能会影响观看效果");

}


