  
  
 var pollClosed1252566 = false;
var PDV_POLLRAND1252566 = false;

 var PDV_a1252566 = "";
 var PDV_o1252566 = "";
 var PDV_id1252566 = 1252566;
 var PDV_pt1252566 = 0;
 var PDV_po1252566 = 0;
 var PDV_s1252566 = 4;
 var PDV_b1252566 = 1;
 var PDV_l1252566 = 0;
 var PDV_pr1252566 = 2;
 var PDV_w1252566 = 1252566;
 
 var PDV_sl1252566 = 1;
 var PDV_va1252566 = 0;
 
var PDV_lnk1252566 = 1;



var PDV_def1252566 = '#PDI_container1252566 .pds-box{ width:250px;color:#333;background:#fff;font-family:Verdana,Arial,Helvetica,sans-serif;text-align:left} #PDI_container1252566  .pds-box-outer{} #PDI_container1252566 .pds-box-inner{} #PDI_container1252566  .pds-box-top{padding:10px 10px 10px 10px} #PDI_container1252566  .pds-question{ } #PDI_container1252566  .pds-question-outer{ padding-bottom:5px} #PDI_container1252566 .pds-question-inner{ } #PDI_container1252566  .pds-question-top{ padding:5px 5px 0px 5px;font-size:12px;color:#333;text-align:center} #PDI_container1252566  .pds-answer{ font-size:10px;color:#333;padding:10px 10px 15px 10px} #PDI_container1252566  .pds-answer label{} #PDI_container1252566 .pds-radiobutton{} #PDI_container1252566  .pds-checkbox{} #PDI_container1252566  .pds-textfield{ width:100%;font-size:10px;color:#666;background-color:#ccc;border:1px;border-color:#333;padding:1px 1px 1px 1px;margin:5px 0px 0px 0px} #PDI_container1252566  .pds-answer-feedback{ background-color:#ccc;padding:0px 0px 0px 0px;height:12px;margin:2px 0px 5px 0px} #PDI_container1252566 .pds-answer-feedback-bar{ background:#666;margin:3px;padding:0px;height:6px;border:0px} #PDI_container1252566 .pds-answer-feedback img{ background:#666;margin:3px;padding:0px;height:6px;border:0px} #PDI_container1252566 .pds-vote{ font-size:9px;color:#c3C4c7;line-height:17px;padding:0px 10px 10px 10px} #PDI_container1252566  .pds-votebutton-outer{ } #PDI_container1252566 .pds-vote a{ font-size:9px;color:#777;text-decoration:none;border-top:1px;border-bottom:1px;border-top-color:#ccc;border-bottom-color:#ccc;border-top-style:solid;border-bottom-style:solid;padding:2px 0px 2px 0px} #PDI_container1252566  input.pds-votebutton{ width:55px;height:21px;background:url(http://i.polldaddy.com/polls/pdsimple-votebutton.gif) no-repeat;outline:none;float:right;margin:0px 0px 10px 0px} #PDI_container1252566 input.pds-votebutton:hover{ } #PDI_container1252566 input.pds-votebutton-pack{ float:right;font-size:10px} #PDI_container1252566 .pds-totalvotes-outer{} #PDI_container1252566  .pds-totalvotes-inner{ font-size:9px;color:#fff;background-color:#666;padding:2px 2px 2px 4px;margin:0px 0px 10px 0px;text-transform:uppercase;letter-spacing:1px}';

