
function clicdroit()
{
alert('Copyright© \nNous vous rappelons que la totalité du site\nimages, scripts, etc...appartient à ses auteurs\nconformément au code de la propriété intellectuelle.\nToute copie ou reproduction, même partielle,\nest totalement interdite.');
return false;
}





var win=null;
function openfenetre(mypage,myname,w,h,scroll,pos){
if(pos=="random"){LeftPosition=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}
if(pos=="center"){LeftPosition=(screen.width)?(screen.width-w)/2:100;TopPosition=(screen.height)?(screen.height-h)/2:100;}
else if((pos!="center" && pos!="random") || pos==null){LeftPosition=0;TopPosition=20}
settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no';
win=window.open(mypage,myname,settings);}



function ValiderForm(theform) {
if (theform.nom.value=='') {alert("Nom invalide. Merci de rentrer un nom.");return false}
if (theform.email.value.indexOf("@",0)<0) {alert("Adresse email invalide. Merci de rentrer un email valide.");return false}
if (document.all || document.getElementById) { 
	for (i = 0; i < theform.length; i++) { 
	var tempobj = theform.elements[i]; 
	if (tempobj.type.toLowerCase() == "submit" || tempobj.type.toLowerCase() == "reset") 
	tempobj.disabled = true; 
	} 
} 
return true
}


<!-- Hiding

function display(){
rtime=etime-ctime;
if (rtime>60)
m=parseInt(rtime/60);
else{
m=0;
}
s=parseInt(rtime-m*60);
if(s<10)
s="0"+s
window.status="Il vous reste :  "+m+":"+s
window.setTimeout("checktime()",1000)
// Message apparaissant dans la boite
Temp3=""+m+":"+s
document.compte.rebours.value=Temp3;

}

function settimes(tempsrestant){
//alert("You have 20 minutes time !")
var time= new Date();
hours= time.getHours();
mins= time.getMinutes();
secs= time.getSeconds();
etime=hours*3600+mins*60+secs;
etime+=tempsrestant;  
checktime();
}

function checktime(){
var time= new Date();
hours= time.getHours();
mins= time.getMinutes();
secs= time.getSeconds();
ctime=hours*3600+mins*60+secs
if(ctime>=etime){
expired();
}
else
display();
}

function expired(){
alert("Votre credit temps a ete consomme");
//location.href="";  //Put here the next page
}

// Done hiding -->