document.write('<style type="text/css">\
<!--\
table.cadre5494\
{\
border-style: solid;\
border-color: #FFFFFF;\
border-width: 1px;\
background-color: #000000;\
background-image: url();\
}\
tr.titre5494\
{\
background-color: #000000;\
}\
td.titre5494\
{\
font-family: Verdana;\
font-size: 14px;\
font-weight: normal;\
color: #FFFFFF;\
border-bottom-style: solid;\
border-bottom-color: #FFFFFF;\
border-bottom-width: 1px;\
}\
td.contenu5494\
{\
font-family: Verdana;\
font-size: 14px;\
font-weight: normal;\
color: #FFFFFF;\
}\
td.question5494\
{\
font-family: Verdana;\
font-size: 14px;\
font-weight: normal;\
color: #FFFFFF;\
}\
a.lien5494\
{\
font-family: Verdana;\
font-size: 14px;\
font-weight: normal;\
color: #FFFFFF;\
text-decoration: underline;\
}\
a.lien5494:visited\
{\
font-family: Verdana;\
font-size: 14px;\
font-weight: normal;\
color: #FFFFFF;\
text-decoration: underline;\
}\
a.lien5494:active\
{\
font-family: Verdana;\
font-size: 14px;\
font-weight: normal;\
color: #FFFFFF;\
text-decoration: underline;\
}\
a.lien5494:hover\
{\
font-family: Verdana;\
font-size: 14px;\
font-weight: normal;\
color: #FFFFFF;\
text-decoration: underline;\
}\
form.form5494\
{\
margin: 0px;\
}\
input.bouton5494\
{\
font-family: Verdana;\
font-size: 14px;\
font-weight: normal;\
}\
input.radio5494, input.checkbox5494\
{\
background-color: transparent;\
border-width: 0px;\
}\
//-->\
</style>\
');document.write('<div id="layer5494" style="position:absolute; visibility: hidden;"></div><form class="form5494" name="formSondage5494" method="post" action="http://www.i-services.net/membres/sondage/valider.php?uid=18455&sid=7609&id=32953" target="popup5494" onsubmit="javascript:if(formSubmit5494() == true) { win5494=window.open(\'\',\'popup5494\',\'width=500,height=400,top=\'+((screen.height-400)/2)+\',left=\'+((screen.width-500)/2)+\',scrollbars=1,resizable=0\'); win5494.focus(); return true; } else return false;">\
<input type="hidden" name="referer" value="" />\
<table class="cadre5494" border="0" cellpadding="3" cellspacing="0" width="160">\
<tr class="titre5494">\
<td class="titre5494" colspan="2" align="center"><b>Sondage n&deg;2</b></td>\
</tr>\
<tr>\
<td class="question5494" colspan="2" align="left">Comment trouvez-vous le site ?</td>\
</tr>\
<tr>\
<td class="contenu5494" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="checkbox5494" type="checkbox" name="question5327[]" value="7686" onclick="javascript:compter5494(this,5327);" /></td>\
<td class="contenu5494" width="99%" align="left" valign="middle">Il est bien complet\
</td>\
</tr>\
<tr>\
<td class="contenu5494" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="checkbox5494" type="checkbox" name="question5327[]" value="7687" onclick="javascript:compter5494(this,5327);" /></td>\
<td class="contenu5494" width="99%" align="left" valign="middle">Il est super cool\
</td>\
</tr>\
<tr>\
<td class="contenu5494" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="checkbox5494" type="checkbox" name="question5327[]" value="7688" onclick="javascript:compter5494(this,5327);" /></td>\
<td class="contenu5494" width="99%" align="left" valign="middle">J\'adore\
</td>\
</tr>\
<tr>\
<td class="contenu5494" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="checkbox5494" type="checkbox" name="question5327[]" value="7689" onclick="javascript:compter5494(this,5327);" /></td>\
<td class="contenu5494" width="99%" align="left" valign="middle">Je l\'aurai cru plus complet\
</td>\
</tr>\
<tr>\
<td class="contenu5494" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="checkbox5494" type="checkbox" name="question5327[]" value="7690" onclick="javascript:compter5494(this,5327);" /></td>\
<td class="contenu5494" width="99%" align="left" valign="middle">Je n\'aime pas le design\
</td>\
</tr>\
<tr>\
<td class="contenu5494" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="checkbox5494" type="checkbox" name="question5327[]" value="7691" onclick="javascript:compter5494(this,5327);" /></td>\
<td class="contenu5494" width="99%" align="left" valign="middle">Vous appelez &ccedil;a un site ?\
</td>\
</tr>\
<tr>\
<td class="contenu5494" colspan="2" align="center">\
<div style="margin: 2px;"><input class="bouton5494" type="submit" value="Valider" /></div>\
<div style="margin: 2px;"><a class="lien5494" href="#null" onclick="javascript:win5494=window.open(\'http://www.i-services.net/membres/sondage/resultats.php?uid=18455&sid=7609&id=32953\',\'popup5494\',\'width=500,height=400,top=\'+((screen.height-400)/2)+\',left=\'+((screen.width-500)/2)+\',scrollbars=1,resizable=0\'); win5494.focus(); return false;">Voir les r&eacute;sultats</a></div>\
</td>\
</tr>\
<tr>\
<td class="contenu5494" colspan="2" align="center" style="border-top-style: solid; border-top-color: #FFFFFF; border-top-width: 1px;">Service offert par <a class="lien5494" href="http://www.i-services.net/membres/sondage/index.php?refid=18455" target="_blank">I-Services</a></td>\
</tr>\
</table>\
</form>\
');
var cpt_5494=new Array();
var limite_cpt_5494=new Array();
var limite_type_5494=new Array();
var num_quest_5494=new Array();


cpt_5494[5327]=0;
limite_cpt_5494[5327]=0;
limite_type_5494[5327]='max';
num_quest_5494[5327]=1;


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

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

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

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

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

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

		return false;
	}

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

	return true;
}


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


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

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

		posX+=offsetX;
		posY+=offsetY;

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

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

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

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