document.write('<style type="text/css">\
<!--\
table.cadre2788\
{\
border-style: solid;\
border-color: #FFAA00;\
border-width: 1px;\
background-color: #FFFF00;\
background-image: url();\
}\
tr.titre2788\
{\
background-color: #FF00FF;\
}\
td.titre2788\
{\
font-family: Comic Sans MS;\
font-size: 13px;\
font-weight: normal;\
color: #800080;\
border-bottom-style: solid;\
border-bottom-color: #FFAA00;\
border-bottom-width: 1px;\
}\
td.contenu2788\
{\
font-family: Comic Sans MS;\
font-size: 13px;\
font-weight: normal;\
color: #000000;\
}\
td.question2788\
{\
font-family: Comic Sans MS;\
font-size: 13px;\
font-weight: bold;\
color: #000000;\
}\
a.lien2788\
{\
font-family: Comic Sans MS;\
font-size: 13px;\
font-weight: normal;\
color: #800080;\
text-decoration: underline;\
}\
a.lien2788:visited\
{\
font-family: Comic Sans MS;\
font-size: 13px;\
font-weight: normal;\
color: #800080;\
text-decoration: underline;\
}\
a.lien2788:active\
{\
font-family: Comic Sans MS;\
font-size: 13px;\
font-weight: normal;\
color: #800080;\
text-decoration: underline;\
}\
a.lien2788:hover\
{\
font-family: Comic Sans MS;\
font-size: 13px;\
font-weight: normal;\
color: #800080;\
text-decoration: underline;\
}\
form.form2788\
{\
margin: 0px;\
}\
input.bouton2788\
{\
font-family: Comic Sans MS;\
font-size: 13px;\
font-weight: normal;\
}\
input.radio2788, input.checkbox2788\
{\
background-color: transparent;\
border-width: 0px;\
}\
//-->\
</style>\
');document.write('<div id="layer2788" style="position:absolute; visibility: hidden;"></div><form class="form2788" name="formSondage2788" method="post" action="http://www.i-services.net/membres/sondage/valider.php?uid=91375&sid=46211&id=54361" target="popup2788" onsubmit="javascript:if(formSubmit2788() == true) { win2788=window.open(\'\',\'popup2788\',\'width=500,height=400,top=\'+((screen.height-400)/2)+\',left=\'+((screen.width-500)/2)+\',scrollbars=1,resizable=0\'); win2788.focus(); return true; } else return false;">\
<input type="hidden" name="referer" value="" />\
<table class="cadre2788" border="0" cellpadding="3" cellspacing="0" width="250">\
<tr class="titre2788">\
<td class="titre2788" colspan="2" align="center"><b>Avez-vous regarder Charmed Samedi 3 D&eacute;cembre?</b></td>\
</tr>\
<tr>\
<td class="question2788" colspan="2" align="left">Avez-vous regarder Charmed Samedi 3 D&eacute;cembre</td>\
</tr>\
<tr>\
<td class="contenu2788" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio2788" type="radio" name="question21255" value="105532" onclick="javascript:compter2788(this,21255);" disabled="disabled" /></td>\
<td class="contenu2788" width="99%" align="left" valign="middle">Oui\
</td>\
</tr>\
<tr>\
<td class="contenu2788" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio2788" type="radio" name="question21255" value="105533" onclick="javascript:compter2788(this,21255);" disabled="disabled" /></td>\
<td class="contenu2788" width="99%" align="left" valign="middle">Non\
</td>\
</tr>\
<tr>\
<td class="contenu2788" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio2788" type="radio" name="question21255" value="105534" onclick="javascript:compter2788(this,21255);" disabled="disabled" /></td>\
<td class="contenu2788" width="99%" align="left" valign="middle">Un &eacute;pisode\
</td>\
</tr>\
<tr>\
<td class="contenu2788" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio2788" type="radio" name="question21255" value="105535" onclick="javascript:compter2788(this,21255);" disabled="disabled" /></td>\
<td class="contenu2788" width="99%" align="left" valign="middle">2 &eacute;pisodes\
</td>\
</tr>\
<tr>\
<td class="contenu2788" colspan="2" align="center"><b>Le sondage est termin&eacute; !</b></td>\
</tr>\
<tr>\
<td class="contenu2788" colspan="2" align="center">\
<div style="margin: 2px;"><input class="bouton2788" type="submit" value="Valider" disabled="disabled" /></div>\
<div style="margin: 2px;"><a class="lien2788" href="#null" onclick="javascript:win2788=window.open(\'http://www.i-services.net/membres/sondage/resultats.php?uid=91375&sid=46211&id=54361&archives=1\',\'popup2788\',\'width=500,height=400,top=\'+((screen.height-400)/2)+\',left=\'+((screen.width-500)/2)+\',scrollbars=1,resizable=0\'); win2788.focus(); return false;">Voir les archives</a></div>\
</td>\
</tr>\
<tr>\
<td class="contenu2788" colspan="2" align="center" style="border-top-style: solid; border-top-color: #FFAA00; border-top-width: 1px;">Service gratuit offert par <a class="lien2788" href="http://www.i-services.net/membres/sondage/index.php?refid=91375" target="_blank">I-Services</a></td>\
</tr>\
</table>\
</form>\
');
var cpt_2788=new Array();
var limite_cpt_2788=new Array();
var limite_type_2788=new Array();
var num_quest_2788=new Array();


cpt_2788[21255]=0;
limite_cpt_2788[21255]=0;
limite_type_2788[21255]='max';
num_quest_2788[21255]=1;


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

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

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

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

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

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

		return false;
	}

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

	return true;
}


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

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

		posX+=offsetX;
		posY+=offsetY;

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

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

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

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