document.write('<style type="text/css">\
<!--\
table.cadre7334\
{\
border-style: solid;\
border-color: #FCCE76;\
border-width: 1px;\
background-color: #FFFFFF;\
background-image: url();\
}\
tr.titre7334\
{\
background-color: #FFF9EC;\
}\
td.titre7334\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #6A2300;\
border-bottom-style: solid;\
border-bottom-color: #FCCE76;\
border-bottom-width: 1px;\
}\
td.contenu7334\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #6A2300;\
}\
td.question7334\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #6A2300;\
}\
a.lien7334\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #6A2300;\
text-decoration: underline;\
}\
a.lien7334:visited\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #6A2300;\
text-decoration: underline;\
}\
a.lien7334:active\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #6A2300;\
text-decoration: underline;\
}\
a.lien7334:hover\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #6A2300;\
text-decoration: underline;\
}\
form.form7334\
{\
margin: 0px;\
}\
input.bouton7334\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
}\
input.radio7334, input.checkbox7334\
{\
background-color: transparent;\
border-width: 0px;\
}\
//-->\
</style>\
');document.write('<div id="layer7334" style="position:absolute; visibility: hidden;"></div><form class="form7334" name="formSondage7334" method="post" action="http://www.i-services.net/membres/sondage/valider.php?uid=117759&sid=63238&id=68961" target="popup7334" onsubmit="javascript:if(formSubmit7334() == true) { win7334=window.open(\'\',\'popup7334\',\'width=500,height=400,top=\'+((screen.height-400)/2)+\',left=\'+((screen.width-500)/2)+\',scrollbars=1,resizable=0\'); win7334.focus(); return true; } else return false;">\
<input type="hidden" name="referer" value="" />\
<table class="cadre7334" border="0" cellpadding="3" cellspacing="0" width="250">\
<tr class="titre7334">\
<td class="titre7334" colspan="2" align="left"><b>Perso pr&eacute;f&eacute;r&eacute;</b></td>\
</tr>\
<tr>\
<td class="question7334" colspan="2" align="left">Quel votre personnage favori ?</td>\
</tr>\
<tr>\
<td class="contenu7334" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio7334" type="radio" name="question39864" value="205620" onclick="javascript:compter7334(this,39864);" /></td>\
<td class="contenu7334" width="99%" align="left" valign="middle">Sangoku\
</td>\
</tr>\
<tr>\
<td class="contenu7334" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio7334" type="radio" name="question39864" value="205621" onclick="javascript:compter7334(this,39864);" /></td>\
<td class="contenu7334" width="99%" align="left" valign="middle">V&eacute;g&eacute;ta\
</td>\
</tr>\
<tr>\
<td class="contenu7334" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio7334" type="radio" name="question39864" value="205622" onclick="javascript:compter7334(this,39864);" /></td>\
<td class="contenu7334" width="99%" align="left" valign="middle">Gog&eacute;ta 4\
</td>\
</tr>\
<tr>\
<td class="contenu7334" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio7334" type="radio" name="question39864" value="205623" onclick="javascript:compter7334(this,39864);" /></td>\
<td class="contenu7334" width="99%" align="left" valign="middle">Broly\
</td>\
</tr>\
<tr>\
<td class="contenu7334" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio7334" type="radio" name="question39864" value="205624" onclick="javascript:compter7334(this,39864);" /></td>\
<td class="contenu7334" width="99%" align="left" valign="middle">Piccolo\
</td>\
</tr>\
<tr>\
<td class="contenu7334" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio7334" type="radio" name="question39864" value="205625" onclick="javascript:compter7334(this,39864);" /></td>\
<td class="contenu7334" width="99%" align="left" valign="middle">Sangohan\
</td>\
</tr>\
<tr>\
<td class="contenu7334" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio7334" type="radio" name="question39864" value="205626" onclick="javascript:compter7334(this,39864);" /></td>\
<td class="contenu7334" width="99%" align="left" valign="middle">Sangoten\
</td>\
</tr>\
<tr>\
<td class="contenu7334" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio7334" type="radio" name="question39864" value="205627" onclick="javascript:compter7334(this,39864);" /></td>\
<td class="contenu7334" width="99%" align="left" valign="middle">Trunks\
</td>\
</tr>\
<tr>\
<td class="contenu7334" colspan="2" align="center">\
<div style="margin: 2px;"><input class="bouton7334" type="submit" value="Valider" /></div>\
<div style="margin: 2px;"><a class="lien7334" href="#null" onclick="javascript:win7334=window.open(\'http://www.i-services.net/membres/sondage/resultats.php?uid=117759&sid=63238&id=68961\',\'popup7334\',\'width=500,height=400,top=\'+((screen.height-400)/2)+\',left=\'+((screen.width-500)/2)+\',scrollbars=1,resizable=0\'); win7334.focus(); return false;">Voir les r&eacute;sultats</a> - <a class="lien7334" href="#null" onclick="javascript:win7334=window.open(\'http://www.i-services.net/membres/sondage/resultats.php?uid=117759&sid=63238&id=68961&archives=1\',\'popup7334\',\'width=500,height=400,top=\'+((screen.height-400)/2)+\',left=\'+((screen.width-500)/2)+\',scrollbars=1,resizable=0\'); win7334.focus(); return false;">Voir les archives</a></div>\
</td>\
</tr>\
<tr>\
<td class="contenu7334" colspan="2" align="center" style="border-top-style: solid; border-top-color: #FCCE76; border-top-width: 1px;">Service gratuit offert par <a class="lien7334" href="http://www.i-services.net/membres/sondage/index.php?refid=117759" target="_blank">I-Services</a></td>\
</tr>\
</table>\
</form>\
');
var cpt_7334=new Array();
var limite_cpt_7334=new Array();
var limite_type_7334=new Array();
var num_quest_7334=new Array();


cpt_7334[39864]=0;
limite_cpt_7334[39864]=0;
limite_type_7334[39864]='max';
num_quest_7334[39864]=1;


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

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

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

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

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

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

		return false;
	}

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

	return true;
}


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


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

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

		posX+=offsetX;
		posY+=offsetY;

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

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

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

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