var pollClosed1134982 = false;
var PDV_POLLRAND1134982 = false;

var PDV_a1134982 = "";
var PDV_o1134982 = "";
var PDV_id1134982 = 1134982;
var PDV_pt1134982 = 1;
var PDV_po1134982 = 0;
var PDV_s1134982 = 54222;
var PDV_b1134982 = 1;
var PDV_l1134982 = 0;
var PDV_pr1134982 = 1;
var PDV_w1134982 = 1134982;
 
var PDV_sl1134982 = 1;
var PDV_va1134982 = 0;

var PDV_lnk1134982 = 1;



var PDV_def1134982 = '#PDI_container1134982 .pds-box{background-color:#ccccff;border:2px solid #000099;margin:0px 0px 0px 0px;padding:15px 15px 15px 15px;width:270px} #PDI_container1134982 .pds-question-top{font:normal normal bold 12px/14px georgia;color:#000000;border:0px none #000000;background-color:transparent;margin:0px 0px 10px 0px;padding:0px 0px 0px 0px} #PDI_container1134982 .pds-answer{font:normal normal normal 11px/24px georgia;color:#555555;background-color:transparent;border:2px none #000099;margin:0px 0px 0px 0px;padding:0px 0px 0px 0px} #PDI_container1134982 .pds-textfield{font:normal normal normal 12px/12px georgia;color:#333333;background-color:#ffffff;border:1px solid #999999;margin:1px 1px 15px 1px;padding:1px 5px 1px 1px;width:150px} #PDI_container1134982 .pds-answer-feedback{background-color:#f0f0f0;border:0px solid #999999;padding:1px 1px 1px 1px;margin:0px 0px 0px 0px} #PDI_container1134982 .pds-answer-feedback-bar{background-color:#000099;border:0px solid #999999;padding:0px 0px 0px 0px;margin:3px 3px 3px 3px} #PDI_container1134982 .pds-totalvotes-inner{font:normal normal bold 12px/20px georgia;color:#333333;background-color:#f0f0f0;border:0px solid #f0f0f0;padding:2px 2px 2px 2px} #PDI_container1134982 .pds-vote{color:#c3c4c7;font-size:9px;line-height:17px;padding:15px 0px 10px} #PDI_container1134982 .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_container1134982 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_container1134982 .pds-box{color:#333333;font-family:verdana,arial,helvetica,sans-serif;text-align:left} #PDI_container1134982 .pds-answer-feedback-bar{height:12px} #PDI_container1134982 .pds-totalvotes-inner{margin:0px 0px 15px} #PDI_container1134982 input.pds-votebutton-pack{float:right;font-size:10px}';

