//-----------------------------------------------------------------------------
// Calculate the number of days until the next Laconia Bike Week
//-----------------------------------------------------------------------------
function daysLeft()
{
	today     = new Date();
	nextEvent = new Date( "June 12, 2010 12:00:00 AM" );
	msPerDay  = 24 * 60 * 60 * 1000 ;
	daysLeft  = ( nextEvent.getTime() - today.getTime() ) / msPerDay;
	daysLeft  = Math.round( daysLeft );
    
    if ( daysLeft < 0 ) {
        daysLeft = 0;
    }

	document.write( "" + daysLeft );
}
