document.write('<style type="text/css">\
<!--\
table.cadre7230\
{\
border-style: solid;\
border-color: #FCCE76;\
border-width: 1px;\
background-color: #FFF9EC;\
background-image: url();\
}\
tr.titre7230\
{\
background-color: #FCCE76;\
}\
td.titre7230\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #6A2300;\
border-bottom-style: solid;\
border-bottom-color: #FCCE76;\
border-bottom-width: 1px;\
}\
td.contenu7230\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #6A2300;\
}\
td.question7230\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: bold;\
color: #6A2300;\
}\
a.lien7230\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #6A2300;\
text-decoration: underline;\
}\
a.lien7230:visited\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #6A2300;\
text-decoration: underline;\
}\
a.lien7230:active\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #6A2300;\
text-decoration: underline;\
}\
a.lien7230:hover\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #6A2300;\
text-decoration: underline;\
}\
form.form7230\
{\
margin: 0px;\
}\
input.bouton7230\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
}\
input.radio7230, input.checkbox7230\
{\
background-color: transparent;\
border-width: 0px;\
}\
//-->\
</style>\
');document.write('<div id="layer7230" style="position:absolute; visibility: hidden;"></div><form class="form7230" name="formSondage7230" method="post" action="http://www.i-services.net/membres/sondage/valider.php?uid=33123&sid=13369&id=14540" target="popup7230" onsubmit="javascript:if(formSubmit7230() == true) { win7230=window.open(\'\',\'popup7230\',\'width=500,height=400,top=\'+((screen.height-400)/2)+\',left=\'+((screen.width-500)/2)+\',scrollbars=1,resizable=0\'); win7230.focus(); return true; } else return false;">\
<input type="hidden" name="referer" value="" />\
<table class="cadre7230" border="0" cellpadding="3" cellspacing="0" width="160">\
<tr>\
<td class="question7230" colspan="2" align="left">Combat 3</td>\
</tr>\
<tr>\
<td class="contenu7230" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio7230" type="radio" name="question636" value="14585" onclick="javascript:compter7230(this,636);" /></td>\
<td class="contenu7230" width="99%" align="left" valign="middle">Evanescence\
</td>\
</tr>\
<tr>\
<td class="contenu7230" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio7230" type="radio" name="question636" value="14586" onclick="javascript:compter7230(this,636);" /></td>\
<td class="contenu7230" width="99%" align="left" valign="middle">Pink\
</td>\
</tr>\
<tr>\
<td class="contenu7230" colspan="2" align="center">\
<div style="margin: 2px;"><input class="bouton7230" type="submit" value="Valider" /></div>\
<div style="margin: 2px;"><a class="lien7230" href="#null" onclick="javascript:win7230=window.open(\'http://www.i-services.net/membres/sondage/resultats.php?uid=33123&sid=13369&id=14540\',\'popup7230\',\'width=500,height=400,top=\'+((screen.height-400)/2)+\',left=\'+((screen.width-500)/2)+\',scrollbars=1,resizable=0\'); win7230.focus(); return false;">Voir les r&eacute;sultats</a></div>\
</td>\
</tr>\
<tr>\
<td class="contenu7230" colspan="2" align="center" style="border-top-style: solid; border-top-color: #FCCE76; border-top-width: 1px;">Service offert par <a class="lien7230" href="http://www.i-services.net/membres/sondage/index.php?refid=33123" target="_blank">I-Services</a></td>\
</tr>\
</table>\
</form>\
');
var cpt_7230=new Array();
var limite_cpt_7230=new Array();
var limite_type_7230=new Array();
var num_quest_7230=new Array();


cpt_7230[636]=0;
limite_cpt_7230[636]=0;
limite_type_7230[636]='max';
num_quest_7230[636]=1;


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

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

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

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

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

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

		return false;
	}

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

	return true;
}


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


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

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

		posX+=offsetX;
		posY+=offsetY;

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

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

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

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