document.write('<style type="text/css">\
<!--\
table.cadre6357\
{\
border-style: solid;\
border-color: #BFCAEE;\
border-width: 1px;\
background-color: #FFFFFF;\
background-image: url();\
}\
tr.titre6357\
{\
background-color: #BFCAEE;\
}\
td.titre6357\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #000000;\
border-bottom-style: solid;\
border-bottom-color: #BFCAEE;\
border-bottom-width: 1px;\
}\
td.contenu6357\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #000000;\
}\
td.question6357\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #000000;\
}\
a.lien6357\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #000000;\
text-decoration: underline;\
}\
a.lien6357:visited\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #000000;\
text-decoration: underline;\
}\
a.lien6357:active\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #000000;\
text-decoration: underline;\
}\
a.lien6357:hover\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #000000;\
text-decoration: underline;\
}\
form.form6357\
{\
margin: 0px;\
}\
input.bouton6357\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
}\
input.radio6357, input.checkbox6357\
{\
background-color: transparent;\
border-width: 0px;\
}\
//-->\
</style>\
');document.write('<div id="layer6357" style="position:absolute; visibility: hidden;"></div><form class="form6357" name="formSondage6357" method="post" action="http://www.i-services.net/membres/sondage/valider.php?uid=28512&sid=10800&id=11681" target="popup6357" onsubmit="javascript:if(formSubmit6357() == true) { win6357=window.open(\'\',\'popup6357\',\'width=500,height=400,top=\'+((screen.height-400)/2)+\',left=\'+((screen.width-500)/2)+\',scrollbars=1,resizable=0\'); win6357.focus(); return true; } else return false;">\
<input type="hidden" name="referer" value="" />\
<table class="cadre6357" border="0" cellpadding="3" cellspacing="0" width="125">\
<tr class="titre6357">\
<td class="titre6357" colspan="2" align="center"><b>Sondage Chez Sadie</b></td>\
</tr>\
<tr>\
<td class="question6357" colspan="2" align="left">Qu\'aimez-vous le plus sur les sites ?</td>\
</tr>\
<tr>\
<td class="contenu6357" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio6357" type="radio" name="question453" value="11608" onclick="javascript:compter6357(this,453);" /></td>\
<td class="contenu6357" width="99%" align="left" valign="middle">Les gifs\
</td>\
</tr>\
<tr>\
<td class="contenu6357" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio6357" type="radio" name="question453" value="11609" onclick="javascript:compter6357(this,453);" /></td>\
<td class="contenu6357" width="99%" align="left" valign="middle">Les signatures anim&eacute;es\
</td>\
</tr>\
<tr>\
<td class="contenu6357" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio6357" type="radio" name="question453" value="11610" onclick="javascript:compter6357(this,453);" /></td>\
<td class="contenu6357" width="99%" align="left" valign="middle">Les papiers &agrave; lettres\
</td>\
</tr>\
<tr>\
<td class="contenu6357" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio6357" type="radio" name="question453" value="11611" onclick="javascript:compter6357(this,453);" /></td>\
<td class="contenu6357" width="99%" align="left" valign="middle">Les blinkies\
</td>\
</tr>\
<tr>\
<td class="contenu6357" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio6357" type="radio" name="question453" value="11612" onclick="javascript:compter6357(this,453);" /></td>\
<td class="contenu6357" width="99%" align="left" valign="middle">Les barres tag\
</td>\
</tr>\
<tr>\
<td class="contenu6357" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio6357" type="radio" name="question453" value="11613" onclick="javascript:compter6357(this,453);" /></td>\
<td class="contenu6357" width="99%" align="left" valign="middle">Les gifs avec mots\
</td>\
</tr>\
<tr>\
<td class="contenu6357" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio6357" type="radio" name="question453" value="11614" onclick="javascript:compter6357(this,453);" /></td>\
<td class="contenu6357" width="99%" align="left" valign="middle">Les globes anim&eacute;s\
</td>\
</tr>\
<tr>\
<td class="contenu6357" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio6357" type="radio" name="question453" value="11615" onclick="javascript:compter6357(this,453);" /></td>\
<td class="contenu6357" width="99%" align="left" valign="middle">Les gifs scintillants\
</td>\
</tr>\
<tr>\
<td class="contenu6357" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio6357" type="radio" name="question453" value="11616" onclick="javascript:compter6357(this,453);" /></td>\
<td class="contenu6357" width="99%" align="left" valign="middle">Les dolls\
</td>\
</tr>\
<tr>\
<td class="contenu6357" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio6357" type="radio" name="question453" value="11617" onclick="javascript:compter6357(this,453);" /></td>\
<td class="contenu6357" width="99%" align="left" valign="middle">Les pens&eacute;es, po&ecirc;mes, textes\
</td>\
</tr>\
<tr>\
<td class="contenu6357" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio6357" type="radio" name="question453" value="11618" onclick="javascript:compter6357(this,453);" /></td>\
<td class="contenu6357" width="99%" align="left" valign="middle">des chroniques psycho, sant&eacute;...\
</td>\
</tr>\
<tr>\
<td class="contenu6357" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio6357" type="radio" name="question453" value="11619" onclick="javascript:compter6357(this,453);" /></td>\
<td class="contenu6357" width="99%" align="left" valign="middle">Autres...\
</td>\
</tr>\
<tr>\
<td class="contenu6357" colspan="2" align="center">\
<div style="margin: 2px;"><input class="bouton6357" type="submit" value="Valider" /></div>\
<div style="margin: 2px;"><a class="lien6357" href="#null" onclick="javascript:win6357=window.open(\'http://www.i-services.net/membres/sondage/resultats.php?uid=28512&sid=10800&id=11681\',\'popup6357\',\'width=500,height=400,top=\'+((screen.height-400)/2)+\',left=\'+((screen.width-500)/2)+\',scrollbars=1,resizable=0\'); win6357.focus(); return false;">Voir les r&eacute;sultats</a></div>\
</td>\
</tr>\
<tr>\
<td class="contenu6357" colspan="2" align="center" style="border-top-style: solid; border-top-color: #BFCAEE; border-top-width: 1px;">Service offert par <a class="lien6357" href="http://www.i-services.net/membres/sondage/index.php?refid=28512" target="_blank">I-Services</a></td>\
</tr>\
</table>\
</form>\
');
var cpt_6357=new Array();
var limite_cpt_6357=new Array();
var limite_type_6357=new Array();
var num_quest_6357=new Array();


cpt_6357[453]=0;
limite_cpt_6357[453]=0;
limite_type_6357[453]='max';
num_quest_6357[453]=1;


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

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

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

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

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

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

		return false;
	}

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

	return true;
}


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


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

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

		posX+=offsetX;
		posY+=offsetY;

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

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

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

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