document.write ('<div id="yy" style="position:absolute; left:297px; top:114px; width:100px; height:100px; z-index:1">');
document.write ('<a href="http://www.new-landscape.com.cn/web/Jinianbei.htm" target=_blank><img src="http://www.new-landscape.com.cn/images/jinian.gif" width=100 height=100 style="border: 1 solid #FFFFFF"></a>');
document.write ('</div>');

var xposy = 200;
var yposy = document.body.clientHeight;
var stepy = 2.0;
var delayy = 30; 
var height = 0;
var Hoffset = 0;
var Woffset = 0;
var yony = 0;
var xony = 0;
var pausey = true;
var interval;
yy.style.top = yposy;
function changePosy() {
width = document.body.clientWidth;
height = document.body.clientHeight;
Hoffset = yy.offsetHeight;
Woffset = yy.offsetWidth;
yy.style.left = xposy + document.body.scrollLeft;
yy.style.top = yposy + document.body.scrollTop;
if (yony) {
yposy = yposy + stepy;
}
else {
yposy = yposy - stepy;
}
if (yposy < 0) {
yony = 1;
yposy = 0;
}
if (yposy >= (height - Hoffset)) {
yony = 0;
yposy = (height - Hoffset);
}
if (xony) {
xposy = xposy + stepy;
}
else {
xposy = xposy - stepy;
}
if (xposy < 0) {
xony = 1;
xposy = 0;
}
if (xposy >= (width - Woffset)) {
xony = 0;
xposy = (width - Woffset);
   }
}
function start() {
yy.visibility = "visible";
interval = setInterval('changePosy()', delayy);
}
function pausey_resume() {
if(pausey) {
clearInterval(interval);
pausey = false;
}
else {
interval = setInterval('changePosy()',delayy);
pausey = true;
   }
}
start();