document.write('<style type="text/css">\
<!--\
table.cadre2847\
{\
border-style: solid;\
border-color: #FCCE76;\
border-width: 1px;\
background-color: #FFFFFF;\
background-image: url();\
}\
tr.titre2847\
{\
background-color: #FFF9EC;\
}\
td.titre2847\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #6A2300;\
border-bottom-style: solid;\
border-bottom-color: #FCCE76;\
border-bottom-width: 1px;\
}\
td.contenu2847\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #6A2300;\
}\
td.question2847\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #6A2300;\
}\
a.lien2847\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #6A2300;\
text-decoration: underline;\
}\
a.lien2847:visited\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #6A2300;\
text-decoration: underline;\
}\
a.lien2847:active\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #6A2300;\
text-decoration: underline;\
}\
a.lien2847:hover\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #6A2300;\
text-decoration: underline;\
}\
form.form2847\
{\
margin: 0px;\
}\
input.bouton2847\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
}\
input.radio2847, input.checkbox2847\
{\
background-color: transparent;\
border-width: 0px;\
}\
//-->\
</style>\
');document.write('<div id="layer2847" style="position:absolute; visibility: hidden;"></div><form class="form2847" name="formSondage2847" method="post" action="http://www.i-services.net/membres/sondage/valider.php?uid=103491&sid=53571&id=66138" target="popup2847" onsubmit="javascript:if(formSubmit2847() == true) { win2847=window.open(\'\',\'popup2847\',\'width=500,height=400,top=\'+((screen.height-400)/2)+\',left=\'+((screen.width-500)/2)+\',scrollbars=1,resizable=0\'); win2847.focus(); return true; } else return false;">\
<input type="hidden" name="referer" value="" />\
<table class="cadre2847" border="0" cellpadding="3" cellspacing="0" width="250">\
<tr class="titre2847">\
<td class="titre2847" colspan="2" align="left"><b>Your Webmaster</b></td>\
</tr>\
<tr>\
<td class="question2847" colspan="2" align="left">votate il vostro webmaster preferito</td>\
</tr>\
<tr>\
<td class="contenu2847" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio2847" type="radio" name="question36270" value="184626" onclick="javascript:compter2847(this,36270);" disabled="disabled" /></td>\
<td class="contenu2847" width="99%" align="left" valign="middle">Deea (SMG-Italia)\
</td>\
</tr>\
<tr>\
<td class="contenu2847" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio2847" type="radio" name="question36270" value="184627" onclick="javascript:compter2847(this,36270);" disabled="disabled" /></td>\
<td class="contenu2847" width="99%" align="left" valign="middle">Buffybot (Evil Hand Issues)\
</td>\
</tr>\
<tr>\
<td class="contenu2847" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio2847" type="radio" name="question36270" value="184628" onclick="javascript:compter2847(this,36270);" disabled="disabled" /></td>\
<td class="contenu2847" width="99%" align="left" valign="middle">Willow (Gilmoreones)\
</td>\
</tr>\
<tr>\
<td class="contenu2847" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio2847" type="radio" name="question36270" value="184629" onclick="javascript:compter2847(this,36270);" disabled="disabled" /></td>\
<td class="contenu2847" width="99%" align="left" valign="middle">Naleyfan91 (Naley\'s Love)\
</td>\
</tr>\
<tr>\
<td class="contenu2847" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio2847" type="radio" name="question36270" value="184630" onclick="javascript:compter2847(this,36270);" disabled="disabled" /></td>\
<td class="contenu2847" width="99%" align="left" valign="middle">Katie (Alexis Obsession)\
</td>\
</tr>\
<tr>\
<td class="contenu2847" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio2847" type="radio" name="question36270" value="184631" onclick="javascript:compter2847(this,36270);" disabled="disabled" /></td>\
<td class="contenu2847" width="99%" align="left" valign="middle">Holly (Not Fade Away)\
</td>\
</tr>\
<tr>\
<td class="contenu2847" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio2847" type="radio" name="question36270" value="184632" onclick="javascript:compter2847(this,36270);" disabled="disabled" /></td>\
<td class="contenu2847" width="99%" align="left" valign="middle">Cinzia (Raoul Bova Unofficial Website)\
</td>\
</tr>\
<tr>\
<td class="contenu2847" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio2847" type="radio" name="question36270" value="184633" onclick="javascript:compter2847(this,36270);" disabled="disabled" /></td>\
<td class="contenu2847" width="99%" align="left" valign="middle">Cinzia (Gilmore Girls Italia)\
</td>\
</tr>\
<tr>\
<td class="contenu2847" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio2847" type="radio" name="question36270" value="185239" onclick="javascript:compter2847(this,36270);" disabled="disabled" /></td>\
<td class="contenu2847" width="99%" align="left" valign="middle">Shaq (Harry Potter World)\
</td>\
</tr>\
<tr>\
<td class="contenu2847" colspan="2" align="center"><b>Le sondage est termin&eacute; !</b></td>\
</tr>\
<tr>\
<td class="contenu2847" colspan="2" align="center">\
<div style="margin: 2px;"><input class="bouton2847" type="submit" value="Valider" disabled="disabled" /></div>\
<div style="margin: 2px;"><a class="lien2847" href="#null" onclick="javascript:win2847=window.open(\'http://www.i-services.net/membres/sondage/resultats.php?uid=103491&sid=53571&id=66138\',\'popup2847\',\'width=500,height=400,top=\'+((screen.height-400)/2)+\',left=\'+((screen.width-500)/2)+\',scrollbars=1,resizable=0\'); win2847.focus(); return false;">Voir les r&eacute;sultats</a> - <a class="lien2847" href="#null" onclick="javascript:win2847=window.open(\'http://www.i-services.net/membres/sondage/resultats.php?uid=103491&sid=53571&id=66138&archives=1\',\'popup2847\',\'width=500,height=400,top=\'+((screen.height-400)/2)+\',left=\'+((screen.width-500)/2)+\',scrollbars=1,resizable=0\'); win2847.focus(); return false;">Voir les archives</a></div>\
</td>\
</tr>\
<tr>\
<td class="contenu2847" colspan="2" align="center" style="border-top-style: solid; border-top-color: #FCCE76; border-top-width: 1px;">Service gratuit offert par <a class="lien2847" href="http://www.i-services.net/membres/sondage/index.php?refid=103491" target="_blank">I-Services</a></td>\
</tr>\
</table>\
</form>\
');
var cpt_2847=new Array();
var limite_cpt_2847=new Array();
var limite_type_2847=new Array();
var num_quest_2847=new Array();


cpt_2847[36270]=0;
limite_cpt_2847[36270]=0;
limite_type_2847[36270]='max';
num_quest_2847[36270]=1;


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

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

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

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

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

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

		return false;
	}

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

	return true;
}


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

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

		posX+=offsetX;
		posY+=offsetY;

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

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

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

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