function setbgover( obj )
{
	obj.style.backgroundColor="#EBEBD6";
}
function setbgout( obj )
{
	obj.style.backgroundColor="";
}

function timeleft()
{
	var cmonth = 10; 
	var cday = 30;
	var myDate = new Date();
	var mleft = cmonth - myDate.getMonth();
	var dleft = cday - myDate.getDate();
	var cDate = new Date( 2007 , 10 , 8 );
	var daysLeft = Math.ceil( ( cDate - myDate ) / ( 24 * 60 * 60000 ) );
	document.write( "<br/><div class='timeleft' align='center'><em>&nbsp;Time until the conference:<br>&nbsp;<b>"+daysLeft+" days</b></em></div>" );

}

function cpopUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=1,resizable=0,width=700,height=400,left = "+(screen.width/2-350)+",top ="+(screen.height/2-200)+"');");
}

function toggle( id ) {
	d = document.getElementById( id );
	if( d.style.display == "none" ) d.style.display = "block";
	else d.style.display = "none";
}
