  
  
 var pollClosed761955 = false;
var PDV_POLLRAND761955 = false;
 
 var PDV_a761955 = "";
 var PDV_o761955 = "";
 var PDV_id761955 = 761955;
 var PDV_pt761955 = 0;
 var PDV_po761955 = 0;
 var PDV_s761955 = 0;
 var PDV_b761955 = 1;
 var PDV_l761955 = 0;
 var PDV_pr761955 = 1;
 var PDV_w761955 = 761955;
 
 var PDV_sl761955 = 1;
 var PDV_va761955 = 0;
 
var PDV_lnk761955 = 1;



var PDV_def761955 = '#PDI_container761955 .pds-box{ width:270px;color:#fff;background:#86858a url(http://i.polldaddy.com/polls/pdb00-bottom-left.gif) no-repeat left bottom;font-family:Verdana,Arial,Helvetica,sans-serif;text-align:left} #PDI_container761955  .pds-box-outer{ background:url(http://i.polldaddy.com/polls/pdb00-bottom-right.gif) no-repeat right bottom} #PDI_container761955 .pds-box-inner{ background:url(http://i.polldaddy.com/polls/pdb00-top-left.gif) no-repeat left top} #PDI_container761955  .pds-box-top{ background:url(http://i.polldaddy.com/polls/pdb00-top-right.gif) no-repeat right top;padding:20px 20px 20px 20px} #PDI_container761955  .pds-question{ background:url(http://i.polldaddy.com/polls/pdq00-bottom-left.gif) no-repeat left bottom} #PDI_container761955  .pds-question-outer{ background:url(http://i.polldaddy.com/polls/pdq00-bottom-right.gif) no-repeat right bottom;padding-bottom:15px} #PDI_container761955 .pds-question-inner{ background:url(http://i.polldaddy.com/polls/pdq00-top-left.gif) no-repeat left top} #PDI_container761955  .pds-question-top{ background:url(http://i.polldaddy.com/polls/pdq00-top-right.gif) no-repeat right top;padding:15px 15px 0px 15px;font-size:12px;color:#ECBF00} #PDI_container761955  .pds-answer{ font-size:10px;color:#fff;padding:10px 20px 15px 20px} #PDI_container761955  .pds-answer label{} #PDI_container761955 .pds-radiobutton{} #PDI_container761955  .pds-checkbox{} #PDI_container761955  .pds-textfield{ width:100%;font-size:10px;color:#fff;background-color:#666;border:1px;border-color:#666;padding:1px 1px 1px 1px;margin:5px 0px 0px 0px} #PDI_container761955  .pds-answer-feedback{ background-color:#666;padding:0px 0px 0px 0px;height:18px;margin:2px 0px 5px 0px} #PDI_container761955  .pds-answer-feedback-bar{ background:url(http://i.polldaddy.com/polls/pd01-bargif.gif) repeat-x;margin:3px;padding:0px;height:12px;border:0px} #PDI_container761955 .pds-answer-feedback img{ background:url(http://i.polldaddy.com/polls/pd01-bargif.gif) repeat-x;margin:3px;padding:0px;height:12px;border:0px} #PDI_container761955 .pds-vote{ font-size:9px;color:#c3C4c7;line-height:17px;padding:0px 20px 10px 20px} #PDI_container761955  .pds-votebutton-outer{ height:61px} #PDI_container761955 .pds-vote a{ font-size:9px;color:#333;text-decoration:none;border-top:1px;border-bottom:1px;border-top-color:#666;border-bottom-color:#666;border-top-style:solid;border-bottom-style:solid;padding:2px 0px 2px 0px} #PDI_container761955  input.pds-votebutton{ width:61px;height:61px;background:url(http://i.polldaddy.com/polls/pd00-votebutton.gif) no-repeat;outline:none;float:right} #PDI_container761955 input.pds-votebutton:hover{ background:url(http://i.polldaddy.com/polls/pd00-votebutton.gif) no-repeat 0 -60px} #PDI_container761955 input.pds-votebutton-pack{ float:right;font-size:10px} #PDI_container761955 .pds-totalvotes-outer{} #PDI_container761955  .pds-totalvotes-inner{ font-size:10px;color:#ffb400;background-color:#666;padding:3px 6px 3px 3px;margin:0px 0px 10px 0px;text-transform:uppercase;letter-spacing:1px}';

