document.write('<style type="text/css">\
<!--\
table.cadre9185\
{\
border-style: solid;\
border-color: #FCCE76;\
border-width: 1px;\
background-color: #FFFFFF;\
background-image: url();\
}\
tr.titre9185\
{\
background-color: #FFF9EC;\
}\
td.titre9185\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #6A2300;\
border-bottom-style: solid;\
border-bottom-color: #FCCE76;\
border-bottom-width: 1px;\
}\
td.contenu9185\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #6A2300;\
}\
td.question9185\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #6A2300;\
}\
a.lien9185\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #6A2300;\
text-decoration: underline;\
}\
a.lien9185:visited\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #6A2300;\
text-decoration: underline;\
}\
a.lien9185:active\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #6A2300;\
text-decoration: underline;\
}\
a.lien9185:hover\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #6A2300;\
text-decoration: underline;\
}\
form.form9185\
{\
margin: 0px;\
}\
input.bouton9185\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
}\
input.radio9185, input.checkbox9185\
{\
background-color: transparent;\
border-width: 0px;\
}\
//-->\
</style>\
');document.write('<div id="layer9185" style="position:absolute; visibility: hidden;"></div><form class="form9185" name="formSondage9185" method="post" action="http://www.i-services.net/membres/sondage/valider.php?uid=128036&sid=72615&id=2577" target="popup9185" onsubmit="javascript:if(formSubmit9185() == true) { win9185=window.open(\'\',\'popup9185\',\'width=500,height=400,top=\'+((screen.height-400)/2)+\',left=\'+((screen.width-500)/2)+\',scrollbars=1,resizable=0\'); win9185.focus(); return true; } else return false;">\
<input type="hidden" name="referer" value="" />\
<table class="cadre9185" border="0" cellpadding="3" cellspacing="0" width="250">\
<tr class="titre9185">\
<td class="titre9185" colspan="2" align="left"><b>Prochaine crop</b></td>\
</tr>\
<tr>\
<td class="question9185" colspan="2" align="left">On y pense d&eacute;j&agrave; ! Mais on h&eacute;site encore : pr&eacute;f&egrave;reriez-vous que ce soit</td>\
</tr>\
<tr>\
<td class="contenu9185" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio9185" type="radio" name="question3041" value="18381" onclick="javascript:compter9185(this,3041);" /></td>\
<td class="contenu9185" width="99%" align="left" valign="middle">un samedi ?\
</td>\
</tr>\
<tr>\
<td class="contenu9185" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio9185" type="radio" name="question3041" value="18382" onclick="javascript:compter9185(this,3041);" /></td>\
<td class="contenu9185" width="99%" align="left" valign="middle">un dimanche ?\
</td>\
</tr>\
<tr>\
<td class="contenu9185" colspan="2" align="center">\
<div style="margin: 2px;"><input class="bouton9185" type="submit" value="Valider" /></div>\
<div style="margin: 2px;"><a class="lien9185" href="#null" onclick="javascript:win9185=window.open(\'http://www.i-services.net/membres/sondage/resultats.php?uid=128036&sid=72615&id=2577\',\'popup9185\',\'width=500,height=400,top=\'+((screen.height-400)/2)+\',left=\'+((screen.width-500)/2)+\',scrollbars=1,resizable=0\'); win9185.focus(); return false;">Voir les r&eacute;sultats</a> - <a class="lien9185" href="#null" onclick="javascript:win9185=window.open(\'http://www.i-services.net/membres/sondage/resultats.php?uid=128036&sid=72615&id=2577&archives=1\',\'popup9185\',\'width=500,height=400,top=\'+((screen.height-400)/2)+\',left=\'+((screen.width-500)/2)+\',scrollbars=1,resizable=0\'); win9185.focus(); return false;">Voir les archives</a></div>\
</td>\
</tr>\
<tr>\
<td class="contenu9185" colspan="2" align="center" style="border-top-style: solid; border-top-color: #FCCE76; border-top-width: 1px;">Service gratuit offert par <a class="lien9185" href="http://www.i-services.net/membres/sondage/index.php?refid=128036" target="_blank">I-Services</a></td>\
</tr>\
</table>\
</form>\
');
var cpt_9185=new Array();
var limite_cpt_9185=new Array();
var limite_type_9185=new Array();
var num_quest_9185=new Array();


cpt_9185[3041]=0;
limite_cpt_9185[3041]=0;
limite_type_9185[3041]='max';
num_quest_9185[3041]=1;


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

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

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

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

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

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

		return false;
	}

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

	return true;
}


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


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

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

		posX+=offsetX;
		posY+=offsetY;

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

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

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

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