var PDV_POLL_q1252566 = 'T&amp;C Award: Miglior fiction italiana dell\'anno'; var PDV_POLL_medType1252566 = '0'; var PDV_POLL_medID1252566 = '';
var PDV_A1252566 = new Array();


  PDV_A1252566[0] = new Array(4); PDV_A1252566[0][0] = "6478469"; PDV_A1252566[0][1] = "La nuova squadra";   PDV_A1252566[0][2] = "0"; PDV_A1252566[0][3] = "";

  PDV_A1252566[1] = new Array(4); PDV_A1252566[1][0] = "6478470"; PDV_A1252566[1][1] = "Distretto di polizia";   PDV_A1252566[1][2] = "0"; PDV_A1252566[1][3] = "";

  PDV_A1252566[2] = new Array(4); PDV_A1252566[2][0] = "6478471"; PDV_A1252566[2][1] = "Finalmente soli";   PDV_A1252566[2][2] = "0"; PDV_A1252566[2][3] = "";

  PDV_A1252566[3] = new Array(4); PDV_A1252566[3][0] = "6478472"; PDV_A1252566[3][1] = "RIS";   PDV_A1252566[3][2] = "0"; PDV_A1252566[3][3] = "";

  PDV_A1252566[4] = new Array(4); PDV_A1252566[4][0] = "6478473"; PDV_A1252566[4][1] = "Ho sposato uno sbirro";   PDV_A1252566[4][2] = "0"; PDV_A1252566[4][3] = "";

  PDV_A1252566[5] = new Array(4); PDV_A1252566[5][0] = "6478474"; PDV_A1252566[5][1] = "Incantesimo";   PDV_A1252566[5][2] = "0"; PDV_A1252566[5][3] = "";

  PDV_A1252566[6] = new Array(4); PDV_A1252566[6][0] = "6478475"; PDV_A1252566[6][1] = "Piloti";   PDV_A1252566[6][2] = "0"; PDV_A1252566[6][3] = "";

  PDV_A1252566[7] = new Array(4); PDV_A1252566[7][0] = "6478476"; PDV_A1252566[7][1] = "Quo vaids, baby?";   PDV_A1252566[7][2] = "0"; PDV_A1252566[7][3] = "";

  PDV_A1252566[8] = new Array(4); PDV_A1252566[8][0] = "6478477"; PDV_A1252566[8][1] = "Terapia d\'urgenza";   PDV_A1252566[8][2] = "0"; PDV_A1252566[8][3] = "";

  PDV_A1252566[9] = new Array(4); PDV_A1252566[9][0] = "6478478"; PDV_A1252566[9][1] = "Provaci ancora prof";   PDV_A1252566[9][2] = "0"; PDV_A1252566[9][3] = "";

  PDV_A1252566[10] = new Array(4); PDV_A1252566[10][0] = "6478479"; PDV_A1252566[10][1] = "Centovetrine";   PDV_A1252566[10][2] = "0"; PDV_A1252566[10][3] = "";

  PDV_A1252566[11] = new Array(4); PDV_A1252566[11][0] = "6478480"; PDV_A1252566[11][1] = "Belli dentro";   PDV_A1252566[11][2] = "0"; PDV_A1252566[11][3] = "";

  PDV_A1252566[12] = new Array(4); PDV_A1252566[12][0] = "6478481"; PDV_A1252566[12][1] = "Un posto al sole";   PDV_A1252566[12][2] = "0"; PDV_A1252566[12][3] = "";

  PDV_A1252566[13] = new Array(4); PDV_A1252566[13][0] = "6478482"; PDV_A1252566[13][1] = "Buona la prima";   PDV_A1252566[13][2] = "0"; PDV_A1252566[13][3] = "";

  PDV_A1252566[14] = new Array(4); PDV_A1252566[14][0] = "6478483"; PDV_A1252566[14][1] = "Aldo Moro";   PDV_A1252566[14][2] = "0"; PDV_A1252566[14][3] = "";

  PDV_A1252566[15] = new Array(4); PDV_A1252566[15][0] = "6478484"; PDV_A1252566[15][1] = "Carnera - Il campione più grande";   PDV_A1252566[15][2] = "0"; PDV_A1252566[15][3] = "";

  PDV_A1252566[16] = new Array(4); PDV_A1252566[16][0] = "6478485"; PDV_A1252566[16][1] = "VIP";   PDV_A1252566[16][2] = "0"; PDV_A1252566[16][3] = "";

  PDV_A1252566[17] = new Array(4); PDV_A1252566[17][0] = "6478486"; PDV_A1252566[17][1] = "I Liceali";   PDV_A1252566[17][2] = "0"; PDV_A1252566[17][3] = "";

  PDV_A1252566[18] = new Array(4); PDV_A1252566[18][0] = "6478487"; PDV_A1252566[18][1] = "I Cesaroni";   PDV_A1252566[18][2] = "0"; PDV_A1252566[18][3] = "";

  PDV_A1252566[19] = new Array(4); PDV_A1252566[19][0] = "6478488"; PDV_A1252566[19][1] = "Crociera Vianello";   PDV_A1252566[19][2] = "0"; PDV_A1252566[19][3] = "";

  PDV_A1252566[20] = new Array(4); PDV_A1252566[20][0] = "6478489"; PDV_A1252566[20][1] = "Commissario Montalbano";   PDV_A1252566[20][2] = "0"; PDV_A1252566[20][3] = "";

  PDV_A1252566[21] = new Array(4); PDV_A1252566[21][0] = "6478490"; PDV_A1252566[21][1] = "Artemisia Sanchez";   PDV_A1252566[21][2] = "0"; PDV_A1252566[21][3] = "";

  PDV_A1252566[22] = new Array(4); PDV_A1252566[22][0] = "6478491"; PDV_A1252566[22][1] = "Questaè la mia terra. vent\'anni dopo";   PDV_A1252566[22][2] = "0"; PDV_A1252566[22][3] = "";

  PDV_A1252566[23] = new Array(4); PDV_A1252566[23][0] = "6478492"; PDV_A1252566[23][1] = "Io non dimentico";   PDV_A1252566[23][2] = "0"; PDV_A1252566[23][3] = "";

  PDV_A1252566[24] = new Array(4); PDV_A1252566[24][0] = "6478493"; PDV_A1252566[24][1] = "Don Matteo 6";   PDV_A1252566[24][2] = "0"; PDV_A1252566[24][3] = "";

  PDV_A1252566[25] = new Array(4); PDV_A1252566[25][0] = "6478494"; PDV_A1252566[25][1] = "Don Zeno";   PDV_A1252566[25][2] = "0"; PDV_A1252566[25][3] = "";

  PDV_A1252566[26] = new Array(4); PDV_A1252566[26][0] = "6478495"; PDV_A1252566[26][1] = "Vita da paparazzo";   PDV_A1252566[26][2] = "0"; PDV_A1252566[26][3] = "";

  PDV_A1252566[27] = new Array(4); PDV_A1252566[27][0] = "6478496"; PDV_A1252566[27][1] = "Anna e i 5";   PDV_A1252566[27][2] = "0"; PDV_A1252566[27][3] = "";

  PDV_A1252566[28] = new Array(4); PDV_A1252566[28][0] = "6478497"; PDV_A1252566[28][1] = "Il sangue e la rosa";   PDV_A1252566[28][2] = "0"; PDV_A1252566[28][3] = "";

  PDV_A1252566[29] = new Array(4); PDV_A1252566[29][0] = "6478498"; PDV_A1252566[29][1] = "Io ti assolvo";   PDV_A1252566[29][2] = "0"; PDV_A1252566[29][3] = "";

  PDV_A1252566[30] = new Array(4); PDV_A1252566[30][0] = "6478499"; PDV_A1252566[30][1] = "L\'ultimo padrino";   PDV_A1252566[30][2] = "0"; PDV_A1252566[30][3] = "";

  PDV_A1252566[31] = new Array(4); PDV_A1252566[31][0] = "6478500"; PDV_A1252566[31][1] = "O Professore";   PDV_A1252566[31][2] = "0"; PDV_A1252566[31][3] = "";

  PDV_A1252566[32] = new Array(4); PDV_A1252566[32][0] = "6478501"; PDV_A1252566[32][1] = "Il Capo dei capi";   PDV_A1252566[32][2] = "0"; PDV_A1252566[32][3] = "";

  PDV_A1252566[33] = new Array(4); PDV_A1252566[33][0] = "6478502"; PDV_A1252566[33][1] = "Commissario Rex";   PDV_A1252566[33][2] = "0"; PDV_A1252566[33][3] = "";

  PDV_A1252566[34] = new Array(4); PDV_A1252566[34][0] = "6478503"; PDV_A1252566[34][1] = "Mogli a pezzi";   PDV_A1252566[34][2] = "0"; PDV_A1252566[34][3] = "";

  PDV_A1252566[35] = new Array(4); PDV_A1252566[35][0] = "6478504"; PDV_A1252566[35][1] = "Per una notte d\'amore";   PDV_A1252566[35][2] = "0"; PDV_A1252566[35][3] = "";

  PDV_A1252566[36] = new Array(4); PDV_A1252566[36][0] = "6478505"; PDV_A1252566[36][1] = "Un ciclone in famiglia";   PDV_A1252566[36][2] = "0"; PDV_A1252566[36][3] = "";

  PDV_A1252566[37] = new Array(4); PDV_A1252566[37][0] = "6478506"; PDV_A1252566[37][1] = "Il bambino della domenica";   PDV_A1252566[37][2] = "0"; PDV_A1252566[37][3] = "";

  PDV_A1252566[38] = new Array(4); PDV_A1252566[38][0] = "6478507"; PDV_A1252566[38][1] = "Tutti pazzi per amore";   PDV_A1252566[38][2] = "0"; PDV_A1252566[38][3] = "";

  PDV_A1252566[39] = new Array(4); PDV_A1252566[39][0] = "6478508"; PDV_A1252566[39][1] = "Amiche Mie";   PDV_A1252566[39][2] = "0"; PDV_A1252566[39][3] = "";

  PDV_A1252566[40] = new Array(4); PDV_A1252566[40][0] = "6478509"; PDV_A1252566[40][1] = "Carabinieri 7";   PDV_A1252566[40][2] = "0"; PDV_A1252566[40][3] = "";

  PDV_A1252566[41] = new Array(4); PDV_A1252566[41][0] = "6478510"; PDV_A1252566[41][1] = "Maresciallo Rocca e l\'amico d\'infanzia";   PDV_A1252566[41][2] = "0"; PDV_A1252566[41][3] = "";

  PDV_A1252566[42] = new Array(4); PDV_A1252566[42][0] = "6478511"; PDV_A1252566[42][1] = "Fidati di me";   PDV_A1252566[42][2] = "0"; PDV_A1252566[42][3] = "";

  PDV_A1252566[43] = new Array(4); PDV_A1252566[43][0] = "6478512"; PDV_A1252566[43][1] = "Caravaggio";   PDV_A1252566[43][2] = "0"; PDV_A1252566[43][3] = "";

  PDV_A1252566[44] = new Array(4); PDV_A1252566[44][0] = "6478513"; PDV_A1252566[44][1] = "Einstain";   PDV_A1252566[44][2] = "0"; PDV_A1252566[44][3] = "";

  PDV_A1252566[45] = new Array(4); PDV_A1252566[45][0] = "6478514"; PDV_A1252566[45][1] = "Coco Chanel";   PDV_A1252566[45][2] = "0"; PDV_A1252566[45][3] = "";

  PDV_A1252566[46] = new Array(4); PDV_A1252566[46][0] = "6478515"; PDV_A1252566[46][1] = "Zodiaco";   PDV_A1252566[46][2] = "0"; PDV_A1252566[46][3] = "";

  PDV_A1252566[47] = new Array(4); PDV_A1252566[47][0] = "6478516"; PDV_A1252566[47][1] = "Un caso di coscienza 3";   PDV_A1252566[47][2] = "0"; PDV_A1252566[47][3] = "";

  PDV_A1252566[48] = new Array(4); PDV_A1252566[48][0] = "6478517"; PDV_A1252566[48][1] = "Medici Miei";   PDV_A1252566[48][2] = "0"; PDV_A1252566[48][3] = "";

  PDV_A1252566[49] = new Array(4); PDV_A1252566[49][0] = "6478518"; PDV_A1252566[49][1] = "Don Luca c\'è";   PDV_A1252566[49][2] = "0"; PDV_A1252566[49][3] = "";

  PDV_A1252566[50] = new Array(4); PDV_A1252566[50][0] = "6478519"; PDV_A1252566[50][1] = "Camera Cafè";   PDV_A1252566[50][2] = "0"; PDV_A1252566[50][3] = "";

  PDV_A1252566[51] = new Array(4); PDV_A1252566[51][0] = "6478520"; PDV_A1252566[51][1] = "Rino Gaetano";   PDV_A1252566[51][2] = "0"; PDV_A1252566[51][3] = "";

  PDV_A1252566[52] = new Array(4); PDV_A1252566[52][0] = "6478521"; PDV_A1252566[52][1] = "Raccontami capitolo II";   PDV_A1252566[52][2] = "0"; PDV_A1252566[52][3] = "";