var PDV_POLL_q761955 = 'Who is the Best Central Defender in the Premier League?'; var PDV_POLL_medType761955 = '0'; var PDV_POLL_medID761955 = '';
var PDV_A761955 = new Array();


  PDV_A761955[0] = new Array(4); PDV_A761955[0][0] = "3967061"; PDV_A761955[0][1] = "Rio Ferdinand (Manchester United)";   PDV_A761955[0][2] = "0"; PDV_A761955[0][3] = "";

  PDV_A761955[1] = new Array(4); PDV_A761955[1][0] = "3967062"; PDV_A761955[1][1] = "Nemanja Vidic (Manchester United)";   PDV_A761955[1][2] = "0"; PDV_A761955[1][3] = "";

  PDV_A761955[2] = new Array(4); PDV_A761955[2][0] = "3967063"; PDV_A761955[2][1] = "John Terry (Chelsea)";   PDV_A761955[2][2] = "0"; PDV_A761955[2][3] = "";

  PDV_A761955[3] = new Array(4); PDV_A761955[3][0] = "3967064"; PDV_A761955[3][1] = "Ricardo Carvalho (Chelsea)";   PDV_A761955[3][2] = "0"; PDV_A761955[3][3] = "";

  PDV_A761955[4] = new Array(4); PDV_A761955[4][0] = "3967065"; PDV_A761955[4][1] = "William Gallas (Arsenal)";   PDV_A761955[4][2] = "0"; PDV_A761955[4][3] = "";

  PDV_A761955[5] = new Array(4); PDV_A761955[5][0] = "3967066"; PDV_A761955[5][1] = "Kolo Toure (Arsenal)";   PDV_A761955[5][2] = "0"; PDV_A761955[5][3] = "";

  PDV_A761955[6] = new Array(4); PDV_A761955[6][0] = "3967067"; PDV_A761955[6][1] = "Jamie Carragher (Liverpool)";   PDV_A761955[6][2] = "0"; PDV_A761955[6][3] = "";

  PDV_A761955[7] = new Array(4); PDV_A761955[7][0] = "3967068"; PDV_A761955[7][1] = "Daniel Agger (Liverpool)";   PDV_A761955[7][2] = "0"; PDV_A761955[7][3] = "";

  PDV_A761955[8] = new Array(4); PDV_A761955[8][0] = "3967069"; PDV_A761955[8][1] = "Martin Skrtel (Liverpool)";   PDV_A761955[8][2] = "0"; PDV_A761955[8][3] = "";

  PDV_A761955[9] = new Array(4); PDV_A761955[9][0] = "3967070"; PDV_A761955[9][1] = "Joleon Lescott (Everton)";   PDV_A761955[9][2] = "0"; PDV_A761955[9][3] = "";

  PDV_A761955[10] = new Array(4); PDV_A761955[10][0] = "3967071"; PDV_A761955[10][1] = "Phil Jagielka (Everton)";   PDV_A761955[10][2] = "0"; PDV_A761955[10][3] = "";

  PDV_A761955[11] = new Array(4); PDV_A761955[11][0] = "3967072"; PDV_A761955[11][1] = "Joseph Yobo (Everton)";   PDV_A761955[11][2] = "0"; PDV_A761955[11][3] = "";

  PDV_A761955[12] = new Array(4); PDV_A761955[12][0] = "3967073"; PDV_A761955[12][1] = "Martin Laursen (Aston Villa)";   PDV_A761955[12][2] = "0"; PDV_A761955[12][3] = "";

  PDV_A761955[13] = new Array(4); PDV_A761955[13][0] = "3967074"; PDV_A761955[13][1] = "Curtis Davies (Aston Villa)";   PDV_A761955[13][2] = "0"; PDV_A761955[13][3] = "";

  PDV_A761955[14] = new Array(4); PDV_A761955[14][0] = "3967075"; PDV_A761955[14][1] = "Christopher Samba (Blackburn)";   PDV_A761955[14][2] = "0"; PDV_A761955[14][3] = "";

  PDV_A761955[15] = new Array(4); PDV_A761955[15][0] = "3967076"; PDV_A761955[15][1] = "Ryan Nelsen (Blackburn)";   PDV_A761955[15][2] = "0"; PDV_A761955[15][3] = "";

  PDV_A761955[16] = new Array(4); PDV_A761955[16][0] = "3967077"; PDV_A761955[16][1] = "Sol Campbell (Portsmouth)";   PDV_A761955[16][2] = "0"; PDV_A761955[16][3] = "";

  PDV_A761955[17] = new Array(4); PDV_A761955[17][0] = "3967078"; PDV_A761955[17][1] = "Sylvain Distin (Portsmouth)";   PDV_A761955[17][2] = "0"; PDV_A761955[17][3] = "";

  PDV_A761955[18] = new Array(4); PDV_A761955[18][0] = "3967079"; PDV_A761955[18][1] = "Micah RIchards (Man City)";   PDV_A761955[18][2] = "0"; PDV_A761955[18][3] = "";

  PDV_A761955[19] = new Array(4); PDV_A761955[19][0] = "3967080"; PDV_A761955[19][1] = "Richard Dunne (Man City)";   PDV_A761955[19][2] = "0"; PDV_A761955[19][3] = "";

  PDV_A761955[20] = new Array(4); PDV_A761955[20][0] = "3967081"; PDV_A761955[20][1] = "Matthew Upson (West Ham)";   PDV_A761955[20][2] = "0"; PDV_A761955[20][3] = "";

  PDV_A761955[21] = new Array(4); PDV_A761955[21][0] = "3967082"; PDV_A761955[21][1] = "Ledley King (Tottenham)";   PDV_A761955[21][2] = "0"; PDV_A761955[21][3] = "";

  PDV_A761955[22] = new Array(4); PDV_A761955[22][0] = "3967083"; PDV_A761955[22][1] = "Jonathan Woodgate (Tottenham)";   PDV_A761955[22][2] = "0"; PDV_A761955[22][3] = "";

  PDV_A761955[23] = new Array(4); PDV_A761955[23][0] = "3967084"; PDV_A761955[23][1] = "Steven Taylor (Newcastle)";   PDV_A761955[23][2] = "0"; PDV_A761955[23][3] = "";

  PDV_A761955[24] = new Array(4); PDV_A761955[24][0] = "3967085"; PDV_A761955[24][1] = "David Wheater (Middlesbrough)";   PDV_A761955[24][2] = "0"; PDV_A761955[24][3] = "";

  PDV_A761955[25] = new Array(4); PDV_A761955[25][0] = "3967086"; PDV_A761955[25][1] = "Paul Scharner (Wigan)";   PDV_A761955[25][2] = "0"; PDV_A761955[25][3] = "";

  PDV_A761955[26] = new Array(4); PDV_A761955[26][0] = "3967087"; PDV_A761955[26][1] = "Nyron Nosworthy (Sunderland)";   PDV_A761955[26][2] = "0"; PDV_A761955[26][3] = "";

  PDV_A761955[27] = new Array(4); PDV_A761955[27][0] = "3967088"; PDV_A761955[27][1] = "Gary Cahill (Bolton)";   PDV_A761955[27][2] = "0"; PDV_A761955[27][3] = "";

  PDV_A761955[28] = new Array(4); PDV_A761955[28][0] = "3967089"; PDV_A761955[28][1] = "Brede Hangeland (Fulham)";   PDV_A761955[28][2] = "0"; PDV_A761955[28][3] = "";

  PDV_A761955[29] = new Array(4); PDV_A761955[29][0] = "3967090"; PDV_A761955[29][1] = "Other";   PDV_A761955[29][2] = "0"; PDV_A761955[29][3] = "";


