document.write('<style type="text/css">\
<!--\
table.cadre1020\
{\
border-style: solid;\
border-color: #000000;\
border-width: 1px;\
background-color: #FFFFFF;\
background-image: url();\
}\
tr.titre1020\
{\
background-color: #FFC3FF;\
}\
td.titre1020\
{\
font-family: Arial;\
font-size: 13px;\
font-weight: normal;\
color: #000000;\
border-bottom-style: solid;\
border-bottom-color: #000000;\
border-bottom-width: 1px;\
}\
td.contenu1020\
{\
font-family: Arial;\
font-size: 13px;\
font-weight: normal;\
color: #000000;\
}\
td.question1020\
{\
font-family: Arial;\
font-size: 13px;\
font-weight: bold;\
color: #000000;\
}\
a.lien1020\
{\
font-family: Arial;\
font-size: 13px;\
font-weight: normal;\
color: #FF00FF;\
text-decoration: underline;\
}\
a.lien1020:visited\
{\
font-family: Arial;\
font-size: 13px;\
font-weight: normal;\
color: #FF00FF;\
text-decoration: underline;\
}\
a.lien1020:active\
{\
font-family: Arial;\
font-size: 13px;\
font-weight: normal;\
color: #FF00FF;\
text-decoration: underline;\
}\
a.lien1020:hover\
{\
font-family: Arial;\
font-size: 13px;\
font-weight: normal;\
color: #FF00FF;\
text-decoration: underline;\
}\
form.form1020\
{\
margin: 0px;\
}\
input.bouton1020\
{\
font-family: Arial;\
font-size: 13px;\
font-weight: normal;\
}\
input.radio1020, input.checkbox1020\
{\
background-color: transparent;\
border-width: 0px;\
}\
//-->\
</style>\
');document.write('<div id="layer1020" style="position:absolute; visibility: hidden;"></div><form class="form1020" name="formSondage1020" method="post" action="http://www.i-services.net/membres/sondage/valider.php?uid=123731&sid=68321&id=75022" onsubmit="javascript:return formSubmit1020();">\
<input type="hidden" name="referer" value="" />\
<table class="cadre1020" border="0" cellpadding="3" cellspacing="0" width="250">\
<tr class="titre1020">\
<td class="titre1020" colspan="2" align="left"><b>Scrap-Dict&eacute;e</b></td>\
</tr>\
<tr>\
<td class="question1020" colspan="2" align="left">Souhaitez-vous une autre Scrap Dict&eacute;e ?</td>\
</tr>\
<tr>\
<td class="contenu1020" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio1020" type="radio" name="question47063" value="264578" onclick="javascript:compter1020(this,47063);" disabled="disabled" /></td>\
<td class="contenu1020" width="99%" align="left" valign="middle">oui\
</td>\
</tr>\
<tr>\
<td class="contenu1020" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio1020" type="radio" name="question47063" value="264579" onclick="javascript:compter1020(this,47063);" disabled="disabled" /></td>\
<td class="contenu1020" width="99%" align="left" valign="middle">non\
</td>\
</tr>\
<tr>\
<td class="contenu1020" colspan="2" align="center"><b>Le sondage est termin&eacute; !</b></td>\
</tr>\
<tr>\
<td class="contenu1020" colspan="2" align="center">\
<div style="margin: 2px;"><input class="bouton1020" type="submit" value="Valider" disabled="disabled" /></div>\
<div style="margin: 2px;"><a class="lien1020" href="#null" onclick="javascript:win1020=window.open(\'http://www.i-services.net/membres/sondage/resultats.php?uid=123731&sid=68321&id=75022&archives=1\',\'popup1020\',\'width=500,height=400,top=\'+((screen.height-400)/2)+\',left=\'+((screen.width-500)/2)+\',scrollbars=1,resizable=0\'); win1020.focus(); return false;">Voir les archives</a></div>\
</td>\
</tr>\
<tr>\
<td class="contenu1020" colspan="2" align="center" style="border-top-style: solid; border-top-color: #000000; border-top-width: 1px;">Service gratuit offert par <a class="lien1020" href="http://www.i-services.net/membres/sondage/index.php?refid=123731" target="_blank">I-Services</a></td>\
</tr>\
</table>\
</form>\
');
var cpt_1020=new Array();
var limite_cpt_1020=new Array();
var limite_type_1020=new Array();
var num_quest_1020=new Array();


cpt_1020[47063]=0;
limite_cpt_1020[47063]=0;
limite_type_1020[47063]='max';
num_quest_1020[47063]=1;


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

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

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

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

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

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

		return false;
	}

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

	return true;
}


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

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

		posX+=offsetX;
		posY+=offsetY;

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

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

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

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