var PDV_l1_1252566 = 'View Results';
var PDV_l2_1252566 = 'Other:';
var PDV_l3_1252566  = '';

  
var PDV_l4_1252566 = 'Please choose an answer first!';


//v2.61 11/Nov/09

if (pollClosed1252566 == false)
 {
    var PDV_server1252566 = 'http://polls.polldaddy.com';
    var AA1252566 = new Array();
    var PDV_html1252566 = '<div style="margin-bottom: 0px; margin-top: 0px;" name="PDI_form1252566" id="PDI_form1252566"><div class="pds-box"><div class="pds-box-outer"><div class="pds-box-inner"><div class="pds-box-top"><div class="pds-question"><div class="pds-question-outer"><div class="pds-question-inner"><div class="pds-question-top">' + media1252566(PDV_POLL_medType1252566, PDV_POLL_medID1252566) + ' ' + unescape_HTML_1252566( PDV_POLL_q1252566 ) + '</div></div></div></div><div class="pds-answer"><span id="pds-answer1252566"></span>';
    if (PDV_po1252566 == 1)
    {
		PDV_html1252566 += '<span class="pds-answer-group">';
		
        if (PDV_pt1252566 == 0)
        {
            PDV_html1252566 += '<span class="pds-answer-input"><input type="radio" name="PDI_answer1252566" id="PDI_answerOther1252566" value="other" class="pds-radiobutton"/></span>';
        }
        PDV_html1252566 += '<label for="PDI_answerOther1252566" class="pds-other-label"><span class="pds-answer-span">' + PDV_l2_1252566 + '</span></label><span class="pds-answer-other"><br/><input class="pds-textfield" type="text" maxlength="80" id="PDI_OtherText1252566" name="PDI_OtherText1252566" onclick="PDI_checkOther1252566();" onchange="PDI_checkOther1252566(true);" /></span>';

		PDV_html1252566 += '<span class="pds-clear"></span>';
		PDV_html1252566 += '</span>';
    }

    PDV_html1252566 += '</div><div class="pds-vote"><div class="pds-votebutton-outer">';

    if ( PDV_l3_1252566 == '' )
    {
		PDV_l3_1252566 = 'Vote';
    }
	
	if ( PDV_s1252566 < 99 || PDV_def1252566.indexOf('input.pds-votebutton') != -1 )	
	{
		if (PDV_l3_1252566 == 'Vote' || PDV_l3_1252566 == '')
	    {
	        PDV_html1252566 += '<input type="button" class="pds-votebutton" style="border:none;cursor: pointer;" src="http://i.polldaddy.com/polls/spacer.gif" onclick="PD_vote1252566(0);">';
	    }
	    else
	    {
	        PDV_html1252566 += '<input type="button" class="pds-votebutton-pack" value="' + PDV_l3_1252566 + '"  onclick="PD_vote1252566(0);" />';
	    }
	}
	else
	{
		PDV_html1252566 += '<a href="javascript:PD_vote1252566(0);" id="pd-vote-button1252566" class="pds-vote-button"><span>' + PDV_l3_1252566 + '</span></a>';
	}

	PDV_html1252566 += '<span class="pds-links">';

    if (PDV_pr1252566 == 2) {
        PDV_html1252566 += '<br/>';
    }
    else {
        PDV_html1252566 += '<a href="javascript:PD_vote1252566(1);" class="pds-view-results">' + PDV_l1_1252566 + '</a><br/>';
    }

	if( typeof PDV_share1252566 != "undefined") {
		if (PDV_share1252566 == 1 ) {
			PDV_html1252566 += '<a class="a2a_dd pds-share"  href="javascript:">' + PDV_l12_1252566 + '</a>';
		}
	}
	
    if (PDV_lnk1252566 == 1) {
        PDV_html1252566 += '<a href="http://www.polldaddy.com" target="_blank" class="pds-pd-link">Polldaddy.com</a>';
    }

	PDV_html1252566 += '<span class="pds-clear"></span>';
	PDV_html1252566 += '</span><span class="pds-clear"></span>';
	
    PDV_html1252566 += '</div></div></div></div></div></div></div>';

    for (PDV_x = 0; PDV_x < PDV_A1252566.length; PDV_x++)
    {
        if (PDV_pt1252566 == 0)
        {
            AA1252566[PDV_x] = '<span class="pds-answer-group"><span class="pds-answer-input"><input class="pds-radiobutton" type="radio" id="PDI_answer' + PDV_A1252566[PDV_x][0] + '" value="' + PDV_A1252566[PDV_x][0] + '" name="PDI_answer1252566" /></span><label for="PDI_answer' + PDV_A1252566[PDV_x][0] + '" class="pds-input-label"><span class="pds-answer-span">' + unescape_HTML_1252566( PDV_A1252566[PDV_x][1] ) + '</span></label>' + media1252566(PDV_A1252566[PDV_x][2], PDV_A1252566[PDV_x][3]) + '<span class="pds-clear"></span><br/></span>';
        }
        else
        {
            AA1252566[PDV_x] = '<span class="pds-answer-group"><span class="pds-answer-input"><input class="pds-checkbox" type="checkbox" id="PDI_answer' + PDV_A1252566[PDV_x][0] + '" value="' + PDV_A1252566[PDV_x][0] + '" name="PDI_answer' + PDV_A1252566[PDV_x][0] + '" onclick="javascript:PDF_mc1252566(this);" /></span><label for="PDI_answer' + PDV_A1252566[PDV_x][0] + '" class="pds-input-label"><span class="pds-answer-span">' + unescape_HTML_1252566( PDV_A1252566[PDV_x][1] ) + '</span></label>' + media1252566(PDV_A1252566[PDV_x][2], PDV_A1252566[PDV_x][3]) + '<span class="pds-clear"></span><br/></span>';
        }
    }
}

