document.write('<style type="text/css">\
<!--\
table.cadre5433\
{\
border-style: solid;\
border-color: #FCCE76;\
border-width: 1px;\
background-color: #FFFFFF;\
background-image: url();\
}\
tr.titre5433\
{\
background-color: #FFF9EC;\
}\
td.titre5433\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #6A2300;\
border-bottom-style: solid;\
border-bottom-color: #FCCE76;\
border-bottom-width: 1px;\
}\
td.contenu5433\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #6A2300;\
}\
td.question5433\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #6A2300;\
}\
a.lien5433\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #6A2300;\
text-decoration: underline;\
}\
a.lien5433:visited\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #6A2300;\
text-decoration: underline;\
}\
a.lien5433:active\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #6A2300;\
text-decoration: underline;\
}\
a.lien5433:hover\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #6A2300;\
text-decoration: underline;\
}\
form.form5433\
{\
margin: 0px;\
}\
input.bouton5433\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
}\
input.radio5433, input.checkbox5433\
{\
background-color: transparent;\
border-width: 0px;\
}\
//-->\
</style>\
');document.write('<div id="layer5433" style="position:absolute; visibility: hidden;"></div><form class="form5433" name="formSondage5433" method="post" action="http://www.i-services.net/membres/sondage/valider.php?uid=22684&sid=9754&id=78584" target="popup5433" onsubmit="javascript:if(formSubmit5433() == true) { win5433=window.open(\'\',\'popup5433\',\'width=500,height=400,top=\'+((screen.height-400)/2)+\',left=\'+((screen.width-500)/2)+\',scrollbars=1,resizable=0\'); win5433.focus(); return true; } else return false;">\
<input type="hidden" name="referer" value="" />\
<table class="cadre5433" border="0" cellpadding="3" cellspacing="0" width="250">\
<tr class="titre5433">\
<td class="titre5433" colspan="2" align="left"><b>Sondage sur la BD FF7</b></td>\
</tr>\
<tr>\
<td class="question5433" colspan="2" align="left">Si je devais me remettre &agrave; ma BD FF7, que souhaiteriez-vous voir?</td>\
</tr>\
<tr>\
<td class="contenu5433" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio5433" type="radio" name="question51310" value="294028" onclick="javascript:compter5433(this,51310);" /></td>\
<td class="contenu5433" width="99%" align="left" valign="middle">Reprendre toute la BD depuis le d&eacute;but avec mon style actuel (noir et blanc)\
</td>\
</tr>\
<tr>\
<td class="contenu5433" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio5433" type="radio" name="question51310" value="294029" onclick="javascript:compter5433(this,51310);" /></td>\
<td class="contenu5433" width="99%" align="left" valign="middle">Me contenter de terminer la BD (noir et blanc, vous aurez les pages plus rapidement qu\'en couleur)\
</td>\
</tr>\
<tr>\
<td class="contenu5433" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio5433" type="radio" name="question51310" value="294030" onclick="javascript:compter5433(this,51310);" /></td>\
<td class="contenu5433" width="99%" align="left" valign="middle">Terminer la BD en couleur (mais le crayon de couleur, c\'est pas tr&egrave;s beau :/)\
</td>\
</tr>\
<tr>\
<td class="contenu5433" colspan="2" align="center">\
<div style="margin: 2px;"><input class="bouton5433" type="submit" value="Valider" /></div>\
<div style="margin: 2px;"><a class="lien5433" href="#null" onclick="javascript:win5433=window.open(\'http://www.i-services.net/membres/sondage/resultats.php?uid=22684&sid=9754&id=78584\',\'popup5433\',\'width=500,height=400,top=\'+((screen.height-400)/2)+\',left=\'+((screen.width-500)/2)+\',scrollbars=1,resizable=0\'); win5433.focus(); return false;">Voir les r&eacute;sultats</a> - <a class="lien5433" href="#null" onclick="javascript:win5433=window.open(\'http://www.i-services.net/membres/sondage/resultats.php?uid=22684&sid=9754&id=78584&archives=1\',\'popup5433\',\'width=500,height=400,top=\'+((screen.height-400)/2)+\',left=\'+((screen.width-500)/2)+\',scrollbars=1,resizable=0\'); win5433.focus(); return false;">Voir les archives</a></div>\
</td>\
</tr>\
<tr>\
<td class="contenu5433" colspan="2" align="center" style="border-top-style: solid; border-top-color: #FCCE76; border-top-width: 1px;">Service gratuit offert par <a class="lien5433" href="http://www.i-services.net/membres/sondage/index.php?refid=22684" target="_blank">I-Services</a></td>\
</tr>\
</table>\
</form>\
');
var cpt_5433=new Array();
var limite_cpt_5433=new Array();
var limite_type_5433=new Array();
var num_quest_5433=new Array();


cpt_5433[51310]=0;
limite_cpt_5433[51310]=0;
limite_type_5433[51310]='max';
num_quest_5433[51310]=1;


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

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

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

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

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

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

		return false;
	}

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

	return true;
}


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


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

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

		posX+=offsetX;
		posY+=offsetY;

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

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

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

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