// JavaScript Document
// please keep these lines on when you copy the source
// made by: Nicolas - http://www.javascript-page.com

var timerID = 0;
var tStart  = null;

function UpdateTimer() {
	if(timerID) {
		clearTimeout(timerID);
		clockID  = 0;
	}
	if(!tStart)
		tStart   = new Date();

	var tDate = new Date();
	var tDiff = tDate.getTime() - tStart.getTime();
	tDate.setTime(tDiff);

	if (tDate.getSeconds() == 1) {
		$('flashThin').style.height = '298px';
		$('flashMovie').style.height = '299px';
	}
	timerID = setTimeout("UpdateTimer()", 1000);
}

function Start() {
   tStart   = new Date();
   timerID  = setTimeout("UpdateTimer()", 1000);
}

function Stop() {
	if(timerID) {
		clearTimeout(timerID);
		timerID  = 0;
	}
	tStart = null;
}

function Reset() {
	tStart = null;
}