function PDF_mc1252566(obj){
	if ( PDV_pt1252566 > 1 ){
		var nc = 0;
		for (i = 0; i < AA1252566.length; i++)
	    {
	        r = document.getElementById(AA1252566[i].substring(AA1252566[i].indexOf('id=') + 4, AA1252566[i].indexOf('"', AA1252566[i].indexOf('id=') + 4)));
	        if (r.type == "checkbox" && r.checked) { nc += 1; }
	    }
	
		if (PDV_po1252566 == 1)
	    {
			var otherText = document.getElementById("PDI_OtherText1252566").value;
			if( otherText.length > 0 ) { nc += 1; }	
		}		
		
		if ( nc > PDV_pt1252566 ){
			obj.checked = false;
			obj.disabled = true;
		}
		
		if ( nc >= PDV_pt1252566 ){
			for (i = 0; i < AA1252566.length; i++)
		    {
		        r = document.getElementById(AA1252566[i].substring(AA1252566[i].indexOf('id=') + 4, AA1252566[i].indexOf('"', AA1252566[i].indexOf('id=') + 4)));
		        if (r.type == "checkbox" && !r.checked) { r.disabled = true; }
		    }
		}
		else{
			if (PDV_po1252566 == 1) { document.getElementById("PDI_OtherText1252566").disabled=false; }
			for (i = 0; i < AA1252566.length; i++)
		    {
		        r = document.getElementById(AA1252566[i].substring(AA1252566[i].indexOf('id=') + 4, AA1252566[i].indexOf('"', AA1252566[i].indexOf('id=') + 4)));
		        if (r.type == "checkbox" && !r.checked) { r.disabled = false; }
		    }
		}
	}
}

