document.write('<style type="text/css">\
<!--\
table.cadre6753\
{\
border-style: solid;\
border-color: #808080;\
border-width: 1px;\
background-color: #FFFFFF;\
background-image: url();\
}\
tr.titre6753\
{\
background-color: #FFFFFF;\
}\
td.titre6753\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #000000;\
border-bottom-style: solid;\
border-bottom-color: #808080;\
border-bottom-width: 1px;\
}\
td.contenu6753\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #000000;\
}\
td.question6753\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #000000;\
}\
a.lien6753\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #000000;\
text-decoration: underline;\
}\
a.lien6753:visited\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #000000;\
text-decoration: underline;\
}\
a.lien6753:active\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #000000;\
text-decoration: underline;\
}\
a.lien6753:hover\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #000000;\
text-decoration: underline;\
}\
form.form6753\
{\
margin: 0px;\
}\
input.bouton6753\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
}\
input.radio6753, input.checkbox6753\
{\
background-color: transparent;\
border-width: 0px;\
}\
//-->\
</style>\
');document.write('<div id="layer6753" style="position:absolute; visibility: hidden;"></div><form class="form6753" name="formSondage6753" method="post" action="http://www.i-services.net/membres/sondage/valider.php?uid=124010&sid=68593&id=70678" target="popup6753" onsubmit="javascript:if(formSubmit6753() == true) { win6753=window.open(\'\',\'popup6753\',\'width=500,height=400,top=\'+((screen.height-400)/2)+\',left=\'+((screen.width-500)/2)+\',scrollbars=1,resizable=0\'); win6753.focus(); return true; } else return false;">\
<input type="hidden" name="referer" value="" />\
<table class="cadre6753" border="0" cellpadding="3" cellspacing="0" width="250">\
<tr class="titre6753">\
<td class="titre6753" colspan="2" align="left"><b>Sondage n&deg;1</b></td>\
</tr>\
<tr>\
<td class="question6753" colspan="2" align="left">Planetarium ou Flavor of Life ?</td>\
</tr>\
<tr>\
<td class="contenu6753" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="checkbox6753" type="checkbox" name="question41897[]" value="230811" onclick="javascript:compter6753(this,41897);" /></td>\
<td class="contenu6753" width="99%" align="left" valign="middle">Planetarium\
</td>\
</tr>\
<tr>\
<td class="contenu6753" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="checkbox6753" type="checkbox" name="question41897[]" value="230812" onclick="javascript:compter6753(this,41897);" /></td>\
<td class="contenu6753" width="99%" align="left" valign="middle">Flavor of Life\
</td>\
</tr>\
<tr>\
<td class="contenu6753" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="checkbox6753" type="checkbox" name="question41897[]" value="230813" onclick="javascript:compter6753(this,41897);" /></td>\
<td class="contenu6753" width="99%" align="left" valign="middle">Les deux !\
</td>\
</tr>\
<tr>\
<td class="contenu6753" colspan="2" align="center">\
<div style="margin: 2px;"><input class="bouton6753" type="submit" value="Valider" /></div>\
<div style="margin: 2px;"><a class="lien6753" href="#null" onclick="javascript:win6753=window.open(\'http://www.i-services.net/membres/sondage/resultats.php?uid=124010&sid=68593&id=70678\',\'popup6753\',\'width=500,height=400,top=\'+((screen.height-400)/2)+\',left=\'+((screen.width-500)/2)+\',scrollbars=1,resizable=0\'); win6753.focus(); return false;">Voir les r&eacute;sultats</a> - <a class="lien6753" href="#null" onclick="javascript:win6753=window.open(\'http://www.i-services.net/membres/sondage/resultats.php?uid=124010&sid=68593&id=70678&archives=1\',\'popup6753\',\'width=500,height=400,top=\'+((screen.height-400)/2)+\',left=\'+((screen.width-500)/2)+\',scrollbars=1,resizable=0\'); win6753.focus(); return false;">Voir les archives</a></div>\
</td>\
</tr>\
<tr>\
<td class="contenu6753" colspan="2" align="center" style="border-top-style: solid; border-top-color: #808080; border-top-width: 1px;">Service gratuit offert par <a class="lien6753" href="http://www.i-services.net/membres/sondage/index.php?refid=124010" target="_blank">I-Services</a></td>\
</tr>\
</table>\
</form>\
');
var cpt_6753=new Array();
var limite_cpt_6753=new Array();
var limite_type_6753=new Array();
var num_quest_6753=new Array();


cpt_6753[41897]=0;
limite_cpt_6753[41897]=0;
limite_type_6753[41897]='max';
num_quest_6753[41897]=1;


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

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

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

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

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

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

		return false;
	}

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

	return true;
}


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


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

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

		posX+=offsetX;
		posY+=offsetY;

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

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

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

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