var pollClosed2149961 = false;
var PDV_POLLRAND2149961 = false;

var PDV_a2149961 = "";
var PDV_o2149961 = "";
var PDV_id2149961 = 2149961;
var PDV_pt2149961 = 0;
var PDV_po2149961 = 0;
var PDV_s2149961 = 109;
var PDV_b2149961 = 1;
var PDV_l2149961 = 0;
var PDV_pr2149961 = 1;
var PDV_w2149961 = 2149961;
var PDV_share2149961 = 1;

var PDV_sl2149961 = 1;
var PDV_va2149961 = 0;

var PDV_lnk2149961 = 1;



var PDV_def2149961 = '#PDI_container2149961 .pds-box{font-family: Helvetica, Arial, sans-serif;background: #222;border: 1px solid #313131;width: 630px;font-size: 13px;text-align: left;color: #eee;-webkit-border-radius: 12px;-moz-border-radius: 12px;border-radius: 12px;} #PDI_container2149961 .pds-box A{outline: none;} #PDI_container2149961 .pds-clear{display: block;clear: both;} #PDI_container2149961 .pds-box-outer{padding: 14px;} #PDI_container2149961 .pds-question-top{font-size:24px;line-height: 120%;color: #eee;font-weight: bold;padding: 5px 0px 20px 0px;position:relative;} #PDI_container2149961 .pds-answer{padding: 20px 0px 20px 0px;border-top: 1px solid #3f3f3f;border-bottom: 1px solid #3f3f3f;} #PDI_container2149961 .pds-answer label{color: #eee;font-size: 13px;font-weight: bold;line-height: 150%;position: relative;} #PDI_container2149961 .pds-answer-group{display: block;padding: 8px 0px 8px 0px;} #PDI_container2149961 .pds-answer-group BR{display: none;} #PDI_container2149961 .pds-answer-input{display: block;float:left;width: 25px;} #PDI_container2149961 .pds-input-label{display: block;float:left;width: 570px;cursor: pointer;} #PDI_container2149961 .pds-answer-other{padding: 0px 0px 0px 10px;} #PDI_container2149961 .pds-textfield{background: #eee;border: 1px solid #111;font-size: 12px;padding: 2px;width: 250px;color: #333;} #PDI_container2149961 .pds-answer-other BR{display: none;} #PDI_container2149961 .pds-other-label{display: block;float:left;cursor: pointer;} #PDI_container2149961 .pds-feedback-group{display: block;padding: 8px 0px 8px 0px;} #PDI_container2149961 .pds-feedback-label{display: block;padding: 0px 0px 5px 0px;} #PDI_container2149961 .pds-feedback-per{font-weight: normal;} #PDI_container2149961 .pds-feedback-votes{font-weight: normal;} #PDI_container2149961 .pds-answer-feedback {background-color: #444;border: 1px solid #111;position: relative;} #PDI_container2149961 .pds-answer-feedback-bar {font-size: 2px;background: #3478e3;height: 18px;} #PDI_container2149961 .pds-vote {padding: 10px 0px;} #PDI_container2149961 .pds-votebutton-outer {} #PDI_container2149961 .pds-vote BR{display: none;} #PDI_container2149961 .pds-vote-button {color: #eee;padding: 3px 25px;white-space: nowrap;background:#3b3b3b url(http://i.polldaddy.com/polls/black-but-bg.png) repeat-x scroll left top;-webkit-border-radius: 11px;-moz-border-radius:11px;border-radius: 11px;border: 1px solid #3b3b3b;cursor: pointer;font-size: 12px;font-family: \'Lucida Grande\',Verdana,Arial;text-decoration: none;line-height: 25px;font-weight: bold;float:left;white-space: nowrap;} #PDI_container2149961 .pds-vote-button:hover{border: 1px solid #666;} #PDI_container2149961 .pds-vote-button-load {color: #eee;padding: 3px 25px;white-space: nowrap;-webkit-border-radius: 11px;-moz-border-radius:11px;border-radius: 11px;cursor: pointer;font-size: 12px;font-family: \'Lucida Grande\',Verdana,Arial;text-decoration: none;line-height: 25px;font-weight: bold;float:left;white-space: nowrap;background:#3B3B3B url(http://i.polldaddy.com/polls/vote-loader-3b3b3b.gif) no-repeat scroll 50% 50%;border: 1px solid #666;} #PDI_container2149961 .pds-vote-button-load SPAN{visibility: hidden;} #PDI_container2149961 .pds-links A {font-family: Helvetica, Arial, sans-serif;font-size:12px;color: #eee;text-decoration: none;padding: 10px 0px 0px 15px;float:left;display: block;font-weight: bold;} #PDI_container2149961 .pds-links-back A {font-family: Helvetica, Arial, sans-serif;font-size:12px;color: #eee;text-decoration: none;padding: 10px 0px 0px 15px;float:left;display: block;font-weight: bold;} #PDI_container2149961 .pds-links A:hover {text-decoration: underline;} #PDI_container2149961 .pds-links-back A:hover {text-decoration: underline;} #PDI_container2149961 .pds-pd-link{float:right !important;} #PDI_container2149961 .pds-comments{padding: 10px 0px 0px 0px;} #PDI_container2149961 .pds-comments SPAN{font-weight: normal;} #PDI_container2149961 .pds-total-votes{padding: 10px 0px 0px 0px;position: relative;} #PDI_container2149961 .pds-total-votes SPAN{font-weight: bold;} #PDI_container2149961 div {margin:0;padding:0;}';