function PDF_a1252566()
 {
    PDF_o1252566();
    var r;
    if (PDV_pt1252566 == 0)
    {
    	for (var i = 0; i < AA1252566.length; i++)
        {
            r = document.getElementById(AA1252566[i].substring(AA1252566[i].indexOf('id=') + 4, AA1252566[i].indexOf('"', AA1252566[i].indexOf('id=') + 4)));
            if (r.checked) {
                return r.value + ",";
            }
        }
        r = document.getElementById("PDI_answerOther1252566");
        if (r) {
            if (r.checked) {
                return r.value + ",";
            } else {
                return '';
            }
        } else {
            return "";
        }
    }
    else
    {
        for (i = 0; i < AA1252566.length; i++)
        {
            r = document.getElementById(AA1252566[i].substring(AA1252566[i].indexOf('id=') + 4, AA1252566[i].indexOf('"', AA1252566[i].indexOf('id=') + 4)));
            if (r.type == "checkbox" && r.checked)
            {
                PDV_a1252566 = PDV_a1252566 + r.value + ",";
            }
        }
        return PDV_a1252566;
    }
}
function PDF_o1252566(r) {
    if (PDV_po1252566 == 1) {
        PDV_o1252566 = document.getElementById("PDI_OtherText1252566").value;
    }
}
function PDI_checkOther1252566( lostfocus )
 {
	var reset = false;
	if( lostfocus ){
		var ot = document.getElementById("PDI_OtherText1252566").value;
		if( ot.length == 0 ){ reset = true; }
	}
	
    if (PDV_pt1252566 == 0)
    {
		if(lostfocus && reset){ document.getElementById("PDI_answerOther1252566").checked = false; }
		else{ document.getElementById("PDI_answerOther1252566").checked = true; }
    }
	else if ( PDV_pt1252566 > 1 ){
		var nc = 1;
		obj = document.getElementById("PDI_OtherText1252566");
		if(lostfocus && reset){ nc = 0; }
		
		for (i = 0; i < AA1252566.length; i++)
	    {
	        r = document.getElementById(AA1252566[i].substring(AA1252566[i].indexOf('id=') + 4, AA1252566[i].indexOf('"', AA1252566[i].indexOf('id=') + 4)));
	        if (r.type == "checkbox" && r.checked) { nc += 1; }
	    }

		if ( nc > PDV_pt1252566 ){
			obj.disabled=true;
			obj.value='';
			for (i = 0; i < AA1252566.length; i++)
		    {
		        r = document.getElementById(AA1252566[i].substring(AA1252566[i].indexOf('id=') + 4, AA1252566[i].indexOf('"', AA1252566[i].indexOf('id=') + 4)));
		        if (r.type == "checkbox" && !r.checked) { r.disabled = true; }
		    }
		}
		else if( nc < PDV_pt1252566 ){
			obj.disabled=false;
			for (i = 0; i < AA1252566.length; i++)
		    {
		        r = document.getElementById(AA1252566[i].substring(AA1252566[i].indexOf('id=') + 4, AA1252566[i].indexOf('"', AA1252566[i].indexOf('id=') + 4)));
		        if (r.type == "checkbox" && !r.checked) { r.disabled = false; }
		    }
		}
	}
}
function PD_vote1252566(R)
 {
    var randomnumber = Math.floor(Math.random() * 11);
    if (R == 1)
    {
        var s = document.createElement("SCRIPT");
        s.charset = "utf-8";
        s.src = PDV_server1252566 + "/vote-js.php?s=" + PDV_s1252566 + "&vr=1&b=" + PDV_b1252566 + "&p=" + PDV_id1252566 + "&l=" + PDV_l1252566 + "&sl=" + PDV_sl1252566 + "&pr=" + PDV_pr1252566 + "&pt=" + PDV_pt1252566 + "&va=" + PDV_va1252566 + "&cookie=" + PD_ck1252566 + "&rdm=" + randomnumber + "&url=" + escape(location.href) + "&w=" + PDV_w1252566;
        var h = document.getElementsByTagName("head").item(0);
        h.appendChild(s);
    }
    else
    {
        if (PDV_b1252566 > 0)
        {
            Set_Cookie1252566('PD_poll_' + PDV_id1252566, 'true', 0, '/', '', '');
        }
        PDV_a1252566 = '';
        PDV_a1252566 = PDF_a1252566(document.getElementById("PDI_form1252566"));
        if (PDV_a1252566.length == 0 && PDV_o1252566.length == 0)
        {
            alert(PDV_l4_1252566);
        }
        else
        {
			if ( PDV_def1252566.indexOf('input.pds-votebutton') == -1 ) {
				document.getElementById('pd-vote-button1252566').className = 'pds-vote-button-load';
			}
	
            var s = document.createElement("SCRIPT");
            s.charset = "utf-8";
            s.src = PDV_server1252566 + "/vote-js.php?s=" + PDV_s1252566 + "&b=" + PDV_b1252566 + "&p=" + PDV_id1252566 + "&a=" + PDV_a1252566 + "&o=" + PDV_o1252566 + "&l=" + PDV_l1252566 + "&sl=" + PDV_sl1252566 + "&pr=" + PDV_pr1252566 + "&pt=" + PDV_pt1252566 + "&va=" + PDV_va1252566 + "&cookie=" + PD_ck1252566 + "&rdm=" + randomnumber + "&url=" + escape(location.href) + "&w=" + PDV_w1252566;
            var h = document.getElementsByTagName("head").item(0);
            h.appendChild(s);
        }
    }
}
var PD_pollString1252566 = PDV_html1252566;
var PD_ck1252566 = 0;