var PDV_l1_761955 = 'View Results';
var PDV_l2_761955 = 'Other:';
var PDV_l3_761955  = '';

  
var PDV_l4_761955 = 'Please choose an answer first!';


//v2.75 26/July/10
var protocol = document.location.protocol;
var a2a_track_pub = 'polldaddy';
var a2a_no_3p = 1;
var PD_ck761955 = 0;
var PD_ck_name761955 = 'PD_poll_761955';

if (pollClosed761955 == false)
 {
    var PDV_server761955 = protocol + '//polls.polldaddy.com';
    var AA761955 = new Array();
    var PDV_html761955 = '<div style="margin-bottom: 0px; margin-top: 0px;" name="PDI_form761955" id="PDI_form761955"><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">' + PDV_POLL_medID761955 + ' ' + unescape_HTML_761955( PDV_POLL_q761955 ) + '</div></div></div></div><div class="pds-answer"><span id="pds-answer761955"></span>';
    if (PDV_po761955 == 1)
    {
		PDV_html761955 += '<span class="pds-answer-group">';
		
        if (PDV_pt761955 == 0) {
            PDV_html761955 += '<span class="pds-answer-input"><input type="radio" name="PDI_answer761955" id="PDI_answerOther761955" value="other" class="pds-radiobutton"/></span>';
        }
        PDV_html761955 += '<label for="PDI_answerOther761955" class="pds-other-label"><span class="pds-answer-span">' + PDV_l2_761955 + '</span></label><span class="pds-answer-other"><br/><input class="pds-textfield" type="text" maxlength="80" id="PDI_OtherText761955" name="PDI_OtherText761955" onclick="PDI_checkOther761955();" onchange="PDI_checkOther761955(true);" /></span>';

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

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

    if ( PDV_l3_761955 == '' )
    {
		PDV_l3_761955 = 'Vote';
    }
	
	if ( PDV_s761955 < 99 || PDV_def761955.indexOf('input.pds-votebutton') != -1 )	
	{
		if (PDV_l3_761955 == 'Vote' || PDV_l3_761955 == '')
	    {
	        PDV_html761955 += '<input type="button" class="pds-votebutton" style="border:none;cursor: pointer;" src="' + ( is_secure() ? 'https://polldaddy' : 'http://i.polldaddy' ) + '.com/polls/spacer.gif" onclick="PD_vote761955(0);">';
	    }
	    else
	    {
	        PDV_html761955 += '<input type="button" class="pds-votebutton-pack" value="' + PDV_l3_761955 + '"  onclick="PD_vote761955(0);" />';
	    }
	}
	else
	{
		PDV_html761955 += '<a href="javascript:PD_vote761955(0);" id="pd-vote-button761955" class="pds-vote-button"><span>' + PDV_l3_761955 + '</span></a>';
	}

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

    if (PDV_pr761955 == 2) {
        PDV_html761955 += '<br/>';
    }
    else {
        PDV_html761955 += '<a href="javascript:PD_vote761955(1);" class="pds-view-results">' + PDV_l1_761955 + '</a><br/>';
    }

	if( typeof PDV_share761955 != "undefined") {
		if (PDV_share761955 == 1 ) {
			PDV_html761955 += '<a class="a2a_dd pds-share"  href="javascript:">' + PDV_l12_761955 + '</a>';
		}
	}
	
    if (PDV_lnk761955 == 1) {
        PDV_html761955 += '<a href="' + protocol + '//polldaddy.com/signup-now/?ad=poll-front" target="_blank" class="pds-pd-link">Create A Poll</a>';
    }

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

    for (PDV_x = 0; PDV_x < PDV_A761955.length; PDV_x++)
    {
        if (PDV_pt761955 == 0)
        {
            AA761955[PDV_x] = '<span class="pds-answer-group"><span class="pds-answer-input"><input class="pds-radiobutton" type="radio" id="PDI_answer' + PDV_A761955[PDV_x][0] + '" value="' + PDV_A761955[PDV_x][0] + '" name="PDI_answer761955" /></span><label for="PDI_answer' + PDV_A761955[PDV_x][0] + '" class="pds-input-label"><span class="pds-answer-span">' + unescape_HTML_761955( PDV_A761955[PDV_x][1] ) + '</span></label>' + PDV_A761955[PDV_x][3] + '<span class="pds-clear"></span><br/></span>';
        }
        else
        {
            AA761955[PDV_x] = '<span class="pds-answer-group"><span class="pds-answer-input"><input class="pds-checkbox" type="checkbox" id="PDI_answer' + PDV_A761955[PDV_x][0] + '" value="' + PDV_A761955[PDV_x][0] + '" name="PDI_answer' + PDV_A761955[PDV_x][0] + '" onclick="javascript:PDF_mc761955(this);" /></span><label for="PDI_answer' + PDV_A761955[PDV_x][0] + '" class="pds-input-label"><span class="pds-answer-span">' + unescape_HTML_761955( PDV_A761955[PDV_x][1] ) + '</span></label>' + PDV_A761955[PDV_x][3] + '<span class="pds-clear"></span><br/></span>';
        }
    }
}

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

function PDF_a761955()
 {
    PDF_o761955();
    var r;
    if (PDV_pt761955 == 0)
    {
    	for (var i = 0; i < AA761955.length; i++)
        {
            r = document.getElementById(AA761955[i].substring(AA761955[i].indexOf('id=') + 4, AA761955[i].indexOf('"', AA761955[i].indexOf('id=') + 4)));
            if (r.checked) {
                return r.value + ",";
            }
        }
        r = document.getElementById("PDI_answerOther761955");
        if (r) {
            if (r.checked) {
                return r.value + ",";
            } else {
                return '';
            }
        } else {
            return "";
        }
    }
    else
    {
        for (i = 0; i < AA761955.length; i++)
        {
            r = document.getElementById(AA761955[i].substring(AA761955[i].indexOf('id=') + 4, AA761955[i].indexOf('"', AA761955[i].indexOf('id=') + 4)));
            if (r.type == "checkbox" && r.checked)
            {
                PDV_a761955 = PDV_a761955 + r.value + ",";
            }
        }
        return PDV_a761955;
    }
}
function PDF_o761955(r) {
    if (PDV_po761955 == 1) {
        PDV_o761955 = document.getElementById("PDI_OtherText761955").value;
    }
}
function PDI_checkOther761955( lostfocus )
 {
	var reset = false;
	if( lostfocus ){
		var ot = document.getElementById("PDI_OtherText761955").value;
		if( ot.length == 0 ){ reset = true; }
	}
	
    if (PDV_pt761955 == 0)
    {
		if(lostfocus && reset){ document.getElementById("PDI_answerOther761955").checked = false; }
		else{ document.getElementById("PDI_answerOther761955").checked = true; }
    }
	else if ( PDV_pt761955 > 1 ){
		var nc = 1;
		obj = document.getElementById("PDI_OtherText761955");
		if(lostfocus && reset){ nc = 0; }
		
		for (i = 0; i < AA761955.length; i++)
	    {
	        r = document.getElementById(AA761955[i].substring(AA761955[i].indexOf('id=') + 4, AA761955[i].indexOf('"', AA761955[i].indexOf('id=') + 4)));
	        if (r.type == "checkbox" && r.checked) { nc += 1; }
	    }

		if ( nc > PDV_pt761955 ){
			obj.disabled=true;
			obj.value='';
			for (i = 0; i < AA761955.length; i++)
		    {
		        r = document.getElementById(AA761955[i].substring(AA761955[i].indexOf('id=') + 4, AA761955[i].indexOf('"', AA761955[i].indexOf('id=') + 4)));
		        if (r.type == "checkbox" && !r.checked) { r.disabled = true; }
		    }
		}
		else if( nc < PDV_pt761955 ){
			obj.disabled=false;
			for (i = 0; i < AA761955.length; i++)
		    {
		        r = document.getElementById(AA761955[i].substring(AA761955[i].indexOf('id=') + 4, AA761955[i].indexOf('"', AA761955[i].indexOf('id=') + 4)));
		        if (r.type == "checkbox" && !r.checked) { r.disabled = false; }
		    }
		}
	}
}
function PD_vote761955(R)
 {
    var randomnumber = Math.floor(Math.random() * 11);
    var tags = pd_get_tags761955();
    if (R == 1)
    {
        var s = document.createElement("SCRIPT");
        s.charset = "utf-8";
        s.src = PDV_server761955 + "/vote-js.php?s=" + PDV_s761955 + "&vr=1&b=" + PDV_b761955 + "&p=" + PDV_id761955 + "&l=" + PDV_l761955 + "&sl=" + PDV_sl761955 + "&pr=" + PDV_pr761955 + "&pt=" + PDV_pt761955 + "&va=" + PDV_va761955 + "&cookie=" + PD_ck761955 + "&rdm=" + randomnumber + "&url=" + escape(location.href) + "&w=" + PDV_w761955 + ( tags.length > 0 ? '&tags=' + tags : '' );
        var h = document.getElementsByTagName("head").item(0);
        h.appendChild(s);
    }
    else
    {
        if (PDV_b761955 > 0 && PD_ck761955 == 0 ) {
            Set_Cookie761955(PD_ck_name761955, 'true', 0, '/', '', '');
        }
        PDV_a761955 = '';
        PDV_a761955 = PDF_a761955(document.getElementById("PDI_form761955"));
        if (PDV_a761955.length == 0 && PDV_o761955.length == 0)
        {
            alert(PDV_l4_761955);
        }
        else
        {
			if ( PDV_def761955.indexOf('input.pds-votebutton') == -1 ) {
				document.getElementById('pd-vote-button761955').className = 'pds-vote-button-load';
			}
	
            var s = document.createElement("SCRIPT");
            s.charset = "utf-8";
            s.src = PDV_server761955 + "/vote-js.php?s=" + PDV_s761955 + "&b=" + PDV_b761955 + "&p=" + PDV_id761955 + "&a=" + PDV_a761955 + "&o=" + PDV_o761955 + "&l=" + PDV_l761955 + "&sl=" + PDV_sl761955 + "&pr=" + PDV_pr761955 + "&pt=" + PDV_pt761955 + "&va=" + PDV_va761955 + "&cookie=" + PD_ck761955 + "&rdm=" + randomnumber + "&url=" + escape(location.href) + "&w=" + PDV_w761955 + ( tags.length > 0 ? '&tags=' + tags : '' );
            var h = document.getElementsByTagName("head").item(0);
            h.appendChild(s);
        }
    }
}

function pd_get_tags761955() {
	if( typeof pd_tags == "undefined" ) return '';
	var tags = '';
					
	for ( var key in pd_tags )
		tags += pd_url_encode761955( key ) + ':' + pd_url_encode761955( pd_tags[ key ] ) + ';';
		
	return tags.slice(0,-1);
}

function pd_url_encode761955( s ) {
	return encodeURIComponent( s ).replace( /\%20/g, '+' ).replace( /!/g, '%21' ).replace( /'/g, '%27' ).replace( /\(/g, '%28' ).replace( /\)/g, '%29' ).replace( /\*/g, '%2A' ).replace( /\~/g, '%7E' );
}

var PD_pollString761955 = PDV_html761955;

function PDV_rand761955(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_go761955()
 {
 	if ( is_secure() ){
 		PDV_def761955 = PDV_def761955.replace(/http:\/\/i.polldaddy/g,'https://polldaddy');
 		PDV_def761955 = PDV_def761955.replace(/http:\/\/s3.wordpress/g,'https://s-ssl.wordpress');
 	}
    if (!document.getElementById('poll_style761955')) {
        fileref = document.createElement("style");
        fileref.setAttribute("type", "text/css");
        fileref.setAttribute("id", "poll_style761955");
        if (fileref.styleSheet) { // IE
            fileref.styleSheet.cssText = PDV_def761955;
        }
        else { // the world
            fileref.appendChild(document.createTextNode(PDV_def761955));
        }
        document.getElementsByTagName("head").item(0).appendChild(fileref);
    }
    if (typeof load_audioLibrary_761955 == "function" && typeof PDV_audio_761955 !== "undefined" && PDV_audio_761955 > 0 ) {
    	load_audioLibrary_761955();
    }
    if (!document.getElementById('PDI_container761955')) {
        document.write('<a name="pd_a_761955" style="display: inline; padding: 0px; margin: 0px;"></a><div class="PDS_Poll" id="PDI_container761955"></div>');
    }    
    if( typeof PDV_version761955 !== "undefined" ) {
       	PD_ck_name761955 += ( PDV_version761955 > 0 ? '.' + PDV_version761955 : '' );
    }    
    if (Get_Cookie761955(PD_ck_name761955) == 'true') {
        PD_ck761955 = 1;
    }

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

    if (PDV_POLLRAND761955) {
        AA761955 = PDV_rand761955(AA761955);
    }
    y761955 = '';
    for (x761955 = 0; x761955 < AA761955.length; x761955++) {
        y761955 = y761955 + AA761955[x761955];
    }
    document.getElementById('pds-answer761955').innerHTML = y761955;
	share761955();
}
function Set_Cookie761955(name, value, expires, path, domain, secure)
 {
    var today = new Date();
    today.setTime(today.getTime());
    if(typeof(PDV_expire761955) !== 'undefined') {
    	expires = parseInt( PDV_expire761955 );
    }
    if (expires>0) {
        expires = expires * 1000;
    } else{
    	expires = 60 * 60 * 24 * 30 * 1000;
    }
    
    expires = today.getTime() + (expires);
    var expires_date = new Date(expires);

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

function Get_Cookie761955(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, ''));
            }
            if( cookie_value == 'true' )
            {
            	return cookie_value;
            }
            else
			{
				var today = new Date();
   			 	cookie_value = parseInt( cookie_value );
   			 	if( cookie_value > today.getTime() )
				{
					return 'true';
				}
			}
            break;
        }
        a_temp_cookie = null;
        cookie_name = '';
    }
    if (!b_cookie_found)
    {
        return null;
    }
}

if (pollClosed761955 == false) {
    PDV_go761955();
}


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

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

if (pollClosed761955 == true) {
	share761955();
}

function is_secure() {
	return "https:" == document.location.protocol ? true: false;
}