var PDV_POLL_q1134982 = 'Which 10ks would you like to try? (in alphabetical order)'; var PDV_POLL_medType1134982 = '0'; var PDV_POLL_medID1134982 = '';
var PDV_A1134982 = new Array();


  PDV_A1134982[0] = new Array(4); PDV_A1134982[0][0] = "5889126"; PDV_A1134982[0][1] = "Autumn Leaves 10k";   PDV_A1134982[0][2] = "0"; PDV_A1134982[0][3] = "";

  PDV_A1134982[1] = new Array(4); PDV_A1134982[1][0] = "5889127"; PDV_A1134982[1][1] = "Best Dam Run";   PDV_A1134982[1][2] = "0"; PDV_A1134982[1][3] = "";

  PDV_A1134982[2] = new Array(4); PDV_A1134982[2][0] = "5889128"; PDV_A1134982[2][1] = "Big Foot 10k";   PDV_A1134982[2][2] = "0"; PDV_A1134982[2][3] = "";

  PDV_A1134982[3] = new Array(4); PDV_A1134982[3][0] = "5889129"; PDV_A1134982[3][1] = "Bridge to Bridge 10k";   PDV_A1134982[3][2] = "0"; PDV_A1134982[3][3] = "";

  PDV_A1134982[4] = new Array(4); PDV_A1134982[4][0] = "5889130"; PDV_A1134982[4][1] = "Butte to Butte";   PDV_A1134982[4][2] = "0"; PDV_A1134982[4][3] = "";

  PDV_A1134982[5] = new Array(4); PDV_A1134982[5][0] = "5889131"; PDV_A1134982[5][1] = "Cascade 10k";   PDV_A1134982[5][2] = "0"; PDV_A1134982[5][3] = "";

  PDV_A1134982[6] = new Array(4); PDV_A1134982[6][0] = "5889132"; PDV_A1134982[6][1] = "Champoeg 10k";   PDV_A1134982[6][2] = "0"; PDV_A1134982[6][3] = "";

  PDV_A1134982[7] = new Array(4); PDV_A1134982[7][0] = "5889133"; PDV_A1134982[7][1] = "Cinco de Mayo 10k";   PDV_A1134982[7][2] = "0"; PDV_A1134982[7][3] = "";

  PDV_A1134982[8] = new Array(4); PDV_A1134982[8][0] = "5889134"; PDV_A1134982[8][1] = "Corvallis Fall Festival 10k";   PDV_A1134982[8][2] = "0"; PDV_A1134982[8][3] = "";

  PDV_A1134982[9] = new Array(4); PDV_A1134982[9][0] = "5889135"; PDV_A1134982[9][1] = "Domestic Violence Awareness 10k";   PDV_A1134982[9][2] = "0"; PDV_A1134982[9][3] = "";

  PDV_A1134982[10] = new Array(4); PDV_A1134982[10][0] = "5889136"; PDV_A1134982[10][1] = "Drop Top 10k";   PDV_A1134982[10][2] = "0"; PDV_A1134982[10][3] = "";

  PDV_A1134982[11] = new Array(4); PDV_A1134982[11][0] = "5889137"; PDV_A1134982[11][1] = "Dual Duel Solo 10k";   PDV_A1134982[11][2] = "0"; PDV_A1134982[11][3] = "";

  PDV_A1134982[12] = new Array(4); PDV_A1134982[12][0] = "5889138"; PDV_A1134982[12][1] = "First Run (Eugene)";   PDV_A1134982[12][2] = "0"; PDV_A1134982[12][3] = "";

  PDV_A1134982[13] = new Array(4); PDV_A1134982[13][0] = "5889139"; PDV_A1134982[13][1] = "Garlic Festival 10k";   PDV_A1134982[13][2] = "0"; PDV_A1134982[13][3] = "";

  PDV_A1134982[14] = new Array(4); PDV_A1134982[14][0] = "5889140"; PDV_A1134982[14][1] = "Give \'n\' Gobble 10k";   PDV_A1134982[14][2] = "0"; PDV_A1134982[14][3] = "";

  PDV_A1134982[15] = new Array(4); PDV_A1134982[15][0] = "5889141"; PDV_A1134982[15][1] = "Gorge Games 10k";   PDV_A1134982[15][2] = "0"; PDV_A1134982[15][3] = "";

  PDV_A1134982[16] = new Array(4); PDV_A1134982[16][0] = "5889142"; PDV_A1134982[16][1] = "Great Columbia Crossing";   PDV_A1134982[16][2] = "0"; PDV_A1134982[16][3] = "";

  PDV_A1134982[17] = new Array(4); PDV_A1134982[17][0] = "5889143"; PDV_A1134982[17][1] = "Great Pumpkin Run";   PDV_A1134982[17][2] = "0"; PDV_A1134982[17][3] = "";

  PDV_A1134982[18] = new Array(4); PDV_A1134982[18][0] = "5889144"; PDV_A1134982[18][1] = "Gresham Jazz Run";   PDV_A1134982[18][2] = "0"; PDV_A1134982[18][3] = "";

  PDV_A1134982[19] = new Array(4); PDV_A1134982[19][0] = "5889145"; PDV_A1134982[19][1] = "Hagg Lake 10k";   PDV_A1134982[19][2] = "0"; PDV_A1134982[19][3] = "";

  PDV_A1134982[20] = new Array(4); PDV_A1134982[20][0] = "5889146"; PDV_A1134982[20][1] = "Harvest Classic 10k (Longview)";   PDV_A1134982[20][2] = "0"; PDV_A1134982[20][3] = "";

  PDV_A1134982[21] = new Array(4); PDV_A1134982[21][0] = "5889147"; PDV_A1134982[21][1] = "Harvest Dash 10k (Hood River)";   PDV_A1134982[21][2] = "0"; PDV_A1134982[21][3] = "";

  PDV_A1134982[22] = new Array(4); PDV_A1134982[22][0] = "5889148"; PDV_A1134982[22][1] = "Harvest Festival 10k (Talent)";   PDV_A1134982[22][2] = "0"; PDV_A1134982[22][3] = "";

  PDV_A1134982[23] = new Array(4); PDV_A1134982[23][0] = "5889149"; PDV_A1134982[23][1] = "Hometown Holiday Run 10k (Ridgefield)";   PDV_A1134982[23][2] = "0"; PDV_A1134982[23][3] = "";

  PDV_A1134982[24] = new Array(4); PDV_A1134982[24][0] = "5889150"; PDV_A1134982[24][1] = "Lifeforce Challenge 10k";   PDV_A1134982[24][2] = "0"; PDV_A1134982[24][3] = "";

  PDV_A1134982[25] = new Array(4); PDV_A1134982[25][0] = "5889151"; PDV_A1134982[25][1] = "Mac\'s Run";   PDV_A1134982[25][2] = "0"; PDV_A1134982[25][3] = "";

  PDV_A1134982[26] = new Array(4); PDV_A1134982[26][0] = "5889152"; PDV_A1134982[26][1] = "Maupin River Fest 10k";   PDV_A1134982[26][2] = "0"; PDV_A1134982[26][3] = "";

  PDV_A1134982[27] = new Array(4); PDV_A1134982[27][0] = "5889153"; PDV_A1134982[27][1] = "Mudslinger 10k";   PDV_A1134982[27][2] = "0"; PDV_A1134982[27][3] = "";

  PDV_A1134982[28] = new Array(4); PDV_A1134982[28][0] = "5889154"; PDV_A1134982[28][1] = "Nike Human Race";   PDV_A1134982[28][2] = "0"; PDV_A1134982[28][3] = "";

  PDV_A1134982[29] = new Array(4); PDV_A1134982[29][0] = "5889155"; PDV_A1134982[29][1] = "Old River Ramble";   PDV_A1134982[29][2] = "0"; PDV_A1134982[29][3] = "";

  PDV_A1134982[30] = new Array(4); PDV_A1134982[30][0] = "5889156"; PDV_A1134982[30][1] = "Oregon\'s Run for the Roses (Sherwood)";   PDV_A1134982[30][2] = "0"; PDV_A1134982[30][3] = "";

  PDV_A1134982[31] = new Array(4); PDV_A1134982[31][0] = "5889157"; PDV_A1134982[31][1] = "ORRC 4th of July 10k";   PDV_A1134982[31][2] = "0"; PDV_A1134982[31][3] = "";

  PDV_A1134982[32] = new Array(4); PDV_A1134982[32][0] = "5889158"; PDV_A1134982[32][1] = "Pints to Pasta";   PDV_A1134982[32][2] = "0"; PDV_A1134982[32][3] = "";

  PDV_A1134982[33] = new Array(4); PDV_A1134982[33][0] = "5889159"; PDV_A1134982[33][1] = "Prefontaine Memorial Run";   PDV_A1134982[33][2] = "0"; PDV_A1134982[33][3] = "";

  PDV_A1134982[34] = new Array(4); PDV_A1134982[34][0] = "5889160"; PDV_A1134982[34][1] = "Ridgeline Ramble 10k";   PDV_A1134982[34][2] = "0"; PDV_A1134982[34][3] = "";

  PDV_A1134982[35] = new Array(4); PDV_A1134982[35][0] = "5889161"; PDV_A1134982[35][1] = "Run Like Hell 10k";   PDV_A1134982[35][2] = "0"; PDV_A1134982[35][3] = "";

  PDV_A1134982[36] = new Array(4); PDV_A1134982[36][0] = "5889162"; PDV_A1134982[36][1] = "Run to Stay Warm 10k";   PDV_A1134982[36][2] = "0"; PDV_A1134982[36][3] = "";

  PDV_A1134982[37] = new Array(4); PDV_A1134982[37][0] = "5889163"; PDV_A1134982[37][1] = "Steens Rim Run";   PDV_A1134982[37][2] = "0"; PDV_A1134982[37][3] = "";

  PDV_A1134982[38] = new Array(4); PDV_A1134982[38][0] = "5889164"; PDV_A1134982[38][1] = "Umpqua Ultimate 10k";   PDV_A1134982[38][2] = "0"; PDV_A1134982[38][3] = "";

  PDV_A1134982[39] = new Array(4); PDV_A1134982[39][0] = "5889165"; PDV_A1134982[39][1] = "Up the Lazy River";   PDV_A1134982[39][2] = "0"; PDV_A1134982[39][3] = "";

  PDV_A1134982[40] = new Array(4); PDV_A1134982[40][0] = "5889166"; PDV_A1134982[40][1] = "Warm Springs 10k";   PDV_A1134982[40][2] = "0"; PDV_A1134982[40][3] = "";

  PDV_A1134982[41] = new Array(4); PDV_A1134982[41][0] = "5889167"; PDV_A1134982[41][1] = "Wildwood Trail Trial";   PDV_A1134982[41][2] = "0"; PDV_A1134982[41][3] = "";

  PDV_A1134982[42] = new Array(4); PDV_A1134982[42][0] = "5889168"; PDV_A1134982[42][1] = "Y2K 10k";   PDV_A1134982[42][2] = "0"; PDV_A1134982[42][3] = "";


