<!-- Begin
var no2 = 5; // number of hearts
var speed2 = 50; // smaller number moves the hearts faster
//var heart2 = "images/parkLogo.gif";
var heart2 = "images/circle.gif";
var flag2;
var ns4up = (document.layers) ? 1 : 0;  // browser sniffer
var ie4up = (document.all) ? 1 : 0;
var dx2, xp2, yp2;    // coordinate and position variables
var am2, stx2, sty2;  // amplitude and step variables
var i2, doc_width2 = 0, doc_height2 = 600;

dx2 = new Array();
xp2 = new Array();
yp2 = new Array();
amx2 = new Array();
amy2 = new Array();
stx2 = new Array();
sty2 = new Array();
flag2 = new Array();
for (i2 = 0; i2 < no2; ++ i2) {
dx2[i2] = 0;                        // set coordinate variables
xp2[i2] = Math.random()*(doc_width2-30)+10;  // set position variables
yp2[i2] = Math.random()*doc_height2;
amy2[i2] = 12+ Math.random()*20;         // set amplitude variables
amx2[i2] = 10+ Math.random()*40;
stx2[i2] = 0.02 + Math.random()/10; // set step variables
sty2[i2] = 0.7 + Math.random();     // set step variables
flag2[i2] = (Math.random()>0.5)?1:0;
if (ns4up) {                      // set layers
if (i2 == 0) {
document.write("<layer name=\"dot2"+ i2 +"\" left=\"15\" ");
document.write("top=\"15\" visibility=\"show\"><img src=\"");
document.write(heart2+ "\" border=\"0\"></layer>");
} else {
document.write("<layer name=\"dot2"+ i2 +"\" left=\"15\" ");
document.write("top=\"15\" visibility=\"show\"><img src=\"");
document.write(heart2+ "\" border=\"0\"></layer>");
}
} else
if (ie4up) {
if (i2 == 0) {
document.write("<div id=\"dot2"+ i2 +"\" style=\"POSITION: ");
document.write("absolute; Z-INDEX: "+ i2 +"; VISIBILITY: ");
document.write("visible; TOP: 15px; LEFT: 15px;\"><img src=\"");
document.write(heart2+ "\" border=\"0\"></div>");
} else {
document.write("<div id=\"dot2"+ i2 +"\" style=\"POSITION: ");
document.write("absolute; Z-INDEX: "+ i2 +"; VISIBILITY: ");
document.write("visible; TOP: 15px; LEFT: 15px;\"><img src=\"");
document.write(heart2+ "\" border=\"0\"></div>");
}
}
}

function snowNS2() {  // Netscape main animation function
for (i2 = 0; i2 < no2; ++ i2) {  // iterate for every dot2
if (yp2[i2] > doc_height2-50) {
xp2[i2] = 10+ Math.random()*(doc_width2-amx2[i2]-30);
yp2[i2] = 0;
flag2[i2]=(Math.random()<0.5)?1:0;
stx2[i2] = 0.02 + Math.random()/10;
sty2[i2] = 0.7 + Math.random();
//doc_width2 = self.innerWidth;
//doc_height2 = self.innerHeight;
}
if (flag2[i2])
dx2[i2] += stx2[i2];
else
dx2[i2] -= stx2[i2];
if (Math.abs(dx2[i2]) > Math.PI) {
yp2[i2]+=Math.abs(amy2[i2]*dx2[i2]);
xp2[i2]+=amx2[i2]*dx2[i2];
dx2[i2]=0;
flag2[i2]=!flag2[i2];
}
document.layers["dot2"+i2].top = yp2[i2] + amy2[i2]*(Math.abs(Math.sin(dx2[i2])+dx2[i2]));
document.layers["dot2"+i2].left = xp2[i2] + amx2[i2]*dx2[i2];
}
setTimeout("snowNS2()", speed2);
}
function snowIE2() {  // IE main animation function
for (i2 = 0; i2 < no2; ++ i2) {  // iterate for every dot2
if (yp2[i2] > doc_height2-50) {
xp2[i2] = 10+ Math.random()*(doc_width2-amx2[i2]-30);
yp2[i2] = 0;
stx2[i2] = 0.02 + Math.random()/10;
sty2[i2] = 0.7 + Math.random();
flag2[i2]=(Math.random()<0.5)?1:0;
//doc_width2 = document.body.clientWidth;
//doc_height2 = document.body.clientHeight;
}
if (flag2[i2])
dx2[i2] += stx2[i2];
else
dx2[i2] -= stx2[i2];
if (Math.abs(dx2[i2]) > Math.PI) {
yp2[i2]+=Math.abs(amy2[i2]*dx2[i2]);
xp2[i2]+=amx2[i2]*dx2[i2];
dx2[i2]=0;
flag2[i2]=!flag2[i2];
}

//document.all["dot2"+i2].style.pixelTop = yp2[i2] + amy2[i2]*(Math.abs(Math.sin(dx2[i2])+dx2[i2]));
//document.all["dot2"+i2].style.pixelLeft = xp2[i2] + amx2[i2]*dx2[i2];

document.all["dot2"+i2].style.pixelTop = 536
document.all["dot2"+i2].style.pixelLeft = yp2[i2] + 350 + amy2[i2]*(Math.abs(Math.sin(dx2[i2])+dx2[i2]));

//document.all["dot2"+i2].style.pixelTop = 536
//document.all["dot2"+i2].style.pixelLeft = xp2[i2] + 400 + amx2[i2]*dx2[i2];

//document.all["dot2"+i2].style.pixelTop = yp2[i2] + amy2[i2]*(Math.abs(Math.sin(dx2[i2])+dx2[i2]));
//document.all["dot2"+i2].style.pixelLeft = 799;
document.all["dot2"+i2].style.filter = "alpha(opacity=60)";
}
setTimeout("snowIE2()", speed2);
}

if (ns4up) {
snowNS2();
} else if (ie4up) {
snowIE2();
}
// End --></script>
