var pollClosed317156 = false;
var PDV_POLLRAND317156 = true;

var PDV_a317156 = "";
var PDV_o317156 = "";
var PDV_id317156 = 317156;
var PDV_pt317156 = 1;
var PDV_po317156 = 0;
var PDV_s317156 = 157;
var PDV_b317156 = 0;
var PDV_l317156 = 0;
var PDV_pr317156 = 1;
var PDV_w317156 = 317156;
 
var PDV_sl317156 = 1;
var PDV_va317156 = 0;

var PDV_lnk317156 = 1;



var PDV_def317156 = '#PDI_container317156 .pds-box{font-family: Arial;background: #fff;border: 1px solid #ccc;width: 150px;font-size: 12px;text-align: left;color: #4e4e4e;-webkit-border-radius: 8px;-moz-border-radius: 8px;border-radius: 8px;} #PDI_container317156 .pds-box A{outline: none;} #PDI_container317156 .pds-clear{display: block;clear: both;} #PDI_container317156 .pds-box-outer{padding: 8px;} #PDI_container317156 .pds-question-top{font-size:11px;line-height: 130%;color: #333;font-weight: bold;padding: 0px;position:relative;white-space: normal;padding: 0px 0px 5px 0px;} #PDI_container317156 .pds-answer{padding: 0px 0px 0px 2px;} #PDI_container317156 .pds-answer label{color: #333;font-size: 11px;line-height: 120%;position: relative;} #PDI_container317156 .pds-answer-input INPUT{padding: 0px;margin: 0px;} #PDI_container317156 .pds-answer-group{display: block;padding: 4px 0px 4px 0px;} #PDI_container317156 .pds-answer-group BR{display: none;} #PDI_container317156 .pds-answer-input{display: block;float:left;width: 20px;} #PDI_container317156 .pds-input-label{padding: 1px 0px 0px 0px;display: block;float:left;width: 105px;cursor: pointer;} #PDI_container317156 .pds-answer-other{display: block;padding: 0px 0px 0px 25px;} #PDI_container317156 .pds-textfield{background: #FFF;border: 1px solid #d1d1d1;font-size: 12px;padding: 2px;width: 90px;} #PDI_container317156 .pds-answer-other BR{display: none;} #PDI_container317156 .pds-other-label{padding: 3px 0px 0px 0px;display: block;float:left;cursor: pointer;} #PDI_container317156 .pds-feedback-group{display: block;padding: 4px 0px 4px 0px;} #PDI_container317156 .pds-feedback-label{display: block;padding: 0px 0px 5px 0px;} #PDI_container317156 .pds-feedback-per{font-weight: bold;} #PDI_container317156 .pds-feedback-votes{font-weight: normal;} #PDI_container317156 .pds-answer-feedback {background-color: #f1f1f1;border: 1px solid #d1d1d1;position: relative;} #PDI_container317156 .pds-answer-feedback-bar {font-size: 2px;background: #090;height: 10px;} #PDI_container317156 .pds-vote {padding: 5px 0px;} #PDI_container317156 .pds-votebutton-outer {} #PDI_container317156 .pds-vote BR{display: none;} #PDI_container317156 .pds-vote-button {color: #464646;padding: 3px 25px;white-space: nowrap;background:#F2F2F2 url(http://s3.wordpress.com/wp-admin/images/white-grad.png) repeat-x scroll left top;-webkit-border-radius: 8px;-moz-border-radius:8px;border-radius: 8px;border: 1px solid #999;cursor: pointer;font-size: 12px;font-family: Arial;text-decoration: none;line-height: 25px;font-weight: bold;white-space: nowrap;} #PDI_container317156 .pds-vote-button:hover{border: 1px solid #333;} #PDI_container317156 .pds-vote-button-load {color: #464646;padding: 3px 25px;white-space: nowrap;-webkit-border-radius: 8px;-moz-border-radius:8px;border-radius: 8px;border: 1px solid #999;cursor: pointer;font-size: 12px;font-family: Arial;text-decoration: none;line-height: 25px;font-weight: bold;white-space: nowrap;background:#EEE url(http://i.polldaddy.com/polls/vote-loader-eeeeee.gif) no-repeat scroll 50% 50%;} #PDI_container317156 .pds-vote-button-load SPAN{visibility: hidden;} #PDI_container317156 .pds-links {padding: 10px 0px 0px 0px;display: block;} #PDI_container317156 .pds-links-back {padding: 5px 0px 0px 0px;display: block;} #PDI_container317156 .pds-links A {font-family: Helvetica, Arial, sans-serif;font-size:11px;color: #4e4e4e;text-decoration: none;padding: 0px 4px 0px 4px;line-height: 18px;display: inline-block;} #PDI_container317156 .pds-links-back A {font-family: Helvetica, Arial, sans-serif;font-size:11px;color: #4e4e4e;text-decoration: none;padding: 0px 4px 0px 0px;line-height: 18px;display: inline-block;} #PDI_container317156 .pds-links A:hover {text-decoration: underline;} #PDI_container317156 .pds-links-back A:hover {text-decoration: underline;} #PDI_container317156 .pds-comments SPAN{font-weight: bold;} #PDI_container317156 .pds-total-votes{padding: 5px 0px 0px 0px;position: relative;} #PDI_container317156 .pds-total-votes SPAN{font-weight: bold;} .pds-box div {margin:0;padding:0;}';

