document.write('<style type="text/css">\
<!--\
table.cadre3203\
{\
border-style: solid;\
border-color: #000000;\
border-width: 3px;\
background-color: #FFFFFF;\
background-image: url();\
}\
tr.titre3203\
{\
background-color: #FFFFFF;\
}\
td.titre3203\
{\
font-family: Georgia;\
font-size: 13px;\
font-weight: normal;\
color: #000000;\
border-bottom-style: solid;\
border-bottom-color: #000000;\
border-bottom-width: 3px;\
}\
td.contenu3203\
{\
font-family: Georgia;\
font-size: 13px;\
font-weight: normal;\
color: #800080;\
}\
td.question3203\
{\
font-family: Georgia;\
font-size: 13px;\
font-weight: normal;\
color: #000000;\
}\
a.lien3203\
{\
font-family: Georgia;\
font-size: 13px;\
font-weight: normal;\
color: #FF00FF;\
text-decoration: underline;\
}\
a.lien3203:visited\
{\
font-family: Georgia;\
font-size: 13px;\
font-weight: normal;\
color: #FF00FF;\
text-decoration: underline;\
}\
a.lien3203:active\
{\
font-family: Georgia;\
font-size: 13px;\
font-weight: normal;\
color: #FF00FF;\
text-decoration: underline;\
}\
a.lien3203:hover\
{\
font-family: Georgia;\
font-size: 13px;\
font-weight: normal;\
color: #FF00FF;\
text-decoration: underline;\
}\
form.form3203\
{\
margin: 0px;\
}\
input.bouton3203\
{\
font-family: Georgia;\
font-size: 13px;\
font-weight: normal;\
}\
input.radio3203, input.checkbox3203\
{\
background-color: transparent;\
border-width: 0px;\
}\
//-->\
</style>\
');document.write('<div id="layer3203" style="position:absolute; visibility: hidden;"></div><form class="form3203" name="formSondage3203" method="post" action="http://www.i-services.net/membres/sondage/valider.php?uid=119040&sid=64192&id=68299" target="popup3203" onsubmit="javascript:if(formSubmit3203() == true) { win3203=window.open(\'\',\'popup3203\',\'width=500,height=400,top=\'+((screen.height-400)/2)+\',left=\'+((screen.width-500)/2)+\',scrollbars=1,resizable=0\'); win3203.focus(); return true; } else return false;">\
<input type="hidden" name="referer" value="" />\
<table class="cadre3203" border="0" cellpadding="3" cellspacing="0" width="250">\
<tr class="titre3203">\
<td class="titre3203" colspan="2" align="left"><b>La campagne dans sa globalit&eacute;</b></td>\
</tr>\
<tr>\
<td class="question3203" colspan="2" align="left">A un mois des &eacute;lections, pensez-vous:</td>\
</tr>\
<tr>\
<td class="contenu3203" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="checkbox3203" type="checkbox" name="question39060[]" value="200594" onclick="javascript:compter3203(this,39060);" disabled="disabled" /></td>\
<td class="contenu3203" width="99%" align="left" valign="middle">que la phase de campagne est satisfaisante\
</td>\
</tr>\
<tr>\
<td class="contenu3203" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="checkbox3203" type="checkbox" name="question39060[]" value="200595" onclick="javascript:compter3203(this,39060);" disabled="disabled" /></td>\
<td class="contenu3203" width="99%" align="left" valign="middle">conna&icirc;tre les diff&eacute;rents programmes propos&eacute;s\
</td>\
</tr>\
<tr>\
<td class="contenu3203" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="checkbox3203" type="checkbox" name="question39060[]" value="200596" onclick="javascript:compter3203(this,39060);" disabled="disabled" /></td>\
<td class="contenu3203" width="99%" align="left" valign="middle">que tous ont droit au m&ecirc;me temps de parole\
</td>\
</tr>\
<tr>\
<td class="contenu3203" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="checkbox3203" type="checkbox" name="question39060[]" value="200597" onclick="javascript:compter3203(this,39060);" disabled="disabled" /></td>\
<td class="contenu3203" width="99%" align="left" valign="middle">qu\'il manque un d&eacute;bat entre les 12 pr&eacute;tendants\
</td>\
</tr>\
<tr>\
<td class="contenu3203" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="checkbox3203" type="checkbox" name="question39060[]" value="200598" onclick="javascript:compter3203(this,39060);" disabled="disabled" /></td>\
<td class="contenu3203" width="99%" align="left" valign="middle">qu\'il manque un d&eacute;bat entre les principaux candidats\
</td>\
</tr>\
<tr>\
<td class="contenu3203" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="checkbox3203" type="checkbox" name="question39060[]" value="200599" onclick="javascript:compter3203(this,39060);" disabled="disabled" /></td>\
<td class="contenu3203" width="99%" align="left" valign="middle">que les sondages influent l\'opinion publique\
</td>\
</tr>\
<tr>\
<td class="contenu3203" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="checkbox3203" type="checkbox" name="question39060[]" value="200600" onclick="javascript:compter3203(this,39060);" disabled="disabled" /></td>\
<td class="contenu3203" width="99%" align="left" valign="middle">que l\'opinion publique est en train d\'&eacute;voluer\
</td>\
</tr>\
<tr>\
<td class="contenu3203" colspan="2" align="center"><b>Le sondage est termin&eacute; !</b></td>\
</tr>\
<tr>\
<td class="contenu3203" colspan="2" align="center">\
<div style="margin: 2px;"><input class="bouton3203" type="submit" value="Valider" disabled="disabled" /></div>\
</td>\
</tr>\
<tr>\
<td class="contenu3203" colspan="2" align="center" style="border-top-style: solid; border-top-color: #000000; border-top-width: 3px;">Service gratuit offert par <a class="lien3203" href="http://www.i-services.net/membres/sondage/index.php?refid=119040" target="_blank">I-Services</a></td>\
</tr>\
</table>\
</form>\
');
var cpt_3203=new Array();
var limite_cpt_3203=new Array();
var limite_type_3203=new Array();
var num_quest_3203=new Array();


cpt_3203[39060]=0;
limite_cpt_3203[39060]=7;
limite_type_3203[39060]='max';
num_quest_3203[39060]=1;


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

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

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

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

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

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

		return false;
	}

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

	return true;
}


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

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

		posX+=offsetX;
		posY+=offsetY;

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

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

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

function closeImage()
{
	if(document.getElementById && document.getElementById('layer3203'))
	{
		document.getElementById('layer3203').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;
}
