var plt_flag = true;var plt_newpos = 0;var plt_pos = -690;var plt_candidats = Array("Arlette Laguiller","Olivier Besancenot","Marie-George Buffet","José Bové","Gérard Schivardi","Dominique Voynet","Ségolène Royal","François Bayrou","Frédéric Nihous","Nicolas Sarkozy","Philippe De Villiers","Jean-Marie Le Pen");var plt_index = 6;function plt_avance(plt_pas){	plt_pos = plt_pos + plt_pas;	document.getElementById("plt_candidat").style.background = "url(http://www.presidentielles.net/love-test/img/candidats.jpg) "+plt_pos+"px top no-repeat";	if(plt_pas<0){		if(plt_pos>plt_newpos){			plt_pas2 = plt_pas;			setTimeout("plt_avance(plt_pas2)",30);		}else{			plt_pos = plt_newpos;			plt_flag = true;		}	}	if(plt_pas>0){		if(plt_pos<plt_newpos){			plt_pas2 = plt_pas;			setTimeout("plt_avance(plt_pas2)",30);		}else{			plt_pos = plt_newpos;			plt_flag = true;		}	}};function plt_changeCand(plt_direction) {	if(plt_flag){		plt_flag=false;	document.getElementById("plt_next").style.display = "block";	document.getElementById("plt_prev").style.display = "block";	if(plt_direction=="next"){		plt_newpos = plt_pos + 115;		if(plt_pos>=-115){			document.getElementById("plt_prev").style.display = "none";		}				plt_index --;		document.getElementById("plt_it-candidat").value= plt_index;		plt_avance(23);	}	if(plt_direction=="prev"){		plt_newpos = plt_pos - 115;		if(plt_pos<=-1150){			document.getElementById("plt_next").style.display = "none";		}				plt_index ++;			document.getElementById("plt_it-candidat").value= plt_index;		plt_avance(-23);		}	}};function plt_validForm(){	if(document.getElementById("plt_prenom").value == "" || document.getElementById("plt_prenom").value == " "){alert("Indique ton prénom pour faire le test !");return false;}}
document.write('<style type="text/css">#plt_preload1 {background:#fbdff5 url(http://www.presidentielles.net/love-test/img/tf-prenom-on.png) top right no-repeat;width:0;height:0;}#plt_preload2 {background:#fbdff5 url(http://www.presidentielles.net/love-test/img/go2-on.png) top right no-repeat;width:0;height:0;}#plt_comparateur {padding:25px 23px 0;text-align:center;width:230px;height:350px;background:url(http://www.presidentielles.net/love-test/img/module-widget.gif) top right no-repeat;}#plt_comparateur label {display:block;cursor:pointer;width:145px;height:30px;}#plt_comparateur * {margin:0;padding:0}#plt_comparateur #plt_cont_prenom{height:95px;}#plt_comparateur #plt_prenom {width:205px;height:24px;padding:10px;margin-bottom:25px;font-size:20px;font-family:Arial, Helvetica, sans-serif;text-align:center;background:#fff url(http://www.presidentielles.net/love-test/img/tf-prenom.png) top right no-repeat;border:none;}#plt_comparateur #plt_prenom:focus {background:#fbdff5 url(http://www.presidentielles.net/love-test/img/tf-prenom-on.png) top right no-repeat;}#plt_comparateur .plt_submit {margin-top:40px;width:88px;height:56px;background:url(http://www.presidentielles.net/love-test/img/go.png) top right no-repeat;border:none;cursor:pointer;}#plt_comparateur #plt_candidat {width:221px;height:101px;background:url(http://www.presidentielles.net/love-test/img/candidats.jpg) -690px top  no-repeat;margin:0 auto}#plt_comparateur #plt_candidat2 {width:221px;height:101px;background:url(http://www.presidentielles.net/love-test/img/cadre-candidat.gif) top left no-repeat;}#plt_comparateur .plt_precedent {float:left;margin:18px 0 0 0;background:url(http://www.presidentielles.net/love-test/img/prev.gif) top left no-repeat;}#plt_comparateur .plt_suivant {float:right;margin:18px 0 0 0;background:url(http://www.presidentielles.net/love-test/img/next.gif) top left no-repeat;}#plt_comparateur .plt_precedent img, #plt_comparateur .plt_suivant img {border:none}#plt_comparateur .plt_precedent img, #plt_comparateur .plt_suivant  img {width:50px;height:70px;} </style><form method="get" action="http://www.presidentielles.net/love-test/" id="plt_comparateur" onsubmit="return plt_validForm()"><div id="plt_cont_prenom">	<label for="plt_prenom">&nbsp;</label>	<input type="text" id="plt_prenom" name="prenom" value="" maxlength="15" /></div>	<label for="candidat">&nbsp;</label>	<div id="plt_candidat">	<div id="plt_candidat2">	<a href="#" onclick="plt_changeCand(\'next\');return false;" class="plt_precedent" title="Candidat précédent" id="plt_prev"><img src="http://www.presidentielles.net/love-test/img/spacer.gif" alt="Precedent" /></a>	<a href="#" onclick="plt_changeCand(\'prev\');return false;" class="plt_suivant" title="Candidat suivant" id="plt_next"><img src="http://www.presidentielles.net/love-test/img/spacer.gif" alt="Suivant" /></a>	</div>	</div>	<input type="hidden" name="candidat" value="6" id="plt_it-candidat" />	<input type="submit" value="" class="plt_submit" /></form>');