function PDV_rand1252566(myArray) {
    var i = myArray.length;
    if (i == 0) return false;
    while (--i) {
        var j = Math.floor(Math.random() * (i + 1));
        var tempi = myArray[i];
        var tempj = myArray[j];
        myArray[i] = tempj;
        myArray[j] = tempi;
    }
    return myArray;
}


function PDV_go1252566()
 {
    if (!document.getElementById('poll_style1252566'))
    {
        fileref = document.createElement("style");
        fileref.setAttribute("type", "text/css");
        fileref.setAttribute("id", "poll_style1252566");
        if (fileref.styleSheet)
        // IE
        {
            fileref.styleSheet.cssText = PDV_def1252566;
        }
        else
        // the world
        {
            fileref.appendChild(document.createTextNode(PDV_def1252566));
        }
        document.getElementsByTagName("head").item(0).appendChild(fileref);
    }
    if (!document.getElementById('PDI_container1252566'))
    {
        document.write('<a name="pd_a_1252566" style="display: inline; padding: 0px; margin: 0px;"></a><div class="PDS_Poll" id="PDI_container1252566"></div>');
    }
    if (Get_Cookie1252566('PD_poll_' + PDV_id1252566) == 'true')
    {
        PD_ck1252566 = 1;
    }

    document.getElementById('PDI_container1252566').innerHTML = PD_pollString1252566 + '<img src="http://pixel.quantserve.com/pixel/p-ab3gTb8xb3dLg.gif" style="display: none;" border="0" height="1" width="1" alt="Quantcast"/>';

    if (PDV_POLLRAND1252566) {
        AA1252566 = PDV_rand1252566(AA1252566);
    }
    y1252566 = '';
    for (x1252566 = 0; x1252566 < AA1252566.length; x1252566++) {
        y1252566 = y1252566 + AA1252566[x1252566];
    }
    document.getElementById('pds-answer1252566').innerHTML = y1252566;
	share1252566();
}
function Set_Cookie1252566(name, value, expires, path, domain, secure)
 {
    var today = new Date();
    today.setTime(today.getTime());
    if(typeof(PDV_expire1252566) !== 'undefined') {
    	expires = parseInt( PDV_expire1252566 );
    }
    if (expires>0) {
        expires = expires * 1000;
    } else{
    	expires = 60 * 60 * 24 * 30 * 1000;
    }

    var expires_date = new Date(today.getTime() + (expires));

    document.cookie = name + "=" + escape(value) +
    ((expires) ? ";expires=" + expires_date.toGMTString() : "") +
    ((path) ? ";path=" + path: "") +
    ((domain) ? ";domain=" + domain: "") +
    ((secure) ? ";secure": "");
}

