var xPos = 20;
var yPos = document.body.clientHeight;
var step = 1;
var delay = 20;
var zj_height = 0;
var Hoffset = 0;
var Woffset = 0;
var yon = 0;
var xon = 0;
var pause = true;
var interval;
pflogo.style.top = yPos;
function changePos() {
zj_width = document.body.clientWidth;
zj_height = document.body.clientHeight;
Hoffset = pflogo.offsetHeight;
Woffset = pflogo.offsetWidth;
pflogo.style.left = xPos + document.body.scrollLeft;
pflogo.style.top = yPos + document.body.scrollTop;
if (yon) {
yPos = yPos + step;
}
else {
yPos = yPos - step;
}
if (yPos < 0) {
yon = 1;
yPos = 0;
}
if (yPos >= (zj_height - Hoffset)) {
yon = 0;
yPos = (zj_height - Hoffset);
}
if (xon) {
xPos = xPos + step;
}
else {
xPos = xPos - step;
}
if (xPos < 0) {
xon = 1;
xPos = 0;
}
if (xPos >= (zj_width - Woffset)) {
xon = 0;
xPos = (zj_width - Woffset);
}
}
function www_helpor_net() {
pflogo.visibility = "visible";
interval = setInterval('changePos()', delay);
}
www_helpor_net();
