document.write('<DIV id=img22 style="LEFT: 64px; WIDTH: 240px; POSITION: absolute; TOP: 30px; HEIGHT: 110px" align="right"><IMG src="/ad/sp_20120112c.jpg" border=0><br><a href="javascript:HideDiv(\'img22\')"><strong>¹Ø&nbsp; ±Õ</strong></a></div>');

var xPos3 = 300;
var yPos3 = document.body.clientHeight;
var step = 1;
var delay = 30; 
var height_tt = 30;
var Hoffset = 250;
var Woffset = 250;
var yon3 = 200;
var xon3 = 300;
var pause = true;
var interval;
img22.style.top = yPos3;
function changePos3() {
width_tt = document.body.clientWidth;
height_tt = document.body.clientHeight;
Hoffset = img22.offsetHeight;
Woffset = img22.offsetWidth;
img22.style.left = xPos3 + document.body.scrollLeft;
img22.style.top = yPos3 + document.body.scrollTop;
if (yon) {
yPos3 = yPos3 + step;
}
else {
yPos3 = yPos3 - step;
}
if (yPos3 < 0) {
yon3 = 1;
yPos3 = 0;
}
if (yPos3 >= (height_tt - Hoffset)) {
yon3 = 0;
yPos3 = (height_tt - Hoffset);
}
if (xon3) {
xPos3 = xPos3 + step;
}
else {
xPos3 = xPos3 - step;
}
if (xPos3 < 0) {
xon3 = 1;
xPos3 = 0;
}
if (xPos3 >= (width_tt - Woffset)) {
xon3 = 0;
xPos3 = (width_tt - Woffset);
}
}
function start() {
img22.visibility = "visible";
interval = setInterval('changePos3()', delay);
}
function pause_resume() {
if(pause) {
clearInterval(interval);
pause = false;
}
else {
interval = setInterval('changePos3()',delay);
pause = true;
}
}
start();
