/**
 *	对联广告之左(FLASH)——热烈祝贺河北旅游虚拟体验平台开通
*/
var ad_float_left_src2 ="http://www.hebeitour.com.cn/flash/ad-couplet.swf";
var ad_float_left_url2 ="";
var ad_float_left_type2 = "swf";
var ad_float_left_width2 ="90";
var ad_float_left_height2 ="400";
document.ns = navigator.appName == "Microsoft Internet Explorer"

var imgleft2;
var tempscreenwidth;
tempscreenwidth=window.screen.width;
if(tempscreenwidth<=800){
	imgleft2=7;
	
}else if(tempscreenwidth>800 && tempscreenwidth<=1024){
	imgleft2=7;
}else if(tempscreenwidth>1024 && tempscreenwidth<=1280){
	imgleft2=135;
	
}

function myload_ad_couplet2()
{
	adcouplet2.style.top=document.documentElement.scrollTop+5;
	adcouplet2.style.left=imgleft2;
	leftmove_ad_couplet2();
}
function leftmove_ad_couplet2()
{ 
	adcouplet2.style.top=document.documentElement.scrollTop+5;
	adcouplet2.style.left=imgleft2;
	setTimeout("leftmove_ad_couplet2();",50);
}

function MM_reloadPage_ad_couplet2(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {
	  if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
			document.MM_pgW=innerWidth; 
			document.MM_pgH=innerHeight; 
			onresize=MM_reloadPage_ad_couplet2;
	   }
	}else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) 
		location.reload();
 }
MM_reloadPage_ad_couplet2(true);

document.write("<div id=adcouplet2 style='position:absolute;width:"
+ad_float_left_width2
+";top:20;left:10;visibility: visible;z-index:100'>"
+"<style>"
+"A.closefloat:link,A.closefloat:visited {text-decoration:none;color:#000000;font-size:12px}"
+"A.closefloat:active,A.closefloat:hover {text-decoration:none;color:#0000FF;font-size:12px}"
+"</style>"
+"<table border=0 cellpadding=0 cellspacing=0><tr><td>");
if(document.ns){
	if(ad_float_left_type2!="swf")
		document.write("<a href='" + ad_float_left_url2 + "' target= '_blank'><img src='" + ad_float_left_src2 + 
		"' WIDTH='"+ad_float_left_width2+"' height='"+ ad_float_left_height2+"' border=0></a>");
	else
		document.write("<EMBED src='" + ad_float_left_src2 + "'quality=high  WIDTH="+ad_float_left_width2+" HEIGHT="+ad_float_left_height2+" TYPE='application/x-shockwave-flash' wmode='transparent'></EMBED>");
		document.write("</td></tr>"
		+"</table>"
		+"</div>");
	myload_ad_couplet2();
} 