var PDV_l1_1134982 = 'View Results';
var PDV_l2_1134982 = 'Other:';
var PDV_l3_1134982  = '';

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



//v2.61 11/Nov/09

if (pollClosed1134982 == false)
 {
    var PDV_server1134982 = 'http://polls.polldaddy.com';
    var AA1134982 = new Array();
    var PDV_html1134982 = '<div style="margin-bottom: 0px; margin-top: 0px;" name="PDI_form1134982" id="PDI_form1134982"><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">' + media1134982(PDV_POLL_medType1134982, PDV_POLL_medID1134982) + ' ' + unescape_HTML_1134982( PDV_POLL_q1134982 ) + '</div></div></div></div><div class="pds-answer"><span id="pds-answer1134982"></span>';
    if (PDV_po1134982 == 1)
    {
		PDV_html1134982 += '<span class="pds-answer-group">';
		
        if (PDV_pt1134982 == 0)
        {
            PDV_html1134982 += '<span class="pds-answer-input"><input type="radio" name="PDI_answer1134982" id="PDI_answerOther1134982" value="other" class="pds-radiobutton"/></span>';
        }
        PDV_html1134982 += '<label for="PDI_answerOther1134982" class="pds-other-label"><span class="pds-answer-span">' + PDV_l2_1134982 + '</span></label><span class="pds-answer-other"><br/><input class="pds-textfield" type="text" maxlength="80" id="PDI_OtherText1134982" name="PDI_OtherText1134982" onclick="PDI_checkOther1134982();" onchange="PDI_checkOther1134982(true);" /></span>';

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

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

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

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

    if (PDV_pr1134982 == 2) {
        PDV_html1134982 += '<br/>';
    }
    else {
        PDV_html1134982 += '<a href="javascript:PD_vote1134982(1);" class="pds-view-results">' + PDV_l1_1134982 + '</a><br/>';
    }

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

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

    for (PDV_x = 0; PDV_x < PDV_A1134982.length; PDV_x++)
    {
        if (PDV_pt1134982 == 0)
        {
            AA1134982[PDV_x] = '<span class="pds-answer-group"><span class="pds-answer-input"><input class="pds-radiobutton" type="radio" id="PDI_answer' + PDV_A1134982[PDV_x][0] + '" value="' + PDV_A1134982[PDV_x][0] + '" name="PDI_answer1134982" /></span><label for="PDI_answer' + PDV_A1134982[PDV_x][0] + '" class="pds-input-label"><span class="pds-answer-span">' + unescape_HTML_1134982( PDV_A1134982[PDV_x][1] ) + '</span></label>' + media1134982(PDV_A1134982[PDV_x][2], PDV_A1134982[PDV_x][3]) + '<span class="pds-clear"></span><br/></span>';
        }
        else
        {
            AA1134982[PDV_x] = '<span class="pds-answer-group"><span class="pds-answer-input"><input class="pds-checkbox" type="checkbox" id="PDI_answer' + PDV_A1134982[PDV_x][0] + '" value="' + PDV_A1134982[PDV_x][0] + '" name="PDI_answer' + PDV_A1134982[PDV_x][0] + '" onclick="javascript:PDF_mc1134982(this);" /></span><label for="PDI_answer' + PDV_A1134982[PDV_x][0] + '" class="pds-input-label"><span class="pds-answer-span">' + unescape_HTML_1134982( PDV_A1134982[PDV_x][1] ) + '</span></label>' + media1134982(PDV_A1134982[PDV_x][2], PDV_A1134982[PDV_x][3]) + '<span class="pds-clear"></span><br/></span>';
        }
    }
}

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

function PDF_a1134982()
 {
    PDF_o1134982();
    var r;
    if (PDV_pt1134982 == 0)
    {
    	for (var i = 0; i < AA1134982.length; i++)
        {
            r = document.getElementById(AA1134982[i].substring(AA1134982[i].indexOf('id=') + 4, AA1134982[i].indexOf('"', AA1134982[i].indexOf('id=') + 4)));
            if (r.checked) {
                return r.value + ",";
            }
        }
        r = document.getElementById("PDI_answerOther1134982");
        if (r) {
            if (r.checked) {
                return r.value + ",";
            } else {
                return '';
            }
        } else {
            return "";
        }
    }
    else
    {
        for (i = 0; i < AA1134982.length; i++)
        {
            r = document.getElementById(AA1134982[i].substring(AA1134982[i].indexOf('id=') + 4, AA1134982[i].indexOf('"', AA1134982[i].indexOf('id=') + 4)));
            if (r.type == "checkbox" && r.checked)
            {
                PDV_a1134982 = PDV_a1134982 + r.value + ",";
            }
        }
        return PDV_a1134982;
    }
}
function PDF_o1134982(r) {
    if (PDV_po1134982 == 1) {
        PDV_o1134982 = document.getElementById("PDI_OtherText1134982").value;
    }
}
function PDI_checkOther1134982( lostfocus )
 {
	var reset = false;
	if( lostfocus ){
		var ot = document.getElementById("PDI_OtherText1134982").value;
		if( ot.length == 0 ){ reset = true; }
	}
	
    if (PDV_pt1134982 == 0)
    {
		if(lostfocus && reset){ document.getElementById("PDI_answerOther1134982").checked = false; }
		else{ document.getElementById("PDI_answerOther1134982").checked = true; }
    }
	else if ( PDV_pt1134982 > 1 ){
		var nc = 1;
		obj = document.getElementById("PDI_OtherText1134982");
		if(lostfocus && reset){ nc = 0; }
		
		for (i = 0; i < AA1134982.length; i++)
	    {
	        r = document.getElementById(AA1134982[i].substring(AA1134982[i].indexOf('id=') + 4, AA1134982[i].indexOf('"', AA1134982[i].indexOf('id=') + 4)));
	        if (r.type == "checkbox" && r.checked) { nc += 1; }
	    }

		if ( nc > PDV_pt1134982 ){
			obj.disabled=true;
			obj.value='';
			for (i = 0; i < AA1134982.length; i++)
		    {
		        r = document.getElementById(AA1134982[i].substring(AA1134982[i].indexOf('id=') + 4, AA1134982[i].indexOf('"', AA1134982[i].indexOf('id=') + 4)));
		        if (r.type == "checkbox" && !r.checked) { r.disabled = true; }
		    }
		}
		else if( nc < PDV_pt1134982 ){
			obj.disabled=false;
			for (i = 0; i < AA1134982.length; i++)
		    {
		        r = document.getElementById(AA1134982[i].substring(AA1134982[i].indexOf('id=') + 4, AA1134982[i].indexOf('"', AA1134982[i].indexOf('id=') + 4)));
		        if (r.type == "checkbox" && !r.checked) { r.disabled = false; }
		    }
		}
	}
}
function PD_vote1134982(R)
 {
    var randomnumber = Math.floor(Math.random() * 11);
    if (R == 1)
    {
        var s = document.createElement("SCRIPT");
        s.charset = "utf-8";
        s.src = PDV_server1134982 + "/vote-js.php?s=" + PDV_s1134982 + "&vr=1&b=" + PDV_b1134982 + "&p=" + PDV_id1134982 + "&l=" + PDV_l1134982 + "&sl=" + PDV_sl1134982 + "&pr=" + PDV_pr1134982 + "&pt=" + PDV_pt1134982 + "&va=" + PDV_va1134982 + "&cookie=" + PD_ck1134982 + "&rdm=" + randomnumber + "&url=" + escape(location.href) + "&w=" + PDV_w1134982;
        var h = document.getElementsByTagName("head").item(0);
        h.appendChild(s);
    }
    else
    {
        if (PDV_b1134982 > 0)
        {
            Set_Cookie1134982('PD_poll_' + PDV_id1134982, 'true', 0, '/', '', '');
        }
        PDV_a1134982 = '';
        PDV_a1134982 = PDF_a1134982(document.getElementById("PDI_form1134982"));
        if (PDV_a1134982.length == 0 && PDV_o1134982.length == 0)
        {
            alert(PDV_l4_1134982);
        }
        else
        {
			if ( PDV_def1134982.indexOf('input.pds-votebutton') == -1 ) {
				document.getElementById('pd-vote-button1134982').className = 'pds-vote-button-load';
			}
	
            var s = document.createElement("SCRIPT");
            s.charset = "utf-8";
            s.src = PDV_server1134982 + "/vote-js.php?s=" + PDV_s1134982 + "&b=" + PDV_b1134982 + "&p=" + PDV_id1134982 + "&a=" + PDV_a1134982 + "&o=" + PDV_o1134982 + "&l=" + PDV_l1134982 + "&sl=" + PDV_sl1134982 + "&pr=" + PDV_pr1134982 + "&pt=" + PDV_pt1134982 + "&va=" + PDV_va1134982 + "&cookie=" + PD_ck1134982 + "&rdm=" + randomnumber + "&url=" + escape(location.href) + "&w=" + PDV_w1134982;
            var h = document.getElementsByTagName("head").item(0);
            h.appendChild(s);
        }
    }
}
var PD_pollString1134982 = PDV_html1134982;
var PD_ck1134982 = 0;

function PDV_rand1134982(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_go1134982()
 {
    if (!document.getElementById('poll_style1134982'))
    {
        fileref = document.createElement("style");
        fileref.setAttribute("type", "text/css");
        fileref.setAttribute("id", "poll_style1134982");
        if (fileref.styleSheet)
        // IE
        {
            fileref.styleSheet.cssText = PDV_def1134982;
        }
        else
        // the world
        {
            fileref.appendChild(document.createTextNode(PDV_def1134982));
        }
        document.getElementsByTagName("head").item(0).appendChild(fileref);
    }
    if (!document.getElementById('PDI_container1134982'))
    {
        document.write('<a name="pd_a_1134982" style="display: inline; padding: 0px; margin: 0px;"></a><div class="PDS_Poll" id="PDI_container1134982"></div>');
    }
    if (Get_Cookie1134982('PD_poll_' + PDV_id1134982) == 'true')
    {
        PD_ck1134982 = 1;
    }

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

    if (PDV_POLLRAND1134982) {
        AA1134982 = PDV_rand1134982(AA1134982);
    }
    y1134982 = '';
    for (x1134982 = 0; x1134982 < AA1134982.length; x1134982++) {
        y1134982 = y1134982 + AA1134982[x1134982];
    }
    document.getElementById('pds-answer1134982').innerHTML = y1134982;
	share1134982();
}
function Set_Cookie1134982(name, value, expires, path, domain, secure)
 {
    var today = new Date();
    today.setTime(today.getTime());
    if(typeof(PDV_expire1134982) !== 'undefined') {
    	expires = parseInt( PDV_expire1134982 );
    }
    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_Cookie1134982(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 (pollClosed1134982 == false)
 {
    PDV_go1134982();
}

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

st1134982 = {
    "p": "1134982",
    "v": "0"
};

st_go1134982(st1134982);

function share1134982()
{
	if( typeof PDV_share1134982 != "undefined") {
		if (PDV_share1134982 == 1 ) {
			a2a_linkname = 'Poll: ' + PDV_POLL_q1134982;
			a2a_linkurl = document.location + '#pd_a_1134982';
			a2a_track_links = 'custom';
			a2a_track_links_key = document.location + '#pd_a_1134982';
			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 media1134982(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_1134982(html) {
	var htmlNode = document.createElement("DIV");
	
	htmlNode.innerHTML = html;
	
	if(htmlNode.innerText !== undefined)
		return htmlNode.innerText; // IE
	
	return htmlNode.textContent; // FF
}

if (pollClosed1134982 == true)
{
	share1134982();
}