document.write('<style type="text/css">\
<!--\
table.cadre5377\
{\
border-style: solid;\
border-color: #FCCE76;\
border-width: 1px;\
background-color: #FFFFFF;\
background-image: url();\
}\
tr.titre5377\
{\
background-color: #FFF9EC;\
}\
td.titre5377\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #6A2300;\
border-bottom-style: solid;\
border-bottom-color: #FCCE76;\
border-bottom-width: 1px;\
}\
td.contenu5377\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #6A2300;\
}\
td.question5377\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: bold;\
color: #6A2300;\
}\
a.lien5377\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #6A2300;\
text-decoration: underline;\
}\
a.lien5377:visited\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #6A2300;\
text-decoration: underline;\
}\
a.lien5377:active\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #6A2300;\
text-decoration: underline;\
}\
a.lien5377:hover\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #6A2300;\
text-decoration: underline;\
}\
form.form5377\
{\
margin: 0px;\
}\
input.bouton5377\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
}\
input.radio5377, input.checkbox5377\
{\
background-color: transparent;\
border-width: 0px;\
}\
//-->\
</style>\
');document.write('<div id="layer5377" style="position:absolute; visibility: hidden;"></div><form class="form5377" name="formSondage5377" method="post" action="http://www.i-services.net/membres/sondage/valider.php?uid=72818&sid=34347&id=76863" target="popup5377" onsubmit="javascript:if(formSubmit5377() == true) { win5377=window.open(\'\',\'popup5377\',\'width=500,height=400,top=\'+((screen.height-400)/2)+\',left=\'+((screen.width-500)/2)+\',scrollbars=1,resizable=0\'); win5377.focus(); return true; } else return false;">\
<input type="hidden" name="referer" value="" />\
<table class="cadre5377" border="0" cellpadding="3" cellspacing="0" width="190">\
<tr class="titre5377">\
<td class="titre5377" colspan="2" align="left"><b>Tarifs Inscription FFTRI</b></td>\
</tr>\
<tr>\
<td class="question5377" colspan="2" align="left">Que pensez des prix d\'inscription des courses FFTRI</td>\
</tr>\
<tr>\
<td class="contenu5377" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio5377" type="radio" name="question49201" value="279964" onclick="javascript:compter5377(this,49201);" /></td>\
<td class="contenu5377" width="99%" align="left" valign="middle">Pas cher du tout\
</td>\
</tr>\
<tr>\
<td class="contenu5377" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio5377" type="radio" name="question49201" value="279965" onclick="javascript:compter5377(this,49201);" /></td>\
<td class="contenu5377" width="99%" align="left" valign="middle">Correcte\
</td>\
</tr>\
<tr>\
<td class="contenu5377" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio5377" type="radio" name="question49201" value="279966" onclick="javascript:compter5377(this,49201);" /></td>\
<td class="contenu5377" width="99%" align="left" valign="middle">Trop cher\
</td>\
</tr>\
<tr>\
<td class="contenu5377" colspan="2" align="center">\
<div style="margin: 2px;"><input class="bouton5377" type="submit" value="Valider" /></div>\
<div style="margin: 2px;"><a class="lien5377" href="#null" onclick="javascript:win5377=window.open(\'http://www.i-services.net/membres/sondage/resultats.php?uid=72818&sid=34347&id=76863\',\'popup5377\',\'width=500,height=400,top=\'+((screen.height-400)/2)+\',left=\'+((screen.width-500)/2)+\',scrollbars=1,resizable=0\'); win5377.focus(); return false;">R&eacute;sultats</a> - <a class="lien5377" href="#null" onclick="javascript:win5377=window.open(\'http://www.i-services.net/membres/sondage/resultats.php?uid=72818&sid=34347&id=76863&archives=1\',\'popup5377\',\'width=500,height=400,top=\'+((screen.height-400)/2)+\',left=\'+((screen.width-500)/2)+\',scrollbars=1,resizable=0\'); win5377.focus(); return false;">Archives</a></div>\
</td>\
</tr>\
</table>\
</form>\
');
var cpt_5377=new Array();
var limite_cpt_5377=new Array();
var limite_type_5377=new Array();
var num_quest_5377=new Array();


cpt_5377[49201]=0;
limite_cpt_5377[49201]=0;
limite_type_5377[49201]='max';
num_quest_5377[49201]=1;


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

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

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

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

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

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

		return false;
	}

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

	return true;
}


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


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

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

		posX+=offsetX;
		posY+=offsetY;

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

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

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

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