var pollClosed961060 = false;
var PDV_POLLRAND961060 = false;

var PDV_a961060 = "";
var PDV_o961060 = "";
var PDV_id961060 = 961060;
var PDV_pt961060 = 1;
var PDV_po961060 = 0;
var PDV_s961060 = 49354;
var PDV_b961060 = 1;
var PDV_l961060 = 0;
var PDV_pr961060 = 1;
var PDV_w961060 = 961060;
 
var PDV_sl961060 = 1;
var PDV_va961060 = 0;

var PDV_lnk961060 = 1;



var PDV_def961060 = '#PDI_container961060 .pds-box{background-color:#ffffff;border:2px solid #c0c0c0;margin:0px 0px 0px 0px;padding:15px 15px 15px 15px;width:270px} #PDI_container961060 .pds-question-top{font:normal normal bold 12px/14px verdana;color:#333333;border:0px none #000000;background-color:transparent;margin:0px 0px 10px 0px;padding:0px 0px 0px 0px} #PDI_container961060 .pds-answer{font:normal normal normal 11px/24px verdana;color:#555555;background-color:transparent;border:0px none #ffffff;margin:0px 0px 0px 0px;padding:0px 0px 0px 0px} #PDI_container961060 .pds-textfield{font:normal normal normal 12px/12px verdana;color:#333333;background-color:#ffffff;border:1px solid #999999;margin:1px 1px 15px 1px;padding:1px 5px 1px 1px;width:150px} #PDI_container961060 .pds-answer-feedback{background-color:#f0f0f0;border:0px solid #999999;padding:1px 1px 1px 1px;margin:0px 0px 0px 0px} #PDI_container961060 .pds-answer-feedback-bar{background-color:#909090;border:0px solid #999999;padding:0px 0px 0px 0px;margin:3px 3px 3px 3px} #PDI_container961060 .pds-totalvotes-inner{font:normal normal bold 12px/20px verdana;color:#333333;background-color:#f0f0f0;border:0px solid #f0f0f0;padding:2px 2px 2px 2px} #PDI_container961060 .pds-vote{color:#c3c4c7;font-size:9px;line-height:17px;padding:15px 0px 10px} #PDI_container961060 .pds-vote a{border-bottom:1px solid #555555;border-top:1px solid #555555;color:#555555;font-size:9px;padding:2px 0px;text-decoration:none} #PDI_container961060 input.pds-votebutton{background:transparent url(http://s3.polldaddy.com/images/pdsimple-votebutton.gif) no-repeat scroll 0%;float:right;height:21px;margin:0px 0px 10px;outline-color:invert;outline-style:none;outline-width:medium;width:55px} #PDI_container961060 .pds-box{color:#333333;font-family:verdana,arial,helvetica,sans-serif;text-align:left} #PDI_container961060 .pds-answer-feedback-bar{height:12px} #PDI_container961060 .pds-totalvotes-inner{margin:0px 0px 15px} #PDI_container961060 input.pds-votebutton-pack{float:right;font-size:10px}';

