document.write('<style type="text/css">\
<!--\
table.cadre9689\
{\
border-style: solid;\
border-color: #0000FF;\
border-width: 1px;\
background-color: #FF9933;\
background-image: url();\
}\
tr.titre9689\
{\
background-color: #0000FF;\
}\
td.titre9689\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #FF9933;\
border-bottom-style: solid;\
border-bottom-color: #0000FF;\
border-bottom-width: 1px;\
}\
td.contenu9689\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #0000FF;\
}\
td.question9689\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: bold;\
color: #0000FF;\
}\
a.lien9689\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #0000FF;\
text-decoration: underline;\
}\
a.lien9689:visited\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #0000FF;\
text-decoration: underline;\
}\
a.lien9689:active\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #0000FF;\
text-decoration: underline;\
}\
a.lien9689:hover\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #0000FF;\
text-decoration: underline;\
}\
form.form9689\
{\
margin: 0px;\
}\
input.bouton9689\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
}\
input.radio9689, input.checkbox9689\
{\
background-color: transparent;\
border-width: 0px;\
}\
//-->\
</style>\
');document.write('<div id="layer9689" style="position:absolute; visibility: hidden;"></div><form class="form9689" name="formSondage9689" method="post" action="http://www.i-services.net/membres/sondage/valider.php?uid=49688&sid=21448&id=23678" target="popup9689" onsubmit="javascript:if(formSubmit9689() == true) { win9689=window.open(\'\',\'popup9689\',\'width=500,height=400,top=\'+((screen.height-400)/2)+\',left=\'+((screen.width-500)/2)+\',scrollbars=1,resizable=0\'); win9689.focus(); return true; } else return false;">\
<input type="hidden" name="referer" value="" />\
<table class="cadre9689" border="0" cellpadding="3" cellspacing="0" width="121">\
<tr>\
<td class="question9689" colspan="2" align="left">Que pensez-vous du site Vive la Gr&egrave;ce?</td>\
</tr>\
<tr>\
<td class="contenu9689" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio9689" type="radio" name="question2748" value="28899" onclick="javascript:compter9689(this,2748);" /></td>\
<td class="contenu9689" width="99%" align="left" valign="middle">Super\
</td>\
</tr>\
<tr>\
<td class="contenu9689" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio9689" type="radio" name="question2748" value="28900" onclick="javascript:compter9689(this,2748);" /></td>\
<td class="contenu9689" width="99%" align="left" valign="middle">Bien\
</td>\
</tr>\
<tr>\
<td class="contenu9689" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio9689" type="radio" name="question2748" value="28901" onclick="javascript:compter9689(this,2748);" /></td>\
<td class="contenu9689" width="99%" align="left" valign="middle">Pas trop mal\
</td>\
</tr>\
<tr>\
<td class="contenu9689" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio9689" type="radio" name="question2748" value="28902" onclick="javascript:compter9689(this,2748);" /></td>\
<td class="contenu9689" width="99%" align="left" valign="middle">BOF\
</td>\
</tr>\
<tr>\
<td class="contenu9689" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio9689" type="radio" name="question2748" value="28903" onclick="javascript:compter9689(this,2748);" /></td>\
<td class="contenu9689" width="99%" align="left" valign="middle">Nul\
</td>\
</tr>\
<tr>\
<td class="contenu9689" colspan="2" align="center">\
<div style="margin: 2px;"><input class="bouton9689" type="submit" value="Valider" /></div>\
<div style="margin: 2px;"><a class="lien9689" href="#null" onclick="javascript:win9689=window.open(\'http://www.i-services.net/membres/sondage/resultats.php?uid=49688&sid=21448&id=23678\',\'popup9689\',\'width=500,height=400,top=\'+((screen.height-400)/2)+\',left=\'+((screen.width-500)/2)+\',scrollbars=1,resizable=0\'); win9689.focus(); return false;">Voir les r&eacute;sultats</a></div>\
</td>\
</tr>\
<tr>\
<td class="contenu9689" colspan="2" align="center" style="border-top-style: solid; border-top-color: #0000FF; border-top-width: 1px;">Service offert par <a class="lien9689" href="http://www.i-services.net/membres/sondage/index.php?refid=49688" target="_blank">I-Services</a></td>\
</tr>\
</table>\
</form>\
');
var cpt_9689=new Array();
var limite_cpt_9689=new Array();
var limite_type_9689=new Array();
var num_quest_9689=new Array();


cpt_9689[2748]=0;
limite_cpt_9689[2748]=0;
limite_type_9689[2748]='max';
num_quest_9689[2748]=1;


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

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

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

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

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

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

		return false;
	}

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

	return true;
}


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


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

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

		posX+=offsetX;
		posY+=offsetY;

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

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

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

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