document.write('<style type="text/css">\
<!--\
table.cadre5771\
{\
border-style: solid;\
border-color: #800080;\
border-width: 1px;\
background-color: #FFFFFF;\
background-image: url();\
}\
tr.titre5771\
{\
background-color: #FFF9EC;\
}\
td.titre5771\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #800080;\
border-bottom-style: solid;\
border-bottom-color: #800080;\
border-bottom-width: 1px;\
}\
td.contenu5771\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #800080;\
}\
td.question5771\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #800080;\
}\
a.lien5771\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #6A2300;\
text-decoration: underline;\
}\
a.lien5771:visited\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #6A2300;\
text-decoration: underline;\
}\
a.lien5771:active\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #6A2300;\
text-decoration: underline;\
}\
a.lien5771:hover\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #6A2300;\
text-decoration: underline;\
}\
form.form5771\
{\
margin: 0px;\
}\
input.bouton5771\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
}\
input.radio5771, input.checkbox5771\
{\
background-color: transparent;\
border-width: 0px;\
}\
//-->\
</style>\
');document.write('<div id="layer5771" style="position:absolute; visibility: hidden;"></div><form class="form5771" name="formSondage5771" method="post" action="http://www.i-services.net/membres/sondage/valider.php?uid=119040&sid=64192&id=71234" target="popup5771" onsubmit="javascript:if(formSubmit5771() == true) { win5771=window.open(\'\',\'popup5771\',\'width=500,height=400,top=\'+((screen.height-400)/2)+\',left=\'+((screen.width-500)/2)+\',scrollbars=1,resizable=0\'); win5771.focus(); return true; } else return false;">\
<input type="hidden" name="referer" value="" />\
<table class="cadre5771" border="0" cellpadding="3" cellspacing="0" width="250">\
<tr class="titre5771">\
<td class="titre5771" colspan="2" align="left"><b>Sceptique ou pas sceptique...</b></td>\
</tr>\
<tr>\
<td class="question5771" colspan="2" align="left">Vous me croyez capable de tenir ces bonnes r&eacute;solutions &agrave; :</td>\
</tr>\
<tr>\
<td class="contenu5771" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio5771" type="radio" name="question42555" value="234758" onclick="javascript:compter5771(this,42555);" /></td>\
<td class="contenu5771" width="99%" align="left" valign="middle">0 %\
</td>\
</tr>\
<tr>\
<td class="contenu5771" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio5771" type="radio" name="question42555" value="234759" onclick="javascript:compter5771(this,42555);" /></td>\
<td class="contenu5771" width="99%" align="left" valign="middle">10%\
</td>\
</tr>\
<tr>\
<td class="contenu5771" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio5771" type="radio" name="question42555" value="234760" onclick="javascript:compter5771(this,42555);" /></td>\
<td class="contenu5771" width="99%" align="left" valign="middle">25%\
</td>\
</tr>\
<tr>\
<td class="contenu5771" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio5771" type="radio" name="question42555" value="234761" onclick="javascript:compter5771(this,42555);" /></td>\
<td class="contenu5771" width="99%" align="left" valign="middle">50%\
</td>\
</tr>\
<tr>\
<td class="contenu5771" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio5771" type="radio" name="question42555" value="234762" onclick="javascript:compter5771(this,42555);" /></td>\
<td class="contenu5771" width="99%" align="left" valign="middle">60%\
</td>\
</tr>\
<tr>\
<td class="contenu5771" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio5771" type="radio" name="question42555" value="234763" onclick="javascript:compter5771(this,42555);" /></td>\
<td class="contenu5771" width="99%" align="left" valign="middle">75%\
</td>\
</tr>\
<tr>\
<td class="contenu5771" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio5771" type="radio" name="question42555" value="234764" onclick="javascript:compter5771(this,42555);" /></td>\
<td class="contenu5771" width="99%" align="left" valign="middle">80%\
</td>\
</tr>\
<tr>\
<td class="contenu5771" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio5771" type="radio" name="question42555" value="234765" onclick="javascript:compter5771(this,42555);" /></td>\
<td class="contenu5771" width="99%" align="left" valign="middle">90%\
</td>\
</tr>\
<tr>\
<td class="contenu5771" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio5771" type="radio" name="question42555" value="234766" onclick="javascript:compter5771(this,42555);" /></td>\
<td class="contenu5771" width="99%" align="left" valign="middle">95%\
</td>\
</tr>\
<tr>\
<td class="contenu5771" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio5771" type="radio" name="question42555" value="234767" onclick="javascript:compter5771(this,42555);" /></td>\
<td class="contenu5771" width="99%" align="left" valign="middle">100%\
</td>\
</tr>\
<tr>\
<td class="contenu5771" colspan="2" align="center">\
<div style="margin: 2px;"><input class="bouton5771" type="submit" value="Valider" /></div>\
<div style="margin: 2px;"><a class="lien5771" href="#null" onclick="javascript:win5771=window.open(\'http://www.i-services.net/membres/sondage/resultats.php?uid=119040&sid=64192&id=71234\',\'popup5771\',\'width=500,height=400,top=\'+((screen.height-400)/2)+\',left=\'+((screen.width-500)/2)+\',scrollbars=1,resizable=0\'); win5771.focus(); return false;">Voir les r&eacute;sultats</a> - <a class="lien5771" href="#null" onclick="javascript:win5771=window.open(\'http://www.i-services.net/membres/sondage/resultats.php?uid=119040&sid=64192&id=71234&archives=1\',\'popup5771\',\'width=500,height=400,top=\'+((screen.height-400)/2)+\',left=\'+((screen.width-500)/2)+\',scrollbars=1,resizable=0\'); win5771.focus(); return false;">Voir les archives</a></div>\
</td>\
</tr>\
<tr>\
<td class="contenu5771" colspan="2" align="center" style="border-top-style: solid; border-top-color: #800080; border-top-width: 1px;">Service gratuit offert par <a class="lien5771" href="http://www.i-services.net/membres/sondage/index.php?refid=119040" target="_blank">I-Services</a></td>\
</tr>\
</table>\
</form>\
');
var cpt_5771=new Array();
var limite_cpt_5771=new Array();
var limite_type_5771=new Array();
var num_quest_5771=new Array();


cpt_5771[42555]=0;
limite_cpt_5771[42555]=0;
limite_type_5771[42555]='max';
num_quest_5771[42555]=1;


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

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

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

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

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

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

		return false;
	}

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

	return true;
}


window.setTimeout('document.formSondage5771.reset()',500);


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

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

		posX+=offsetX;
		posY+=offsetY;

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

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

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

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