document.write('<style type="text/css">\
<!--\
table.cadre7524\
{\
border-style: solid;\
border-color: #FFFFFF;\
border-width: 1px;\
background-color: #000000;\
background-image: url();\
}\
tr.titre7524\
{\
background-color: #000000;\
}\
td.titre7524\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #FFFFFF;\
border-bottom-style: solid;\
border-bottom-color: #FFFFFF;\
border-bottom-width: 1px;\
}\
td.contenu7524\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #FFFFFF;\
}\
td.question7524\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #FFFFFF;\
}\
a.lien7524\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #FFFFFF;\
text-decoration: underline;\
}\
a.lien7524:visited\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #FFFFFF;\
text-decoration: underline;\
}\
a.lien7524:active\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #FFFFFF;\
text-decoration: underline;\
}\
a.lien7524:hover\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #FFFFFF;\
text-decoration: underline;\
}\
form.form7524\
{\
margin: 0px;\
}\
input.bouton7524\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
}\
input.radio7524, input.checkbox7524\
{\
background-color: transparent;\
border-width: 0px;\
}\
//-->\
</style>\
');document.write('<div id="layer7524" style="position:absolute; visibility: hidden;"></div><form class="form7524" name="formSondage7524" method="post" action="http://www.i-services.net/membres/sondage/valider.php?uid=18455&sid=7609&id=32952" target="popup7524" onsubmit="javascript:if(formSubmit7524() == true) { win7524=window.open(\'\',\'popup7524\',\'width=500,height=400,top=\'+((screen.height-400)/2)+\',left=\'+((screen.width-500)/2)+\',scrollbars=1,resizable=0\'); win7524.focus(); return true; } else return false;">\
<input type="hidden" name="referer" value="" />\
<table class="cadre7524" border="0" cellpadding="3" cellspacing="0" width="160">\
<tr class="titre7524">\
<td class="titre7524" colspan="2" align="center"><b>Sondage n&deg;1</b></td>\
</tr>\
<tr>\
<td class="question7524" colspan="2" align="left">Quelle note donnez-vous au site ?</td>\
</tr>\
<tr>\
<td class="contenu7524" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio7524" type="radio" name="question5326" value="7676" onclick="javascript:compter7524(this,5326);" /></td>\
<td class="contenu7524" width="99%" align="left" valign="middle">10\
</td>\
</tr>\
<tr>\
<td class="contenu7524" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio7524" type="radio" name="question5326" value="7677" onclick="javascript:compter7524(this,5326);" /></td>\
<td class="contenu7524" width="99%" align="left" valign="middle">9\
</td>\
</tr>\
<tr>\
<td class="contenu7524" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio7524" type="radio" name="question5326" value="7678" onclick="javascript:compter7524(this,5326);" /></td>\
<td class="contenu7524" width="99%" align="left" valign="middle">8\
</td>\
</tr>\
<tr>\
<td class="contenu7524" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio7524" type="radio" name="question5326" value="7679" onclick="javascript:compter7524(this,5326);" /></td>\
<td class="contenu7524" width="99%" align="left" valign="middle">7\
</td>\
</tr>\
<tr>\
<td class="contenu7524" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio7524" type="radio" name="question5326" value="7680" onclick="javascript:compter7524(this,5326);" /></td>\
<td class="contenu7524" width="99%" align="left" valign="middle">6\
</td>\
</tr>\
<tr>\
<td class="contenu7524" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio7524" type="radio" name="question5326" value="7681" onclick="javascript:compter7524(this,5326);" /></td>\
<td class="contenu7524" width="99%" align="left" valign="middle">5\
</td>\
</tr>\
<tr>\
<td class="contenu7524" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio7524" type="radio" name="question5326" value="7682" onclick="javascript:compter7524(this,5326);" /></td>\
<td class="contenu7524" width="99%" align="left" valign="middle">4\
</td>\
</tr>\
<tr>\
<td class="contenu7524" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio7524" type="radio" name="question5326" value="7683" onclick="javascript:compter7524(this,5326);" /></td>\
<td class="contenu7524" width="99%" align="left" valign="middle">3\
</td>\
</tr>\
<tr>\
<td class="contenu7524" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio7524" type="radio" name="question5326" value="7684" onclick="javascript:compter7524(this,5326);" /></td>\
<td class="contenu7524" width="99%" align="left" valign="middle">2\
</td>\
</tr>\
<tr>\
<td class="contenu7524" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio7524" type="radio" name="question5326" value="7685" onclick="javascript:compter7524(this,5326);" /></td>\
<td class="contenu7524" width="99%" align="left" valign="middle">1\
</td>\
</tr>\
<tr>\
<td class="contenu7524" colspan="2" align="center">\
<div style="margin: 2px;"><input class="bouton7524" type="submit" value="Valider" /></div>\
<div style="margin: 2px;"><a class="lien7524" href="#null" onclick="javascript:win7524=window.open(\'http://www.i-services.net/membres/sondage/resultats.php?uid=18455&sid=7609&id=32952\',\'popup7524\',\'width=500,height=400,top=\'+((screen.height-400)/2)+\',left=\'+((screen.width-500)/2)+\',scrollbars=1,resizable=0\'); win7524.focus(); return false;">Voir les r&eacute;sultats</a></div>\
</td>\
</tr>\
<tr>\
<td class="contenu7524" colspan="2" align="center" style="border-top-style: solid; border-top-color: #FFFFFF; border-top-width: 1px;">Service offert par <a class="lien7524" href="http://www.i-services.net/membres/sondage/index.php?refid=18455" target="_blank">I-Services</a></td>\
</tr>\
</table>\
</form>\
');
var cpt_7524=new Array();
var limite_cpt_7524=new Array();
var limite_type_7524=new Array();
var num_quest_7524=new Array();


cpt_7524[5326]=0;
limite_cpt_7524[5326]=0;
limite_type_7524[5326]='max';
num_quest_7524[5326]=1;


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

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

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

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

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

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

		return false;
	}

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

	return true;
}


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


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

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

		posX+=offsetX;
		posY+=offsetY;

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

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

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

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