function doChangeCountry(){
	this.document.countryform.submit();
}

function doChangeCategory(){
	this.document.categoryform.submit();
}


function doValidateRegistration(){
	var msg;
	msg = "";
	
	if (this.document.theform.csFirstName.value == ""){
		msg += "- First name\n";
	}
	if (this.document.theform.csLastName.value == ""){
		msg += "- Last name\n";
	}
	
	if (msg != ""){
		msg = "The following fields must be filled :\n" + msg;
		alert(msg);
		return false;
	}else{
		return true;
	}
}

function doValidateSponsor(){
	var msg;
	msg = "";
	
	if (this.document.theform.csFirstName.value == ""){
		msg += "- First name\n";
	}
	if (this.document.theform.csLastName.value == ""){
		msg += "- Last name\n";
	}
	
	if (msg != ""){
		msg = "The following fields must be filled :\n" + msg;
		alert(msg);
		return false;
	}else{
		return true;
	}
}


function doValidateContact(){
	var msg;
	msg = "";
	
	if (this.document.theform.csFirstName.value == ""){
		msg += "- First name\n";
	}
	if (this.document.theform.csLastName.value == ""){
		msg += "- Last name\n";
	}
	if (this.document.theform.csEmail.value == ""){
		msg += "- E-mail\n";
	}
	if (this.document.theform.chMessage.value == ""){
		msg += "- Message\n";
	}
	
	if (msg != ""){
		msg = "The following fields must be filled :\n" + msg;
		alert(msg);
		return false;
	}else{
		return true;
	}
}

function doPrintPics(par){
	window.open("../printpics.dhtml?item=" + par,"printpics_popup","toolbar=1,location=1,directories=0,status=1,menubar=1,scrollbars=yes,width=600,height=300");
}