document.write('<style type="text/css">\
<!--\
table.cadre4200\
{\
border-style: solid;\
border-color: #F1DEB3;\
border-width: 1px;\
background-color: #F1DEB3;\
background-image: url();\
}\
tr.titre4200\
{\
background-color: #F1DEB3;\
}\
td.titre4200\
{\
font-family: Verdana;\
font-size: 9px;\
font-weight: normal;\
color: #6A2300;\
border-bottom-style: solid;\
border-bottom-color: #F1DEB3;\
border-bottom-width: 1px;\
}\
td.contenu4200\
{\
font-family: Verdana;\
font-size: 9px;\
font-weight: normal;\
color: #000000;\
}\
td.question4200\
{\
font-family: Verdana;\
font-size: 9px;\
font-weight: normal;\
color: #000000;\
}\
a.lien4200\
{\
font-family: Verdana;\
font-size: 9px;\
font-weight: normal;\
color: #6A2300;\
text-decoration: underline;\
}\
a.lien4200:visited\
{\
font-family: Verdana;\
font-size: 9px;\
font-weight: normal;\
color: #6A2300;\
text-decoration: underline;\
}\
a.lien4200:active\
{\
font-family: Verdana;\
font-size: 9px;\
font-weight: normal;\
color: #6A2300;\
text-decoration: underline;\
}\
a.lien4200:hover\
{\
font-family: Verdana;\
font-size: 9px;\
font-weight: normal;\
color: #6A2300;\
text-decoration: underline;\
}\
form.form4200\
{\
margin: 0px;\
}\
input.bouton4200\
{\
font-family: Verdana;\
font-size: 9px;\
font-weight: normal;\
}\
input.radio4200, input.checkbox4200\
{\
background-color: transparent;\
border-width: 0px;\
}\
//-->\
</style>\
');document.write('<div id="layer4200" style="position:absolute; visibility: hidden;"></div><form class="form4200" name="formSondage4200" method="post" action="http://www.i-services.net/membres/sondage/valider.php?uid=90357&sid=45561&id=53615" target="popup4200" onsubmit="javascript:if(formSubmit4200() == true) { win4200=window.open(\'\',\'popup4200\',\'width=500,height=400,top=\'+((screen.height-400)/2)+\',left=\'+((screen.width-500)/2)+\',scrollbars=1,resizable=0\'); win4200.focus(); return true; } else return false;">\
<input type="hidden" name="referer" value="" />\
<table class="cadre4200" border="0" cellpadding="3" cellspacing="0" width="145">\
<tr class="titre4200">\
<td class="titre4200" colspan="2" align="left"><b>SONDAGE Novembre</b></td>\
</tr>\
<tr>\
<td class="question4200" colspan="2" align="left">La Franc-ma&ccedil;onnerie</td>\
</tr>\
<tr>\
<td class="contenu4200" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio4200" type="radio" name="question20224" value="102011" onclick="javascript:compter4200(this,20224);" /></td>\
<td class="contenu4200" width="99%" align="left" valign="middle">... vous fascine\
</td>\
</tr>\
<tr>\
<td class="contenu4200" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio4200" type="radio" name="question20224" value="102012" onclick="javascript:compter4200(this,20224);" /></td>\
<td class="contenu4200" width="99%" align="left" valign="middle">... vous intrigue\
</td>\
</tr>\
<tr>\
<td class="contenu4200" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio4200" type="radio" name="question20224" value="102013" onclick="javascript:compter4200(this,20224);" /></td>\
<td class="contenu4200" width="99%" align="left" valign="middle">... vous rend m&eacute;fiant\
</td>\
</tr>\
<tr>\
<td class="contenu4200" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio4200" type="radio" name="question20224" value="102014" onclick="javascript:compter4200(this,20224);" /></td>\
<td class="contenu4200" width="99%" align="left" valign="middle">... vous fait peur\
</td>\
</tr>\
<tr>\
<td class="contenu4200" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio4200" type="radio" name="question20224" value="102015" onclick="javascript:compter4200(this,20224);" /></td>\
<td class="contenu4200" width="99%" align="left" valign="middle">... vous indiff&egrave;re\
</td>\
</tr>\
<tr>\
<td class="contenu4200" colspan="2" align="center">\
<div style="margin: 2px;"><input class="bouton4200" type="submit" value="Valider" /></div>\
<div style="margin: 2px;"><a class="lien4200" href="#null" onclick="javascript:win4200=window.open(\'http://www.i-services.net/membres/sondage/resultats.php?uid=90357&sid=45561&id=53615\',\'popup4200\',\'width=500,height=400,top=\'+((screen.height-400)/2)+\',left=\'+((screen.width-500)/2)+\',scrollbars=1,resizable=0\'); win4200.focus(); return false;">R&eacute;sultats</a> - <a class="lien4200" href="#null" onclick="javascript:win4200=window.open(\'http://www.i-services.net/membres/sondage/resultats.php?uid=90357&sid=45561&id=53615&archives=1\',\'popup4200\',\'width=500,height=400,top=\'+((screen.height-400)/2)+\',left=\'+((screen.width-500)/2)+\',scrollbars=1,resizable=0\'); win4200.focus(); return false;">Archives</a></div>\
</td>\
</tr>\
<tr>\
<td class="contenu4200" colspan="2" align="center" style="border-top-style: solid; border-top-color: #F1DEB3; border-top-width: 1px;">Service offert par <a class="lien4200" href="http://www.i-services.net/membres/sondage/index.php?refid=90357" target="_blank">I-Services</a></td>\
</tr>\
</table>\
</form>\
');
var cpt_4200=new Array();
var limite_cpt_4200=new Array();
var limite_type_4200=new Array();
var num_quest_4200=new Array();


cpt_4200[20224]=0;
limite_cpt_4200[20224]=0;
limite_type_4200[20224]='max';
num_quest_4200[20224]=1;


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

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

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

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

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

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

		return false;
	}

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

	return true;
}


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


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

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

		posX+=offsetX;
		posY+=offsetY;

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

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

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

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