var PDV_POLL_q961060 = 'Please select the fandoms that you\'d like to see featured at Writercon 2009.'; var PDV_POLL_medType961060 = '0'; var PDV_POLL_medID961060 = '';
var PDV_A961060 = new Array();


  PDV_A961060[0] = new Array(4); PDV_A961060[0][0] = "5029441"; PDV_A961060[0][1] = "Angel: the Series";   PDV_A961060[0][2] = "0"; PDV_A961060[0][3] = "";

  PDV_A961060[1] = new Array(4); PDV_A961060[1][0] = "5029442"; PDV_A961060[1][1] = "Babylon 5";   PDV_A961060[1][2] = "0"; PDV_A961060[1][3] = "";

  PDV_A961060[2] = new Array(4); PDV_A961060[2][0] = "5029443"; PDV_A961060[2][1] = "Battlestar Galactica";   PDV_A961060[2][2] = "0"; PDV_A961060[2][3] = "";

  PDV_A961060[3] = new Array(4); PDV_A961060[3][0] = "5029444"; PDV_A961060[3][1] = "Bones";   PDV_A961060[3][2] = "0"; PDV_A961060[3][3] = "";

  PDV_A961060[4] = new Array(4); PDV_A961060[4][0] = "5029445"; PDV_A961060[4][1] = "Buffy the Vampire Slayer";   PDV_A961060[4][2] = "0"; PDV_A961060[4][3] = "";

  PDV_A961060[5] = new Array(4); PDV_A961060[5][0] = "5029446"; PDV_A961060[5][1] = "Charmed";   PDV_A961060[5][2] = "0"; PDV_A961060[5][3] = "";

  PDV_A961060[6] = new Array(4); PDV_A961060[6][0] = "5029447"; PDV_A961060[6][1] = "Chuck";   PDV_A961060[6][2] = "0"; PDV_A961060[6][3] = "";

  PDV_A961060[7] = new Array(4); PDV_A961060[7][0] = "5029448"; PDV_A961060[7][1] = "Comics (DC Universe)";   PDV_A961060[7][2] = "0"; PDV_A961060[7][3] = "";

  PDV_A961060[8] = new Array(4); PDV_A961060[8][0] = "5029449"; PDV_A961060[8][1] = "Comics (Marvel)";   PDV_A961060[8][2] = "0"; PDV_A961060[8][3] = "";

  PDV_A961060[9] = new Array(4); PDV_A961060[9][0] = "5029450"; PDV_A961060[9][1] = "Dexter";   PDV_A961060[9][2] = "0"; PDV_A961060[9][3] = "";

  PDV_A961060[10] = new Array(4); PDV_A961060[10][0] = "5029451"; PDV_A961060[10][1] = "Die Hard";   PDV_A961060[10][2] = "0"; PDV_A961060[10][3] = "";

  PDV_A961060[11] = new Array(4); PDV_A961060[11][0] = "5029452"; PDV_A961060[11][1] = "Doctor Horrible";   PDV_A961060[11][2] = "0"; PDV_A961060[11][3] = "";

  PDV_A961060[12] = new Array(4); PDV_A961060[12][0] = "5029453"; PDV_A961060[12][1] = "Doctor Who";   PDV_A961060[12][2] = "0"; PDV_A961060[12][3] = "";

  PDV_A961060[13] = new Array(4); PDV_A961060[13][0] = "5029454"; PDV_A961060[13][1] = "Dollhouse";   PDV_A961060[13][2] = "0"; PDV_A961060[13][3] = "";

  PDV_A961060[14] = new Array(4); PDV_A961060[14][0] = "5029455"; PDV_A961060[14][1] = "Due South";   PDV_A961060[14][2] = "0"; PDV_A961060[14][3] = "";

  PDV_A961060[15] = new Array(4); PDV_A961060[15][0] = "5029456"; PDV_A961060[15][1] = "Eureka";   PDV_A961060[15][2] = "0"; PDV_A961060[15][3] = "";

  PDV_A961060[16] = new Array(4); PDV_A961060[16][0] = "5029457"; PDV_A961060[16][1] = "Farscape";   PDV_A961060[16][2] = "0"; PDV_A961060[16][3] = "";

  PDV_A961060[17] = new Array(4); PDV_A961060[17][0] = "5029458"; PDV_A961060[17][1] = "The Fast and the Furious";   PDV_A961060[17][2] = "0"; PDV_A961060[17][3] = "";

  PDV_A961060[18] = new Array(4); PDV_A961060[18][0] = "5029459"; PDV_A961060[18][1] = "Firefly/Serenity";   PDV_A961060[18][2] = "0"; PDV_A961060[18][3] = "";

  PDV_A961060[19] = new Array(4); PDV_A961060[19][0] = "5029460"; PDV_A961060[19][1] = "Friday Night Lights";   PDV_A961060[19][2] = "0"; PDV_A961060[19][3] = "";

  PDV_A961060[20] = new Array(4); PDV_A961060[20][0] = "5029461"; PDV_A961060[20][1] = "Gossip Girl";   PDV_A961060[20][2] = "0"; PDV_A961060[20][3] = "";

  PDV_A961060[21] = new Array(4); PDV_A961060[21][0] = "5029462"; PDV_A961060[21][1] = "Harry Potter";   PDV_A961060[21][2] = "0"; PDV_A961060[21][3] = "";

  PDV_A961060[22] = new Array(4); PDV_A961060[22][0] = "5029463"; PDV_A961060[22][1] = "Heroes";   PDV_A961060[22][2] = "0"; PDV_A961060[22][3] = "";

  PDV_A961060[23] = new Array(4); PDV_A961060[23][0] = "5029464"; PDV_A961060[23][1] = "Highlander";   PDV_A961060[23][2] = "0"; PDV_A961060[23][3] = "";

  PDV_A961060[24] = new Array(4); PDV_A961060[24][0] = "5029465"; PDV_A961060[24][1] = "House";   PDV_A961060[24][2] = "0"; PDV_A961060[24][3] = "";

  PDV_A961060[25] = new Array(4); PDV_A961060[25][0] = "5029466"; PDV_A961060[25][1] = "Lord of the Rings";   PDV_A961060[25][2] = "0"; PDV_A961060[25][3] = "";

  PDV_A961060[26] = new Array(4); PDV_A961060[26][0] = "5029467"; PDV_A961060[26][1] = "Lost";   PDV_A961060[26][2] = "0"; PDV_A961060[26][3] = "";

  PDV_A961060[27] = new Array(4); PDV_A961060[27][0] = "7224223"; PDV_A961060[27][1] = "Merlin";   PDV_A961060[27][2] = "0"; PDV_A961060[27][3] = "";

  PDV_A961060[28] = new Array(4); PDV_A961060[28][0] = "5029468"; PDV_A961060[28][1] = "Moonlight";   PDV_A961060[28][2] = "0"; PDV_A961060[28][3] = "";

  PDV_A961060[29] = new Array(4); PDV_A961060[29][0] = "5029469"; PDV_A961060[29][1] = "Narnia";   PDV_A961060[29][2] = "0"; PDV_A961060[29][3] = "";

  PDV_A961060[30] = new Array(4); PDV_A961060[30][0] = "5029470"; PDV_A961060[30][1] = "NCIS";   PDV_A961060[30][2] = "0"; PDV_A961060[30][3] = "";

  PDV_A961060[31] = new Array(4); PDV_A961060[31][0] = "5029471"; PDV_A961060[31][1] = "Numb3rs";   PDV_A961060[31][2] = "0"; PDV_A961060[31][3] = "";

  PDV_A961060[32] = new Array(4); PDV_A961060[32][0] = "5029472"; PDV_A961060[32][1] = "The Office";   PDV_A961060[32][2] = "0"; PDV_A961060[32][3] = "";

  PDV_A961060[33] = new Array(4); PDV_A961060[33][0] = "5029473"; PDV_A961060[33][1] = "One Tree Hill";   PDV_A961060[33][2] = "0"; PDV_A961060[33][3] = "";

  PDV_A961060[34] = new Array(4); PDV_A961060[34][0] = "5029474"; PDV_A961060[34][1] = "Pirates of the Caribbean";   PDV_A961060[34][2] = "0"; PDV_A961060[34][3] = "";

  PDV_A961060[35] = new Array(4); PDV_A961060[35][0] = "5120038"; PDV_A961060[35][1] = "Queer as Folk";   PDV_A961060[35][2] = "0"; PDV_A961060[35][3] = "";

  PDV_A961060[36] = new Array(4); PDV_A961060[36][0] = "5029475"; PDV_A961060[36][1] = "Rescue Me";   PDV_A961060[36][2] = "0"; PDV_A961060[36][3] = "";

  PDV_A961060[37] = new Array(4); PDV_A961060[37][0] = "5029476"; PDV_A961060[37][1] = "Roswell";   PDV_A961060[37][2] = "0"; PDV_A961060[37][3] = "";

  PDV_A961060[38] = new Array(4); PDV_A961060[38][0] = "5029477"; PDV_A961060[38][1] = "The Sarah Jane Adventures";   PDV_A961060[38][2] = "0"; PDV_A961060[38][3] = "";

  PDV_A961060[39] = new Array(4); PDV_A961060[39][0] = "5029478"; PDV_A961060[39][1] = "The Sentinel";   PDV_A961060[39][2] = "0"; PDV_A961060[39][3] = "";

  PDV_A961060[40] = new Array(4); PDV_A961060[40][0] = "5029479"; PDV_A961060[40][1] = "Six Feet Under";   PDV_A961060[40][2] = "0"; PDV_A961060[40][3] = "";

  PDV_A961060[41] = new Array(4); PDV_A961060[41][0] = "5029480"; PDV_A961060[41][1] = "Smallville";   PDV_A961060[41][2] = "0"; PDV_A961060[41][3] = "";

  PDV_A961060[42] = new Array(4); PDV_A961060[42][0] = "5029481"; PDV_A961060[42][1] = "Stargate Atlantis";   PDV_A961060[42][2] = "0"; PDV_A961060[42][3] = "";

  PDV_A961060[43] = new Array(4); PDV_A961060[43][0] = "5029482"; PDV_A961060[43][1] = "Stargate SG-1";   PDV_A961060[43][2] = "0"; PDV_A961060[43][3] = "";

  PDV_A961060[44] = new Array(4); PDV_A961060[44][0] = "5029483"; PDV_A961060[44][1] = "Star Trek";   PDV_A961060[44][2] = "0"; PDV_A961060[44][3] = "";

  PDV_A961060[45] = new Array(4); PDV_A961060[45][0] = "5029484"; PDV_A961060[45][1] = "Star Wars";   PDV_A961060[45][2] = "0"; PDV_A961060[45][3] = "";

  PDV_A961060[46] = new Array(4); PDV_A961060[46][0] = "5029485"; PDV_A961060[46][1] = "Supernatural";   PDV_A961060[46][2] = "0"; PDV_A961060[46][3] = "";

  PDV_A961060[47] = new Array(4); PDV_A961060[47][0] = "5029486"; PDV_A961060[47][1] = "Terminator: The Sarah Connor Chronicles";   PDV_A961060[47][2] = "0"; PDV_A961060[47][3] = "";

  PDV_A961060[48] = new Array(4); PDV_A961060[48][0] = "5029487"; PDV_A961060[48][1] = "Torchwood";   PDV_A961060[48][2] = "0"; PDV_A961060[48][3] = "";

  PDV_A961060[49] = new Array(4); PDV_A961060[49][0] = "5029488"; PDV_A961060[49][1] = "Veronica Mars";   PDV_A961060[49][2] = "0"; PDV_A961060[49][3] = "";

  PDV_A961060[50] = new Array(4); PDV_A961060[50][0] = "5029489"; PDV_A961060[50][1] = "The X-Files";   PDV_A961060[50][2] = "0"; PDV_A961060[50][3] = "";

  PDV_A961060[51] = new Array(4); PDV_A961060[51][0] = "5029490"; PDV_A961060[51][1] = "The X-Men";   PDV_A961060[51][2] = "0"; PDV_A961060[51][3] = "";

  PDV_A961060[52] = new Array(4); PDV_A961060[52][0] = "5029491"; PDV_A961060[52][1] = "Xena: Warrior Princess";   PDV_A961060[52][2] = "0"; PDV_A961060[52][3] = "";


