document.write('<style type="text/css">\
<!--\
table.cadre3265\
{\
border-style: solid;\
border-color: #000000;\
border-width: 3px;\
background-color: #FFFFFF;\
background-image: url();\
}\
tr.titre3265\
{\
background-color: #FFFFFF;\
}\
td.titre3265\
{\
font-family: Georgia;\
font-size: 13px;\
font-weight: normal;\
color: #000000;\
border-bottom-style: solid;\
border-bottom-color: #000000;\
border-bottom-width: 3px;\
}\
td.contenu3265\
{\
font-family: Georgia;\
font-size: 13px;\
font-weight: normal;\
color: #800080;\
}\
td.question3265\
{\
font-family: Georgia;\
font-size: 13px;\
font-weight: normal;\
color: #000000;\
}\
a.lien3265\
{\
font-family: Georgia;\
font-size: 13px;\
font-weight: normal;\
color: #FF00FF;\
text-decoration: underline;\
}\
a.lien3265:visited\
{\
font-family: Georgia;\
font-size: 13px;\
font-weight: normal;\
color: #FF00FF;\
text-decoration: underline;\
}\
a.lien3265:active\
{\
font-family: Georgia;\
font-size: 13px;\
font-weight: normal;\
color: #FF00FF;\
text-decoration: underline;\
}\
a.lien3265:hover\
{\
font-family: Georgia;\
font-size: 13px;\
font-weight: normal;\
color: #FF00FF;\
text-decoration: underline;\
}\
form.form3265\
{\
margin: 0px;\
}\
input.bouton3265\
{\
font-family: Georgia;\
font-size: 13px;\
font-weight: normal;\
}\
input.radio3265, input.checkbox3265\
{\
background-color: transparent;\
border-width: 0px;\
}\
//-->\
</style>\
');document.write('<div id="layer3265" style="position:absolute; visibility: hidden;"></div><form class="form3265" name="formSondage3265" method="post" action="http://www.i-services.net/membres/sondage/valider.php?uid=119040&sid=64192&id=68304" target="popup3265" onsubmit="javascript:if(formSubmit3265() == true) { win3265=window.open(\'\',\'popup3265\',\'width=500,height=400,top=\'+((screen.height-400)/2)+\',left=\'+((screen.width-500)/2)+\',scrollbars=1,resizable=0\'); win3265.focus(); return true; } else return false;">\
<input type="hidden" name="referer" value="" />\
<table class="cadre3265" border="0" cellpadding="3" cellspacing="0" width="250">\
<tr class="titre3265">\
<td class="titre3265" colspan="2" align="left"><b>The question</b></td>\
</tr>\
<tr>\
<td class="question3265" colspan="2" align="left">Qui voyez-vous au second tour?</td>\
</tr>\
<tr>\
<td class="contenu3265" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="checkbox3265" type="checkbox" name="question39065[]" value="200632" onclick="javascript:compter3265(this,39065);" disabled="disabled" /></td>\
<td class="contenu3265" width="99%" align="left" valign="middle">S&eacute;gol&egrave;ne Royal\
</td>\
</tr>\
<tr>\
<td class="contenu3265" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="checkbox3265" type="checkbox" name="question39065[]" value="200633" onclick="javascript:compter3265(this,39065);" disabled="disabled" /></td>\
<td class="contenu3265" width="99%" align="left" valign="middle">Fran&ccedil;ois Bayrou\
</td>\
</tr>\
<tr>\
<td class="contenu3265" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="checkbox3265" type="checkbox" name="question39065[]" value="200634" onclick="javascript:compter3265(this,39065);" disabled="disabled" /></td>\
<td class="contenu3265" width="99%" align="left" valign="middle">Nicolas Sarkozy\
</td>\
</tr>\
<tr>\
<td class="contenu3265" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="checkbox3265" type="checkbox" name="question39065[]" value="200635" onclick="javascript:compter3265(this,39065);" disabled="disabled" /></td>\
<td class="contenu3265" width="99%" align="left" valign="middle">Jean-Marie Le Pen\
</td>\
</tr>\
<tr>\
<td class="contenu3265" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="checkbox3265" type="checkbox" name="question39065[]" value="200636" onclick="javascript:compter3265(this,39065);" disabled="disabled" /></td>\
<td class="contenu3265" width="99%" align="left" valign="middle">Arlette Laguiller\
</td>\
</tr>\
<tr>\
<td class="contenu3265" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="checkbox3265" type="checkbox" name="question39065[]" value="200637" onclick="javascript:compter3265(this,39065);" disabled="disabled" /></td>\
<td class="contenu3265" width="99%" align="left" valign="middle">Olivier Besancenot\
</td>\
</tr>\
<tr>\
<td class="contenu3265" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="checkbox3265" type="checkbox" name="question39065[]" value="200638" onclick="javascript:compter3265(this,39065);" disabled="disabled" /></td>\
<td class="contenu3265" width="99%" align="left" valign="middle">Jos&eacute; Bov&eacute;\
</td>\
</tr>\
<tr>\
<td class="contenu3265" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="checkbox3265" type="checkbox" name="question39065[]" value="200639" onclick="javascript:compter3265(this,39065);" disabled="disabled" /></td>\
<td class="contenu3265" width="99%" align="left" valign="middle">Marie-George Buffet\
</td>\
</tr>\
<tr>\
<td class="contenu3265" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="checkbox3265" type="checkbox" name="question39065[]" value="200640" onclick="javascript:compter3265(this,39065);" disabled="disabled" /></td>\
<td class="contenu3265" width="99%" align="left" valign="middle">Dominique Voynet\
</td>\
</tr>\
<tr>\
<td class="contenu3265" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="checkbox3265" type="checkbox" name="question39065[]" value="200641" onclick="javascript:compter3265(this,39065);" disabled="disabled" /></td>\
<td class="contenu3265" width="99%" align="left" valign="middle">Philippe de Villiers\
</td>\
</tr>\
<tr>\
<td class="contenu3265" colspan="2" align="center"><b>Le sondage est termin&eacute; !</b></td>\
</tr>\
<tr>\
<td class="contenu3265" colspan="2" align="center">\
<div style="margin: 2px;"><input class="bouton3265" type="submit" value="Valider" disabled="disabled" /></div>\
</td>\
</tr>\
<tr>\
<td class="contenu3265" colspan="2" align="center" style="border-top-style: solid; border-top-color: #000000; border-top-width: 3px;">Service gratuit offert par <a class="lien3265" href="http://www.i-services.net/membres/sondage/index.php?refid=119040" target="_blank">I-Services</a></td>\
</tr>\
</table>\
</form>\
');
var cpt_3265=new Array();
var limite_cpt_3265=new Array();
var limite_type_3265=new Array();
var num_quest_3265=new Array();


