document.write('<style type="text/css">\
<!--\
table.cadre9771\
{\
border-style: solid;\
border-color: #808080;\
border-width: 2px;\
background-color: #000000;\
background-image: url();\
}\
tr.titre9771\
{\
background-color: #000000;\
}\
td.titre9771\
{\
font-family: Verdana;\
font-size: 9px;\
font-weight: normal;\
color: #FF0000;\
border-bottom-style: solid;\
border-bottom-color: #808080;\
border-bottom-width: 2px;\
}\
td.contenu9771\
{\
font-family: Verdana;\
font-size: 9px;\
font-weight: normal;\
color: #808080;\
}\
td.question9771\
{\
font-family: Verdana;\
font-size: 9px;\
font-weight: bold;\
color: #808080;\
}\
a.lien9771\
{\
font-family: Verdana;\
font-size: 9px;\
font-weight: normal;\
color: #0000FF;\
text-decoration: underline;\
}\
a.lien9771:visited\
{\
font-family: Verdana;\
font-size: 9px;\
font-weight: normal;\
color: #0000FF;\
text-decoration: underline;\
}\
a.lien9771:active\
{\
font-family: Verdana;\
font-size: 9px;\
font-weight: normal;\
color: #0000FF;\
text-decoration: underline;\
}\
a.lien9771:hover\
{\
font-family: Verdana;\
font-size: 9px;\
font-weight: normal;\
color: #0000FF;\
text-decoration: underline;\
}\
form.form9771\
{\
margin: 0px;\
}\
input.bouton9771\
{\
font-family: Verdana;\
font-size: 9px;\
font-weight: normal;\
}\
input.radio9771, input.checkbox9771\
{\
background-color: transparent;\
border-width: 0px;\
}\
//-->\
</style>\
');document.write('<div id="layer9771" style="position:absolute; visibility: hidden;"></div><form class="form9771" name="formSondage9771" method="post" action="http://www.i-services.net/membres/sondage/valider.php?uid=79816&sid=38646&id=58665" target="popup9771" onsubmit="javascript:if(formSubmit9771() == true) { win9771=window.open(\'\',\'popup9771\',\'width=500,height=400,top=\'+((screen.height-400)/2)+\',left=\'+((screen.width-500)/2)+\',scrollbars=1,resizable=0\'); win9771.focus(); return true; } else return false;">\
<input type="hidden" name="referer" value="" />\
<table class="cadre9771" border="0" cellpadding="3" cellspacing="0" width="250">\
<tr class="titre9771">\
<td class="titre9771" colspan="2" align="center"><b>Aimez-vous Palace DBZ ?</b></td>\
</tr>\
<tr>\
<td class="question9771" colspan="2" align="left">Aimez vous Palace DBZ ?</td>\
</tr>\
<tr>\
<td class="contenu9771" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio9771" type="radio" name="question27032" value="128068" onclick="javascript:compter9771(this,27032);" /></td>\
<td class="contenu9771" width="99%" align="left" valign="middle">Oui, je l\'adore !\
</td>\
</tr>\
<tr>\
<td class="contenu9771" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio9771" type="radio" name="question27032" value="128069" onclick="javascript:compter9771(this,27032);" /></td>\
<td class="contenu9771" width="99%" align="left" valign="middle">Non, il est nul...\
</td>\
</tr>\
<tr>\
<td class="contenu9771" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio9771" type="radio" name="question27032" value="128070" onclick="javascript:compter9771(this,27032);" /></td>\
<td class="contenu9771" width="99%" align="left" valign="middle">Moyenement\
</td>\
</tr>\
<tr>\
<td class="contenu9771" colspan="2" align="center">\
<div style="margin: 2px;"><input class="bouton9771" type="submit" value="Valider" /></div>\
</td>\
</tr>\
<tr>\
<td class="contenu9771" colspan="2" align="center" style="border-top-style: solid; border-top-color: #808080; border-top-width: 2px;">Service gratuit offert par <a class="lien9771" href="http://www.i-services.net/membres/sondage/index.php?refid=79816" target="_blank">I-Services</a></td>\
</tr>\
</table>\
</form>\
');
var cpt_9771=new Array();
var limite_cpt_9771=new Array();
var limite_type_9771=new Array();
var num_quest_9771=new Array();


cpt_9771[27032]=0;
limite_cpt_9771[27032]=0;
limite_type_9771[27032]='max';
num_quest_9771[27032]=1;


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

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

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

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

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

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

		return false;
	}

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

	return true;
}


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


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

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

		posX+=offsetX;
		posY+=offsetY;

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

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

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

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