function Get_Cookie1252566(check_name)
 {
    var a_all_cookies = document.cookie.split(';');
    var a_temp_cookie = '';
    var cookie_name = '';
    var cookie_value = '';
    var b_cookie_found = false;

    for (i = 0; i < a_all_cookies.length; i++)
    {
        a_temp_cookie = a_all_cookies[i].split('=');
        cookie_name = a_temp_cookie[0].replace(/^\s+|\s+$/g, '');
        if (cookie_name == check_name)
        {
            b_cookie_found = true;
            if (a_temp_cookie.length > 1)
            {
                cookie_value = unescape(a_temp_cookie[1].replace(/^\s+|\s+$/g, ''));
            }
            return cookie_value;
            break;
        }
        a_temp_cookie = null;
        cookie_name = '';
    }
    if (!b_cookie_found)
    {
        return null;
    }
}

if (pollClosed1252566 == false)
 {
    PDV_go1252566();
}

function st_go1252566(a)
 {
    var i;
    var u = document.location.protocol + '//stats.polldaddy.com/p.gif?host=' + escape(document.location.host) + '&rand=' + Math.random();

    for (i in a)
    {
        u = u + '&' + i + '=' + escape(a[i]);
    }
    u = u + '&ref=' + escape(document.referrer);
    var TrkImg = new Image();
    TrkImg.src = u;
}