var PDV_POLL_q317156 = 'Whats your favorite game?'; var PDV_POLL_medType317156 = '0'; var PDV_POLL_medID317156 = '';
var PDV_A317156 = new Array();


  PDV_A317156[0] = new Array(4); PDV_A317156[0][0] = "1602548"; PDV_A317156[0][1] = "Ninja Rampage";   PDV_A317156[0][2] = "0"; PDV_A317156[0][3] = "";

  PDV_A317156[1] = new Array(4); PDV_A317156[1][0] = "2423090"; PDV_A317156[1][1] = "Ammo Ambush 2";   PDV_A317156[1][2] = "0"; PDV_A317156[1][3] = "";

  PDV_A317156[2] = new Array(4); PDV_A317156[2][0] = "2409177"; PDV_A317156[2][1] = "Ninjaman";   PDV_A317156[2][2] = "0"; PDV_A317156[2][3] = "";

  PDV_A317156[3] = new Array(4); PDV_A317156[3][0] = "2409178"; PDV_A317156[3][1] = "Feudalism";   PDV_A317156[3][2] = "0"; PDV_A317156[3][3] = "";

  PDV_A317156[4] = new Array(4); PDV_A317156[4][0] = "2409179"; PDV_A317156[4][1] = "Ghost Soccer";   PDV_A317156[4][2] = "0"; PDV_A317156[4][3] = "";

  PDV_A317156[5] = new Array(4); PDV_A317156[5][0] = "2409180"; PDV_A317156[5][1] = "Drag Racer V3";   PDV_A317156[5][2] = "0"; PDV_A317156[5][3] = "";

  PDV_A317156[6] = new Array(4); PDV_A317156[6][0] = "2409181"; PDV_A317156[6][1] = "Monster\'s Den";   PDV_A317156[6][2] = "0"; PDV_A317156[6][3] = "";

  PDV_A317156[7] = new Array(4); PDV_A317156[7][0] = "1602549"; PDV_A317156[7][1] = "Bleach Trainer 2";   PDV_A317156[7][2] = "0"; PDV_A317156[7][3] = "";

  PDV_A317156[8] = new Array(4); PDV_A317156[8][0] = "1602550"; PDV_A317156[8][1] = "Mystic Circle";   PDV_A317156[8][2] = "0"; PDV_A317156[8][3] = "";

  PDV_A317156[9] = new Array(4); PDV_A317156[9][0] = "1602551"; PDV_A317156[9][1] = "4 Fighters";   PDV_A317156[9][2] = "0"; PDV_A317156[9][3] = "";

  PDV_A317156[10] = new Array(4); PDV_A317156[10][0] = "2084030"; PDV_A317156[10][1] = "Tank Fighter";   PDV_A317156[10][2] = "0"; PDV_A317156[10][3] = "";

  PDV_A317156[11] = new Array(4); PDV_A317156[11][0] = "2409182"; PDV_A317156[11][1] = "Puppet Melee";   PDV_A317156[11][2] = "0"; PDV_A317156[11][3] = "";

  PDV_A317156[12] = new Array(4); PDV_A317156[12][0] = "2409608"; PDV_A317156[12][1] = "Guitar Hero 2";   PDV_A317156[12][2] = "0"; PDV_A317156[12][3] = "";

  PDV_A317156[13] = new Array(4); PDV_A317156[13][0] = "2410001"; PDV_A317156[13][1] = "Solid RPG";   PDV_A317156[13][2] = "0"; PDV_A317156[13][3] = "";

  PDV_A317156[14] = new Array(4); PDV_A317156[14][0] = "3876396"; PDV_A317156[14][1] = "Modern Tactics 3";   PDV_A317156[14][2] = "0"; PDV_A317156[14][3] = "";

  PDV_A317156[15] = new Array(4); PDV_A317156[15][0] = "3876397"; PDV_A317156[15][1] = "Guitar Hero 3";   PDV_A317156[15][2] = "0"; PDV_A317156[15][3] = "";

  PDV_A317156[16] = new Array(4); PDV_A317156[16][0] = "3876398"; PDV_A317156[16][1] = "Field Command";   PDV_A317156[16][2] = "0"; PDV_A317156[16][3] = "";

  PDV_A317156[17] = new Array(4); PDV_A317156[17][0] = "4364588"; PDV_A317156[17][1] = "Field Command 3";   PDV_A317156[17][2] = "0"; PDV_A317156[17][3] = "";

  PDV_A317156[18] = new Array(4); PDV_A317156[18][0] = "4364589"; PDV_A317156[18][1] = "Swords and Sandals 2";   PDV_A317156[18][2] = "0"; PDV_A317156[18][3] = "";

  PDV_A317156[19] = new Array(4); PDV_A317156[19][0] = "9567793"; PDV_A317156[19][1] = "Boxhead 2 Play";   PDV_A317156[19][2] = "0"; PDV_A317156[19][3] = "";

  PDV_A317156[20] = new Array(4); PDV_A317156[20][0] = "9567794"; PDV_A317156[20][1] = "Boxhead Zombie wars";   PDV_A317156[20][2] = "0"; PDV_A317156[20][3] = "";

  PDV_A317156[21] = new Array(4); PDV_A317156[21][0] = "9567795"; PDV_A317156[21][1] = "Stick Madness 3";   PDV_A317156[21][2] = "0"; PDV_A317156[21][3] = "";

  PDV_A317156[22] = new Array(4); PDV_A317156[22][0] = "9567796"; PDV_A317156[22][1] = "Storm the House 2";   PDV_A317156[22][2] = "0"; PDV_A317156[22][3] = "";

  PDV_A317156[23] = new Array(4); PDV_A317156[23][0] = "9567797"; PDV_A317156[23][1] = "Storm The House 1";   PDV_A317156[23][2] = "0"; PDV_A317156[23][3] = "";

  PDV_A317156[24] = new Array(4); PDV_A317156[24][0] = "9567798"; PDV_A317156[24][1] = "Crazy Flasher 4";   PDV_A317156[24][2] = "0"; PDV_A317156[24][3] = "";

  PDV_A317156[25] = new Array(4); PDV_A317156[25][0] = "9567799"; PDV_A317156[25][1] = "Feudalism 2";   PDV_A317156[25][2] = "0"; PDV_A317156[25][3] = "";

  PDV_A317156[26] = new Array(4); PDV_A317156[26][0] = "9567800"; PDV_A317156[26][1] = "Penguin Diner";   PDV_A317156[26][2] = "0"; PDV_A317156[26][3] = "";

  PDV_A317156[27] = new Array(4); PDV_A317156[27][0] = "9567801"; PDV_A317156[27][1] = "Sonic RPG";   PDV_A317156[27][2] = "0"; PDV_A317156[27][3] = "";


