// JavaScript Document
var timer = 0;
var startTime;

function Start()
{
	minutes = 6;
	//alert("Don't forget to TURN UP your speakers!");
	timer = minutes * 60;
	startTime = Date.parse(new Date())/1000;
	window.setTimeout('CountDown()',100);
}

function CountDown()
{
	var currentTime = Date.parse(new Date())/1000;
	var timeInSeconds=timer-(currentTime-startTime);
	
	if(document.clockForm)
	{
		document.clockForm.clock.value = timeInSeconds;
	}
	
	if(timeInSeconds > 0)
	{
		countAgain=setTimeout("CountDown()", 100)
	}
	else
	{
		MM_showHideLayers('slideMenu','','hide'); return false;
	}

}
