document.write('<style type="text/css">\
<!--\
table.cadre3433\
{\
border-style: solid;\
border-color: #FFFFFF;\
border-width: 1px;\
background-color: #FFFFFF;\
background-image: url();\
}\
tr.titre3433\
{\
background-color: #FFFFFF;\
}\
td.titre3433\
{\
font-family: Arial;\
font-size: 13px;\
font-weight: normal;\
color: #FFFFFF;\
border-bottom-style: solid;\
border-bottom-color: #FFFFFF;\
border-bottom-width: 1px;\
}\
td.contenu3433\
{\
font-family: Arial;\
font-size: 13px;\
font-weight: normal;\
color: #000000;\
}\
td.question3433\
{\
font-family: Arial;\
font-size: 13px;\
font-weight: bold;\
color: #0000FF;\
}\
a.lien3433\
{\
font-family: Arial;\
font-size: 13px;\
font-weight: normal;\
color: #808080;\
text-decoration: underline;\
}\
a.lien3433:visited\
{\
font-family: Arial;\
font-size: 13px;\
font-weight: normal;\
color: #808080;\
text-decoration: underline;\
}\
a.lien3433:active\
{\
font-family: Arial;\
font-size: 13px;\
font-weight: normal;\
color: #808080;\
text-decoration: underline;\
}\
a.lien3433:hover\
{\
font-family: Arial;\
font-size: 13px;\
font-weight: normal;\
color: #808080;\
text-decoration: underline;\
}\
form.form3433\
{\
margin: 0px;\
}\
input.bouton3433\
{\
font-family: Arial;\
font-size: 13px;\
font-weight: normal;\
}\
input.radio3433, input.checkbox3433\
{\
background-color: transparent;\
border-width: 0px;\
}\
//-->\
</style>\
');document.write('<div id="layer3433" style="position:absolute; visibility: hidden;"></div><form class="form3433" name="formSondage3433" method="post" action="http://www.i-services.net/membres/sondage/valider.php?uid=106367&sid=55321&id=62810" target="popup3433" onsubmit="javascript:if(formSubmit3433() == true) { win3433=window.open(\'\',\'popup3433\',\'width=500,height=400,top=\'+((screen.height-400)/2)+\',left=\'+((screen.width-500)/2)+\',scrollbars=1,resizable=0\'); win3433.focus(); return true; } else return false;">\
<input type="hidden" name="referer" value="" />\
<table class="cadre3433" border="0" cellpadding="3" cellspacing="0" width="250">\
<tr class="titre3433">\
<td class="titre3433" colspan="2" align="center"><b>Ville Oubli&eacute;e ?!!</b></td>\
</tr>\
<tr>\
<td class="question3433" colspan="2" align="left">Pensez-vous que Taza est vraiment une ville oubli&eacute;e ?</td>\
</tr>\
<tr>\
<td class="contenu3433" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio3433" type="radio" name="question32060" value="159573" onclick="javascript:compter3433(this,32060);" /></td>\
<td class="contenu3433" width="99%" align="left" valign="middle">Oui\
</td>\
</tr>\
<tr>\
<td class="contenu3433" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio3433" type="radio" name="question32060" value="159574" onclick="javascript:compter3433(this,32060);" /></td>\
<td class="contenu3433" width="99%" align="left" valign="middle">Non\
</td>\
</tr>\
<tr>\
<td class="contenu3433" colspan="2" align="center">\
<div style="margin: 2px;"><input class="bouton3433" type="submit" value="Valider" /></div>\
<div style="margin: 2px;"><a class="lien3433" href="#null" onclick="javascript:win3433=window.open(\'http://www.i-services.net/membres/sondage/resultats.php?uid=106367&sid=55321&id=62810\',\'popup3433\',\'width=500,height=400,top=\'+((screen.height-400)/2)+\',left=\'+((screen.width-500)/2)+\',scrollbars=1,resizable=0\'); win3433.focus(); return false;">Voir les r&eacute;sultats</a> - <a class="lien3433" href="#null" onclick="javascript:win3433=window.open(\'http://www.i-services.net/membres/sondage/resultats.php?uid=106367&sid=55321&id=62810&archives=1\',\'popup3433\',\'width=500,height=400,top=\'+((screen.height-400)/2)+\',left=\'+((screen.width-500)/2)+\',scrollbars=1,resizable=0\'); win3433.focus(); return false;">Voir les archives</a></div>\
</td>\
</tr>\
</table>\
</form>\
');
var cpt_3433=new Array();
var limite_cpt_3433=new Array();
var limite_type_3433=new Array();
var num_quest_3433=new Array();


cpt_3433[32060]=0;
limite_cpt_3433[32060]=0;
limite_type_3433[32060]='max';
num_quest_3433[32060]=1;


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

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

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

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

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

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

		return false;
	}

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

	return true;
}


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


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

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

		posX+=offsetX;
		posY+=offsetY;

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

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

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

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