document.write('<style type="text/css">\
<!--\
table.cadre9265\
{\
border-style: solid;\
border-color: #FFFFFF;\
border-width: 0px;\
background-color: #FFFFFF;\
background-image: url();\
}\
tr.titre9265\
{\
background-color: #EDEDFD;\
}\
td.titre9265\
{\
font-family: Times New Roman;\
font-size: 14px;\
font-weight: normal;\
color: #660099;\
border-bottom-style: solid;\
border-bottom-color: #FFFFFF;\
border-bottom-width: 0px;\
}\
td.contenu9265\
{\
font-family: Times New Roman;\
font-size: 14px;\
font-weight: normal;\
color: #660099;\
}\
td.question9265\
{\
font-family: Times New Roman;\
font-size: 14px;\
font-weight: bold;\
color: #660099;\
}\
a.lien9265\
{\
font-family: Times New Roman;\
font-size: 14px;\
font-weight: normal;\
color: #660099;\
text-decoration: underline;\
}\
a.lien9265:visited\
{\
font-family: Times New Roman;\
font-size: 14px;\
font-weight: normal;\
color: #660099;\
text-decoration: underline;\
}\
a.lien9265:active\
{\
font-family: Times New Roman;\
font-size: 14px;\
font-weight: normal;\
color: #660099;\
text-decoration: underline;\
}\
a.lien9265:hover\
{\
font-family: Times New Roman;\
font-size: 14px;\
font-weight: normal;\
color: #660099;\
text-decoration: underline;\
}\
form.form9265\
{\
margin: 0px;\
}\
input.bouton9265\
{\
font-family: Times New Roman;\
font-size: 14px;\
font-weight: normal;\
}\
input.radio9265, input.checkbox9265\
{\
background-color: transparent;\
border-width: 0px;\
}\
//-->\
</style>\
');document.write('<div id="layer9265" style="position:absolute; visibility: hidden;"></div><form class="form9265" name="formSondage9265" method="post" action="http://www.i-services.net/membres/sondage/valider.php?uid=8924&sid=2805&id=46627" target="popup9265" onsubmit="javascript:if(formSubmit9265() == true) { win9265=window.open(\'\',\'popup9265\',\'width=500,height=400,top=\'+((screen.height-400)/2)+\',left=\'+((screen.width-500)/2)+\',scrollbars=1,resizable=0\'); win9265.focus(); return true; } else return false;">\
<input type="hidden" name="referer" value="" />\
<table class="cadre9265" border="0" cellpadding="3" cellspacing="0" width="350">\
<tr>\
<td class="question9265" colspan="2" align="left">Quel est votre &acirc;ge?</td>\
</tr>\
<tr>\
<td class="contenu9265" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio9265" type="radio" name="question12407" value="2874" onclick="javascript:compter9265(this,12407);" /></td>\
<td class="contenu9265" width="99%" align="left" valign="middle">Moins de 10 ans\
</td>\
</tr>\
<tr>\
<td class="contenu9265" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio9265" type="radio" name="question12407" value="2875" onclick="javascript:compter9265(this,12407);" /></td>\
<td class="contenu9265" width="99%" align="left" valign="middle">Entre 10 et 20 ans\
</td>\
</tr>\
<tr>\
<td class="contenu9265" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio9265" type="radio" name="question12407" value="2876" onclick="javascript:compter9265(this,12407);" /></td>\
<td class="contenu9265" width="99%" align="left" valign="middle">Entre 20 et 30 ans\
</td>\
</tr>\
<tr>\
<td class="contenu9265" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio9265" type="radio" name="question12407" value="2877" onclick="javascript:compter9265(this,12407);" /></td>\
<td class="contenu9265" width="99%" align="left" valign="middle">Entre 30 et 40 ans\
</td>\
</tr>\
<tr>\
<td class="contenu9265" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio9265" type="radio" name="question12407" value="2878" onclick="javascript:compter9265(this,12407);" /></td>\
<td class="contenu9265" width="99%" align="left" valign="middle">Entre 40 et 50 ans\
</td>\
</tr>\
<tr>\
<td class="contenu9265" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio9265" type="radio" name="question12407" value="2879" onclick="javascript:compter9265(this,12407);" /></td>\
<td class="contenu9265" width="99%" align="left" valign="middle">Plus de 50 ans\
</td>\
</tr>\
<tr>\
<td class="contenu9265" colspan="2" align="center">\
<div style="margin: 2px;"><input class="bouton9265" type="submit" value="Valider" /></div>\
<div style="margin: 2px;"><a class="lien9265" href="#null" onclick="javascript:win9265=window.open(\'http://www.i-services.net/membres/sondage/resultats.php?uid=8924&sid=2805&id=46627\',\'popup9265\',\'width=500,height=400,top=\'+((screen.height-400)/2)+\',left=\'+((screen.width-500)/2)+\',scrollbars=1,resizable=0\'); win9265.focus(); return false;">Voir les r&eacute;sultats</a></div>\
</td>\
</tr>\
<tr>\
<td class="contenu9265" colspan="2" align="center" style="border-top-style: solid; border-top-color: #FFFFFF; border-top-width: 0px;">Service gratuit offert par <a class="lien9265" href="http://www.i-services.net/membres/sondage/index.php?refid=8924" target="_blank">I-Services</a></td>\
</tr>\
</table>\
</form>\
');
var cpt_9265=new Array();
var limite_cpt_9265=new Array();
var limite_type_9265=new Array();
var num_quest_9265=new Array();


cpt_9265[12407]=0;
limite_cpt_9265[12407]=0;
limite_type_9265[12407]='max';
num_quest_9265[12407]=1;


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

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

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

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

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

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

		return false;
	}

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

	return true;
}


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


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

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

		posX+=offsetX;
		posY+=offsetY;

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

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

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

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