var PDV_l1_961060 = 'View Results';
var PDV_l2_961060 = 'Other:';
var PDV_l3_961060  = '';

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



//v2.61 11/Nov/09

if (pollClosed961060 == false)
 {
    var PDV_server961060 = 'http://polls.polldaddy.com';
    var AA961060 = new Array();
    var PDV_html961060 = '<div style="margin-bottom: 0px; margin-top: 0px;" name="PDI_form961060" id="PDI_form961060"><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">' + media961060(PDV_POLL_medType961060, PDV_POLL_medID961060) + ' ' + unescape_HTML_961060( PDV_POLL_q961060 ) + '</div></div></div></div><div class="pds-answer"><span id="pds-answer961060"></span>';
    if (PDV_po961060 == 1)
    {
		PDV_html961060 += '<span class="pds-answer-group">';
		
        if (PDV_pt961060 == 0)
        {
            PDV_html961060 += '<span class="pds-answer-input"><input type="radio" name="PDI_answer961060" id="PDI_answerOther961060" value="other" class="pds-radiobutton"/></span>';
        }
        PDV_html961060 += '<label for="PDI_answerOther961060" class="pds-other-label"><span class="pds-answer-span">' + PDV_l2_961060 + '</span></label><span class="pds-answer-other"><br/><input class="pds-textfield" type="text" maxlength="80" id="PDI_OtherText961060" name="PDI_OtherText961060" onclick="PDI_checkOther961060();" onchange="PDI_checkOther961060(true);" /></span>';

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

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

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

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

    if (PDV_pr961060 == 2) {
        PDV_html961060 += '<br/>';
    }
    else {
        PDV_html961060 += '<a href="javascript:PD_vote961060(1);" class="pds-view-results">' + PDV_l1_961060 + '</a><br/>';
    }

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

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

    for (PDV_x = 0; PDV_x < PDV_A961060.length; PDV_x++)
    {
        if (PDV_pt961060 == 0)
        {
            AA961060[PDV_x] = '<span class="pds-answer-group"><span class="pds-answer-input"><input class="pds-radiobutton" type="radio" id="PDI_answer' + PDV_A961060[PDV_x][0] + '" value="' + PDV_A961060[PDV_x][0] + '" name="PDI_answer961060" /></span><label for="PDI_answer' + PDV_A961060[PDV_x][0] + '" class="pds-input-label"><span class="pds-answer-span">' + unescape_HTML_961060( PDV_A961060[PDV_x][1] ) + '</span></label>' + media961060(PDV_A961060[PDV_x][2], PDV_A961060[PDV_x][3]) + '<span class="pds-clear"></span><br/></span>';
        }
        else
        {
            AA961060[PDV_x] = '<span class="pds-answer-group"><span class="pds-answer-input"><input class="pds-checkbox" type="checkbox" id="PDI_answer' + PDV_A961060[PDV_x][0] + '" value="' + PDV_A961060[PDV_x][0] + '" name="PDI_answer' + PDV_A961060[PDV_x][0] + '" onclick="javascript:PDF_mc961060(this);" /></span><label for="PDI_answer' + PDV_A961060[PDV_x][0] + '" class="pds-input-label"><span class="pds-answer-span">' + unescape_HTML_961060( PDV_A961060[PDV_x][1] ) + '</span></label>' + media961060(PDV_A961060[PDV_x][2], PDV_A961060[PDV_x][3]) + '<span class="pds-clear"></span><br/></span>';
        }
    }
}

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

function PDF_a961060()
 {
    PDF_o961060();
    var r;
    if (PDV_pt961060 == 0)
    {
    	for (var i = 0; i < AA961060.length; i++)
        {
            r = document.getElementById(AA961060[i].substring(AA961060[i].indexOf('id=') + 4, AA961060[i].indexOf('"', AA961060[i].indexOf('id=') + 4)));
            if (r.checked) {
                return r.value + ",";
            }
        }
        r = document.getElementById("PDI_answerOther961060");
        if (r) {
            if (r.checked) {
                return r.value + ",";
            } else {
                return '';
            }
        } else {
            return "";
        }
    }
    else
    {
        for (i = 0; i < AA961060.length; i++)
        {
            r = document.getElementById(AA961060[i].substring(AA961060[i].indexOf('id=') + 4, AA961060[i].indexOf('"', AA961060[i].indexOf('id=') + 4)));
            if (r.type == "checkbox" && r.checked)
            {
                PDV_a961060 = PDV_a961060 + r.value + ",";
            }
        }
        return PDV_a961060;
    }
}
function PDF_o961060(r) {
    if (PDV_po961060 == 1) {
        PDV_o961060 = document.getElementById("PDI_OtherText961060").value;
    }
}
function PDI_checkOther961060( lostfocus )
 {
	var reset = false;
	if( lostfocus ){
		var ot = document.getElementById("PDI_OtherText961060").value;
		if( ot.length == 0 ){ reset = true; }
	}
	
    if (PDV_pt961060 == 0)
    {
		if(lostfocus && reset){ document.getElementById("PDI_answerOther961060").checked = false; }
		else{ document.getElementById("PDI_answerOther961060").checked = true; }
    }
	else if ( PDV_pt961060 > 1 ){
		var nc = 1;
		obj = document.getElementById("PDI_OtherText961060");
		if(lostfocus && reset){ nc = 0; }
		
		for (i = 0; i < AA961060.length; i++)
	    {
	        r = document.getElementById(AA961060[i].substring(AA961060[i].indexOf('id=') + 4, AA961060[i].indexOf('"', AA961060[i].indexOf('id=') + 4)));
	        if (r.type == "checkbox" && r.checked) { nc += 1; }
	    }

		if ( nc > PDV_pt961060 ){
			obj.disabled=true;
			obj.value='';
			for (i = 0; i < AA961060.length; i++)
		    {
		        r = document.getElementById(AA961060[i].substring(AA961060[i].indexOf('id=') + 4, AA961060[i].indexOf('"', AA961060[i].indexOf('id=') + 4)));
		        if (r.type == "checkbox" && !r.checked) { r.disabled = true; }
		    }
		}
		else if( nc < PDV_pt961060 ){
			obj.disabled=false;
			for (i = 0; i < AA961060.length; i++)
		    {
		        r = document.getElementById(AA961060[i].substring(AA961060[i].indexOf('id=') + 4, AA961060[i].indexOf('"', AA961060[i].indexOf('id=') + 4)));
		        if (r.type == "checkbox" && !r.checked) { r.disabled = false; }
		    }
		}
	}
}
function PD_vote961060(R)
 {
    var randomnumber = Math.floor(Math.random() * 11);
    if (R == 1)
    {
        var s = document.createElement("SCRIPT");
        s.charset = "utf-8";
        s.src = PDV_server961060 + "/vote-js.php?s=" + PDV_s961060 + "&vr=1&b=" + PDV_b961060 + "&p=" + PDV_id961060 + "&l=" + PDV_l961060 + "&sl=" + PDV_sl961060 + "&pr=" + PDV_pr961060 + "&pt=" + PDV_pt961060 + "&va=" + PDV_va961060 + "&cookie=" + PD_ck961060 + "&rdm=" + randomnumber + "&url=" + escape(location.href) + "&w=" + PDV_w961060;
        var h = document.getElementsByTagName("head").item(0);
        h.appendChild(s);
    }
    else
    {
        if (PDV_b961060 > 0)
        {
            Set_Cookie961060('PD_poll_' + PDV_id961060, 'true', 0, '/', '', '');
        }
        PDV_a961060 = '';
        PDV_a961060 = PDF_a961060(document.getElementById("PDI_form961060"));
        if (PDV_a961060.length == 0 && PDV_o961060.length == 0)
        {
            alert(PDV_l4_961060);
        }
        else
        {
			if ( PDV_def961060.indexOf('input.pds-votebutton') == -1 ) {
				document.getElementById('pd-vote-button961060').className = 'pds-vote-button-load';
			}
	
            var s = document.createElement("SCRIPT");
            s.charset = "utf-8";
            s.src = PDV_server961060 + "/vote-js.php?s=" + PDV_s961060 + "&b=" + PDV_b961060 + "&p=" + PDV_id961060 + "&a=" + PDV_a961060 + "&o=" + PDV_o961060 + "&l=" + PDV_l961060 + "&sl=" + PDV_sl961060 + "&pr=" + PDV_pr961060 + "&pt=" + PDV_pt961060 + "&va=" + PDV_va961060 + "&cookie=" + PD_ck961060 + "&rdm=" + randomnumber + "&url=" + escape(location.href) + "&w=" + PDV_w961060;
            var h = document.getElementsByTagName("head").item(0);
            h.appendChild(s);
        }
    }
}
var PD_pollString961060 = PDV_html961060;
var PD_ck961060 = 0;

function PDV_rand961060(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_go961060()
 {
    if (!document.getElementById('poll_style961060'))
    {
        fileref = document.createElement("style");
        fileref.setAttribute("type", "text/css");
        fileref.setAttribute("id", "poll_style961060");
        if (fileref.styleSheet)
        // IE
        {
            fileref.styleSheet.cssText = PDV_def961060;
        }
        else
        // the world
        {
            fileref.appendChild(document.createTextNode(PDV_def961060));
        }
        document.getElementsByTagName("head").item(0).appendChild(fileref);
    }
    if (!document.getElementById('PDI_container961060'))
    {
        document.write('<a name="pd_a_961060" style="display: inline; padding: 0px; margin: 0px;"></a><div class="PDS_Poll" id="PDI_container961060"></div>');
    }
    if (Get_Cookie961060('PD_poll_' + PDV_id961060) == 'true')
    {
        PD_ck961060 = 1;
    }

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

    if (PDV_POLLRAND961060) {
        AA961060 = PDV_rand961060(AA961060);
    }
    y961060 = '';
    for (x961060 = 0; x961060 < AA961060.length; x961060++) {
        y961060 = y961060 + AA961060[x961060];
    }
    document.getElementById('pds-answer961060').innerHTML = y961060;
	share961060();
}
function Set_Cookie961060(name, value, expires, path, domain, secure)
 {
    var today = new Date();
    today.setTime(today.getTime());
    if(typeof(PDV_expire961060) !== 'undefined') {
    	expires = parseInt( PDV_expire961060 );
    }
    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_Cookie961060(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 (pollClosed961060 == false)
 {
    PDV_go961060();
}

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

st961060 = {
    "p": "961060",
    "v": "0"
};

st_go961060(st961060);

function share961060()
{
	if( typeof PDV_share961060 != "undefined") {
		if (PDV_share961060 == 1 ) {
			a2a_linkname = 'Poll: ' + PDV_POLL_q961060;
			a2a_linkurl = document.location + '#pd_a_961060';
			a2a_track_links = 'custom';
			a2a_track_links_key = document.location + '#pd_a_961060';
			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 media961060(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_961060(html) {
	var htmlNode = document.createElement("DIV");
	
	htmlNode.innerHTML = html;
	
	if(htmlNode.innerText !== undefined)
		return htmlNode.innerText; // IE
	
	return htmlNode.textContent; // FF
}

if (pollClosed961060 == true)
{
	share961060();
}