document.write('<style type="text/css">\
<!--\
table.cadre1364\
{\
border-style: solid;\
border-color: #FCCE76;\
border-width: 1px;\
background-color: #FFF9EC;\
background-image: url();\
}\
tr.titre1364\
{\
background-color: #FCCE76;\
}\
td.titre1364\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #6A2300;\
border-bottom-style: solid;\
border-bottom-color: #FCCE76;\
border-bottom-width: 1px;\
}\
td.contenu1364\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #6A2300;\
}\
td.question1364\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #6A2300;\
}\
a.lien1364\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #6A2300;\
text-decoration: underline;\
}\
a.lien1364:visited\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #6A2300;\
text-decoration: underline;\
}\
a.lien1364:active\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #6A2300;\
text-decoration: underline;\
}\
a.lien1364:hover\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #6A2300;\
text-decoration: underline;\
}\
form.form1364\
{\
margin: 0px;\
}\
input.bouton1364\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
}\
input.radio1364, input.checkbox1364\
{\
background-color: transparent;\
border-width: 0px;\
}\
//-->\
</style>\
');document.write('<div id="layer1364" style="position:absolute; visibility: hidden;"></div><form class="form1364" name="formSondage1364" method="post" action="http://www.i-services.net/membres/sondage/valider.php?uid=35711&sid=14817&id=17330" target="popup1364" onsubmit="javascript:if(formSubmit1364() == true) { win1364=window.open(\'\',\'popup1364\',\'width=500,height=400,top=\'+((screen.height-400)/2)+\',left=\'+((screen.width-500)/2)+\',scrollbars=1,resizable=0\'); win1364.focus(); return true; } else return false;">\
<input type="hidden" name="referer" value="" />\
<table class="cadre1364" border="0" cellpadding="3" cellspacing="0" width="160">\
<tr class="titre1364">\
<td class="titre1364" colspan="2" align="center"><b>Gymnaste pr&eacute;f&eacute;r&eacute;e</b></td>\
</tr>\
<tr>\
<td class="question1364" colspan="2" align="left">Quelle est votre Gymnaste pr&eacute;f&eacute;r&eacute;e</td>\
</tr>\
<tr>\
<td class="contenu1364" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio1364" type="radio" name="question1968" value="16209" onclick="javascript:compter1364(this,1968);" /></td>\
<td class="contenu1364" width="99%" align="left" valign="middle">Irina TCHACHINA\
</td>\
</tr>\
<tr>\
<td class="contenu1364" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio1364" type="radio" name="question1968" value="16210" onclick="javascript:compter1364(this,1968);" /></td>\
<td class="contenu1364" width="99%" align="left" valign="middle">Alina KABAEVA\
</td>\
</tr>\
<tr>\
<td class="contenu1364" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio1364" type="radio" name="question1968" value="16211" onclick="javascript:compter1364(this,1968);" /></td>\
<td class="contenu1364" width="99%" align="left" valign="middle">Simona PEYCHEVA\
</td>\
</tr>\
<tr>\
<td class="contenu1364" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio1364" type="radio" name="question1968" value="16212" onclick="javascript:compter1364(this,1968);" /></td>\
<td class="contenu1364" width="99%" align="left" valign="middle">Anna BESSONOVA\
</td>\
</tr>\
<tr>\
<td class="contenu1364" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio1364" type="radio" name="question1968" value="16213" onclick="javascript:compter1364(this,1968);" /></td>\
<td class="contenu1364" width="99%" align="left" valign="middle">Almudena CID TOSTADO\
</td>\
</tr>\
<tr>\
<td class="contenu1364" colspan="2" align="center">\
<div style="margin: 2px;"><input class="bouton1364" type="submit" value="Valider" /></div>\
<div style="margin: 2px;"><a class="lien1364" href="#null" onclick="javascript:win1364=window.open(\'http://www.i-services.net/membres/sondage/resultats.php?uid=35711&sid=14817&id=17330\',\'popup1364\',\'width=500,height=400,top=\'+((screen.height-400)/2)+\',left=\'+((screen.width-500)/2)+\',scrollbars=1,resizable=0\'); win1364.focus(); return false;">Voir les r&eacute;sultats</a></div>\
</td>\
</tr>\
<tr>\
<td class="contenu1364" colspan="2" align="center" style="border-top-style: solid; border-top-color: #FCCE76; border-top-width: 1px;">Service offert par <a class="lien1364" href="http://www.i-services.net/membres/sondage/index.php?refid=35711" target="_blank">I-Services</a></td>\
</tr>\
</table>\
</form>\
');
var cpt_1364=new Array();
var limite_cpt_1364=new Array();
var limite_type_1364=new Array();
var num_quest_1364=new Array();


cpt_1364[1968]=0;
limite_cpt_1364[1968]=0;
limite_type_1364[1968]='max';
num_quest_1364[1968]=1;


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

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

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

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

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

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

		return false;
	}

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

	return true;
}


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


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

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

		posX+=offsetX;
		posY+=offsetY;

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

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

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

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