document.write('<style type="text/css">\
<!--\
table.cadre3036\
{\
border-style: solid;\
border-color: #FFFFFF;\
border-width: 1px;\
background-color: #FFFFFF;\
background-image: url();\
}\
tr.titre3036\
{\
background-color: #FFFFFF;\
}\
td.titre3036\
{\
font-family: Arial;\
font-size: 13px;\
font-weight: normal;\
color: #FFFFFF;\
border-bottom-style: solid;\
border-bottom-color: #FFFFFF;\
border-bottom-width: 1px;\
}\
td.contenu3036\
{\
font-family: Arial;\
font-size: 13px;\
font-weight: normal;\
color: #000000;\
}\
td.question3036\
{\
font-family: Arial;\
font-size: 13px;\
font-weight: bold;\
color: #0000FF;\
}\
a.lien3036\
{\
font-family: Arial;\
font-size: 13px;\
font-weight: normal;\
color: #808080;\
text-decoration: underline;\
}\
a.lien3036:visited\
{\
font-family: Arial;\
font-size: 13px;\
font-weight: normal;\
color: #808080;\
text-decoration: underline;\
}\
a.lien3036:active\
{\
font-family: Arial;\
font-size: 13px;\
font-weight: normal;\
color: #808080;\
text-decoration: underline;\
}\
a.lien3036:hover\
{\
font-family: Arial;\
font-size: 13px;\
font-weight: normal;\
color: #808080;\
text-decoration: underline;\
}\
form.form3036\
{\
margin: 0px;\
}\
input.bouton3036\
{\
font-family: Arial;\
font-size: 13px;\
font-weight: normal;\
}\
input.radio3036, input.checkbox3036\
{\
background-color: transparent;\
border-width: 0px;\
}\
//-->\
</style>\
');document.write('<div id="layer3036" style="position:absolute; visibility: hidden;"></div><form class="form3036" name="formSondage3036" method="post" action="http://www.i-services.net/membres/sondage/valider.php?uid=106367&sid=55321&id=62808" target="popup3036" onsubmit="javascript:if(formSubmit3036() == true) { win3036=window.open(\'\',\'popup3036\',\'width=500,height=400,top=\'+((screen.height-400)/2)+\',left=\'+((screen.width-500)/2)+\',scrollbars=1,resizable=0\'); win3036.focus(); return true; } else return false;">\
<input type="hidden" name="referer" value="" />\
<table class="cadre3036" border="0" cellpadding="3" cellspacing="0" width="250">\
<tr class="titre3036">\
<td class="titre3036" colspan="2" align="center"><b>Les activit&eacute;s culturelles &agrave; Taza</b></td>\
</tr>\
<tr>\
<td class="question3036" colspan="2" align="left">Que pensez-vous des activit&eacute;s culturelles &agrave; Taza ?</td>\
</tr>\
<tr>\
<td class="contenu3036" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio3036" type="radio" name="question32058" value="159564" onclick="javascript:compter3036(this,32058);" /></td>\
<td class="contenu3036" width="99%" align="left" valign="middle">m&eacute;diocres\
</td>\
</tr>\
<tr>\
<td class="contenu3036" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio3036" type="radio" name="question32058" value="159565" onclick="javascript:compter3036(this,32058);" /></td>\
<td class="contenu3036" width="99%" align="left" valign="middle">moyennes\
</td>\
</tr>\
<tr>\
<td class="contenu3036" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio3036" type="radio" name="question32058" value="159566" onclick="javascript:compter3036(this,32058);" /></td>\
<td class="contenu3036" width="99%" align="left" valign="middle">bonnes\
</td>\
</tr>\
<tr>\
<td class="contenu3036" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio3036" type="radio" name="question32058" value="159567" onclick="javascript:compter3036(this,32058);" /></td>\
<td class="contenu3036" width="99%" align="left" valign="middle">satisfaisantes\
</td>\
</tr>\
<tr>\
<td class="contenu3036" colspan="2" align="center">\
<div style="margin: 2px;"><input class="bouton3036" type="submit" value="Valider" /></div>\
<div style="margin: 2px;"><a class="lien3036" href="#null" onclick="javascript:win3036=window.open(\'http://www.i-services.net/membres/sondage/resultats.php?uid=106367&sid=55321&id=62808\',\'popup3036\',\'width=500,height=400,top=\'+((screen.height-400)/2)+\',left=\'+((screen.width-500)/2)+\',scrollbars=1,resizable=0\'); win3036.focus(); return false;">Voir les r&eacute;sultats</a> - <a class="lien3036" href="#null" onclick="javascript:win3036=window.open(\'http://www.i-services.net/membres/sondage/resultats.php?uid=106367&sid=55321&id=62808&archives=1\',\'popup3036\',\'width=500,height=400,top=\'+((screen.height-400)/2)+\',left=\'+((screen.width-500)/2)+\',scrollbars=1,resizable=0\'); win3036.focus(); return false;">Voir les archives</a></div>\
</td>\
</tr>\
</table>\
</form>\
');
var cpt_3036=new Array();
var limite_cpt_3036=new Array();
var limite_type_3036=new Array();
var num_quest_3036=new Array();


cpt_3036[32058]=0;
limite_cpt_3036[32058]=0;
limite_type_3036[32058]='max';
num_quest_3036[32058]=1;


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

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

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

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

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

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

		return false;
	}

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

	return true;
}


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


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

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

		posX+=offsetX;
		posY+=offsetY;

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

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

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

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