var PDV_POLL_q2149961 = '2009歐洲足球先生你選誰？'; var PDV_POLL_medType2149961 = '0'; var PDV_POLL_medID2149961 = '';
var PDV_A2149961 = new Array();


  PDV_A2149961[0] = new Array(4); PDV_A2149961[0][0] = "10601572"; PDV_A2149961[0][1] = "梅西 Lionel Messi (巴塞隆納)";   PDV_A2149961[0][2] = "0"; PDV_A2149961[0][3] = "";

  PDV_A2149961[1] = new Array(4); PDV_A2149961[1][0] = "10601573"; PDV_A2149961[1][1] = "伊涅斯塔 Andres Iniesta (巴塞隆納)";   PDV_A2149961[1][2] = "0"; PDV_A2149961[1][3] = "";

  PDV_A2149961[2] = new Array(4); PDV_A2149961[2][0] = "10601574"; PDV_A2149961[2][1] = "伊布拉希莫維奇 Zlatan Ibrahimovic (巴塞隆納/國際米蘭)";   PDV_A2149961[2][2] = "0"; PDV_A2149961[2][3] = "";

  PDV_A2149961[3] = new Array(4); PDV_A2149961[3][0] = "10601575"; PDV_A2149961[3][1] = "亨利 Thierry Henry (巴塞隆納)";   PDV_A2149961[3][2] = "0"; PDV_A2149961[3][3] = "";

  PDV_A2149961[4] = new Array(4); PDV_A2149961[4][0] = "10601576"; PDV_A2149961[4][1] = "哈維 Xavi (巴塞隆納)";   PDV_A2149961[4][2] = "0"; PDV_A2149961[4][3] = "";

  PDV_A2149961[5] = new Array(4); PDV_A2149961[5][0] = "10601577"; PDV_A2149961[5][1] = "亞亞圖雷 Yaya Toure (巴塞隆納)";   PDV_A2149961[5][2] = "0"; PDV_A2149961[5][3] = "";

  PDV_A2149961[6] = new Array(4); PDV_A2149961[6][0] = "10601578"; PDV_A2149961[6][1] = "卡西亞斯 Iker Casillas (皇家馬德里)";   PDV_A2149961[6][2] = "0"; PDV_A2149961[6][3] = "";

  PDV_A2149961[7] = new Array(4); PDV_A2149961[7][0] = "10601579"; PDV_A2149961[7][1] = "C羅納度 Cristiano Ronaldo (皇家馬德里/曼聯)";   PDV_A2149961[7][2] = "0"; PDV_A2149961[7][3] = "";

  PDV_A2149961[8] = new Array(4); PDV_A2149961[8][0] = "10601580"; PDV_A2149961[8][1] = "本澤馬 Karim Benzema (皇家馬德里/里昂)";   PDV_A2149961[8][2] = "0"; PDV_A2149961[8][3] = "";

  PDV_A2149961[9] = new Array(4); PDV_A2149961[9][0] = "10601581"; PDV_A2149961[9][1] = "卡卡 Kaka (皇家馬德里/AC米蘭)";   PDV_A2149961[9][2] = "0"; PDV_A2149961[9][3] = "";

  PDV_A2149961[10] = new Array(4); PDV_A2149961[10][0] = "10601582"; PDV_A2149961[10][1] = "法比亞諾 Luis Fabiano (塞維亞)";   PDV_A2149961[10][2] = "0"; PDV_A2149961[10][3] = "";

  PDV_A2149961[11] = new Array(4); PDV_A2149961[11][0] = "10601583"; PDV_A2149961[11][1] = "比亞 David Villa (瓦倫西亞)";   PDV_A2149961[11][2] = "0"; PDV_A2149961[11][3] = "";

  PDV_A2149961[12] = new Array(4); PDV_A2149961[12][0] = "10601584"; PDV_A2149961[12][1] = "弗蘭 Diego Forlan (馬德里競技)";   PDV_A2149961[12][2] = "0"; PDV_A2149961[12][3] = "";

  PDV_A2149961[13] = new Array(4); PDV_A2149961[13][0] = "10601585"; PDV_A2149961[13][1] = "艾托奧 Samuel Eto\'o (國際米蘭/巴塞隆納)";   PDV_A2149961[13][2] = "0"; PDV_A2149961[13][3] = "";

  PDV_A2149961[14] = new Array(4); PDV_A2149961[14][0] = "10601586"; PDV_A2149961[14][1] = "塞薩爾 Julio Cesar (國際米蘭)";   PDV_A2149961[14][2] = "0"; PDV_A2149961[14][3] = "";

  PDV_A2149961[15] = new Array(4); PDV_A2149961[15][0] = "10601587"; PDV_A2149961[15][1] = "麥孔 Maicon (國際米蘭)";   PDV_A2149961[15][2] = "0"; PDV_A2149961[15][3] = "";

  PDV_A2149961[16] = new Array(4); PDV_A2149961[16][0] = "10601588"; PDV_A2149961[16][1] = "迪亞戈 Diego (尤文圖斯/文達不來梅)";   PDV_A2149961[16][2] = "0"; PDV_A2149961[16][3] = "";

  PDV_A2149961[17] = new Array(4); PDV_A2149961[17][0] = "10601589"; PDV_A2149961[17][1] = "里貝利 Franck Ribery (拜仁慕尼黑)";   PDV_A2149961[17][2] = "0"; PDV_A2149961[17][3] = "";

  PDV_A2149961[18] = new Array(4); PDV_A2149961[18][0] = "10601590"; PDV_A2149961[18][1] = "澤科 Edin Dzeko (沃夫斯堡)";   PDV_A2149961[18][2] = "0"; PDV_A2149961[18][3] = "";

  PDV_A2149961[19] = new Array(4); PDV_A2149961[19][0] = "10601591"; PDV_A2149961[19][1] = "古爾庫夫 Yoann Gourcuff (波爾多)";   PDV_A2149961[19][2] = "0"; PDV_A2149961[19][3] = "";

  PDV_A2149961[20] = new Array(4); PDV_A2149961[20][0] = "10601592"; PDV_A2149961[20][1] = "阿沙文 Andrey Arshavin  (兵工廠)";   PDV_A2149961[20][2] = "0"; PDV_A2149961[20][3] = "";

  PDV_A2149961[21] = new Array(4); PDV_A2149961[21][0] = "10601593"; PDV_A2149961[21][1] = "法布雷加斯 Cesc Fabregas (兵工廠)";   PDV_A2149961[21][2] = "0"; PDV_A2149961[21][3] = "";

  PDV_A2149961[22] = new Array(4); PDV_A2149961[22][0] = "10601594"; PDV_A2149961[22][1] = "德羅巴 Didier Drogba (切爾西)";   PDV_A2149961[22][2] = "0"; PDV_A2149961[22][3] = "";

  PDV_A2149961[23] = new Array(4); PDV_A2149961[23][0] = "10601595"; PDV_A2149961[23][1] = "蘭帕德 Frank Lampard (切爾西)";   PDV_A2149961[23][2] = "0"; PDV_A2149961[23][3] = "";

  PDV_A2149961[24] = new Array(4); PDV_A2149961[24][0] = "10601596"; PDV_A2149961[24][1] = "泰瑞 John Terry (切爾西)";   PDV_A2149961[24][2] = "0"; PDV_A2149961[24][3] = "";

  PDV_A2149961[25] = new Array(4); PDV_A2149961[25][0] = "10601597"; PDV_A2149961[25][1] = "傑拉德 Steven Gerrard (利物浦)";   PDV_A2149961[25][2] = "0"; PDV_A2149961[25][3] = "";

  PDV_A2149961[26] = new Array(4); PDV_A2149961[26][0] = "10601598"; PDV_A2149961[26][1] = "托雷斯 Fernando Torres (利物浦)";   PDV_A2149961[26][2] = "0"; PDV_A2149961[26][3] = "";

  PDV_A2149961[27] = new Array(4); PDV_A2149961[27][0] = "10601599"; PDV_A2149961[27][1] = "維迪奇 Nemanja Vidic (曼聯)";   PDV_A2149961[27][2] = "0"; PDV_A2149961[27][3] = "";

  PDV_A2149961[28] = new Array(4); PDV_A2149961[28][0] = "10601600"; PDV_A2149961[28][1] = "魯尼 Wayne Rooney (曼聯)";   PDV_A2149961[28][2] = "0"; PDV_A2149961[28][3] = "";

  PDV_A2149961[29] = new Array(4); PDV_A2149961[29][0] = "10601601"; PDV_A2149961[29][1] = "吉格斯 Ryan Giggs (曼聯)";   PDV_A2149961[29][2] = "0"; PDV_A2149961[29][3] = "";


