document.write('<style type="text/css">\
<!--\
table.cadre4539\
{\
border-style: solid;\
border-color: #FCCE76;\
border-width: 1px;\
background-color: #FFFFFF;\
background-image: url();\
}\
tr.titre4539\
{\
background-color: #FFF9EC;\
}\
td.titre4539\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #6A2300;\
border-bottom-style: solid;\
border-bottom-color: #FCCE76;\
border-bottom-width: 1px;\
}\
td.contenu4539\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #6A2300;\
}\
td.question4539\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #6A2300;\
}\
a.lien4539\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #6A2300;\
text-decoration: underline;\
}\
a.lien4539:visited\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #6A2300;\
text-decoration: underline;\
}\
a.lien4539:active\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #6A2300;\
text-decoration: underline;\
}\
a.lien4539:hover\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #6A2300;\
text-decoration: underline;\
}\
form.form4539\
{\
margin: 0px;\
}\
input.bouton4539\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
}\
input.radio4539, input.checkbox4539\
{\
background-color: transparent;\
border-width: 0px;\
}\
//-->\
</style>\
');document.write('<div id="layer4539" style="position:absolute; visibility: hidden;"></div><form class="form4539" name="formSondage4539" method="post" action="http://www.i-services.net/membres/sondage/valider.php?uid=121567&sid=66225&id=69595" target="popup4539" onsubmit="javascript:if(formSubmit4539() == true) { win4539=window.open(\'\',\'popup4539\',\'width=500,height=400,top=\'+((screen.height-400)/2)+\',left=\'+((screen.width-500)/2)+\',scrollbars=1,resizable=0\'); win4539.focus(); return true; } else return false;">\
<input type="hidden" name="referer" value="" />\
<table class="cadre4539" border="0" cellpadding="3" cellspacing="0" width="250">\
<tr class="titre4539">\
<td class="titre4539" colspan="2" align="left"><b>Votre avis sur le site de la foire de Metz</b></td>\
</tr>\
<tr>\
<td class="question4539" colspan="2" align="left">Comment trouvez-vous ce site non officiel de notre foire de mai ?</td>\
</tr>\
<tr>\
<td class="contenu4539" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio4539" type="radio" name="question40616" value="210256" onclick="javascript:compter4539(this,40616);" /></td>\
<td class="contenu4539" width="99%" align="left" valign="middle">G&eacute;nial\
</td>\
</tr>\
<tr>\
<td class="contenu4539" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio4539" type="radio" name="question40616" value="210257" onclick="javascript:compter4539(this,40616);" /></td>\
<td class="contenu4539" width="99%" align="left" valign="middle">Pas mal\
</td>\
</tr>\
<tr>\
<td class="contenu4539" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio4539" type="radio" name="question40616" value="210258" onclick="javascript:compter4539(this,40616);" /></td>\
<td class="contenu4539" width="99%" align="left" valign="middle">Sympa\
</td>\
</tr>\
<tr>\
<td class="contenu4539" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio4539" type="radio" name="question40616" value="210259" onclick="javascript:compter4539(this,40616);" /></td>\
<td class="contenu4539" width="99%" align="left" valign="middle">Moyen\
</td>\
</tr>\
<tr>\
<td class="contenu4539" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio4539" type="radio" name="question40616" value="210260" onclick="javascript:compter4539(this,40616);" /></td>\
<td class="contenu4539" width="99%" align="left" valign="middle">Bof\
</td>\
</tr>\
<tr>\
<td class="contenu4539" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio4539" type="radio" name="question40616" value="210261" onclick="javascript:compter4539(this,40616);" /></td>\
<td class="contenu4539" width="99%" align="left" valign="middle">Nul\
</td>\
</tr>\
<tr>\
<td class="contenu4539" colspan="2" align="center">\
<div style="margin: 2px;"><input class="bouton4539" type="submit" value="Valider" /></div>\
<div style="margin: 2px;"><a class="lien4539" href="#null" onclick="javascript:win4539=window.open(\'http://www.i-services.net/membres/sondage/resultats.php?uid=121567&sid=66225&id=69595\',\'popup4539\',\'width=500,height=400,top=\'+((screen.height-400)/2)+\',left=\'+((screen.width-500)/2)+\',scrollbars=1,resizable=0\'); win4539.focus(); return false;">Voir les r&eacute;sultats</a> - <a class="lien4539" href="#null" onclick="javascript:win4539=window.open(\'http://www.i-services.net/membres/sondage/resultats.php?uid=121567&sid=66225&id=69595&archives=1\',\'popup4539\',\'width=500,height=400,top=\'+((screen.height-400)/2)+\',left=\'+((screen.width-500)/2)+\',scrollbars=1,resizable=0\'); win4539.focus(); return false;">Voir les archives</a></div>\
</td>\
</tr>\
<tr>\
<td class="contenu4539" colspan="2" align="center" style="border-top-style: solid; border-top-color: #FCCE76; border-top-width: 1px;">Service gratuit offert par <a class="lien4539" href="http://www.i-services.net/membres/sondage/index.php?refid=121567" target="_blank">I-Services</a></td>\
</tr>\
</table>\
</form>\
');
var cpt_4539=new Array();
var limite_cpt_4539=new Array();
var limite_type_4539=new Array();
var num_quest_4539=new Array();


cpt_4539[40616]=0;
limite_cpt_4539[40616]=0;
limite_type_4539[40616]='max';
num_quest_4539[40616]=1;


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

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

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

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

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

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

		return false;
	}

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

	return true;
}


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


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

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

		posX+=offsetX;
		posY+=offsetY;

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

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

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

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