var PDV_l1_317156 = 'View Results';
var PDV_l2_317156 = 'Other:';
var PDV_l3_317156  = '';

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



//v2.61 11/Nov/09

if (pollClosed317156 == false)
 {
    var PDV_server317156 = 'http://polls.polldaddy.com';
    var AA317156 = new Array();
    var PDV_html317156 = '<div style="margin-bottom: 0px; margin-top: 0px;" name="PDI_form317156" id="PDI_form317156"><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">' + media317156(PDV_POLL_medType317156, PDV_POLL_medID317156) + ' ' + unescape_HTML_317156( PDV_POLL_q317156 ) + '</div></div></div></div><div class="pds-answer"><span id="pds-answer317156"></span>';
    if (PDV_po317156 == 1)
    {
		PDV_html317156 += '<span class="pds-answer-group">';
		
        if (PDV_pt317156 == 0)
        {
            PDV_html317156 += '<span class="pds-answer-input"><input type="radio" name="PDI_answer317156" id="PDI_answerOther317156" value="other" class="pds-radiobutton"/></span>';
        }
        PDV_html317156 += '<label for="PDI_answerOther317156" class="pds-other-label"><span class="pds-answer-span">' + PDV_l2_317156 + '</span></label><span class="pds-answer-other"><br/><input class="pds-textfield" type="text" maxlength="80" id="PDI_OtherText317156" name="PDI_OtherText317156" onclick="PDI_checkOther317156();" onchange="PDI_checkOther317156(true);" /></span>';

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

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

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

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

    if (PDV_pr317156 == 2) {
        PDV_html317156 += '<br/>';
    }
    else {
        PDV_html317156 += '<a href="javascript:PD_vote317156(1);" class="pds-view-results">' + PDV_l1_317156 + '</a><br/>';
    }

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

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

    for (PDV_x = 0; PDV_x < PDV_A317156.length; PDV_x++)
    {
        if (PDV_pt317156 == 0)
        {
            AA317156[PDV_x] = '<span class="pds-answer-group"><span class="pds-answer-input"><input class="pds-radiobutton" type="radio" id="PDI_answer' + PDV_A317156[PDV_x][0] + '" value="' + PDV_A317156[PDV_x][0] + '" name="PDI_answer317156" /></span><label for="PDI_answer' + PDV_A317156[PDV_x][0] + '" class="pds-input-label"><span class="pds-answer-span">' + unescape_HTML_317156( PDV_A317156[PDV_x][1] ) + '</span></label>' + media317156(PDV_A317156[PDV_x][2], PDV_A317156[PDV_x][3]) + '<span class="pds-clear"></span><br/></span>';
        }
        else
        {
            AA317156[PDV_x] = '<span class="pds-answer-group"><span class="pds-answer-input"><input class="pds-checkbox" type="checkbox" id="PDI_answer' + PDV_A317156[PDV_x][0] + '" value="' + PDV_A317156[PDV_x][0] + '" name="PDI_answer' + PDV_A317156[PDV_x][0] + '" onclick="javascript:PDF_mc317156(this);" /></span><label for="PDI_answer' + PDV_A317156[PDV_x][0] + '" class="pds-input-label"><span class="pds-answer-span">' + unescape_HTML_317156( PDV_A317156[PDV_x][1] ) + '</span></label>' + media317156(PDV_A317156[PDV_x][2], PDV_A317156[PDV_x][3]) + '<span class="pds-clear"></span><br/></span>';
        }
    }
}

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

function PDF_a317156()
 {
    PDF_o317156();
    var r;
    if (PDV_pt317156 == 0)
    {
    	for (var i = 0; i < AA317156.length; i++)
        {
            r = document.getElementById(AA317156[i].substring(AA317156[i].indexOf('id=') + 4, AA317156[i].indexOf('"', AA317156[i].indexOf('id=') + 4)));
            if (r.checked) {
                return r.value + ",";
            }
        }
        r = document.getElementById("PDI_answerOther317156");
        if (r) {
            if (r.checked) {
                return r.value + ",";
            } else {
                return '';
            }
        } else {
            return "";
        }
    }
    else
    {
        for (i = 0; i < AA317156.length; i++)
        {
            r = document.getElementById(AA317156[i].substring(AA317156[i].indexOf('id=') + 4, AA317156[i].indexOf('"', AA317156[i].indexOf('id=') + 4)));
            if (r.type == "checkbox" && r.checked)
            {
                PDV_a317156 = PDV_a317156 + r.value + ",";
            }
        }
        return PDV_a317156;
    }
}
function PDF_o317156(r) {
    if (PDV_po317156 == 1) {
        PDV_o317156 = document.getElementById("PDI_OtherText317156").value;
    }
}
function PDI_checkOther317156( lostfocus )
 {
	var reset = false;
	if( lostfocus ){
		var ot = document.getElementById("PDI_OtherText317156").value;
		if( ot.length == 0 ){ reset = true; }
	}
	
    if (PDV_pt317156 == 0)
    {
		if(lostfocus && reset){ document.getElementById("PDI_answerOther317156").checked = false; }
		else{ document.getElementById("PDI_answerOther317156").checked = true; }
    }
	else if ( PDV_pt317156 > 1 ){
		var nc = 1;
		obj = document.getElementById("PDI_OtherText317156");
		if(lostfocus && reset){ nc = 0; }
		
		for (i = 0; i < AA317156.length; i++)
	    {
	        r = document.getElementById(AA317156[i].substring(AA317156[i].indexOf('id=') + 4, AA317156[i].indexOf('"', AA317156[i].indexOf('id=') + 4)));
	        if (r.type == "checkbox" && r.checked) { nc += 1; }
	    }

		if ( nc > PDV_pt317156 ){
			obj.disabled=true;
			obj.value='';
			for (i = 0; i < AA317156.length; i++)
		    {
		        r = document.getElementById(AA317156[i].substring(AA317156[i].indexOf('id=') + 4, AA317156[i].indexOf('"', AA317156[i].indexOf('id=') + 4)));
		        if (r.type == "checkbox" && !r.checked) { r.disabled = true; }
		    }
		}
		else if( nc < PDV_pt317156 ){
			obj.disabled=false;
			for (i = 0; i < AA317156.length; i++)
		    {
		        r = document.getElementById(AA317156[i].substring(AA317156[i].indexOf('id=') + 4, AA317156[i].indexOf('"', AA317156[i].indexOf('id=') + 4)));
		        if (r.type == "checkbox" && !r.checked) { r.disabled = false; }
		    }
		}
	}
}
function PD_vote317156(R)
 {
    var randomnumber = Math.floor(Math.random() * 11);
    if (R == 1)
    {
        var s = document.createElement("SCRIPT");
        s.charset = "utf-8";
        s.src = PDV_server317156 + "/vote-js.php?s=" + PDV_s317156 + "&vr=1&b=" + PDV_b317156 + "&p=" + PDV_id317156 + "&l=" + PDV_l317156 + "&sl=" + PDV_sl317156 + "&pr=" + PDV_pr317156 + "&pt=" + PDV_pt317156 + "&va=" + PDV_va317156 + "&cookie=" + PD_ck317156 + "&rdm=" + randomnumber + "&url=" + escape(location.href) + "&w=" + PDV_w317156;
        var h = document.getElementsByTagName("head").item(0);
        h.appendChild(s);
    }
    else
    {
        if (PDV_b317156 > 0)
        {
            Set_Cookie317156('PD_poll_' + PDV_id317156, 'true', 0, '/', '', '');
        }
        PDV_a317156 = '';
        PDV_a317156 = PDF_a317156(document.getElementById("PDI_form317156"));
        if (PDV_a317156.length == 0 && PDV_o317156.length == 0)
        {
            alert(PDV_l4_317156);
        }
        else
        {
			if ( PDV_def317156.indexOf('input.pds-votebutton') == -1 ) {
				document.getElementById('pd-vote-button317156').className = 'pds-vote-button-load';
			}
	
            var s = document.createElement("SCRIPT");
            s.charset = "utf-8";
            s.src = PDV_server317156 + "/vote-js.php?s=" + PDV_s317156 + "&b=" + PDV_b317156 + "&p=" + PDV_id317156 + "&a=" + PDV_a317156 + "&o=" + PDV_o317156 + "&l=" + PDV_l317156 + "&sl=" + PDV_sl317156 + "&pr=" + PDV_pr317156 + "&pt=" + PDV_pt317156 + "&va=" + PDV_va317156 + "&cookie=" + PD_ck317156 + "&rdm=" + randomnumber + "&url=" + escape(location.href) + "&w=" + PDV_w317156;
            var h = document.getElementsByTagName("head").item(0);
            h.appendChild(s);
        }
    }
}
var PD_pollString317156 = PDV_html317156;
var PD_ck317156 = 0;

function PDV_rand317156(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_go317156()
 {
    if (!document.getElementById('poll_style317156'))
    {
        fileref = document.createElement("style");
        fileref.setAttribute("type", "text/css");
        fileref.setAttribute("id", "poll_style317156");
        if (fileref.styleSheet)
        // IE
        {
            fileref.styleSheet.cssText = PDV_def317156;
        }
        else
        // the world
        {
            fileref.appendChild(document.createTextNode(PDV_def317156));
        }
        document.getElementsByTagName("head").item(0).appendChild(fileref);
    }
    if (!document.getElementById('PDI_container317156'))
    {
        document.write('<a name="pd_a_317156" style="display: inline; padding: 0px; margin: 0px;"></a><div class="PDS_Poll" id="PDI_container317156"></div>');
    }
    if (Get_Cookie317156('PD_poll_' + PDV_id317156) == 'true')
    {
        PD_ck317156 = 1;
    }

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

    if (PDV_POLLRAND317156) {
        AA317156 = PDV_rand317156(AA317156);
    }
    y317156 = '';
    for (x317156 = 0; x317156 < AA317156.length; x317156++) {
        y317156 = y317156 + AA317156[x317156];
    }
    document.getElementById('pds-answer317156').innerHTML = y317156;
	share317156();
}
function Set_Cookie317156(name, value, expires, path, domain, secure)
 {
    var today = new Date();
    today.setTime(today.getTime());
    if(typeof(PDV_expire317156) !== 'undefined') {
    	expires = parseInt( PDV_expire317156 );
    }
    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_Cookie317156(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 (pollClosed317156 == false)
 {
    PDV_go317156();
}

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

st317156 = {
    "p": "317156",
    "v": "0"
};

st_go317156(st317156);

function share317156()
{
	if( typeof PDV_share317156 != "undefined") {
		if (PDV_share317156 == 1 ) {
			a2a_linkname = 'Poll: ' + PDV_POLL_q317156;
			a2a_linkurl = document.location + '#pd_a_317156';
			a2a_track_links = 'custom';
			a2a_track_links_key = document.location + '#pd_a_317156';
			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 media317156(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_317156(html) {
	var htmlNode = document.createElement("DIV");
	
	htmlNode.innerHTML = html;
	
	if(htmlNode.innerText !== undefined)
		return htmlNode.innerText; // IE
	
	return htmlNode.textContent; // FF
}

if (pollClosed317156 == true)
{
	share317156();
}