document.write('<style type="text/css">\
<!--\
table.cadre3136\
{\
border-style: solid;\
border-color: #000000;\
border-width: 3px;\
background-color: #000000;\
background-image: url();\
}\
tr.titre3136\
{\
background-color: #000000;\
}\
td.titre3136\
{\
font-family: Georgia;\
font-size: 14px;\
font-weight: normal;\
color: #663300;\
border-bottom-style: solid;\
border-bottom-color: #000000;\
border-bottom-width: 3px;\
}\
td.contenu3136\
{\
font-family: Georgia;\
font-size: 14px;\
font-weight: normal;\
color: #996633;\
}\
td.question3136\
{\
font-family: Georgia;\
font-size: 14px;\
font-weight: bold;\
color: #FFFFFF;\
}\
a.lien3136\
{\
font-family: Georgia;\
font-size: 14px;\
font-weight: normal;\
color: #663300;\
text-decoration: underline;\
}\
a.lien3136:visited\
{\
font-family: Georgia;\
font-size: 14px;\
font-weight: normal;\
color: #663300;\
text-decoration: underline;\
}\
a.lien3136:active\
{\
font-family: Georgia;\
font-size: 14px;\
font-weight: normal;\
color: #663300;\
text-decoration: underline;\
}\
a.lien3136:hover\
{\
font-family: Georgia;\
font-size: 14px;\
font-weight: normal;\
color: #663300;\
text-decoration: underline;\
}\
form.form3136\
{\
margin: 0px;\
}\
input.bouton3136\
{\
font-family: Georgia;\
font-size: 14px;\
font-weight: normal;\
}\
input.radio3136, input.checkbox3136\
{\
background-color: transparent;\
border-width: 0px;\
}\
//-->\
</style>\
');document.write('<div id="layer3136" style="position:absolute; visibility: hidden;"></div><form class="form3136" name="formSondage3136" method="post" action="http://www.i-services.net/membres/sondage/valider.php?uid=127994&sid=72571&id=248" target="popup3136" onsubmit="javascript:if(formSubmit3136() == true) { win3136=window.open(\'\',\'popup3136\',\'width=500,height=400,top=\'+((screen.height-400)/2)+\',left=\'+((screen.width-500)/2)+\',scrollbars=1,resizable=0\'); win3136.focus(); return true; } else return false;">\
<input type="hidden" name="referer" value="" />\
<table class="cadre3136" border="0" cellpadding="3" cellspacing="0" width="200">\
<tr class="titre3136">\
<td class="titre3136" colspan="2" align="center"><b>&quot;CONCOURS&quot;</b></td>\
</tr>\
<tr>\
<td class="question3136" colspan="2" align="left">Votez pour votre blog pr&eacute;f&eacute;r&eacute;...</td>\
</tr>\
<tr>\
<td class="contenu3136" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio3136" type="radio" name="question264" value="1473" onclick="javascript:compter3136(this,264);" /></td>\
<td class="contenu3136" width="99%" align="left" valign="middle">Votez ADDICTEURS\
</td>\
</tr>\
<tr>\
<td class="contenu3136" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio3136" type="radio" name="question264" value="1474" onclick="javascript:compter3136(this,264);" /></td>\
<td class="contenu3136" width="99%" align="left" valign="middle">Votez DEMOLITE\
</td>\
</tr>\
<tr>\
<td class="contenu3136" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio3136" type="radio" name="question264" value="1475" onclick="javascript:compter3136(this,264);" /></td>\
<td class="contenu3136" width="99%" align="left" valign="middle">Votez SYLPO\
</td>\
</tr>\
<tr>\
<td class="contenu3136" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio3136" type="radio" name="question264" value="1476" onclick="javascript:compter3136(this,264);" /></td>\
<td class="contenu3136" width="99%" align="left" valign="middle">Votez LISABELLULE\
</td>\
</tr>\
<tr>\
<td class="contenu3136" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio3136" type="radio" name="question264" value="1477" onclick="javascript:compter3136(this,264);" /></td>\
<td class="contenu3136" width="99%" align="left" valign="middle">Votez L.G.A\
</td>\
</tr>\
<tr>\
<td class="contenu3136" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio3136" type="radio" name="question264" value="1913" onclick="javascript:compter3136(this,264);" /></td>\
<td class="contenu3136" width="99%" align="left" valign="middle">Votez EMILIE...\
</td>\
</tr>\
<tr>\
<td class="contenu3136" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio3136" type="radio" name="question264" value="1979" onclick="javascript:compter3136(this,264);" /></td>\
<td class="contenu3136" width="99%" align="left" valign="middle">Votez MELLENE\
</td>\
</tr>\
<tr>\
<td class="contenu3136" colspan="2" align="center">\
<div style="margin: 2px;"><input class="bouton3136" type="submit" value="Valider" /></div>\
<div style="margin: 2px;"><a class="lien3136" href="#null" onclick="javascript:win3136=window.open(\'http://www.i-services.net/membres/sondage/resultats.php?uid=127994&sid=72571&id=248\',\'popup3136\',\'width=500,height=400,top=\'+((screen.height-400)/2)+\',left=\'+((screen.width-500)/2)+\',scrollbars=1,resizable=0\'); win3136.focus(); return false;">Voir les r&eacute;sultats</a></div>\
</td>\
</tr>\
<tr>\
<td class="contenu3136" colspan="2" align="center" style="border-top-style: solid; border-top-color: #000000; border-top-width: 3px;">Service gratuit offert par <a class="lien3136" href="http://www.i-services.net/membres/sondage/index.php?refid=127994" target="_blank">I-Services</a></td>\
</tr>\
</table>\
</form>\
');
var cpt_3136=new Array();
var limite_cpt_3136=new Array();
var limite_type_3136=new Array();
var num_quest_3136=new Array();


cpt_3136[264]=0;
limite_cpt_3136[264]=0;
limite_type_3136[264]='max';
num_quest_3136[264]=1;


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

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

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

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

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

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

		return false;
	}

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

	return true;
}


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


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

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

		posX+=offsetX;
		posY+=offsetY;

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

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

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

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