document.write('<style type="text/css">\
<!--\
table.cadre4391\
{\
border-style: solid;\
border-color: #000000;\
border-width: 1px;\
background-color: #FF9797;\
background-image: url();\
}\
tr.titre4391\
{\
background-color: #FF0000;\
}\
td.titre4391\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #FFFFFF;\
border-bottom-style: solid;\
border-bottom-color: #000000;\
border-bottom-width: 1px;\
}\
td.contenu4391\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #000000;\
}\
td.question4391\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #000000;\
}\
a.lien4391\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #000000;\
text-decoration: underline;\
}\
a.lien4391:visited\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #000000;\
text-decoration: underline;\
}\
a.lien4391:active\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #000000;\
text-decoration: underline;\
}\
a.lien4391:hover\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #000000;\
text-decoration: underline;\
}\
form.form4391\
{\
margin: 0px;\
}\
input.bouton4391\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
}\
input.radio4391, input.checkbox4391\
{\
background-color: transparent;\
border-width: 0px;\
}\
//-->\
</style>\
');document.write('<div id="layer4391" style="position:absolute; visibility: hidden;"></div><form class="form4391" name="formSondage4391" method="post" action="http://www.i-services.net/membres/sondage/valider.php?uid=55627&sid=24363&id=27714" target="popup4391" onsubmit="javascript:if(formSubmit4391() == true) { win4391=window.open(\'\',\'popup4391\',\'width=500,height=400,top=\'+((screen.height-400)/2)+\',left=\'+((screen.width-500)/2)+\',scrollbars=1,resizable=0\'); win4391.focus(); return true; } else return false;">\
<input type="hidden" name="referer" value="" />\
<table class="cadre4391" border="0" cellpadding="3" cellspacing="0" width="400">\
<tr class="titre4391">\
<td class="titre4391" colspan="2" align="center"><b>Sondage</b></td>\
</tr>\
<tr>\
<td class="question4391" colspan="2" align="left">Comment &ecirc;tes-vous arriv&eacute; sur ce site?</td>\
</tr>\
<tr>\
<td class="contenu4391" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio4391" type="radio" name="question3956" value="34998" onclick="javascript:compter4391(this,3956);" /></td>\
<td class="contenu4391" width="99%" align="left" valign="middle">C\'est moi qui vous ai donn&eacute; l\'adresse de mon site.\
</td>\
</tr>\
<tr>\
<td class="contenu4391" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio4391" type="radio" name="question3956" value="34999" onclick="javascript:compter4391(this,3956);" /></td>\
<td class="contenu4391" width="99%" align="left" valign="middle">C\'est quelqu\'un d\'autre qui vous a donn&eacute; l\'adresse.\
</td>\
</tr>\
<tr>\
<td class="contenu4391" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio4391" type="radio" name="question3956" value="35000" onclick="javascript:compter4391(this,3956);" /></td>\
<td class="contenu4391" width="99%" align="left" valign="middle">Lien vu sur un autre site\
</td>\
</tr>\
<tr>\
<td class="contenu4391" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio4391" type="radio" name="question3956" value="35001" onclick="javascript:compter4391(this,3956);" /></td>\
<td class="contenu4391" width="99%" align="left" valign="middle">Moteur de recherche\
</td>\
</tr>\
<tr>\
<td class="contenu4391" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio4391" type="radio" name="question3956" value="35002" onclick="javascript:compter4391(this,3956);" /></td>\
<td class="contenu4391" width="99%" align="left" valign="middle">Autre\
</td>\
</tr>\
<tr>\
<td class="contenu4391" colspan="2" align="center">\
<div style="margin: 2px;"><input class="bouton4391" type="submit" value="Valider" /></div>\
<div style="margin: 2px;"><a class="lien4391" href="#null" onclick="javascript:win4391=window.open(\'http://www.i-services.net/membres/sondage/resultats.php?uid=55627&sid=24363&id=27714\',\'popup4391\',\'width=500,height=400,top=\'+((screen.height-400)/2)+\',left=\'+((screen.width-500)/2)+\',scrollbars=1,resizable=0\'); win4391.focus(); return false;">Voir les r&eacute;sultats</a></div>\
</td>\
</tr>\
<tr>\
<td class="contenu4391" colspan="2" align="center" style="border-top-style: solid; border-top-color: #000000; border-top-width: 1px;">Service gratuit offert par <a class="lien4391" href="http://www.i-services.net/membres/sondage/index.php?refid=55627" target="_blank">I-Services</a></td>\
</tr>\
</table>\
</form>\
');
var cpt_4391=new Array();
var limite_cpt_4391=new Array();
var limite_type_4391=new Array();
var num_quest_4391=new Array();


cpt_4391[3956]=0;
limite_cpt_4391[3956]=0;
limite_type_4391[3956]='max';
num_quest_4391[3956]=1;


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

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

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

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

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

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

		return false;
	}

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

	return true;
}


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


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

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

		posX+=offsetX;
		posY+=offsetY;

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

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

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

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