function on(id) {
    id.style.backgroundColor="#000066";
}
function off(id) {
  id.style.backgroundColor="#3366FF";
}
function go(where) {
  main.location.href="where";
}
function CheckForm( theform )
{
	var bMissingFields = false;
	var strFields = "";
	
	if( theform.first_name.value == '' ){
		bMissingFields = true;
		strFields += "     Billing: First\n";
	}
	if( theform.last_name.value == '' ){
		bMissingFields = true;
		strFields += "     Billing: Last Name\n";
	}
	if( theform.address1.value == '' ){
		bMissingFields = true;
		strFields += "     Billing: Address\n";
	}
	if( theform.city.value == '' ){
		bMissingFields = true;
		strFields += "     Billing: City\n";
	}
	if( theform.zip.value == '' ){
		bMissingFields = true;
		strFields += "     Billing: Zipcode\n";
	}
	
	if( theform.day_phone_a.value == '' ){
		bMissingFields = true;
		strFields += "     Billing: Phone\n";
	}

	if( theform.day_phone_b == '' ){
		bMissingFields = true;
		strFields += "     Billing: Phone\n";
	}
	
	if( theform.day_phone_c == '' ){
		bMissingFields = true;
		strFields += "     Billing: Phone\n";	
	}
	
	if( theform.email.value == '' ){
		bMissingFields = true;
		strFields += "     Billing: Email\n";
	}
		
	if( bMissingFields ) {
		alert( "I'm sorry, but you must provide the following field(s) before continuing:\n" + strFields );
		return false;
	}
	
	return true;
}

function Retour()
{
// -1 pour une page en arriere, -2 pour 2 pages... +1 pour la page suivante...
history.go(-1);
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function opens() {
	window.open("","trace","menubar=no,toolbar=no,location=no,directories=no,status=no,scrollbars=NO,resizable=no,width=300,height=150");
}