//flowjs1
var Layer1S='\'document.\'+_all+\'moveAnywhere\'+_style';
var layer1=eval('document.'+_all+'moveAnywhere'+_style);
var isNS = ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) >= 4));
var _all = '';
var _style = '';
var wwidth, wheight;
var ydir = '++';
var xdir = '++';
var id1, id2, id3;
var x = 118;
var y = 250;
var x1, y1;
if(!isNS) {
_all='all.';
_style='.style';
}
function getwindowsize() {
	clearTimeout(id1);
	clearTimeout(id2);
	clearTimeout(id3);
	if (isNS) {
		wwidth = window.innerWidth - 55;
		wheight = window.innerHeight - 50;
	} else {
		wwidth = document.body.clientWidth - 55;
		wheight = document.body.clientHeight - 50;
	}
	id3 = setTimeout('randomdir()', 20000);
	animate();
}

function randomdir() {
	if (Math.floor(Math.random()*2)) {
		(Math.floor(Math.random()*5)) ? xdir='--': xdir='++';
	} else {
		(Math.floor(Math.random()*5)) ? ydir='--': ydir='++';
	}
	id2 = setTimeout('randomdir()', 20000);
}

function animate() {
	eval('x'+xdir);
	eval('y'+ydir);
	if (isNS) {
		eval(eval(Layer1S)).moveTo((x+pageXOffset),(y+pageYOffset))
	}
	else {
		eval(eval(Layer1S)).pixelLeft = x+document.body.scrollLeft;
		eval(eval(Layer1S)).pixelTop = y+document.body.scrollTop;
	}
	if (isNS) {
		if (eval(eval(Layer1S)).top <= 1+pageYOffset) ydir = '++';
		if (eval(eval(Layer1S)).top >= wheight+pageYOffset) ydir = '--';
		if (eval(eval(Layer1S)).left >= wwidth+pageXOffset) xdir = '--';
		if (eval(eval(Layer1S)).left <= 1+pageXOffset) xdir = '++';
	}
	else {
		if (eval(eval(Layer1S)).pixelTop <= 1+document.body.scrollTop) ydir = '++';
		if (eval(eval(Layer1S)).pixelTop >= wheight+document.body.scrollTop) ydir = '--';
		if (eval(eval(Layer1S)).pixelLeft >= wwidth+document.body.scrollLeft) xdir = '--';
		if (eval(eval(Layer1S)).pixelLeft <= 1+document.body.scrollLeft) xdir = '++';
	}
	id1 = setTimeout('animate()',15);
}

function startMove()
{
	animate();
}

function stopMove()
{
	clearTimeout(id1);
}

var imageSrc,imageWidth,imageHeight,imageLink;

imageSrc = "/zt/ywjytx/ywtl.gif";
imageWidth = 220;
imageHeight = 80;
imageLink = "/zt/ywjytx/";
document.write('<div id=moveAnywhere style="position:absolute; left:118px; top:255px; width:'+imageWidth+'px; height:'+imageHeight+'px; z-index:1">');
document.write('<a href="'+imageLink+'" target="_blank">');
document.write('<img src="'+imageSrc+'"  border=0 style="cursor:hand" onMouseOver="stopMove()" onMouseOut="startMove()">');
document.write('</a>');
document.write('</div>');


//document.write('<div id=moveAnywhere style="position:absolute; left:118px; top:255px; width:'+imageWidth+'px; height:'+imageHeight+'px; z-index:1; cursor:hand" onMouseOver="stopMove()" onMouseOut="startMove()"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="80%" height="80%"><param name="movie" value="/1111.swf" /><param name="quality" value="high" /><param name="wmode" value="transparent" /><embed src="/1111.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="80%" height="80%"></embed></object></div>');


