document.write('<style type="text/css">\
<!--\
table.cadre7772\
{\
border-style: solid;\
border-color: #FFFFFF;\
border-width: 0px;\
background-color: #292187;\
background-image: url();\
}\
tr.titre7772\
{\
background-color: #292187;\
}\
td.titre7772\
{\
font-family: Arial;\
font-size: 12px;\
font-weight: normal;\
color: #FF00FF;\
border-bottom-style: solid;\
border-bottom-color: #FFFFFF;\
border-bottom-width: 0px;\
}\
td.contenu7772\
{\
font-family: Arial;\
font-size: 12px;\
font-weight: normal;\
color: #FFFFFF;\
}\
td.question7772\
{\
font-family: Arial;\
font-size: 12px;\
font-weight: bold;\
color: #FFFF00;\
}\
a.lien7772\
{\
font-family: Arial;\
font-size: 12px;\
font-weight: normal;\
color: #FFFFFF;\
text-decoration: underline;\
}\
a.lien7772:visited\
{\
font-family: Arial;\
font-size: 12px;\
font-weight: normal;\
color: #FFFFFF;\
text-decoration: underline;\
}\
a.lien7772:active\
{\
font-family: Arial;\
font-size: 12px;\
font-weight: normal;\
color: #FFFFFF;\
text-decoration: underline;\
}\
a.lien7772:hover\
{\
font-family: Arial;\
font-size: 12px;\
font-weight: normal;\
color: #FFFFFF;\
text-decoration: underline;\
}\
form.form7772\
{\
margin: 0px;\
}\
input.bouton7772\
{\
font-family: Arial;\
font-size: 12px;\
font-weight: normal;\
}\
input.radio7772, input.checkbox7772\
{\
background-color: transparent;\
border-width: 0px;\
}\
//-->\
</style>\
');document.write('<div id="layer7772" style="position:absolute; visibility: hidden;"></div><form class="form7772" name="formSondage7772" method="post" action="http://www.i-services.net/membres/sondage/valider.php?uid=81859&sid=78419&id=4094" target="popup7772" onsubmit="javascript:if(formSubmit7772() == true) { win7772=window.open(\'\',\'popup7772\',\'width=500,height=400,top=\'+((screen.height-400)/2)+\',left=\'+((screen.width-500)/2)+\',scrollbars=1,resizable=0\'); win7772.focus(); return true; } else return false;">\
<input type="hidden" name="referer" value="" />\
<table class="cadre7772" border="0" cellpadding="3" cellspacing="0" width="150">\
<tr class="titre7772">\
<td class="titre7772" colspan="2" align="center"><b>De l\'amour et du hasard...</b></td>\
</tr>\
<tr>\
<td class="question7772" colspan="2" align="left">Pour trouver l\'homme / la femme de sa vie, vaut-il mieux :</td>\
</tr>\
<tr>\
<td class="contenu7772" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio7772" type="radio" name="question4776" value="30459" onclick="javascript:compter7772(this,4776);" /></td>\
<td class="contenu7772" width="99%" align="left" valign="middle"><span onmouseover="javascript:closeImage();">1. Rester au m&ecirc;me endroit et attendre qu\'il/elle passe par l&agrave;... au risque que &ccedil;a n\'arrive jamais !</span>\
</td>\
</tr>\
<tr>\
<td class="contenu7772" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio7772" type="radio" name="question4776" value="30460" onclick="javascript:compter7772(this,4776);" /></td>\
<td class="contenu7772" width="99%" align="left" valign="middle"><span onmouseover="javascript:closeImage();">2. Voyager sans cesse, au risque qu\'il/elle arrive dans l\'endroit qu\'on vient de quitter</span>\
</td>\
</tr>\
<tr>\
<td class="contenu7772" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio7772" type="radio" name="question4776" value="30461" onclick="javascript:compter7772(this,4776);" /></td>\
<td class="contenu7772" width="99%" align="left" valign="middle"><span onmouseover="javascript:closeImage();">3. Les deux en m&ecirc;me temps, mais c\'est plus difficile...</span>\
</td>\
</tr>\
<tr>\
<td class="contenu7772" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio7772" type="radio" name="question4776" value="30462" onclick="javascript:compter7772(this,4776);" /></td>\
<td class="contenu7772" width="99%" align="left" valign="middle"><span onmouseover="javascript:closeImage();">4. De toute fa&ccedil;on c\'est &agrave; lui / &agrave; elle de me trouver, qu\'il / elle se d&eacute;brouille !</span>\
</td>\
</tr>\
<tr>\
<td class="contenu7772" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio7772" type="radio" name="question4776" value="30463" onclick="javascript:compter7772(this,4776);" /></td>\
<td class="contenu7772" width="99%" align="left" valign="middle"><span onmouseover="javascript:closeImage();">5. Je connais une autre solution, mais je la garde pour moi.</span>\
</td>\
</tr>\
<tr>\
<td class="contenu7772" colspan="2" align="center">\
<div style="margin: 2px;"><input class="bouton7772" type="submit" value="Valider" /></div>\
<div style="margin: 2px;"><a class="lien7772" href="#null" onclick="javascript:win7772=window.open(\'http://www.i-services.net/membres/sondage/resultats.php?uid=81859&sid=78419&id=4094\',\'popup7772\',\'width=500,height=400,top=\'+((screen.height-400)/2)+\',left=\'+((screen.width-500)/2)+\',scrollbars=1,resizable=0\'); win7772.focus(); return false;">Voir les r&eacute;sultats</a></div>\
</td>\
</tr>\
</table>\
</form>\
');
var cpt_7772=new Array();
var limite_cpt_7772=new Array();
var limite_type_7772=new Array();
var num_quest_7772=new Array();


cpt_7772[4776]=0;
limite_cpt_7772[4776]=0;
limite_type_7772[4776]='max';
num_quest_7772[4776]=1;


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

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

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

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

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

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

		return false;
	}

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

	return true;
}


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


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

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

		posX+=offsetX;
		posY+=offsetY;

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

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

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

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