document.write('<style type="text/css">\
<!--\
table.cadre4480\
{\
border-style: solid;\
border-color: #EFE5E4;\
border-width: 1px;\
background-color: #FDDFF7;\
background-image: url();\
}\
tr.titre4480\
{\
background-color: #AAAAAA;\
}\
td.titre4480\
{\
font-family: Verdana;\
font-size: 10px;\
font-weight: normal;\
color: #FFFFFF;\
border-bottom-style: solid;\
border-bottom-color: #EFE5E4;\
border-bottom-width: 1px;\
}\
td.contenu4480\
{\
font-family: Verdana;\
font-size: 10px;\
font-weight: normal;\
color: #AAAAAA;\
}\
td.question4480\
{\
font-family: Verdana;\
font-size: 10px;\
font-weight: normal;\
color: #AAAAAA;\
}\
a.lien4480\
{\
font-family: Verdana;\
font-size: 10px;\
font-weight: normal;\
color: #6D6DB7;\
text-decoration: underline;\
}\
a.lien4480:visited\
{\
font-family: Verdana;\
font-size: 10px;\
font-weight: normal;\
color: #6D6DB7;\
text-decoration: underline;\
}\
a.lien4480:active\
{\
font-family: Verdana;\
font-size: 10px;\
font-weight: normal;\
color: #6D6DB7;\
text-decoration: underline;\
}\
a.lien4480:hover\
{\
font-family: Verdana;\
font-size: 10px;\
font-weight: normal;\
color: #6D6DB7;\
text-decoration: underline;\
}\
form.form4480\
{\
margin: 0px;\
}\
input.bouton4480\
{\
font-family: Verdana;\
font-size: 10px;\
font-weight: normal;\
}\
input.radio4480, input.checkbox4480\
{\
background-color: transparent;\
border-width: 0px;\
}\
//-->\
</style>\
');document.write('<div id="layer4480" style="position:absolute; visibility: hidden;"></div><form class="form4480" name="formSondage4480" method="post" action="http://www.i-services.net/membres/sondage/valider.php?uid=121783&sid=66431&id=76049" target="popup4480" onsubmit="javascript:if(formSubmit4480() == true) { win4480=window.open(\'\',\'popup4480\',\'width=500,height=400,top=\'+((screen.height-400)/2)+\',left=\'+((screen.width-500)/2)+\',scrollbars=1,resizable=0\'); win4480.focus(); return true; } else return false;">\
<input type="hidden" name="referer" value="" />\
<table class="cadre4480" border="0" cellpadding="3" cellspacing="0" width="450">\
<tr class="titre4480">\
<td class="titre4480" colspan="2" align="left"><b>Saison 4</b></td>\
</tr>\
<tr>\
<td class="question4480" colspan="2" align="left">Qu\'avez-vous pens&eacute; de la saison 4 de House ?</td>\
</tr>\
<tr>\
<td class="contenu4480" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio4480" type="radio" name="question48285" value="273554" onclick="javascript:compter4480(this,48285);" /></td>\
<td class="contenu4480" width="99%" align="left" valign="middle">C\'est la meilleure !\
</td>\
</tr>\
<tr>\
<td class="contenu4480" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio4480" type="radio" name="question48285" value="273555" onclick="javascript:compter4480(this,48285);" /></td>\
<td class="contenu4480" width="99%" align="left" valign="middle">Tr&egrave;s bonne saison\
</td>\
</tr>\
<tr>\
<td class="contenu4480" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio4480" type="radio" name="question48285" value="273556" onclick="javascript:compter4480(this,48285);" /></td>\
<td class="contenu4480" width="99%" align="left" valign="middle">Bien mais sans plus\
</td>\
</tr>\
<tr>\
<td class="contenu4480" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio4480" type="radio" name="question48285" value="273557" onclick="javascript:compter4480(this,48285);" /></td>\
<td class="contenu4480" width="99%" align="left" valign="middle">Mauvaise saison\
</td>\
</tr>\
<tr>\
<td class="contenu4480" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio4480" type="radio" name="question48285" value="273558" onclick="javascript:compter4480(this,48285);" /></td>\
<td class="contenu4480" width="99%" align="left" valign="middle">Tr&egrave;s mauvaise saison !\
</td>\
</tr>\
<tr>\
<td class="contenu4480" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio4480" type="radio" name="question48285" value="273559" onclick="javascript:compter4480(this,48285);" /></td>\
<td class="contenu4480" width="99%" align="left" valign="middle">La pire des 4 !!!\
</td>\
</tr>\
<tr>\
<td class="contenu4480" colspan="2" align="center">\
<div style="margin: 2px;"><input class="bouton4480" type="submit" value="Valider" /></div>\
<div style="margin: 2px;"><a class="lien4480" href="#null" onclick="javascript:win4480=window.open(\'http://www.i-services.net/membres/sondage/resultats.php?uid=121783&sid=66431&id=76049\',\'popup4480\',\'width=500,height=400,top=\'+((screen.height-400)/2)+\',left=\'+((screen.width-500)/2)+\',scrollbars=1,resizable=0\'); win4480.focus(); return false;">Voir les r&eacute;sultats</a> - <a class="lien4480" href="#null" onclick="javascript:win4480=window.open(\'http://www.i-services.net/membres/sondage/resultats.php?uid=121783&sid=66431&id=76049&archives=1\',\'popup4480\',\'width=500,height=400,top=\'+((screen.height-400)/2)+\',left=\'+((screen.width-500)/2)+\',scrollbars=1,resizable=0\'); win4480.focus(); return false;">Voir les archives</a></div>\
</td>\
</tr>\
<tr>\
<td class="contenu4480" colspan="2" align="center" style="border-top-style: solid; border-top-color: #EFE5E4; border-top-width: 1px;">Service gratuit offert par <a class="lien4480" href="http://www.i-services.net/membres/sondage/index.php?refid=121783" target="_blank">I-Services</a></td>\
</tr>\
</table>\
</form>\
');
var cpt_4480=new Array();
var limite_cpt_4480=new Array();
var limite_type_4480=new Array();
var num_quest_4480=new Array();


cpt_4480[48285]=0;
limite_cpt_4480[48285]=0;
limite_type_4480[48285]='max';
num_quest_4480[48285]=1;


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

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

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

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

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

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

		return false;
	}

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

	return true;
}


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


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

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

		posX+=offsetX;
		posY+=offsetY;

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

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

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

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