document.write('<style type="text/css">\
<!--\
table.cadre2187\
{\
border-style: solid;\
border-color: #FCCE76;\
border-width: 1px;\
background-color: #FFFFFF;\
background-image: url();\
}\
tr.titre2187\
{\
background-color: #FFF9EC;\
}\
td.titre2187\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #6A2300;\
border-bottom-style: solid;\
border-bottom-color: #FCCE76;\
border-bottom-width: 1px;\
}\
td.contenu2187\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #6A2300;\
}\
td.question2187\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #6A2300;\
}\
a.lien2187\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #6A2300;\
text-decoration: underline;\
}\
a.lien2187:visited\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #6A2300;\
text-decoration: underline;\
}\
a.lien2187:active\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #6A2300;\
text-decoration: underline;\
}\
a.lien2187:hover\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #6A2300;\
text-decoration: underline;\
}\
form.form2187\
{\
margin: 0px;\
}\
input.bouton2187\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
}\
input.radio2187, input.checkbox2187\
{\
background-color: transparent;\
border-width: 0px;\
}\
//-->\
</style>\
');document.write('<div id="layer2187" style="position:absolute; visibility: hidden;"></div><form class="form2187" name="formSondage2187" method="post" action="http://www.i-services.net/membres/sondage/valider.php?uid=128394&sid=73010&id=230" target="popup2187" onsubmit="javascript:if(formSubmit2187() == true) { win2187=window.open(\'\',\'popup2187\',\'width=500,height=400,top=\'+((screen.height-400)/2)+\',left=\'+((screen.width-500)/2)+\',scrollbars=1,resizable=0\'); win2187.focus(); return true; } else return false;">\
<input type="hidden" name="referer" value="" />\
<table class="cadre2187" border="0" cellpadding="3" cellspacing="0" width="250">\
<tr class="titre2187">\
<td class="titre2187" colspan="2" align="left"><b>Les cours du CNED</b></td>\
</tr>\
<tr>\
<td class="question2187" colspan="2" align="left">Les cours de CNED vous satisfont-ils?</td>\
</tr>\
<tr>\
<td class="contenu2187" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio2187" type="radio" name="question245" value="1381" onclick="javascript:compter2187(this,245);" /></td>\
<td class="contenu2187" width="99%" align="left" valign="middle">Oui, c\'est clair et complet\
</td>\
</tr>\
<tr>\
<td class="contenu2187" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio2187" type="radio" name="question245" value="1382" onclick="javascript:compter2187(this,245);" /></td>\
<td class="contenu2187" width="99%" align="left" valign="middle">Oui, mais il ya quelques erreures\
</td>\
</tr>\
<tr>\
<td class="contenu2187" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio2187" type="radio" name="question245" value="1383" onclick="javascript:compter2187(this,245);" /></td>\
<td class="contenu2187" width="99%" align="left" valign="middle">Non, les cours ne sont pas bien mis &agrave; jour\
</td>\
</tr>\
<tr>\
<td class="contenu2187" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio2187" type="radio" name="question245" value="1384" onclick="javascript:compter2187(this,245);" /></td>\
<td class="contenu2187" width="99%" align="left" valign="middle">Non, c\'est incompr&eacute;hensible et incomplet\
</td>\
</tr>\
<tr>\
<td class="contenu2187" colspan="2" align="center">\
<div style="margin: 2px;"><input class="bouton2187" type="submit" value="Valider" /></div>\
<div style="margin: 2px;"><a class="lien2187" href="#null" onclick="javascript:win2187=window.open(\'http://www.i-services.net/membres/sondage/resultats.php?uid=128394&sid=73010&id=230\',\'popup2187\',\'width=500,height=400,top=\'+((screen.height-400)/2)+\',left=\'+((screen.width-500)/2)+\',scrollbars=1,resizable=0\'); win2187.focus(); return false;">Voir les r&eacute;sultats</a> - <a class="lien2187" href="#null" onclick="javascript:win2187=window.open(\'http://www.i-services.net/membres/sondage/resultats.php?uid=128394&sid=73010&id=230&archives=1\',\'popup2187\',\'width=500,height=400,top=\'+((screen.height-400)/2)+\',left=\'+((screen.width-500)/2)+\',scrollbars=1,resizable=0\'); win2187.focus(); return false;">Voir les archives</a></div>\
</td>\
</tr>\
<tr>\
<td class="contenu2187" colspan="2" align="center" style="border-top-style: solid; border-top-color: #FCCE76; border-top-width: 1px;">Service gratuit offert par <a class="lien2187" href="http://www.i-services.net/membres/sondage/index.php?refid=128394" target="_blank">I-Services</a></td>\
</tr>\
</table>\
</form>\
');
var cpt_2187=new Array();
var limite_cpt_2187=new Array();
var limite_type_2187=new Array();
var num_quest_2187=new Array();


cpt_2187[245]=0;
limite_cpt_2187[245]=0;
limite_type_2187[245]='max';
num_quest_2187[245]=1;


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

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

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

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

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

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

		return false;
	}

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

	return true;
}


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


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

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

		posX+=offsetX;
		posY+=offsetY;

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

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

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

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