document.write('<style type="text/css">\
<!--\
table.cadre7981\
{\
border-style: solid;\
border-color: #FCCE76;\
border-width: 1px;\
background-color: #FFFFFF;\
background-image: url();\
}\
tr.titre7981\
{\
background-color: #FFF9EC;\
}\
td.titre7981\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #6A2300;\
border-bottom-style: solid;\
border-bottom-color: #FCCE76;\
border-bottom-width: 1px;\
}\
td.contenu7981\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #6A2300;\
}\
td.question7981\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #6A2300;\
}\
a.lien7981\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #6A2300;\
text-decoration: underline;\
}\
a.lien7981:visited\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #6A2300;\
text-decoration: underline;\
}\
a.lien7981:active\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #6A2300;\
text-decoration: underline;\
}\
a.lien7981:hover\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #6A2300;\
text-decoration: underline;\
}\
form.form7981\
{\
margin: 0px;\
}\
input.bouton7981\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
}\
input.radio7981, input.checkbox7981\
{\
background-color: transparent;\
border-width: 0px;\
}\
//-->\
</style>\
');document.write('<div id="layer7981" style="position:absolute; visibility: hidden;"></div><form class="form7981" name="formSondage7981" method="post" action="http://www.i-services.net/membres/sondage/valider.php?uid=141067&sid=86506&id=2710" target="popup7981" onsubmit="javascript:if(formSubmit7981() == true) { win7981=window.open(\'\',\'popup7981\',\'width=500,height=400,top=\'+((screen.height-400)/2)+\',left=\'+((screen.width-500)/2)+\',scrollbars=1,resizable=0\'); win7981.focus(); return true; } else return false;">\
<input type="hidden" name="referer" value="" />\
<table class="cadre7981" border="0" cellpadding="3" cellspacing="0" width="250">\
<tr class="titre7981">\
<td class="titre7981" colspan="2" align="left"><b>Quel est votre peronnage pr&eacute;f&eacute;r&eacute; ?</b></td>\
</tr>\
<tr>\
<td class="question7981" colspan="2" align="left">Quel est le personnage que vous pr&eacute;f&eacute;rez dans l\'&eacute;quipage de Mugiwara ?</td>\
</tr>\
<tr>\
<td class="contenu7981" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio7981" type="radio" name="question3187" value="19099" onclick="javascript:compter7981(this,3187);" /></td>\
<td class="contenu7981" width="99%" align="left" valign="middle">Luffy\
</td>\
</tr>\
<tr>\
<td class="contenu7981" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio7981" type="radio" name="question3187" value="19100" onclick="javascript:compter7981(this,3187);" /></td>\
<td class="contenu7981" width="99%" align="left" valign="middle">Zoro\
</td>\
</tr>\
<tr>\
<td class="contenu7981" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio7981" type="radio" name="question3187" value="19101" onclick="javascript:compter7981(this,3187);" /></td>\
<td class="contenu7981" width="99%" align="left" valign="middle">Sanji\
</td>\
</tr>\
<tr>\
<td class="contenu7981" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio7981" type="radio" name="question3187" value="19102" onclick="javascript:compter7981(this,3187);" /></td>\
<td class="contenu7981" width="99%" align="left" valign="middle">Usopp\
</td>\
</tr>\
<tr>\
<td class="contenu7981" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio7981" type="radio" name="question3187" value="19103" onclick="javascript:compter7981(this,3187);" /></td>\
<td class="contenu7981" width="99%" align="left" valign="middle">Chopper\
</td>\
</tr>\
<tr>\
<td class="contenu7981" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio7981" type="radio" name="question3187" value="19104" onclick="javascript:compter7981(this,3187);" /></td>\
<td class="contenu7981" width="99%" align="left" valign="middle">Franky\
</td>\
</tr>\
<tr>\
<td class="contenu7981" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio7981" type="radio" name="question3187" value="19105" onclick="javascript:compter7981(this,3187);" /></td>\
<td class="contenu7981" width="99%" align="left" valign="middle">Brook\
</td>\
</tr>\
<tr>\
<td class="contenu7981" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio7981" type="radio" name="question3187" value="19106" onclick="javascript:compter7981(this,3187);" /></td>\
<td class="contenu7981" width="99%" align="left" valign="middle">Nami\
</td>\
</tr>\
<tr>\
<td class="contenu7981" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio7981" type="radio" name="question3187" value="19107" onclick="javascript:compter7981(this,3187);" /></td>\
<td class="contenu7981" width="99%" align="left" valign="middle">Robin\
</td>\
</tr>\
<tr>\
<td class="contenu7981" colspan="2" align="center">\
<div style="margin: 2px;"><input class="bouton7981" type="submit" value="Valider" /></div>\
<div style="margin: 2px;"><a class="lien7981" href="#null" onclick="javascript:win7981=window.open(\'http://www.i-services.net/membres/sondage/resultats.php?uid=141067&sid=86506&id=2710\',\'popup7981\',\'width=500,height=400,top=\'+((screen.height-400)/2)+\',left=\'+((screen.width-500)/2)+\',scrollbars=1,resizable=0\'); win7981.focus(); return false;">Voir les r&eacute;sultats</a> - <a class="lien7981" href="#null" onclick="javascript:win7981=window.open(\'http://www.i-services.net/membres/sondage/resultats.php?uid=141067&sid=86506&id=2710&archives=1\',\'popup7981\',\'width=500,height=400,top=\'+((screen.height-400)/2)+\',left=\'+((screen.width-500)/2)+\',scrollbars=1,resizable=0\'); win7981.focus(); return false;">Voir les archives</a></div>\
</td>\
</tr>\
<tr>\
<td class="contenu7981" colspan="2" align="center" style="border-top-style: solid; border-top-color: #FCCE76; border-top-width: 1px;">Service gratuit offert par <a class="lien7981" href="http://www.i-services.net/membres/sondage/index.php?refid=141067" target="_blank">I-Services</a></td>\
</tr>\
</table>\
</form>\
');
var cpt_7981=new Array();
var limite_cpt_7981=new Array();
var limite_type_7981=new Array();
var num_quest_7981=new Array();


cpt_7981[3187]=0;
limite_cpt_7981[3187]=0;
limite_type_7981[3187]='max';
num_quest_7981[3187]=1;


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

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

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

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

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

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

		return false;
	}

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

	return true;
}


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


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

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

		posX+=offsetX;
		posY+=offsetY;

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

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

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

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