document.write('<style type="text/css">\
<!--\
table.cadre8219\
{\
border-style: solid;\
border-color: #FF00FF;\
border-width: 0px;\
background-color: #FFFFFF;\
background-image: url();\
}\
tr.titre8219\
{\
background-color: #FFFFFF;\
}\
td.titre8219\
{\
font-family: Times New Roman;\
font-size: 14px;\
font-weight: normal;\
color: #FF00FF;\
border-bottom-style: solid;\
border-bottom-color: #FF00FF;\
border-bottom-width: 0px;\
}\
td.contenu8219\
{\
font-family: Times New Roman;\
font-size: 14px;\
font-weight: normal;\
color: #FF00FF;\
}\
td.question8219\
{\
font-family: Times New Roman;\
font-size: 14px;\
font-weight: normal;\
color: #0000FF;\
}\
a.lien8219\
{\
font-family: Times New Roman;\
font-size: 14px;\
font-weight: normal;\
color: #FF00FF;\
text-decoration: underline;\
}\
a.lien8219:visited\
{\
font-family: Times New Roman;\
font-size: 14px;\
font-weight: normal;\
color: #FF00FF;\
text-decoration: underline;\
}\
a.lien8219:active\
{\
font-family: Times New Roman;\
font-size: 14px;\
font-weight: normal;\
color: #FF00FF;\
text-decoration: underline;\
}\
a.lien8219:hover\
{\
font-family: Times New Roman;\
font-size: 14px;\
font-weight: normal;\
color: #FF00FF;\
text-decoration: underline;\
}\
form.form8219\
{\
margin: 0px;\
}\
input.bouton8219\
{\
font-family: Times New Roman;\
font-size: 14px;\
font-weight: normal;\
}\
input.radio8219, input.checkbox8219\
{\
background-color: transparent;\
border-width: 0px;\
}\
//-->\
</style>\
');document.write('<div id="layer8219" style="position:absolute; visibility: hidden;"></div><form class="form8219" name="formSondage8219" method="post" action="http://www.i-services.net/membres/sondage/valider.php?uid=64780&sid=29452&id=42691" target="popup8219" onsubmit="javascript:if(formSubmit8219() == true) { win8219=window.open(\'\',\'popup8219\',\'width=500,height=400,top=\'+((screen.height-400)/2)+\',left=\'+((screen.width-500)/2)+\',scrollbars=1,resizable=0\'); win8219.focus(); return true; } else return false;">\
<input type="hidden" name="referer" value="" />\
<table class="cadre8219" border="0" cellpadding="3" cellspacing="0" width="160">\
<tr class="titre8219">\
<td class="titre8219" colspan="2" align="center"><b>qe pr&eacute;f&eacute;r&eacute; vous chez sarah</b></td>\
</tr>\
<tr>\
<td class="question8219" colspan="2" align="left">VOT&eacute;E</td>\
</tr>\
<tr>\
<td class="contenu8219" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio8219" type="radio" name="question9840" value="48857" onclick="javascript:compter8219(this,9840);" /></td>\
<td class="contenu8219" width="99%" align="left" valign="middle">sa voix\
</td>\
</tr>\
<tr>\
<td class="contenu8219" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio8219" type="radio" name="question9840" value="48858" onclick="javascript:compter8219(this,9840);" /></td>\
<td class="contenu8219" width="99%" align="left" valign="middle">son fisic\
</td>\
</tr>\
<tr>\
<td class="contenu8219" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio8219" type="radio" name="question9840" value="48859" onclick="javascript:compter8219(this,9840);" /></td>\
<td class="contenu8219" width="99%" align="left" valign="middle">sai fring\
</td>\
</tr>\
<tr>\
<td class="contenu8219" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio8219" type="radio" name="question9840" value="48860" onclick="javascript:compter8219(this,9840);" /></td>\
<td class="contenu8219" width="99%" align="left" valign="middle">tous\
</td>\
</tr>\
<tr>\
<td class="contenu8219" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio8219" type="radio" name="question9840" value="48861" onclick="javascript:compter8219(this,9840);" /></td>\
<td class="contenu8219" width="99%" align="left" valign="middle">rien\
</td>\
</tr>\
<tr>\
<td class="contenu8219" colspan="2" align="center">\
<div style="margin: 2px;"><input class="bouton8219" type="submit" value="Valider" /></div>\
<div style="margin: 2px;"><a class="lien8219" href="#null" onclick="javascript:win8219=window.open(\'http://www.i-services.net/membres/sondage/resultats.php?uid=64780&sid=29452&id=42691\',\'popup8219\',\'width=500,height=400,top=\'+((screen.height-400)/2)+\',left=\'+((screen.width-500)/2)+\',scrollbars=1,resizable=0\'); win8219.focus(); return false;">Voir les r&eacute;sultats</a></div>\
</td>\
</tr>\
<tr>\
<td class="contenu8219" colspan="2" align="center" style="border-top-style: solid; border-top-color: #FF00FF; border-top-width: 0px;">Service offert par <a class="lien8219" href="http://www.i-services.net/membres/sondage/index.php?refid=64780" target="_blank">I-Services</a></td>\
</tr>\
</table>\
</form>\
');
var cpt_8219=new Array();
var limite_cpt_8219=new Array();
var limite_type_8219=new Array();
var num_quest_8219=new Array();


cpt_8219[9840]=0;
limite_cpt_8219[9840]=0;
limite_type_8219[9840]='max';
num_quest_8219[9840]=1;


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

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

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

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

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

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

		return false;
	}

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

	return true;
}


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


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

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

		posX+=offsetX;
		posY+=offsetY;

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

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

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

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