cpt_3265[39065]=0;
limite_cpt_3265[39065]=2;
limite_type_3265[39065]='max';
num_quest_3265[39065]=1;


function compter3265(cb,idq)
{
	if(cb.type == 'checkbox')
	{
		if(cb.checked == true)
		{
			cpt_3265[idq]++;
		}
		else
		{
			cpt_3265[idq]--;
		}
	}
	else if(cb.type == 'radio')
	{
		if(cb.checked == true)
		{
			cpt_3265[idq]=1;
		}
		else
		{
			cpt_3265[idq]=0;
		}
	}
}

function formSubmit3265()
{
	msg1=msg2='';

	for(idq in cpt_3265)
	{
		if(cpt_3265[idq] == 0)
		{
			msg2='Veuillez s\351lectionner une r\351ponse !';

			break;
		}
		else if(limite_type_3265[idq] == 'max' && limite_cpt_3265[idq] > 0 && cpt_3265[idq] > limite_cpt_3265[idq])
		{
			msg1+='- Veuillez ne pas cocher plus de '+limite_cpt_3265[idq]+' r\351ponses pour la question num\351ro '+num_quest_3265[idq]+' !\n';
		}
		else if(limite_type_3265[idq] == 'exact' && limite_cpt_3265[idq] > 0 && cpt_3265[idq] != limite_cpt_3265[idq])
		{
			msg1+='- Veuillez cocher '+limite_cpt_3265[idq]+' r\351ponses pour la question num\351ro '+num_quest_3265[idq]+' !\n';
		}
	}

	if(msg2 != '')
	{
		alert(msg2);

		return false;
	}
	else if(msg1 != '')
	{
		alert(msg1);

		return false;
	}

	document.formSondage3265.referer.value=document.location.href;

	return true;
}


function openImage(image,lien,e,offsetX,offsetY)
{
	if(document.getElementById && document.getElementById('layer3265'))
	{
		if(navigator.appName.substring(0,3) == 'Net')
		{
			document.captureEvents(Event.MOUSEMOVE);
		}

		posX=getPosX(e);
		posY=getPosY(e);

		posX+=offsetX;
		posY+=offsetY;

		document.getElementById('layer3265').style.left=posX+'px';
		document.getElementById('layer3265').style.top=posY+'px';

		if(lien == '')
		{
			document.getElementById('layer3265').innerHTML='<img src="'+image+'" border="0" alt="" />';
		}
		else
		{
			document.getElementById('layer3265').innerHTML='<a href="'+lien+'" target="_blank"><img src="'+image+'" border="0" alt="" /></a>';
		}

		document.getElementById('layer3265').style.visibility='visible';
	}
}

function closeImage()
{
	if(document.getElementById && document.getElementById('layer3265'))
	{
		document.getElementById('layer3265').style.visibility='hidden';
	}
}

function getPosX(e)
{
	posX = (navigator.appName.substring(0,3) == 'Net') ? e.pageX : e.x+document.documentElement.scrollLeft;

	return posX;
}

function getPosY(e)
{
	posY = (navigator.appName.substring(0,3) == 'Net') ? e.pageY : e.y+document.documentElement.scrollTop;

	return posY;
}