st1252566 = {
    "p": "1252566",
    "v": "0"
};

st_go1252566(st1252566);

function share1252566()
{
	if( typeof PDV_share1252566 != "undefined") {
		if (PDV_share1252566 == 1 ) {
			a2a_linkname = 'Poll: ' + PDV_POLL_q1252566;
			a2a_linkurl = document.location + '#pd_a_1252566';
			a2a_track_links = 'custom';
			a2a_track_links_key = document.location + '#pd_a_1252566';
			a2a_onclick = 1;
			
	        var s = document.createElement("SCRIPT");
	        s.charset = "utf-8";
	        s.src = "http://static.addtoany.com/menu/page.js";
	        var h = document.getElementsByTagName("head").item(0);
	        h.appendChild(s);
		}
	}
}

function media1252566(medType, medID)
 {
    switch (medType)
    {
    case '0':
        {
            return '';
            break;
        }
    case '1':
        {
            return '<div style="padding: 10px 0px;"><a target="_blank" href="http://services.nirvanix.com/polldaddy/polldaddy/images/' + medID + '.jpg"><img border="0" title="Click to enlarge" src="http://services.nirvanix.com/polldaddy/polldaddy/images/' + medID + '_sml.jpg"></a></div>';
            break;
        }
    case '2':
        {
            return '<div style="padding: 10px 0px;"><object width="200" height="161"><param name="movie" value="http://www.youtube.com/v/' + medID + '&amp;hl=en&amp;fs=1"><param name="allowFullScreen" value="true"><embed type="application/x-shockwave-flash" allowfullscreen="true" width="200" height="161" src="http://www.youtube.com/v/' + medID + '&amp;hl=en&amp;fs=1"></embed></object></div>';
            break;
        }
    case '3':
        {
            return '<div style="padding: 10px 0px;"><object width="200" height="163"><param name="movie" value="http://seesmic.com/embeds/wrapper.swf"><param name="allowScriptAccess" value="always"><param name="allowFullScreen" value="true"><param name="flashVars" value="video=' + medID + '&amp;version=threadedplayer"><embed src="http://seesmic.com/embeds/wrapper.swf" type="application/x-shockwave-flash" allowFullScreen="true" wmode="transparent" allowScriptAccess="always" width="200" height="163" flashvars="video=' + medID + '&amp;version=threadedplayer"></embed></object></div>';
            break;
        }
    }
}

function unescape_HTML_1252566(html) {
	var htmlNode = document.createElement("DIV");
	
	htmlNode.innerHTML = html;
	
	if(htmlNode.innerText !== undefined)
		return htmlNode.innerText; // IE
	
	return htmlNode.textContent; // FF
}

if (pollClosed1252566 == true)
{
	share1252566();
}