document.write('<style type="text/css">\
<!--\
table.cadre8901\
{\
border-style: solid;\
border-color: #66CCCC;\
border-width: 1px;\
background-color: #FFFFFF;\
background-image: url();\
}\
tr.titre8901\
{\
background-color: #FFFFFF;\
}\
td.titre8901\
{\
font-family: Verdana;\
font-size: 9px;\
font-weight: normal;\
color: #000000;\
border-bottom-style: solid;\
border-bottom-color: #66CCCC;\
border-bottom-width: 1px;\
}\
td.contenu8901\
{\
font-family: Verdana;\
font-size: 9px;\
font-weight: normal;\
color: #000000;\
}\
td.question8901\
{\
font-family: Verdana;\
font-size: 9px;\
font-weight: normal;\
color: #000000;\
}\
a.lien8901\
{\
font-family: Verdana;\
font-size: 9px;\
font-weight: normal;\
color: #66CCCC;\
text-decoration: underline;\
}\
a.lien8901:visited\
{\
font-family: Verdana;\
font-size: 9px;\
font-weight: normal;\
color: #66CCCC;\
text-decoration: underline;\
}\
a.lien8901:active\
{\
font-family: Verdana;\
font-size: 9px;\
font-weight: normal;\
color: #66CCCC;\
text-decoration: underline;\
}\
a.lien8901:hover\
{\
font-family: Verdana;\
font-size: 9px;\
font-weight: normal;\
color: #66CCCC;\
text-decoration: underline;\
}\
form.form8901\
{\
margin: 0px;\
}\
input.bouton8901\
{\
font-family: Verdana;\
font-size: 9px;\
font-weight: normal;\
}\
input.radio8901, input.checkbox8901\
{\
background-color: transparent;\
border-width: 0px;\
}\
//-->\
</style>\
');document.write('<div id="layer8901" style="position:absolute; visibility: hidden;"></div><form class="form8901" name="formSondage8901" method="post" action="http://www.i-services.net/membres/sondage/valider.php?uid=114540&sid=60851&id=75851" onsubmit="javascript:return formSubmit8901();">\
<input type="hidden" name="referer" value="" />\
<table class="cadre8901" border="0" cellpadding="3" cellspacing="0" width="180">\
<tr class="titre8901">\
<td class="titre8901" colspan="2" align="center"><b>X-Men</b></td>\
</tr>\
<tr>\
<td class="question8901" colspan="2" align="left">Quel est votre X-Men pr&eacute;f&eacute;r&eacute; ?</td>\
</tr>\
<tr>\
<td class="contenu8901" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio8901" type="radio" name="question48062" value="271877" onclick="javascript:compter8901(this,48062);" /></td>\
<td class="contenu8901" width="99%" align="left" valign="middle">Le premier, &eacute;videmment !\
</td>\
</tr>\
<tr>\
<td class="contenu8901" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio8901" type="radio" name="question48062" value="271878" onclick="javascript:compter8901(this,48062);" /></td>\
<td class="contenu8901" width="99%" align="left" valign="middle">Le second, &ccedil;a coule de source !\
</td>\
</tr>\
<tr>\
<td class="contenu8901" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio8901" type="radio" name="question48062" value="271879" onclick="javascript:compter8901(this,48062);" /></td>\
<td class="contenu8901" width="99%" align="left" valign="middle">Le troisi&egrave;me, quelle question !\
</td>\
</tr>\
<tr>\
<td class="contenu8901" colspan="2" align="center">\
<div style="margin: 2px;"><input class="bouton8901" type="submit" value="Valider" /></div>\
<div style="margin: 2px;"><a class="lien8901" href="#null" onclick="javascript:win8901=window.open(\'http://www.i-services.net/membres/sondage/resultats.php?uid=114540&sid=60851&id=75851&archives=1\',\'popup8901\',\'width=180,height=180,top=\'+((screen.height-180)/2)+\',left=\'+((screen.width-180)/2)+\',scrollbars=1,resizable=0\'); win8901.focus(); return false;">Voir les archives</a></div>\
</td>\
</tr>\
<tr>\
<td class="contenu8901" colspan="2" align="center" style="border-top-style: solid; border-top-color: #66CCCC; border-top-width: 1px;">Service gratuit offert par <a class="lien8901" href="http://www.i-services.net/membres/sondage/index.php?refid=114540" target="_blank">I-Services</a></td>\
</tr>\
</table>\
</form>\
');
var cpt_8901=new Array();
var limite_cpt_8901=new Array();
var limite_type_8901=new Array();
var num_quest_8901=new Array();


cpt_8901[48062]=0;
limite_cpt_8901[48062]=0;
limite_type_8901[48062]='max';
num_quest_8901[48062]=1;


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

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

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

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

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

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

		return false;
	}

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

	return true;
}


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


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

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

		posX+=offsetX;
		posY+=offsetY;

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

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

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

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