

function p(i,y){
window.open(i, "Updates", "toolbar=no, location=no, width=415, height="+y +", left=200, top=80");
}
function BookmarkThis() {
browserName = navigator.appName;
browserVer = parseInt(navigator.appVersion);
if (browserName == "Microsoft Internet Explorer" && browserVer >= 4) {
window.external.AddFavorite(location.href, "WalloniePresse communiqués de presse");
} else {
var msg = "Ajoutez notre site à vos signets!";
if(navigator.appName == "Netscape") msg += " (CTRL-D)";
alert(msg);
}
}

function controle(){

if ((document.ff.civilite[0].checked == false)&&(document.ff.civilite[1].checked == false)&&(document.ff.civilite[2].checked == false)){
alert("Il faut cocher Mme Mlle ou M  ! ");document.ff.civilite[0].style.backgroundColor = "#CC0000";document.ff.civilite[0].focus();return false;}
else{document.ff.civilite[0].style.backgroundColor = "#CC0000";}

if (document.ff.nom.value== ""){alert("Il faut préciser votre prénom  ! ");document.ff.nom.style.backgroundColor = "#F3C200";document.ff.nom.focus();return false;}
else{document.ff.nom.style.backgroundColor = "#CC0000";}

if (document.ff.email.value== ""){alert("Il faut préciser une adresse email ! ");document.ff.email.style.backgroundColor = "#F3C200";document.ff.email.focus();return false;}
else{document.ff.email.style.backgroundColor = "#CC0000";}

if ((document.ff.abonnement[0].checked == false)&&(document.ff.abonnement[1].checked == false)){
alert("Il faut cocher Abonnement ou Désabonnement ");document.ff.abonnement.style.backgroundColor = "#F3C200";document.ff.abonnement.focus();return false;}
else{document.ff.abonnement.style.backgroundColor = "#CC0000";}

}
