var imgheight;
var imgleft;
var isNS = (document.layers) ? true : false;
window.screen.width > 800 ? imgheight=20 : imgheight=20;
window.screen.width > 800 ? imgleft=15 : imgleft=120;

// 左上漂浮位置
var imgheight;
var imgleft;
var isNS = (document.layers) ? true : false;
window.screen.width > 800 ? imgheight=120 : imgheight=120;
window.screen.width > 800 ? imgleft=15 : imgleft=120;

// 左上漂浮位置
function myLeftload()
{
	if(isNS) {
		document.getElementById("myleft").pageY = pageYOffset + window.innerHeight - imgheight;
		document.getElementById("myleft").pageX = imgleft;
		leftmove();
	}
	else { // IE6
		document.getElementById("myleft").style.top = document.documentElement.scrollTop + document.documentElement.offsetHeight - imgheight - 310;
		document.getElementById("myleft").style.left=imgleft;
		leftmove();
	}
}
function leftmove()
{
	if(isNS) {
		document.getElementById("myleft").top = pageYOffset + window.innerHeight - imgheight;
		document.getElementById("myleft").left = imgleft;
		setTimeout("leftmove();", 90);
	}
	else { // IE6
		document.getElementById("myleft").style.top = document.documentElement.scrollTop + document.documentElement.offsetHeight - imgheight - 325;
		document.getElementById("myleft").style.left = imgleft;
		setTimeout("leftmove();", 90);
	}
}

if(isNS) {
	document.write("<layer id='myleft' top='200' width='90' height='100'>");
	document.write("<a href=\"#\" onmousedown=\"Clk(this, 'job_float');\" target=\"_blank\"><img src=''  border='0'></a><Br><br>");
	document.write("<a href=\"#\" onmousedown=\"Clk(this, 'job_float');\" target=\"_blank\"><img src=''  border='0'></a>");
	document.write("</layer>");
	myLeftload();
}
else {//这里是显示广告链接
	document.write("<div id='myleft' style='position: absolute; width: 100px; top: 300px; left: 3px; visibility: visible; z-index: 1;'>");
	document.write("<a href=\"http://www.wtidc.com/user/index.asp\" target=\"_blank\" title=\"wtidc:2008-07-22\"><img src='http://www.fwvv.net/adimages/wtidc.gif'  width='100' height='100' border='0'></a><br><br><a href=\"http://www.stidc.com.cn\" target=\"_blank\"><img src='http://www.fwvv.net/adimages/stidc100-300.gif' border='0' title='stidc:2008-12-01'></a>");
	document.write("");
	document.write("</div>");
	myLeftload();
}


var imgheight;
var imgright;
document.ns = navigator.appName == "Netscape";
window.screen.width > 800 ? imgheight=90 : imgheight=90;
window.screen.width > 800 ? imgright=window.screen.width-25-120 : imgright=window.screen.width-120-120;
//// 右上漂浮位置
function myRightload()
{
	if(navigator.appName == "Netscape") {
		document.getElementById("myright").pageY = pageYOffset + window.innerHeight - imgheight;
		document.getElementById("myright").pageX = imgright;
		rightmove();
	}
	else {
		document.getElementById("myright").style.top = document.documentElement.scrollTop + document.documentElement.offsetHeight - imgheight - 310;
		document.getElementById("myright").style.left = imgright;
		rightmove();
	}
}
function rightmove()
{
	if(document.ns) {
		document.getElementById("myright").top = pageYOffset + window.innerHeight - imgheight;
		document.getElementById("myright").left = imgright;
		setTimeout("rightmove();", 80);
	}
	else {
		document.getElementById("myright").style.top = document.documentElement.scrollTop + document.documentElement.offsetHeight - imgheight - 240;
		document.getElementById("myright").style.left = imgright;
		setTimeout("rightmove();", 80);
	}
}

if(navigator.appName == "Netscape") {
	document.write("<layer id='myright' style='position: absolute; width: 90; top: 270px; left:5px; visibility: visible; z-index: 1;'>");
	document.write("");
	document.write("</layer>");
	myRightload();
}
else {//IE
	document.write("<div id='myright' style='position: absolute; width: 100; top: 100px; left:px; visibility: visible; z-index: 1;'>");
	document.write("<a href=\"http://www.39idc.com\" target=\"_blank\"><img src='http://www.fwvv.net/adimages/39idc100100.gif' width='100' height='100' border='0'title='39idc:2009-06-05'></a>");
	document.write("");
	document.write("</div>");
	myRightload();
}