document.write('<style type="text/css">\
<!--\
table.cadre6135\
{\
border-style: solid;\
border-color: #FCCE76;\
border-width: 1px;\
background-color: #FFFFFF;\
background-image: url();\
}\
tr.titre6135\
{\
background-color: #FFF9EC;\
}\
td.titre6135\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #6A2300;\
border-bottom-style: solid;\
border-bottom-color: #FCCE76;\
border-bottom-width: 1px;\
}\
td.contenu6135\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #6A2300;\
}\
td.question6135\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #6A2300;\
}\
a.lien6135\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #6A2300;\
text-decoration: underline;\
}\
a.lien6135:visited\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #6A2300;\
text-decoration: underline;\
}\
a.lien6135:active\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #6A2300;\
text-decoration: underline;\
}\
a.lien6135:hover\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
color: #6A2300;\
text-decoration: underline;\
}\
form.form6135\
{\
margin: 0px;\
}\
input.bouton6135\
{\
font-family: Verdana;\
font-size: 13px;\
font-weight: normal;\
}\
input.radio6135, input.checkbox6135\
{\
background-color: transparent;\
border-width: 0px;\
}\
//-->\
</style>\
');document.write('<div id="layer6135" style="position:absolute; visibility: hidden;"></div><form class="form6135" name="formSondage6135" method="post" action="http://en.i-services.net/members/poll/validate.php?uid=113&sid=49&id=58" target="popup6135" onsubmit="javascript:if(formSubmit6135() == true) { win6135=window.open(\'\',\'popup6135\',\'width=500,height=400,top=\'+((screen.height-400)/2)+\',left=\'+((screen.width-500)/2)+\',scrollbars=1,resizable=0\'); win6135.focus(); return true; } else return false;">\
<input type="hidden" name="referer" value="" />\
<table class="cadre6135" border="0" cellpadding="3" cellspacing="0" width="250">\
<tr class="titre6135">\
<td class="titre6135" colspan="2" align="left"><b>Grey\'s Online</b></td>\
</tr>\
<tr>\
<td class="question6135" colspan="2" align="left">La coppia migliore di &quot;Grey\'s Anatomy&quot;?</td>\
</tr>\
<tr>\
<td class="contenu6135" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio6135" type="radio" name="question61" value="263" onclick="javascript:compter6135(this,61);" /></td>\
<td class="contenu6135" width="99%" align="left" valign="middle">Meredith Grey e Derek Sheperd\
</td>\
</tr>\
<tr>\
<td class="contenu6135" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio6135" type="radio" name="question61" value="264" onclick="javascript:compter6135(this,61);" /></td>\
<td class="contenu6135" width="99%" align="left" valign="middle">Addison Montgomery e Derek Sheperd\
</td>\
</tr>\
<tr>\
<td class="contenu6135" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio6135" type="radio" name="question61" value="265" onclick="javascript:compter6135(this,61);" /></td>\
<td class="contenu6135" width="99%" align="left" valign="middle">Christina Yang e Preston Burke\
</td>\
</tr>\
<tr>\
<td class="contenu6135" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio6135" type="radio" name="question61" value="266" onclick="javascript:compter6135(this,61);" /></td>\
<td class="contenu6135" width="99%" align="left" valign="middle">Izzie Stevens e Alex Karev\
</td>\
</tr>\
<tr>\
<td class="contenu6135" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio6135" type="radio" name="question61" value="267" onclick="javascript:compter6135(this,61);" /></td>\
<td class="contenu6135" width="99%" align="left" valign="middle">George O\'Malley e Callie Torres\
</td>\
</tr>\
<tr>\
<td class="contenu6135" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio6135" type="radio" name="question61" value="268" onclick="javascript:compter6135(this,61);" /></td>\
<td class="contenu6135" width="99%" align="left" valign="middle">Addison Montgomery e Mark Sloan\
</td>\
</tr>\
<tr>\
<td class="contenu6135" width="1%" align="left" valign="middle" style="padding-top: 0px; padding-bottom: 0px;"><input class="radio6135" type="radio" name="question61" value="269" onclick="javascript:compter6135(this,61);" /></td>\
<td class="contenu6135" width="99%" align="left" valign="middle">Izzie Stevens e Danny Duquette\
</td>\
</tr>\
<tr>\
<td class="contenu6135" colspan="2" align="center">\
<div style="margin: 2px;"><input class="bouton6135" type="submit" value="Validate" /></div>\
<div style="margin: 2px;"><a class="lien6135" href="#null" onclick="javascript:win6135=window.open(\'http://en.i-services.net/members/poll/results.php?uid=113&sid=49&id=58\',\'popup6135\',\'width=500,height=400,top=\'+((screen.height-400)/2)+\',left=\'+((screen.width-500)/2)+\',scrollbars=1,resizable=0\'); win6135.focus(); return false;">View results</a> - <a class="lien6135" href="#null" onclick="javascript:win6135=window.open(\'http://en.i-services.net/members/poll/results.php?uid=113&sid=49&id=58&archives=1\',\'popup6135\',\'width=500,height=400,top=\'+((screen.height-400)/2)+\',left=\'+((screen.width-500)/2)+\',scrollbars=1,resizable=0\'); win6135.focus(); return false;">Consult archives</a></div>\
</td>\
</tr>\
<tr>\
<td class="contenu6135" colspan="2" align="center" style="border-top-style: solid; border-top-color: #FCCE76; border-top-width: 1px;">Free service provided by <a class="lien6135" href="http://en.i-services.net/members/poll/index.php" target="_blank">I-Services</a></td>\
</tr>\
</table>\
</form>\
');
var cpt_6135=new Array();
var max_cpt_6135=new Array();
var num_quest_6135=new Array();


cpt_6135[61]=0;
max_cpt_6135[61]=0;
num_quest_6135[61]=1;


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

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

	for(idq in cpt_6135)
	{
		if(max_cpt_6135[idq] > 0 && cpt_6135[idq] > max_cpt_6135[idq])
		{
			msg1+='Please do not check more than '+max_cpt_6135[idq]+' answers for the question number '+num_quest_6135[idq]+' !\n';
		}
		else if(cpt_6135[idq] == 0)
		{
			msg2='Please select an answer !';

			break;
		}
	}

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

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

		return false;
	}

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

	return true;
}


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


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

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

		posX+=offsetX;
		posY+=offsetY;

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

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

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

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