document.write('<style type="text/css">\
<!--\
table.cadre805\
{\
border-style: solid;\
border-color: #000000;\
border-width: 1px;\
background-color: #000000;\
background-image: url();\
}\
tr.titre805\
{\
background-color: #000000;\
}\
td.titre805\
{\
font-family: Verdana;\
font-size: 11px;\
font-weight: normal;\
color: #F79009;\
border-bottom-style: solid;\
border-bottom-color: #000000;\
border-bottom-width: 1px;\
}\
td.contenu805\
{\
font-family: Verdana;\
font-size: 11px;\
font-weight: normal;\
color: #21A1BC;\
}\
td.question805\
{\
font-family: Verdana;\
font-size: 11px;\
font-weight: bold;\
color: #F79009;\
}\
a.lien805\
{\
font-family: Verdana;\
font-size: 11px;\
font-weight: normal;\
color: #F79009;\
text-decoration: underline;\
}\
a.lien805:visited\
{\
font-family: Verdana;\
font-size: 11px;\
font-weight: normal;\
color: #F79009;\
text-decoration: underline;\
}\
a.lien805:active\
{\
font-family: Verdana;\
font-size: 11px;\
font-weight: normal;\
color: #F79009;\
text-decoration: underline;\
}\
a.lien805:hover\
{\
font-family: Verdana;\
font-size: 11px;\
font-weight: normal;\
color: #F79009;\
text-decoration: underline;\
}\
form.form805\
{\
margin: 0px;\
}\
input.bouton805\
{\
font-family: Verdana;\
font-size: 11px;\
font-weight: normal;\
}\
input.radio805, input.checkbox805\
{\
background-color: transparent;\
border-width: 0px;\
}\
//-->\
</style>\
');document.write('<div id="layer805" style="position:absolute; visibility: hidden;"></div><form class="form805" name="formSondage805" method="post" action="http://www.i-services.net/membres/sondage/valider.php?uid=85635&sid=42455&id=61309" target="popup805" onsubmit="javascript:if(formSubmit805() == true) { win805=window.open(\'\',\'popup805\',\'width=500,height=400,top=\'+((screen.height-400)/2)+\',left=\'+((screen.width-500)/2)+\',scrollbars=1,resizable=0\'); win805.focus(); return true; } else return false;">\
<input type="hidden" name="referer" value="" />\
<table class="cadre805" border="0" cellpadding="3" cellspacing="0" width="185">\
<tr class="titre805">\
<td class="titre805" colspan="2" align="left"><b>Sondage #7</b></td>\
</tr>\
<tr>\
<td class="question805" colspan="2" align="left">Quel est votre manga/anime shojo pr&eacute;f&eacute;r&eacute;? (max 3)</td>\
</tr>\
<tr>\
<td class="contenu805" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="checkbox805" type="checkbox" name="question30256[]" value="148128" onclick="javascript:compter805(this,30256);" /></td>\
<td class="contenu805" width="99%" align="left" valign="middle">Alice 19th\
</td>\
</tr>\
<tr>\
<td class="contenu805" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="checkbox805" type="checkbox" name="question30256[]" value="148129" onclick="javascript:compter805(this,30256);" /></td>\
<td class="contenu805" width="99%" align="left" valign="middle">Angel Sanctuary\
</td>\
</tr>\
<tr>\
<td class="contenu805" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="checkbox805" type="checkbox" name="question30256[]" value="148130" onclick="javascript:compter805(this,30256);" /></td>\
<td class="contenu805" width="99%" align="left" valign="middle">Ayashi no Ceres\
</td>\
</tr>\
<tr>\
<td class="contenu805" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="checkbox805" type="checkbox" name="question30256[]" value="148132" onclick="javascript:compter805(this,30256);" /></td>\
<td class="contenu805" width="99%" align="left" valign="middle">CardCaptor Sakura\
</td>\
</tr>\
<tr>\
<td class="contenu805" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="checkbox805" type="checkbox" name="question30256[]" value="148134" onclick="javascript:compter805(this,30256);" /></td>\
<td class="contenu805" width="99%" align="left" valign="middle">DN Angel\
</td>\
</tr>\
<tr>\
<td class="contenu805" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="checkbox805" type="checkbox" name="question30256[]" value="148136" onclick="javascript:compter805(this,30256);" /></td>\
<td class="contenu805" width="99%" align="left" valign="middle">Fruits Basket\
</td>\
</tr>\
<tr>\
<td class="contenu805" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="checkbox805" type="checkbox" name="question30256[]" value="148137" onclick="javascript:compter805(this,30256);" /></td>\
<td class="contenu805" width="99%" align="left" valign="middle">Fullmoon Wo Sagashite\
</td>\
</tr>\
<tr>\
<td class="contenu805" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="checkbox805" type="checkbox" name="question30256[]" value="148138" onclick="javascript:compter805(this,30256);" /></td>\
<td class="contenu805" width="99%" align="left" valign="middle">Fushigi Yugi\
</td>\
</tr>\
<tr>\
<td class="contenu805" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="checkbox805" type="checkbox" name="question30256[]" value="148139" onclick="javascript:compter805(this,30256);" /></td>\
<td class="contenu805" width="99%" align="left" valign="middle">Gals!\
</td>\
</tr>\
<tr>\
<td class="contenu805" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="checkbox805" type="checkbox" name="question30256[]" value="148140" onclick="javascript:compter805(this,30256);" /></td>\
<td class="contenu805" width="99%" align="left" valign="middle">Global Garden\
</td>\
</tr>\
<tr>\
<td class="contenu805" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="checkbox805" type="checkbox" name="question30256[]" value="148141" onclick="javascript:compter805(this,30256);" /></td>\
<td class="contenu805" width="99%" align="left" valign="middle">Hana Yori Dango\
</td>\
</tr>\
<tr>\
<td class="contenu805" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="checkbox805" type="checkbox" name="question30256[]" value="148143" onclick="javascript:compter805(this,30256);" /></td>\
<td class="contenu805" width="99%" align="left" valign="middle">Kare First Love\
</td>\
</tr>\
<tr>\
<td class="contenu805" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="checkbox805" type="checkbox" name="question30256[]" value="148144" onclick="javascript:compter805(this,30256);" /></td>\
<td class="contenu805" width="99%" align="left" valign="middle">Lui ou Rien!\
</td>\
</tr>\
<tr>\
<td class="contenu805" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="checkbox805" type="checkbox" name="question30256[]" value="148145" onclick="javascript:compter805(this,30256);" /></td>\
<td class="contenu805" width="99%" align="left" valign="middle">Marmalade Boy\
</td>\
</tr>\
<tr>\
<td class="contenu805" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="checkbox805" type="checkbox" name="question30256[]" value="148146" onclick="javascript:compter805(this,30256);" /></td>\
<td class="contenu805" width="99%" align="left" valign="middle">Nana\
</td>\
</tr>\
<tr>\
<td class="contenu805" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="checkbox805" type="checkbox" name="question30256[]" value="148149" onclick="javascript:compter805(this,30256);" /></td>\
<td class="contenu805" width="99%" align="left" valign="middle">Paradise Kiss\
</td>\
</tr>\
<tr>\
<td class="contenu805" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="checkbox805" type="checkbox" name="question30256[]" value="148152" onclick="javascript:compter805(this,30256);" /></td>\
<td class="contenu805" width="99%" align="left" valign="middle">Sailormoon\
</td>\
</tr>\
<tr>\
<td class="contenu805" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="checkbox805" type="checkbox" name="question30256[]" value="148153" onclick="javascript:compter805(this,30256);" /></td>\
<td class="contenu805" width="99%" align="left" valign="middle">Ultra Maniac\
</td>\
</tr>\
<tr>\
<td class="contenu805" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="checkbox805" type="checkbox" name="question30256[]" value="148156" onclick="javascript:compter805(this,30256);" /></td>\
<td class="contenu805" width="99%" align="left" valign="middle">Urukyu\
</td>\
</tr>\
<tr>\
<td class="contenu805" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="checkbox805" type="checkbox" name="question30256[]" value="148155" onclick="javascript:compter805(this,30256);" /></td>\
<td class="contenu805" width="99%" align="left" valign="middle">Autre\
</td>\
</tr>\
<tr>\
<td class="contenu805" colspan="2" align="center">\
<div style="margin: 2px;"><input class="bouton805" type="submit" value="Valider" /></div>\
<div style="margin: 2px;"><a class="lien805" href="#null" onclick="javascript:win805=window.open(\'http://www.i-services.net/membres/sondage/resultats.php?uid=85635&sid=42455&id=61309\',\'popup805\',\'width=500,height=400,top=\'+((screen.height-400)/2)+\',left=\'+((screen.width-500)/2)+\',scrollbars=1,resizable=0\'); win805.focus(); return false;">Voir les r&eacute;sultats</a></div>\
</td>\
</tr>\
<tr>\
<td class="contenu805" colspan="2" align="center" style="border-top-style: solid; border-top-color: #000000; border-top-width: 1px;">Service gratuit offert par <a class="lien805" href="http://www.i-services.net/membres/sondage/index.php?refid=85635" target="_blank">I-Services</a></td>\
</tr>\
</table>\
</form>\
');
var cpt_805=new Array();
var limite_cpt_805=new Array();
var limite_type_805=new Array();
var num_quest_805=new Array();


cpt_805[30256]=0;
limite_cpt_805[30256]=3;
limite_type_805[30256]='max';
num_quest_805[30256]=1;


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

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

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

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

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

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

		return false;
	}

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

	return true;
}


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


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

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

		posX+=offsetX;
		posY+=offsetY;

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

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

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

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