var PDV_l1_2149961 = 'View Results';
var PDV_l2_2149961 = 'Other:';
var PDV_l3_2149961  = '';

  
var PDV_l4_2149961 = 'Please choose an answer first!';

var PDV_l12_2149961  = 'Share This';

var PDV_l12_2149961 = 'Share This';


//v2.61 11/Nov/09

if (pollClosed2149961 == false)
 {
    var PDV_server2149961 = 'http://polls.polldaddy.com';
    var AA2149961 = new Array();
    var PDV_html2149961 = '<div style="margin-bottom: 0px; margin-top: 0px;" name="PDI_form2149961" id="PDI_form2149961"><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">' + media2149961(PDV_POLL_medType2149961, PDV_POLL_medID2149961) + ' ' + unescape_HTML_2149961( PDV_POLL_q2149961 ) + '</div></div></div></div><div class="pds-answer"><span id="pds-answer2149961"></span>';
    if (PDV_po2149961 == 1)
    {
		PDV_html2149961 += '<span class="pds-answer-group">';
		
        if (PDV_pt2149961 == 0)
        {
            PDV_html2149961 += '<span class="pds-answer-input"><input type="radio" name="PDI_answer2149961" id="PDI_answerOther2149961" value="other" class="pds-radiobutton"/></span>';
        }
        PDV_html2149961 += '<label for="PDI_answerOther2149961" class="pds-other-label"><span class="pds-answer-span">' + PDV_l2_2149961 + '</span></label><span class="pds-answer-other"><br/><input class="pds-textfield" type="text" maxlength="80" id="PDI_OtherText2149961" name="PDI_OtherText2149961" onclick="PDI_checkOther2149961();" onchange="PDI_checkOther2149961(true);" /></span>';

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

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

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

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

    if (PDV_pr2149961 == 2) {
        PDV_html2149961 += '<br/>';
    }
    else {
        PDV_html2149961 += '<a href="javascript:PD_vote2149961(1);" class="pds-view-results">' + PDV_l1_2149961 + '</a><br/>';
    }

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

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

    for (PDV_x = 0; PDV_x < PDV_A2149961.length; PDV_x++)
    {
        if (PDV_pt2149961 == 0)
        {
            AA2149961[PDV_x] = '<span class="pds-answer-group"><span class="pds-answer-input"><input class="pds-radiobutton" type="radio" id="PDI_answer' + PDV_A2149961[PDV_x][0] + '" value="' + PDV_A2149961[PDV_x][0] + '" name="PDI_answer2149961" /></span><label for="PDI_answer' + PDV_A2149961[PDV_x][0] + '" class="pds-input-label"><span class="pds-answer-span">' + unescape_HTML_2149961( PDV_A2149961[PDV_x][1] ) + '</span></label>' + media2149961(PDV_A2149961[PDV_x][2], PDV_A2149961[PDV_x][3]) + '<span class="pds-clear"></span><br/></span>';
        }
        else
        {
            AA2149961[PDV_x] = '<span class="pds-answer-group"><span class="pds-answer-input"><input class="pds-checkbox" type="checkbox" id="PDI_answer' + PDV_A2149961[PDV_x][0] + '" value="' + PDV_A2149961[PDV_x][0] + '" name="PDI_answer' + PDV_A2149961[PDV_x][0] + '" onclick="javascript:PDF_mc2149961(this);" /></span><label for="PDI_answer' + PDV_A2149961[PDV_x][0] + '" class="pds-input-label"><span class="pds-answer-span">' + unescape_HTML_2149961( PDV_A2149961[PDV_x][1] ) + '</span></label>' + media2149961(PDV_A2149961[PDV_x][2], PDV_A2149961[PDV_x][3]) + '<span class="pds-clear"></span><br/></span>';
        }
    }
}

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

function PDF_a2149961()
 {
    PDF_o2149961();
    var r;
    if (PDV_pt2149961 == 0)
    {
    	for (var i = 0; i < AA2149961.length; i++)
        {
            r = document.getElementById(AA2149961[i].substring(AA2149961[i].indexOf('id=') + 4, AA2149961[i].indexOf('"', AA2149961[i].indexOf('id=') + 4)));
            if (r.checked) {
                return r.value + ",";
            }
        }
        r = document.getElementById("PDI_answerOther2149961");
        if (r) {
            if (r.checked) {
                return r.value + ",";
            } else {
                return '';
            }
        } else {
            return "";
        }
    }
    else
    {
        for (i = 0; i < AA2149961.length; i++)
        {
            r = document.getElementById(AA2149961[i].substring(AA2149961[i].indexOf('id=') + 4, AA2149961[i].indexOf('"', AA2149961[i].indexOf('id=') + 4)));
            if (r.type == "checkbox" && r.checked)
            {
                PDV_a2149961 = PDV_a2149961 + r.value + ",";
            }
        }
        return PDV_a2149961;
    }
}
function PDF_o2149961(r) {
    if (PDV_po2149961 == 1) {
        PDV_o2149961 = document.getElementById("PDI_OtherText2149961").value;
    }
}
function PDI_checkOther2149961( lostfocus )
 {
	var reset = false;
	if( lostfocus ){
		var ot = document.getElementById("PDI_OtherText2149961").value;
		if( ot.length == 0 ){ reset = true; }
	}
	
    if (PDV_pt2149961 == 0)
    {
		if(lostfocus && reset){ document.getElementById("PDI_answerOther2149961").checked = false; }
		else{ document.getElementById("PDI_answerOther2149961").checked = true; }
    }
	else if ( PDV_pt2149961 > 1 ){
		var nc = 1;
		obj = document.getElementById("PDI_OtherText2149961");
		if(lostfocus && reset){ nc = 0; }
		
		for (i = 0; i < AA2149961.length; i++)
	    {
	        r = document.getElementById(AA2149961[i].substring(AA2149961[i].indexOf('id=') + 4, AA2149961[i].indexOf('"', AA2149961[i].indexOf('id=') + 4)));
	        if (r.type == "checkbox" && r.checked) { nc += 1; }
	    }

		if ( nc > PDV_pt2149961 ){
			obj.disabled=true;
			obj.value='';
			for (i = 0; i < AA2149961.length; i++)
		    {
		        r = document.getElementById(AA2149961[i].substring(AA2149961[i].indexOf('id=') + 4, AA2149961[i].indexOf('"', AA2149961[i].indexOf('id=') + 4)));
		        if (r.type == "checkbox" && !r.checked) { r.disabled = true; }
		    }
		}
		else if( nc < PDV_pt2149961 ){
			obj.disabled=false;
			for (i = 0; i < AA2149961.length; i++)
		    {
		        r = document.getElementById(AA2149961[i].substring(AA2149961[i].indexOf('id=') + 4, AA2149961[i].indexOf('"', AA2149961[i].indexOf('id=') + 4)));
		        if (r.type == "checkbox" && !r.checked) { r.disabled = false; }
		    }
		}
	}
}
function PD_vote2149961(R)
 {
    var randomnumber = Math.floor(Math.random() * 11);
    if (R == 1)
    {
        var s = document.createElement("SCRIPT");
        s.charset = "utf-8";
        s.src = PDV_server2149961 + "/vote-js.php?s=" + PDV_s2149961 + "&vr=1&b=" + PDV_b2149961 + "&p=" + PDV_id2149961 + "&l=" + PDV_l2149961 + "&sl=" + PDV_sl2149961 + "&pr=" + PDV_pr2149961 + "&pt=" + PDV_pt2149961 + "&va=" + PDV_va2149961 + "&cookie=" + PD_ck2149961 + "&rdm=" + randomnumber + "&url=" + escape(location.href) + "&w=" + PDV_w2149961;
        var h = document.getElementsByTagName("head").item(0);
        h.appendChild(s);
    }
    else
    {
        if (PDV_b2149961 > 0)
        {
            Set_Cookie2149961('PD_poll_' + PDV_id2149961, 'true', 0, '/', '', '');
        }
        PDV_a2149961 = '';
        PDV_a2149961 = PDF_a2149961(document.getElementById("PDI_form2149961"));
        if (PDV_a2149961.length == 0 && PDV_o2149961.length == 0)
        {
            alert(PDV_l4_2149961);
        }
        else
        {
			if ( PDV_def2149961.indexOf('input.pds-votebutton') == -1 ) {
				document.getElementById('pd-vote-button2149961').className = 'pds-vote-button-load';
			}
	
            var s = document.createElement("SCRIPT");
            s.charset = "utf-8";
            s.src = PDV_server2149961 + "/vote-js.php?s=" + PDV_s2149961 + "&b=" + PDV_b2149961 + "&p=" + PDV_id2149961 + "&a=" + PDV_a2149961 + "&o=" + PDV_o2149961 + "&l=" + PDV_l2149961 + "&sl=" + PDV_sl2149961 + "&pr=" + PDV_pr2149961 + "&pt=" + PDV_pt2149961 + "&va=" + PDV_va2149961 + "&cookie=" + PD_ck2149961 + "&rdm=" + randomnumber + "&url=" + escape(location.href) + "&w=" + PDV_w2149961;
            var h = document.getElementsByTagName("head").item(0);
            h.appendChild(s);
        }
    }
}
var PD_pollString2149961 = PDV_html2149961;
var PD_ck2149961 = 0;

function PDV_rand2149961(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_go2149961()
 {
    if (!document.getElementById('poll_style2149961'))
    {
        fileref = document.createElement("style");
        fileref.setAttribute("type", "text/css");
        fileref.setAttribute("id", "poll_style2149961");
        if (fileref.styleSheet)
        // IE
        {
            fileref.styleSheet.cssText = PDV_def2149961;
        }
        else
        // the world
        {
            fileref.appendChild(document.createTextNode(PDV_def2149961));
        }
        document.getElementsByTagName("head").item(0).appendChild(fileref);
    }
    if (!document.getElementById('PDI_container2149961'))
    {
        document.write('<a name="pd_a_2149961" style="display: inline; padding: 0px; margin: 0px;"></a><div class="PDS_Poll" id="PDI_container2149961"></div>');
    }
    if (Get_Cookie2149961('PD_poll_' + PDV_id2149961) == 'true')
    {
        PD_ck2149961 = 1;
    }

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

    if (PDV_POLLRAND2149961) {
        AA2149961 = PDV_rand2149961(AA2149961);
    }
    y2149961 = '';
    for (x2149961 = 0; x2149961 < AA2149961.length; x2149961++) {
        y2149961 = y2149961 + AA2149961[x2149961];
    }
    document.getElementById('pds-answer2149961').innerHTML = y2149961;
	share2149961();
}
function Set_Cookie2149961(name, value, expires, path, domain, secure)
 {
    var today = new Date();
    today.setTime(today.getTime());
    if(typeof(PDV_expire2149961) !== 'undefined') {
    	expires = parseInt( PDV_expire2149961 );
    }
    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_Cookie2149961(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 (pollClosed2149961 == false)
 {
    PDV_go2149961();
}

function st_go2149961(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;
}

st2149961 = {
    "p": "2149961",
    "v": "0"
};

st_go2149961(st2149961);

function share2149961()
{
	if( typeof PDV_share2149961 != "undefined") {
		if (PDV_share2149961 == 1 ) {
			a2a_linkname = 'Poll: ' + PDV_POLL_q2149961;
			a2a_linkurl = document.location + '#pd_a_2149961';
			a2a_track_links = 'custom';
			a2a_track_links_key = document.location + '#pd_a_2149961';
			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 media2149961(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_2149961(html) {
	var htmlNode = document.createElement("DIV");
	
	htmlNode.innerHTML = html;
	
	if(htmlNode.innerText !== undefined)
		return htmlNode.innerText; // IE
	
	return htmlNode.textContent; // FF
}

if (pollClosed2149961 == true)
{
	share2149961();
}