document.write('<style type="text/css">\
<!--\
table.cadre8615\
{\
border-style: solid;\
border-color: #FFFFFF;\
border-width: 0px;\
background-color: #FFFFFF;\
background-image: url();\
}\
tr.titre8615\
{\
background-color: #FFFFFF;\
}\
td.titre8615\
{\
font-family: Verdana;\
font-size: 9px;\
font-weight: normal;\
color: #FFFFFF;\
border-bottom-style: solid;\
border-bottom-color: #FFFFFF;\
border-bottom-width: 0px;\
}\
td.contenu8615\
{\
font-family: Verdana;\
font-size: 9px;\
font-weight: normal;\
color: #808080;\
}\
td.question8615\
{\
font-family: Verdana;\
font-size: 9px;\
font-weight: bold;\
color: #808080;\
}\
a.lien8615\
{\
font-family: Verdana;\
font-size: 9px;\
font-weight: normal;\
color: #808080;\
text-decoration: underline;\
}\
a.lien8615:visited\
{\
font-family: Verdana;\
font-size: 9px;\
font-weight: normal;\
color: #808080;\
text-decoration: underline;\
}\
a.lien8615:active\
{\
font-family: Verdana;\
font-size: 9px;\
font-weight: normal;\
color: #808080;\
text-decoration: underline;\
}\
a.lien8615:hover\
{\
font-family: Verdana;\
font-size: 9px;\
font-weight: normal;\
color: #808080;\
text-decoration: underline;\
}\
form.form8615\
{\
margin: 0px;\
}\
input.bouton8615\
{\
font-family: Verdana;\
font-size: 9px;\
font-weight: normal;\
}\
input.radio8615, input.checkbox8615\
{\
background-color: transparent;\
border-width: 0px;\
}\
//-->\
</style>\
');document.write('<div id="layer8615" style="position:absolute; visibility: hidden;"></div><form class="form8615" name="formSondage8615" method="post" action="http://www.i-services.net/membres/sondage/valider.php?uid=137020&sid=82234&id=1901" target="popup8615" onsubmit="javascript:if(formSubmit8615() == true) { win8615=window.open(\'\',\'popup8615\',\'width=500,height=400,top=\'+((screen.height-400)/2)+\',left=\'+((screen.width-500)/2)+\',scrollbars=1,resizable=0\'); win8615.focus(); return true; } else return false;">\
<input type="hidden" name="referer" value="" />\
<table class="cadre8615" border="0" cellpadding="3" cellspacing="0" width="250">\
<tr class="titre8615">\
<td class="titre8615" colspan="2" align="left"><b>Ubu Roi</b></td>\
</tr>\
<tr>\
<td class="question8615" colspan="2" align="left">Votre avis sur ces 2 bagues :</td>\
</tr>\
<tr>\
<td class="contenu8615" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio8615" type="radio" name="question2264" value="13491" onclick="javascript:compter8615(this,2264);" /></td>\
<td class="contenu8615" width="99%" align="left" valign="middle">J\'ad&ocirc;&ocirc;&ocirc;re !!\
</td>\
</tr>\
<tr>\
<td class="contenu8615" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio8615" type="radio" name="question2264" value="13492" onclick="javascript:compter8615(this,2264);" /></td>\
<td class="contenu8615" width="99%" align="left" valign="middle">J\'aime bien, elles sont plut&ocirc;t sympas !\
</td>\
</tr>\
<tr>\
<td class="contenu8615" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio8615" type="radio" name="question2264" value="13493" onclick="javascript:compter8615(this,2264);" /></td>\
<td class="contenu8615" width="99%" align="left" valign="middle">Pourquoi pas, mais j\'ai vu mieux...\
</td>\
</tr>\
<tr>\
<td class="contenu8615" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio8615" type="radio" name="question2264" value="13494" onclick="javascript:compter8615(this,2264);" /></td>\
<td class="contenu8615" width="99%" align="left" valign="middle">Je n\'aime pas du tout.\
</td>\
</tr>\
<tr>\
<td class="contenu8615" colspan="2" align="center">\
<div style="margin: 2px;"><input class="bouton8615" type="submit" value="Valider" /></div>\
<div style="margin: 2px;"><a class="lien8615" href="#null" onclick="javascript:win8615=window.open(\'http://www.i-services.net/membres/sondage/resultats.php?uid=137020&sid=82234&id=1901\',\'popup8615\',\'width=500,height=400,top=\'+((screen.height-400)/2)+\',left=\'+((screen.width-500)/2)+\',scrollbars=1,resizable=0\'); win8615.focus(); return false;">Voir les r&eacute;sultats</a></div>\
</td>\
</tr>\
<tr>\
<td class="contenu8615" colspan="2" align="center" style="border-top-style: solid; border-top-color: #FFFFFF; border-top-width: 0px;">Service gratuit offert par <a class="lien8615" href="http://www.i-services.net/membres/sondage/index.php?refid=137020" target="_blank">I-Services</a></td>\
</tr>\
</table>\
</form>\
');
var cpt_8615=new Array();
var limite_cpt_8615=new Array();
var limite_type_8615=new Array();
var num_quest_8615=new Array();


cpt_8615[2264]=0;
limite_cpt_8615[2264]=0;
limite_type_8615[2264]='max';
num_quest_8615[2264]=1;


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

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

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

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

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

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

		return false;
	}

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

	return true;
}


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


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

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

		posX+=offsetX;
		posY+=offsetY;

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

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

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

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