document.write('<DIV id=img1 style="LEFT: 64px; WIDTH: 150px; POSITION: absolute; TOP: 34px; HEIGHT: 50px"   onMouseOut="pause_resume();" onMouseOver="pause_resume();"><A href="http://www.yyjg.org/ASPX/News_Detail.aspx?Id=6439" target="_blank"  ><IMG src="pp.jpg" border=0 ></a></div>');

<!--document.write('<DIV id=img2 style="LEFT: 64px; WIDTH: 150px; POSITION: absolute; TOP: 34px; HEIGHT: 50px"   onMouseOut="pause_resume1();" onMouseOver="pause_resume1();"><A href="http://www.czwjj.gov.cn/2052/ASPX/ParkCharge/index-5.html" target="_blank"  ><IMG src="sf.jpg" border=0 ></a></div>');-->

var xPos = 100;
var yPos = document.body.clientHeight;
var step = 1;
var delay = 30; 
var height = 0;
var Hoffset = 0;
var Woffset = 0;
var yon = 0;
var xon = 0;
var pause = true;
var interval;

var xPos1 = document.body.clientWidth;
var yPos1 = 100;
var height1 = 0;
var Hoffset1 = 0;
var Woffset1 = 0;
var yon1 = 0;
var xon1 = 0;
var pause1 = true;
var interval1;

img1.style.top = yPos;
img2.style.top = yPos1;


function changePos() {
width = document.body.clientWidth;
height = document.body.clientHeight;
Hoffset = img1.offsetHeight;
Woffset = img1.offsetWidth;
img1.style.left = xPos + document.body.scrollLeft;
img1.style.top = yPos + document.body.scrollTop;
if (yon) {
yPos = yPos + step;
}
else {
yPos = yPos - step;
}
if (yPos < 0) {
yon = 1;
yPos = 0;
}
if (yPos >= (height - Hoffset)) {
yon = 0;
yPos = (height - Hoffset);
}
if (xon) {
xPos = xPos + step;
}
else {
xPos = xPos - step;
}
if (xPos < 0) {
xon = 1;
xPos = 0;
}
if (xPos >= (width - Woffset)) {
xon = 0;
xPos = (width - Woffset);
}
}

function changePos1() {
width1 = document.body.clientWidth;
height1 = document.body.clientHeight;
Hoffset1 = img2.offsetHeight;
Woffset1 = img2.offsetWidth;
img2.style.left = xPos1 + document.body.scrollLeft;
img2.style.top = yPos1 + document.body.scrollTop;
if (yon1) {
yPos1 = yPos1 + step;
}
else {
yPos1 = yPos1 - step;
}
if (yPos1 < 0) {
yon1 = 1;
yPos1 = 0;
}
if (yPos1 >= (height1 - Hoffset1)) {
yon1 = 0;
yPos1 = (height1 - Hoffset1);
}
if (xon1) {
xPos1 = xPos1 + step;
}
else {
xPos1 = xPos1 - step;
}
if (xPos1 < 0) {
xon1 = 1;
xPos1 = 0;
}
if (xPos1 >= (width1 - Woffset1)) {
xon = 0;
xPos1 = (width1 - Woffset1);
}
}

function start() {
img1.visibility = "visible";
img2.visibility = "visible";

interval = setInterval('changePos()', delay);
interval1 = setInterval('changePos1()', delay);

}


function pause_resume1() {
if(pause1) {
clearInterval(interval1);
pause1 = false;
}
else {
interval1 = setInterval('changePos1()',delay);
pause1 = true;
}
}

function pause_resume() {
if(pause) {
clearInterval(interval);
pause = false;
}
else {
interval = setInterval('changePos()',delay);
pause = true;
}
}
start();