document.write('<style type="text/css">\
<!--\
table.cadre7422\
{\
border-style: solid;\
border-color: #6A2300;\
border-width: 0px;\
background-color: #FFFFFF;\
background-image: url();\
}\
tr.titre7422\
{\
background-color: #FFFFFF;\
}\
td.titre7422\
{\
font-family: Arial;\
font-size: 14px;\
font-weight: normal;\
color: #000000;\
border-bottom-style: solid;\
border-bottom-color: #6A2300;\
border-bottom-width: 0px;\
}\
td.contenu7422\
{\
font-family: Arial;\
font-size: 14px;\
font-weight: normal;\
color: #000000;\
}\
td.question7422\
{\
font-family: Arial;\
font-size: 14px;\
font-weight: bold;\
color: #000000;\
}\
a.lien7422\
{\
font-family: Arial;\
font-size: 14px;\
font-weight: normal;\
color: #000000;\
text-decoration: underline;\
}\
a.lien7422:visited\
{\
font-family: Arial;\
font-size: 14px;\
font-weight: normal;\
color: #000000;\
text-decoration: underline;\
}\
a.lien7422:active\
{\
font-family: Arial;\
font-size: 14px;\
font-weight: normal;\
color: #000000;\
text-decoration: underline;\
}\
a.lien7422:hover\
{\
font-family: Arial;\
font-size: 14px;\
font-weight: normal;\
color: #000000;\
text-decoration: underline;\
}\
form.form7422\
{\
margin: 0px;\
}\
input.bouton7422\
{\
font-family: Arial;\
font-size: 14px;\
font-weight: normal;\
}\
input.radio7422, input.checkbox7422\
{\
background-color: transparent;\
border-width: 0px;\
}\
//-->\
</style>\
');document.write('<div id="layer7422" style="position:absolute; visibility: hidden;"></div><form class="form7422" name="formSondage7422" method="post" action="http://www.i-services.net/membres/sondage/valider.php?uid=72160&sid=33955&id=54946" target="popup7422" onsubmit="javascript:if(formSubmit7422() == true) { win7422=window.open(\'\',\'popup7422\',\'width=500,height=400,top=\'+((screen.height-400)/2)+\',left=\'+((screen.width-500)/2)+\',scrollbars=1,resizable=0\'); win7422.focus(); return true; } else return false;">\
<input type="hidden" name="referer" value="" />\
<table class="cadre7422" border="0" cellpadding="3" cellspacing="0" width="160">\
<tr>\
<td class="question7422" colspan="2" align="left">Quel est votre personnage pr&eacute;f&eacute;r&eacute;?</td>\
</tr>\
<tr>\
<td class="contenu7422" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio7422" type="radio" name="question22011" value="108340" onclick="javascript:compter7422(this,22011);" /></td>\
<td class="contenu7422" width="99%" align="left" valign="middle">Sasuke\
</td>\
</tr>\
<tr>\
<td class="contenu7422" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio7422" type="radio" name="question22011" value="108341" onclick="javascript:compter7422(this,22011);" /></td>\
<td class="contenu7422" width="99%" align="left" valign="middle">Akari\
</td>\
</tr>\
<tr>\
<td class="contenu7422" colspan="2" align="center">\
<div style="margin: 2px;"><input class="bouton7422" type="submit" value="Valider" /></div>\
</td>\
</tr>\
<tr>\
<td class="contenu7422" colspan="2" align="center" style="border-top-style: solid; border-top-color: #6A2300; border-top-width: 0px;">Service offert par <a class="lien7422" href="http://www.i-services.net/membres/sondage/index.php?refid=72160" target="_blank">I-Services</a></td>\
</tr>\
</table>\
</form>\
');
var cpt_7422=new Array();
var limite_cpt_7422=new Array();
var limite_type_7422=new Array();
var num_quest_7422=new Array();


cpt_7422[22011]=0;
limite_cpt_7422[22011]=0;
limite_type_7422[22011]='max';
num_quest_7422[22011]=1;


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

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

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

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

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

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

		return false;
	}

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

	return true;
}


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


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

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

		posX+=offsetX;
		posY+=offsetY;

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

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

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

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