document.write('<DIV id=imgf style="LEFT: 64px; WIDTH: 64px; POSITION: absolute; TOP: 64px; HEIGHT: 64px"><A href=http://www.wzrc.net/articles/O5lxpjMpxWE=.shtml  target=_blank><IMG src=/upload/images/zglt2012.gif border=0></a></div>');
var xPosf = 640;
//var yPosf = document.body.clientHeight;
var yPosf = 450;
var stepf = 1;
var delayf = 30; 
var heightf = 0;
var Hoffsetf = 0;
var Woffsetf = 0;
var yonf = 0;
var xonf = 0;
var pausef = true;
var intervalf;
imgf.style.top = yPosf;
function changePosf() {
widthf = document.body.clientWidth;
heightf =600;// document.body.clientHeight;
Hoffsetf = imgf.offsetHeight;
Woffsetf = imgf.offsetWidth;
imgf.style.left = xPosf + document.body.scrollLeft;
imgf.style.top = yPosf + document.body.scrollTop;
if (yonf) {
yPosf = yPosf + stepf;
}
else {
yPosf = yPosf - stepf;
}
if (yPosf < 0) {
yonf = 1;
yPosf = 0;
}
if (yPosf >= (heightf - Hoffsetf)) {
yonf = 0;
yPosf = (heightf - Hoffsetf);
}
if (xonf) {
xPosf = xPosf + stepf;
}
else {
xPosf = xPosf - stepf;
}
if (xPosf < 0) {
xonf = 1;
xPosf = 0;
}
if (xPosf >= (widthf - Woffsetf)) {
xonf = 0;
xPosf = (widthf - Woffsetf);
}
}
function startf() {
imgf.visibility = "visible";
intervalf = setInterval('changePosf()', delayf);
}
function pause_resumef() {
if(pausef) {
clearInterval(interval);
pausef = false;
}
else {
intervalf = setInterval('changePosf()',delayf);
pausef = true;
}
}
startf();
