document.write('<style type="text/css">\
<!--\
table.cadre4577\
{\
border-style: solid;\
border-color: #EBFAED;\
border-width: 1px;\
background-color: #EBFAED;\
background-image: url();\
}\
tr.titre4577\
{\
background-color: #EBFAED;\
}\
td.titre4577\
{\
font-family: Tahoma;\
font-size: 11px;\
font-weight: normal;\
color: #339965;\
border-bottom-style: solid;\
border-bottom-color: #EBFAED;\
border-bottom-width: 1px;\
}\
td.contenu4577\
{\
font-family: Tahoma;\
font-size: 11px;\
font-weight: normal;\
color: #339965;\
}\
td.question4577\
{\
font-family: Tahoma;\
font-size: 11px;\
font-weight: bold;\
color: #339965;\
}\
a.lien4577\
{\
font-family: Tahoma;\
font-size: 11px;\
font-weight: normal;\
color: #80DC87;\
text-decoration: underline;\
}\
a.lien4577:visited\
{\
font-family: Tahoma;\
font-size: 11px;\
font-weight: normal;\
color: #80DC87;\
text-decoration: underline;\
}\
a.lien4577:active\
{\
font-family: Tahoma;\
font-size: 11px;\
font-weight: normal;\
color: #80DC87;\
text-decoration: underline;\
}\
a.lien4577:hover\
{\
font-family: Tahoma;\
font-size: 11px;\
font-weight: normal;\
color: #80DC87;\
text-decoration: underline;\
}\
form.form4577\
{\
margin: 0px;\
}\
input.bouton4577\
{\
font-family: Tahoma;\
font-size: 11px;\
font-weight: normal;\
}\
input.radio4577, input.checkbox4577\
{\
background-color: transparent;\
border-width: 0px;\
}\
//-->\
</style>\
');document.write('<div id="layer4577" style="position:absolute; visibility: hidden;"></div><form class="form4577" name="formSondage4577" method="post" action="http://www.i-services.net/membres/sondage/valider.php?uid=68435&sid=31674&id=50163" target="popup4577" onsubmit="javascript:if(formSubmit4577() == true) { win4577=window.open(\'\',\'popup4577\',\'width=500,height=400,top=\'+((screen.height-400)/2)+\',left=\'+((screen.width-500)/2)+\',scrollbars=1,resizable=0\'); win4577.focus(); return true; } else return false;">\
<input type="hidden" name="referer" value="" />\
<table class="cadre4577" border="0" cellpadding="3" cellspacing="0" width="260">\
<tr class="titre4577">\
<td class="titre4577" colspan="2" align="center"><b>Concours</b></td>\
</tr>\
<tr>\
<td class="question4577" colspan="2" align="left">1. Etes-vous int&eacute;ress&eacute; par ce concours ?</td>\
</tr>\
<tr>\
<td class="contenu4577" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio4577" type="radio" name="question15618" value="86738" onclick="javascript:compter4577(this,15618);" /></td>\
<td class="contenu4577" width="99%" align="left" valign="middle">Oui\
</td>\
</tr>\
<tr>\
<td class="contenu4577" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio4577" type="radio" name="question15618" value="86739" onclick="javascript:compter4577(this,15618);" /></td>\
<td class="contenu4577" width="99%" align="left" valign="middle">Non\
</td>\
</tr>\
<tr>\
<td class="contenu4577" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio4577" type="radio" name="question15618" value="86740" onclick="javascript:compter4577(this,15618);" /></td>\
<td class="contenu4577" width="99%" align="left" valign="middle">Peut-&ecirc;tre\
</td>\
</tr>\
<tr>\
<td class="question4577" colspan="2" align="left">2. Quelle r&eacute;compense souhaitez-vous ?</td>\
</tr>\
<tr>\
<td class="contenu4577" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="checkbox4577" type="checkbox" name="question15619[]" value="86732" onclick="javascript:compter4577(this,15619);" /></td>\
<td class="contenu4577" width="99%" align="left" valign="middle">Kit banni&egrave;re-avatar-bouton pour votre site\
</td>\
</tr>\
<tr>\
<td class="contenu4577" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="checkbox4577" type="checkbox" name="question15619[]" value="86733" onclick="javascript:compter4577(this,15619);" /></td>\
<td class="contenu4577" width="99%" align="left" valign="middle">Un dessin et de la publicit&eacute; pour votre site\
</td>\
</tr>\
<tr>\
<td class="contenu4577" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="checkbox4577" type="checkbox" name="question15619[]" value="86734" onclick="javascript:compter4577(this,15619);" /></td>\
<td class="contenu4577" width="99%" align="left" valign="middle">Partenariat sp&eacute;cial\
</td>\
</tr>\
<tr>\
<td class="contenu4577" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="checkbox4577" type="checkbox" name="question15619[]" value="86735" onclick="javascript:compter4577(this,15619);" /></td>\
<td class="contenu4577" width="99%" align="left" valign="middle">Une review de votre site\
</td>\
</tr>\
<tr>\
<td class="contenu4577" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="checkbox4577" type="checkbox" name="question15619[]" value="86736" onclick="javascript:compter4577(this,15619);" /></td>\
<td class="contenu4577" width="99%" align="left" valign="middle">Un design [sous r&eacute;serve]\
</td>\
</tr>\
<tr>\
<td class="contenu4577" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="checkbox4577" type="checkbox" name="question15619[]" value="86737" onclick="javascript:compter4577(this,15619);" /></td>\
<td class="contenu4577" width="99%" align="left" valign="middle">Autre\
</td>\
</tr>\
<tr>\
<td class="contenu4577" colspan="2" align="center">\
<div style="margin: 2px;"><input class="bouton4577" type="submit" value="Valider" /></div>\
<div style="margin: 2px;"><a class="lien4577" href="#null" onclick="javascript:win4577=window.open(\'http://www.i-services.net/membres/sondage/resultats.php?uid=68435&sid=31674&id=50163\',\'popup4577\',\'width=500,height=400,top=\'+((screen.height-400)/2)+\',left=\'+((screen.width-500)/2)+\',scrollbars=1,resizable=0\'); win4577.focus(); return false;">Voir les r&eacute;sultats</a></div>\
</td>\
</tr>\
<tr>\
<td class="contenu4577" colspan="2" align="center" style="border-top-style: solid; border-top-color: #EBFAED; border-top-width: 1px;">Service gratuit offert par <a class="lien4577" href="http://www.i-services.net/membres/sondage/index.php?refid=68435" target="_blank">I-Services</a></td>\
</tr>\
</table>\
</form>\
');
var cpt_4577=new Array();
var limite_cpt_4577=new Array();
var limite_type_4577=new Array();
var num_quest_4577=new Array();


cpt_4577[15618]=0;
limite_cpt_4577[15618]=0;
limite_type_4577[15618]='max';
num_quest_4577[15618]=1;


cpt_4577[15619]=0;
limite_cpt_4577[15619]=5;
limite_type_4577[15619]='max';
num_quest_4577[15619]=2;


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

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

	for(idq in cpt_4577)
	{
		if(cpt_4577[idq] == 0)
		{
			msg2='Veuillez r\351pondre \340 toutes les questions !';

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

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

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

		return false;
	}

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

	return true;
}


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


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

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

		posX+=offsetX;
		posY+=offsetY;

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

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

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

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