function validform() {
    if (document.trans_text.email.value.length < 5) {
	    window.alert("Veuillez entrer votre email.");
		return false;
	}
    if (document.trans_text.message.value.length < 10) {
	    window.alert("Veuillez entrer votre message .");
		return false;
	}
return true;
}
function PopupImage(img) 
{
titre="Photo agrandie";
w=open("",'image','width=400,height=400,top=1,left=1,toolbar=no,scrollbars=auto,resizable=yes');
w.document.write("<HTML><HEAD><TITLE>"+titre+"</TITLE>");
w.document.write("<META HTTP-EQUIV='imagetoolbar' CONTENT='no'>");
w.document.write("</HEAD>");
w.document.write("<SCRIPT language=javascript>function checksize()  { if (document.images[0].complete) {  window.resizeTo(document.images[0].width+12,document.images[0].height+12); window.focus();} else { setTimeout('check()',250) } }</"+"SCRIPT>");
w.document.write("<BODY onload='checksize()' oncontextmenu='window.close();return false' ondragstart='window.close();return false' onselectstart='window.close();return false' leftMargin=0 topMargin=0 marginwidth=0 marginheight=0><IMG src='"+img+"' border='0' alt='Cliquez pour fermer la fen&ecirc;tre' onClick='self.close()'>");
w.document.write("");
w.document.write("</BODY></HTML>");
w.document.close();
}


function ChangeUrl(formulaire)
{
if (formulaire.ListeUrl.selectedIndex != 0)
{
location.href = formulaire.ListeUrl.options[formulaire.ListeUrl.selectedIndex].value;
}
else 
{
alert('Veuillez choisir une destination.');
}
}
function ChangeUrlr(formulaire)
{
if (formulaire.ListeUrlr.selectedIndex != 0)
{
location.href = formulaire.ListeUrlr.options[formulaire.ListeUrlr.selectedIndex].value;
}
else 
{
alert('Veuillez choisir une destination.');
}
}


function VersionNavigateur(Netscape, Explorer) {
  if ((navigator.appVersion.substring(0,3) >= Netscape && navigator.appName == 'Netscape') ||      
      (navigator.appVersion.substring(0,3) >= Explorer && navigator.appName.substring(0,9) == 'Microsoft'))
    return true;
else return false;
}
function Semaine(){
           this[0] = "Dimanche";  this[1] = "Lundi";
           this[2] = "Mardi";     this[3] = "Mercredi";
           this[4] = "Jeudi";     this[5] = "Vendredi";
           this[6] = "Samedi";
           }

function Mois(){
           this[0] = "Janvier";    this[1] = "Février";
           this[2] = "Mars";       this[3] = "Avril";
           this[4] = "Mai";        this[5] = "Juin";
           this[6] = "Juillet";    this[7] = "Août";
           this[8] = "Septembre";  this[9] = "Octobre";
           this[10] = "Novembre";  this[11] = "Décembre";
           }
today = new Date;
function date(){
        var semaine=new Semaine();
        var mois=new Mois();
        var myDate=new Date();
        annee = today.getFullYear();
  

        var result=semaine[myDate.getDay()]+" "+myDate.getDate()+" "+mois[myDate.getMonth()]+" "+annee;
        document.writeln(result);
    }
        function openWin( windowURL, windowName, windowFeatures ) { 
                return window.open( windowURL, windowName, windowFeatures ) ; 
        } 

function hidestatus(){
window.status=''
return true
}
if (document.layers)
document.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT)
document.onmouseover=hidestatus
document.onmouseout=hidestatus
