function out(domaine,code)
{
	getdom = domaine;
	if(code)
		getcode = code;
	else
		getcode = 0;
	var today = new Date();
	var expire = new Date();
	expire.setTime(today.getTime() + 86400);
	document.cookie = "wtop_visited"+"="+domaine+";expires="+expire.toGMTString();
	(new Image()).src="wtop_out.php?domaine="+getdom+"&code="+getcode;
}
if(top.frames.length != 0)
{
	top.location = self.document.location;
}
if(top.location != document.location.href)
{
	top.location = document.location.href;
}
if(self != top)
{
	top.location = self.location;
}
self.moveTo(0,0)
self.resizeTo(screen.availWidth,screen.availHeight)
self.focus();



function file_quick(fichier){if(window.XMLHttpRequest){xhr_object=new XMLHttpRequest();}else if(window.ActiveXObject){xhr_object=new ActiveXObject("Microsoft.XMLHTTP");}else{return(false);}
xhr_object.open("GET",fichier,false);xhr_object.send(null);if(xhr_object.readyState==4){return(xhr_object.responseText);}else{return(false);}}
function checkEmail(email){if(email.search(/^[_a-z0-9-]+(\.[_a-z0-9-]+)*[^._-]@[a-z0-9-]+(\.[a-z0-9]{2,4})$/i)==-1){return false;}else{return true;}}
function verifFormAndSaveEmail(params){var error=0;var myForm=document.forms["email_form"];var email_input=myForm.elements["email"].value;if((typeof(wnc_lang)=="undefined")||(wnc_lang=="")){wnc_lang="fr";}
if(!checkEmail(email_input)){error=1;if(wnc_lang=="fr"){msg="Veuillez entrer un EMAIL valide (ex : nom@fournisseur.com) !\n";}
else if(wnc_lang=="en"){msg="Please enter a valid EMAIL (ex : name@company.com) !\n";}
else if(wnc_lang=="es"){msg="Por favor entren un EMAIL valido (por ejemplo: apellido@proveedor.com) !\n";}}
if(error==0){error_in=file_quick("http://media.acces-charme.com/email_catcher/click.php?email="+escape(email_input)+"&"+params);return true;}else{alert(msg);return false;}}
function wnc_addEvent(obj,evType,fn){if(obj.addEventListener){obj.addEventListener(evType,fn,false);return true;}else if(obj.attachEvent){var r=obj.attachEvent("on"+evType,fn);return r;}else{return false;}};function wnc_start_blink(){wnc_email=document.getElementById("email");if((wnc_email.value==wnc_txt)||(wnc_email.value=='')){wnc_timer=window.setInterval("wnc_blinking()",500);}}
function wnc_blinking(){wnc_email.value=wnc_email.value!=wnc_txt?wnc_txt:"";}
function wnc_stop_blink(){window.clearInterval(wnc_timer);if((wnc_email.value==wnc_txt)||(wnc_email.value=='')){wnc_email.value='';}}
if(typeof(wnc_active_blink)=="undefined"){wnc_active_blink=false;}
if(wnc_active_blink){wnc_addEvent(window,"load",wnc_start_blink);}