function resizeContent() {
	var isMozilla = (navigator.userAgent.toLowerCase().indexOf('gecko')!=-1) ? true : false;
	var isIE6 = (navigator.userAgent.toLowerCase().indexOf('msie 6.0')!=-1) ? true : false;
	if ((!isMozilla)&&(isIE6)) {
		document.getElementById("page_center").style["height"] = "650";
	}
	
}

function popup(page,largeur,hauteur,options)
{
	var top=(screen.height-hauteur)/2;
	var left=(screen.width-largeur)/2;
	window.open(page,"_blank","top="+top+",left="+left+",width="+largeur+",height="+hauteur+","+options);
}

function checkform() {
	var b=false;
	var f=document.getElementById("f");
	var error = document.getElementById("error");
	
	
	document.getElementById("tdfullname").style.color="";
	document.getElementById("tdcompany").style.color="";
	document.getElementById("tdaddress").style.color="";
	document.getElementById("tdcity").style.color="";
	document.getElementById("tdcountry").style.color="";
	document.getElementById("tdtelephone").style.color="";
	document.getElementById("tdemail").style.color="";
	
	if (f["fullname"].value=="") { document.getElementById("tdfullname").style.color="red" ; b = true;}
	if (f["company"].value=="") { document.getElementById("tdcompany").style.color="red" ; b = true;}
	if (f["address"].value=="") { document.getElementById("tdaddress").style.color="red" ; b = true;}
	if (f["city"].value=="") { document.getElementById("tdcity").style.color="red" ; b = true;}
	if (f["country"].value=="") { document.getElementById("tdcountry").style.color="red" ; b = true;}
	if (f["telephone"].value=="") { document.getElementById("tdtelephone").style.color="red" ; b = true;}
	if (f["email"].value=="") { document.getElementById("tdemail").style.color="red" ; b = true;}
	if (f["email"].value.search(/^[_a-z0-9-]+(.[_a-z0-9-]+)*[^._-]@[a-z0-9-]+(.[a-z0-9]{2,4})*$/) == -1) { document.getElementById("tdemail").style.color="red" ; b = true;}
	
	if (b) {
		error.style.display = "block";
		return false;
	}else{
		return true;
	}
}




