function MouseOver(element, colors)
{element.style.backgroundColor = colors;
element.children.tags('A')[0].style.color = "#FFFFFF";
element.style.cursor = 'hand'}
function MouseOut(element, colors)
{element.style.backgroundColor = colors;
element.children.tags('A')[0].style.color = "#808080";}
function MouseDown(element, colors)
{element.style.backgroundColor = colors;
element.children.tags('A')[0].style.color = "#FFFFFF";}
function MouseUp(path)
{location.href = path;}

function clock() 
{
	if (!document.layers && !document.all) return;
	
	var NOW = new Date();
	var BIGDAY = new Date("October 30, 2009 12:00:01");
	var days1 = ((BIGDAY-NOW)/86400000)-(((BIGDAY-NOW)%86400000)/86400000);
	var days = round_decimals(days1, 0);
	var hours = 23 - NOW .getHours();
	var minutes = 59 - NOW .getMinutes();
	var seconds = 59 - NOW .getSeconds();
	if (hours == 0) hours = "00";
	if (minutes <= 9) minutes = "0" + minutes;
	if (seconds <= 9) seconds = "0" + seconds;
	dispTime = days + "days " +hours + "hr " + minutes + "min " + seconds +"sec";
	if (document.layers) 
	{
		document.layers.countdown.document.write(dispTime);
		document.layers.countdown.document.close();
	}
	else if (document.all)
	{
		countdown.innerHTML = dispTime;
	}	
	setTimeout("clock()", 1000);
}

function round_decimals(original_number, decimals) {
    var result1 = original_number * Math.pow(10, decimals)
    var result2 = Math.round(result1)
    var result3 = result2 / Math.pow(10, decimals)
    return result3;
    //return pad_with_zeros(result3, decimals)
}

<!-- Begin

function snowNS() { // Netscape main animation function
for (i = 0; i < no; ++ i) { // iterate for every dot
yp[i] += sty[i];
if (yp[i] > doc_height-50) {
xp[i] = Math.random()*(doc_width-am[i]-30);
yp[i] = 0;
stx[i] = 0.02 + Math.random()/10;
sty[i] = 0.7 + Math.random();
doc_width = self.innerWidth;
doc_height = self.innerHeight;
}
dx[i] += stx[i];
document.layers["dot"+i].top = yp[i];
document.layers["dot"+i].left = xp[i] + am[i]*Math.sin(dx[i]);
}
setTimeout("snowNS()", speed);
}
function snowIE() { // IE main animation function
for (i = 0; i < no; ++ i) { // iterate for every dot
yp[i] += sty[i];
if (yp[i] > doc_height-50) {
xp[i] = Math.random()*(doc_width-am[i]-30);
yp[i] = 0;
stx[i] = 0.02 + Math.random()/10;
sty[i] = 0.7 + Math.random();
doc_width = document.body.clientWidth;
doc_height = document.body.clientHeight;
}
dx[i] += stx[i];
document.all["dot"+i].style.pixelTop = yp[i];
document.all["dot"+i].style.pixelLeft = xp[i] + am[i]*Math.sin(dx[i]);
}
setTimeout("snowIE()", speed);
}

function startSnow(){
if (ns4up) {
snowNS();
} else if (ie4up) {
snowIE();
}
}
// End -->


