document.write('<style type="text/css">\
<!--\
table.cadre6036\
{\
border-style: solid;\
border-color: #808080;\
border-width: 1px;\
background-color: #FFFFFF;\
background-image: url();\
}\
tr.titre6036\
{\
background-color: #FFFFFF;\
}\
td.titre6036\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #000000;\
border-bottom-style: solid;\
border-bottom-color: #808080;\
border-bottom-width: 1px;\
}\
td.contenu6036\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #000000;\
}\
td.question6036\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #000000;\
}\
a.lien6036\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #000000;\
text-decoration: underline;\
}\
a.lien6036:visited\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #000000;\
text-decoration: underline;\
}\
a.lien6036:active\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #000000;\
text-decoration: underline;\
}\
a.lien6036:hover\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #000000;\
text-decoration: underline;\
}\
form.form6036\
{\
margin: 0px;\
}\
input.bouton6036\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
}\
input.radio6036, input.checkbox6036\
{\
background-color: transparent;\
border-width: 0px;\
}\
//-->\
</style>\
');document.write('<div id="layer6036" style="position:absolute; visibility: hidden;"></div><form class="form6036" name="formSondage6036" method="post" action="http://www.i-services.net/membres/sondage/valider.php?uid=124010&sid=68593&id=70679" target="popup6036" onsubmit="javascript:if(formSubmit6036() == true) { win6036=window.open(\'\',\'popup6036\',\'width=500,height=400,top=\'+((screen.height-400)/2)+\',left=\'+((screen.width-500)/2)+\',scrollbars=1,resizable=0\'); win6036.focus(); return true; } else return false;">\
<input type="hidden" name="referer" value="" />\
<table class="cadre6036" border="0" cellpadding="3" cellspacing="0" width="250">\
<tr class="titre6036">\
<td class="titre6036" colspan="2" align="left"><b>Sondage n&deg;2</b></td>\
</tr>\
<tr>\
<td class="question6036" colspan="2" align="left">Qu\'attendez-vous le plus ?</td>\
</tr>\
<tr>\
<td class="contenu6036" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="checkbox6036" type="checkbox" name="question41898[]" value="230814" onclick="javascript:compter6036(this,41898);" /></td>\
<td class="contenu6036" width="99%" align="left" valign="middle">Des Avatars / Gifs\
</td>\
</tr>\
<tr>\
<td class="contenu6036" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="checkbox6036" type="checkbox" name="question41898[]" value="230815" onclick="javascript:compter6036(this,41898);" /></td>\
<td class="contenu6036" width="99%" align="left" valign="middle">Des Download / Episodes\
</td>\
</tr>\
<tr>\
<td class="contenu6036" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="checkbox6036" type="checkbox" name="question41898[]" value="230816" onclick="javascript:compter6036(this,41898);" /></td>\
<td class="contenu6036" width="99%" align="left" valign="middle">Des Magazines / Wallpapers\
</td>\
</tr>\
<tr>\
<td class="contenu6036" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="checkbox6036" type="checkbox" name="question41898[]" value="230817" onclick="javascript:compter6036(this,41898);" /></td>\
<td class="contenu6036" width="99%" align="left" valign="middle">Des Apparitions Publiques / Galeries\
</td>\
</tr>\
<tr>\
<td class="contenu6036" colspan="2" align="center">\
<div style="margin: 2px;"><input class="bouton6036" type="submit" value="Valider" /></div>\
<div style="margin: 2px;"><a class="lien6036" href="#null" onclick="javascript:win6036=window.open(\'http://www.i-services.net/membres/sondage/resultats.php?uid=124010&sid=68593&id=70679\',\'popup6036\',\'width=500,height=400,top=\'+((screen.height-400)/2)+\',left=\'+((screen.width-500)/2)+\',scrollbars=1,resizable=0\'); win6036.focus(); return false;">Voir les r&eacute;sultats</a> - <a class="lien6036" href="#null" onclick="javascript:win6036=window.open(\'http://www.i-services.net/membres/sondage/resultats.php?uid=124010&sid=68593&id=70679&archives=1\',\'popup6036\',\'width=500,height=400,top=\'+((screen.height-400)/2)+\',left=\'+((screen.width-500)/2)+\',scrollbars=1,resizable=0\'); win6036.focus(); return false;">Voir les archives</a></div>\
</td>\
</tr>\
<tr>\
<td class="contenu6036" colspan="2" align="center" style="border-top-style: solid; border-top-color: #808080; border-top-width: 1px;">Service gratuit offert par <a class="lien6036" href="http://www.i-services.net/membres/sondage/index.php?refid=124010" target="_blank">I-Services</a></td>\
</tr>\
</table>\
</form>\
');
var cpt_6036=new Array();
var limite_cpt_6036=new Array();
var limite_type_6036=new Array();
var num_quest_6036=new Array();


cpt_6036[41898]=0;
limite_cpt_6036[41898]=0;
limite_type_6036[41898]='max';
num_quest_6036[41898]=1;


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

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

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

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

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

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

		return false;
	}

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

	return true;
}


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


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

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

		posX+=offsetX;
		posY+=offsetY;

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

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

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

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