document.write('<style type="text/css">\
<!--\
table.cadre7615\
{\
border-style: solid;\
border-color: #800080;\
border-width: 1px;\
background-color: #D58FC2;\
background-image: url();\
}\
tr.titre7615\
{\
background-color: #4D7CDC;\
}\
td.titre7615\
{\
font-family: Verdana;\
font-size: 11px;\
font-weight: normal;\
color: #000080;\
border-bottom-style: solid;\
border-bottom-color: #800080;\
border-bottom-width: 1px;\
}\
td.contenu7615\
{\
font-family: Verdana;\
font-size: 11px;\
font-weight: normal;\
color: #800080;\
}\
td.question7615\
{\
font-family: Verdana;\
font-size: 11px;\
font-weight: normal;\
color: #000080;\
}\
a.lien7615\
{\
font-family: Verdana;\
font-size: 11px;\
font-weight: normal;\
color: #800080;\
text-decoration: underline;\
}\
a.lien7615:visited\
{\
font-family: Verdana;\
font-size: 11px;\
font-weight: normal;\
color: #800080;\
text-decoration: underline;\
}\
a.lien7615:active\
{\
font-family: Verdana;\
font-size: 11px;\
font-weight: normal;\
color: #800080;\
text-decoration: underline;\
}\
a.lien7615:hover\
{\
font-family: Verdana;\
font-size: 11px;\
font-weight: normal;\
color: #800080;\
text-decoration: underline;\
}\
form.form7615\
{\
margin: 0px;\
}\
input.bouton7615\
{\
font-family: Verdana;\
font-size: 11px;\
font-weight: normal;\
}\
input.radio7615, input.checkbox7615\
{\
background-color: transparent;\
border-width: 0px;\
}\
//-->\
</style>\
');document.write('<div id="layer7615" style="position:absolute; visibility: hidden;"></div><form class="form7615" name="formSondage7615" method="post" action="http://www.i-services.net/membres/sondage/valider.php?uid=71530&sid=33562&id=41194" target="popup7615" onsubmit="javascript:if(formSubmit7615() == true) { win7615=window.open(\'\',\'popup7615\',\'width=500,height=400,top=\'+((screen.height-400)/2)+\',left=\'+((screen.width-500)/2)+\',scrollbars=1,resizable=0\'); win7615.focus(); return true; } else return false;">\
<input type="hidden" name="referer" value="" />\
<table class="cadre7615" border="0" cellpadding="3" cellspacing="0" width="140">\
<tr class="titre7615">\
<td class="titre7615" colspan="2" align="center"><b>Sondage 1</b></td>\
</tr>\
<tr>\
<td class="question7615" colspan="2" align="left">Jugez mon site</td>\
</tr>\
<tr>\
<td class="contenu7615" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio7615" type="radio" name="question8882" value="59661" onclick="javascript:compter7615(this,8882);" /></td>\
<td class="contenu7615" width="99%" align="left" valign="middle">Excelent\
</td>\
</tr>\
<tr>\
<td class="contenu7615" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio7615" type="radio" name="question8882" value="59662" onclick="javascript:compter7615(this,8882);" /></td>\
<td class="contenu7615" width="99%" align="left" valign="middle">Bon\
</td>\
</tr>\
<tr>\
<td class="contenu7615" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio7615" type="radio" name="question8882" value="59663" onclick="javascript:compter7615(this,8882);" /></td>\
<td class="contenu7615" width="99%" align="left" valign="middle">Moyen\
</td>\
</tr>\
<tr>\
<td class="contenu7615" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio7615" type="radio" name="question8882" value="59664" onclick="javascript:compter7615(this,8882);" /></td>\
<td class="contenu7615" width="99%" align="left" valign="middle">Mauvais\
</td>\
</tr>\
<tr>\
<td class="contenu7615" colspan="2" align="center">\
<div style="margin: 2px;"><input class="bouton7615" type="submit" value="Valider" /></div>\
<div style="margin: 2px;"><a class="lien7615" href="#null" onclick="javascript:win7615=window.open(\'http://www.i-services.net/membres/sondage/resultats.php?uid=71530&sid=33562&id=41194\',\'popup7615\',\'width=500,height=400,top=\'+((screen.height-400)/2)+\',left=\'+((screen.width-500)/2)+\',scrollbars=1,resizable=0\'); win7615.focus(); return false;">Voir les r&eacute;sultats</a></div>\
</td>\
</tr>\
<tr>\
<td class="contenu7615" colspan="2" align="center" style="border-top-style: solid; border-top-color: #800080; border-top-width: 1px;">Service offert par <a class="lien7615" href="http://www.i-services.net/membres/sondage/index.php?refid=71530" target="_blank">I-Services</a></td>\
</tr>\
</table>\
</form>\
');
var cpt_7615=new Array();
var limite_cpt_7615=new Array();
var limite_type_7615=new Array();
var num_quest_7615=new Array();


cpt_7615[8882]=0;
limite_cpt_7615[8882]=0;
limite_type_7615[8882]='max';
num_quest_7615[8882]=1;


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

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

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

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

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

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

		return false;
	}

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

	return true;
}


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


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

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

		posX+=offsetX;
		posY+=offsetY;

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

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

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

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