  
  
 var pollClosed378777 = false;
var PDV_POLLRAND378777 = false;
 
 var PDV_a378777 = "";
 var PDV_o378777 = "";
 var PDV_id378777 = 378777;
 var PDV_pt378777 = 0;
 var PDV_po378777 = 1;
 var PDV_s378777 = 13;
 var PDV_b378777 = 1;
 var PDV_l378777 = 0;
 var PDV_pr378777 = 1;
 var PDV_w378777 = 378777;
 
 var PDV_sl378777 = 1;
 var PDV_va378777 = 0;
 
var PDV_lnk378777 = 1;



var PDV_def378777 = '#PDI_container378777 form{border:0px 0px 0px 0px;padding:0px 0px 0px 0px;margin:0px 0px 0px 0px} #PDI_container378777 img{border:0px 0px 0px 0px;padding:0px 0px 0px 0px;margin:0px 0px 0px 0px} #PDI_container378777 div{border:0px 0px 0px 0px;padding:0px 0px 0px 0px;margin:0px 0px 0px 0px} #PDI_container378777 .pds-box{width:150px;color:#fff;background:#fff url(http://i.polldaddy.com/polls/pdbmicro13-bottom-left.gif) no-repeat left bottom;font-family:Verdana,Arial,Helvetica,sans-serif;border:0px 0px 0px 0px;padding:0px 0px 1px 0px;margin:0px 0px 0px 0px} #PDI_container378777 .pds-box-outer{background:url(http://i.polldaddy.com/polls/pdbmicro13-bottom-right.gif) no-repeat right bottom;border:0px 0px 0px 0px;padding:0px 0px 0px 0px;margin:0px 0px 0px 0px} #PDI_container378777 .pds-box-inner{background:url(http://i.polldaddy.com/polls/pdbmicro13-top-left.gif) no-repeat left top;border:0px 0px 0px 0px;padding:0px 0px 0px 0px;margin:0px 0px 0px 0px} #PDI_container378777 .pds-box-top{background:url(http://i.polldaddy.com/polls/pdbmicro13-top-right.gif) no-repeat right top;padding:3px 3px 3px 3px;border:0px 0px 0px 0px;margin:0px 0px 0px 0px} #PDI_container378777 .pds-question{background:url(http://i.polldaddy.com/polls/pdqmicro13-bottom-left.gif) no-repeat left bottom;border:0px 0px 0px 0px;padding:0px 0px 0px 0px;margin:16px 3px 0px 3px} #PDI_container378777 .pds-question-outer{background:url(http://i.polldaddy.com/polls/pdqmicro13-bottom-right.gif) no-repeat right bottom;padding:0px 0px 2px 0px;border:0px 0px 0px 0px;margin:0px 0px 0px 0px} #PDI_container378777 .pds-question-inner{background:url(http://i.polldaddy.com/polls/pdqmicro13-top-left.gif) no-repeat left top;border:0px 0px 0px 0px;padding:0px 0px 0px 0px;margin:0px 0px 0px 0px} #PDI_container378777 .pds-question-top{background:url(http://i.polldaddy.com/polls/pdqmicro13-top-right.gif) no-repeat right top;padding:5px 5px 5px 5px;font-size:9px;color:#FFF;text-align:center;border:0px 0px 0px 0px;margin:0px 0px 0px 0px} #PDI_container378777 .pds-answer{font-size:9px;line-height:10px;color:#FFF;text-align:left;padding:5px 5px 5px 5px;border:0px 0px 0px 0px;margin:0px 0px 0px 0px} #PDI_container378777 .pds-answer label{border:0px 0px 0px 0px;padding:0px 0px 0px 0px;margin:0px 0px 0px 0px} #PDI_container378777 .pds-radiobutton{border:0px 0px 0px 0px;padding:0px 0px 0px 0px;margin:0px 0px 0px 0px} #PDI_container378777 .pds-checkbox{border:0px 0px 0px 0px;padding:0px 0px 0px 0px;margin:0px 0px 0px 0px} #PDI_container378777 .pds-textfield{width:96%;font-size:9px;color:#444;background-color:#999;border:1px;border-color:#666;padding:1px 1px 1px 1px;margin:2px 0px 0px 0px} #PDI_container378777 .pds-answer-feedback{background-color:#555;padding:0px 0px 0px 0px;height:10px;margin:2px 0px 5px 0px;border:0px 0px 0px 0px} #PDI_container378777 .pds-answer-feedback-bar{background:url(http://i.polldaddy.com/polls/pdmicro-bargif.gif) repeat-x;margin:2px;height:6px;border:0px 0px 0px 0px;padding:0px 0px 0px 0px} #PDI_container378777 .pds-vote{font-size:8px;color:#c3C4c7;line-height:15px;padding:5px 5px 6px 5px;border:0px 0px 0px 0px;margin:0px 0px 0px 0px} #PDI_container378777 .pds-votebutton-outer{border:0px 0px 0px 0px;padding:0px 0px 0px 0px;margin:0px 0px 0px 0px} #PDI_container378777 .pds-vote a{font-size:9px;color:#aaa;text-decoration:none;border-top:1px;border-bottom:1px;border-top-color:#555;border-bottom-color:#555;border-top-style:solid;border-bottom-style:solid;padding:1px 0px 1px 0px;margin:0px 0px 0px 0px} #PDI_container378777 input.pds-votebutton{width:38px;height:25px;background:url(http://i.polldaddy.com/polls/pdmicro-votebutton.gif) no-repeat;outline:none;float:right;margin:0px 0px 0px 0px;padding:0px 0px 0px 0px;border:0px 0px 0px 0px} #PDI_container378777 input.pds-votebutton:hover{border:0px 0px 0px 0px;padding:0px 0px 0px 0px;margin:0px 0px 0px 0px} #PDI_container378777 input.pds-votebutton-pack{float:right;font-size:10px} #PDI_container378777 .pds-totalvotes-outer{border:0px 0px 0px 0px;padding:0px 0px 0px 0px;margin:0px 0px 0px 0px} #PDI_container378777 .pds-totalvotes-inner{font-size:9px;color:#000;background-color:#FFF;padding:2px 2px 2px 3px;margin:0px 0px 5px 0px;text-transform:uppercase;letter-spacing:0px;border:0px 0px 0px 0px}';

var PDV_POLL_q378777 = 'Winterfest 09 p??esiintyj?ksi'; var PDV_POLL_medType378777 = '0'; var PDV_POLL_medID378777 = '';
var PDV_A378777 = new Array();


  PDV_A378777[0] = new Array(4); PDV_A378777[0][0] = "1933407"; PDV_A378777[0][1] = "Apulanta";   PDV_A378777[0][2] = "0"; PDV_A378777[0][3] = "";

  PDV_A378777[1] = new Array(4); PDV_A378777[1][0] = "1933408"; PDV_A378777[1][1] = "Poets of the Fall";   PDV_A378777[1][2] = "0"; PDV_A378777[1][3] = "";

  PDV_A378777[2] = new Array(4); PDV_A378777[2][0] = "1933409"; PDV_A378777[2][1] = "Willycranes";   PDV_A378777[2][2] = "0"; PDV_A378777[2][3] = "";

  PDV_A378777[3] = new Array(4); PDV_A378777[3][0] = "1933410"; PDV_A378777[3][1] = "Jenni Vartiainen";   PDV_A378777[3][2] = "0"; PDV_A378777[3][3] = "";

  PDV_A378777[4] = new Array(4); PDV_A378777[4][0] = "1933411"; PDV_A378777[4][1] = "Sturm und Drang";   PDV_A378777[4][2] = "0"; PDV_A378777[4][3] = "";

  PDV_A378777[5] = new Array(4); PDV_A378777[5][0] = "1933412"; PDV_A378777[5][1] = "Lapko";   PDV_A378777[5][2] = "0"; PDV_A378777[5][3] = "";

  PDV_A378777[6] = new Array(4); PDV_A378777[6][0] = "1933413"; PDV_A378777[6][1] = "Disco Ensemble";   PDV_A378777[6][2] = "0"; PDV_A378777[6][3] = "";

  PDV_A378777[7] = new Array(4); PDV_A378777[7][0] = "1933414"; PDV_A378777[7][1] = "Viikate";   PDV_A378777[7][2] = "0"; PDV_A378777[7][3] = "";

  PDV_A378777[8] = new Array(4); PDV_A378777[8][0] = "1933415"; PDV_A378777[8][1] = "Mokoma";   PDV_A378777[8][2] = "0"; PDV_A378777[8][3] = "";

  PDV_A378777[9] = new Array(4); PDV_A378777[9][0] = "1933416"; PDV_A378777[9][1] = "PMMP";   PDV_A378777[9][2] = "0"; PDV_A378777[9][3] = "";

  PDV_A378777[10] = new Array(4); PDV_A378777[10][0] = "1933417"; PDV_A378777[10][1] = "Stam1na";   PDV_A378777[10][2] = "0"; PDV_A378777[10][3] = "";

  PDV_A378777[11] = new Array(4); PDV_A378777[11][0] = "1933418"; PDV_A378777[11][1] = "Ruoska";   PDV_A378777[11][2] = "0"; PDV_A378777[11][3] = "";

  PDV_A378777[12] = new Array(4); PDV_A378777[12][0] = "1933419"; PDV_A378777[12][1] = "Kotiteollisuus";   PDV_A378777[12][2] = "0"; PDV_A378777[12][3] = "";

  PDV_A378777[13] = new Array(4); PDV_A378777[13][0] = "1933420"; PDV_A378777[13][1] = "Amorphis";   PDV_A378777[13][2] = "0"; PDV_A378777[13][3] = "";

  PDV_A378777[14] = new Array(4); PDV_A378777[14][0] = "1933421"; PDV_A378777[14][1] = "Sonata Arctica";   PDV_A378777[14][2] = "0"; PDV_A378777[14][3] = "";

  PDV_A378777[15] = new Array(4); PDV_A378777[15][0] = "1933422"; PDV_A378777[15][1] = "The 69 Eyes";   PDV_A378777[15][2] = "0"; PDV_A378777[15][3] = "";

  PDV_A378777[16] = new Array(4); PDV_A378777[16][0] = "1933423"; PDV_A378777[16][1] = "Melrose";   PDV_A378777[16][2] = "0"; PDV_A378777[16][3] = "";

  PDV_A378777[17] = new Array(4); PDV_A378777[17][0] = "1933424"; PDV_A378777[17][1] = "Francine";   PDV_A378777[17][2] = "0"; PDV_A378777[17][3] = "";

  PDV_A378777[18] = new Array(4); PDV_A378777[18][0] = "1933425"; PDV_A378777[18][1] = "Ter?sbetoni";   PDV_A378777[18][2] = "0"; PDV_A378777[18][3] = "";

  PDV_A378777[19] = new Array(4); PDV_A378777[19][0] = "1933426"; PDV_A378777[19][1] = "Deathchain";   PDV_A378777[19][2] = "0"; PDV_A378777[19][3] = "";

  PDV_A378777[20] = new Array(4); PDV_A378777[20][0] = "1933427"; PDV_A378777[20][1] = "Sotajumala";   PDV_A378777[20][2] = "0"; PDV_A378777[20][3] = "";

  PDV_A378777[21] = new Array(4); PDV_A378777[21][0] = "1933428"; PDV_A378777[21][1] = "Lauri T?hk? &amp; Elonkerjuu";   PDV_A378777[21][2] = "0"; PDV_A378777[21][3] = "";

  PDV_A378777[22] = new Array(4); PDV_A378777[22][0] = "1933429"; PDV_A378777[22][1] = "Klamydia";   PDV_A378777[22][2] = "0"; PDV_A378777[22][3] = "";


var PDV_l1_378777 = 'View Results';
var PDV_l2_378777 = 'Other:';
var PDV_l3_378777  = '';

  
var PDV_l4_378777 = 'Please choose an answer first!';


//v2.61 11/Nov/09

if (pollClosed378777 == false)
 {
    var PDV_server378777 = 'http://polls.polldaddy.com';
    var AA378777 = new Array();
    var PDV_html378777 = '<div style="margin-bottom: 0px; margin-top: 0px;" name="PDI_form378777" id="PDI_form378777"><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">' + media378777(PDV_POLL_medType378777, PDV_POLL_medID378777) + ' ' + unescape_HTML_378777( PDV_POLL_q378777 ) + '</div></div></div></div><div class="pds-answer"><span id="pds-answer378777"></span>';
    if (PDV_po378777 == 1)
    {
		PDV_html378777 += '<span class="pds-answer-group">';
		
        if (PDV_pt378777 == 0)
        {
            PDV_html378777 += '<span class="pds-answer-input"><input type="radio" name="PDI_answer378777" id="PDI_answerOther378777" value="other" class="pds-radiobutton"/></span>';
        }
        PDV_html378777 += '<label for="PDI_answerOther378777" class="pds-other-label"><span class="pds-answer-span">' + PDV_l2_378777 + '</span></label><span class="pds-answer-other"><br/><input class="pds-textfield" type="text" maxlength="80" id="PDI_OtherText378777" name="PDI_OtherText378777" onclick="PDI_checkOther378777();" onchange="PDI_checkOther378777(true);" /></span>';

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

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

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

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

    if (PDV_pr378777 == 2) {
        PDV_html378777 += '<br/>';
    }
    else {
        PDV_html378777 += '<a href="javascript:PD_vote378777(1);" class="pds-view-results">' + PDV_l1_378777 + '</a><br/>';
    }

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

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

    for (PDV_x = 0; PDV_x < PDV_A378777.length; PDV_x++)
    {
        if (PDV_pt378777 == 0)
        {
            AA378777[PDV_x] = '<span class="pds-answer-group"><span class="pds-answer-input"><input class="pds-radiobutton" type="radio" id="PDI_answer' + PDV_A378777[PDV_x][0] + '" value="' + PDV_A378777[PDV_x][0] + '" name="PDI_answer378777" /></span><label for="PDI_answer' + PDV_A378777[PDV_x][0] + '" class="pds-input-label"><span class="pds-answer-span">' + unescape_HTML_378777( PDV_A378777[PDV_x][1] ) + '</span></label>' + media378777(PDV_A378777[PDV_x][2], PDV_A378777[PDV_x][3]) + '<span class="pds-clear"></span><br/></span>';
        }
        else
        {
            AA378777[PDV_x] = '<span class="pds-answer-group"><span class="pds-answer-input"><input class="pds-checkbox" type="checkbox" id="PDI_answer' + PDV_A378777[PDV_x][0] + '" value="' + PDV_A378777[PDV_x][0] + '" name="PDI_answer' + PDV_A378777[PDV_x][0] + '" onclick="javascript:PDF_mc378777(this);" /></span><label for="PDI_answer' + PDV_A378777[PDV_x][0] + '" class="pds-input-label"><span class="pds-answer-span">' + unescape_HTML_378777( PDV_A378777[PDV_x][1] ) + '</span></label>' + media378777(PDV_A378777[PDV_x][2], PDV_A378777[PDV_x][3]) + '<span class="pds-clear"></span><br/></span>';
        }
    }
}

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

function PDF_a378777()
 {
    PDF_o378777();
    var r;
    if (PDV_pt378777 == 0)
    {
    	for (var i = 0; i < AA378777.length; i++)
        {
            r = document.getElementById(AA378777[i].substring(AA378777[i].indexOf('id=') + 4, AA378777[i].indexOf('"', AA378777[i].indexOf('id=') + 4)));
            if (r.checked) {
                return r.value + ",";
            }
        }
        r = document.getElementById("PDI_answerOther378777");
        if (r) {
            if (r.checked) {
                return r.value + ",";
            } else {
                return '';
            }
        } else {
            return "";
        }
    }
    else
    {
        for (i = 0; i < AA378777.length; i++)
        {
            r = document.getElementById(AA378777[i].substring(AA378777[i].indexOf('id=') + 4, AA378777[i].indexOf('"', AA378777[i].indexOf('id=') + 4)));
            if (r.type == "checkbox" && r.checked)
            {
                PDV_a378777 = PDV_a378777 + r.value + ",";
            }
        }
        return PDV_a378777;
    }
}
function PDF_o378777(r) {
    if (PDV_po378777 == 1) {
        PDV_o378777 = document.getElementById("PDI_OtherText378777").value;
    }
}
function PDI_checkOther378777( lostfocus )
 {
	var reset = false;
	if( lostfocus ){
		var ot = document.getElementById("PDI_OtherText378777").value;
		if( ot.length == 0 ){ reset = true; }
	}
	
    if (PDV_pt378777 == 0)
    {
		if(lostfocus && reset){ document.getElementById("PDI_answerOther378777").checked = false; }
		else{ document.getElementById("PDI_answerOther378777").checked = true; }
    }
	else if ( PDV_pt378777 > 1 ){
		var nc = 1;
		obj = document.getElementById("PDI_OtherText378777");
		if(lostfocus && reset){ nc = 0; }
		
		for (i = 0; i < AA378777.length; i++)
	    {
	        r = document.getElementById(AA378777[i].substring(AA378777[i].indexOf('id=') + 4, AA378777[i].indexOf('"', AA378777[i].indexOf('id=') + 4)));
	        if (r.type == "checkbox" && r.checked) { nc += 1; }
	    }

		if ( nc > PDV_pt378777 ){
			obj.disabled=true;
			obj.value='';
			for (i = 0; i < AA378777.length; i++)
		    {
		        r = document.getElementById(AA378777[i].substring(AA378777[i].indexOf('id=') + 4, AA378777[i].indexOf('"', AA378777[i].indexOf('id=') + 4)));
		        if (r.type == "checkbox" && !r.checked) { r.disabled = true; }
		    }
		}
		else if( nc < PDV_pt378777 ){
			obj.disabled=false;
			for (i = 0; i < AA378777.length; i++)
		    {
		        r = document.getElementById(AA378777[i].substring(AA378777[i].indexOf('id=') + 4, AA378777[i].indexOf('"', AA378777[i].indexOf('id=') + 4)));
		        if (r.type == "checkbox" && !r.checked) { r.disabled = false; }
		    }
		}
	}
}
function PD_vote378777(R)
 {
    var randomnumber = Math.floor(Math.random() * 11);
    if (R == 1)
    {
        var s = document.createElement("SCRIPT");
        s.charset = "utf-8";
        s.src = PDV_server378777 + "/vote-js.php?s=" + PDV_s378777 + "&vr=1&b=" + PDV_b378777 + "&p=" + PDV_id378777 + "&l=" + PDV_l378777 + "&sl=" + PDV_sl378777 + "&pr=" + PDV_pr378777 + "&pt=" + PDV_pt378777 + "&va=" + PDV_va378777 + "&cookie=" + PD_ck378777 + "&rdm=" + randomnumber + "&url=" + escape(location.href) + "&w=" + PDV_w378777;
        var h = document.getElementsByTagName("head").item(0);
        h.appendChild(s);
    }
    else
    {
        if (PDV_b378777 > 0)
        {
            Set_Cookie378777('PD_poll_' + PDV_id378777, 'true', 0, '/', '', '');
        }
        PDV_a378777 = '';
        PDV_a378777 = PDF_a378777(document.getElementById("PDI_form378777"));
        if (PDV_a378777.length == 0 && PDV_o378777.length == 0)
        {
            alert(PDV_l4_378777);
        }
        else
        {
			if ( PDV_def378777.indexOf('input.pds-votebutton') == -1 ) {
				document.getElementById('pd-vote-button378777').className = 'pds-vote-button-load';
			}
	
            var s = document.createElement("SCRIPT");
            s.charset = "utf-8";
            s.src = PDV_server378777 + "/vote-js.php?s=" + PDV_s378777 + "&b=" + PDV_b378777 + "&p=" + PDV_id378777 + "&a=" + PDV_a378777 + "&o=" + PDV_o378777 + "&l=" + PDV_l378777 + "&sl=" + PDV_sl378777 + "&pr=" + PDV_pr378777 + "&pt=" + PDV_pt378777 + "&va=" + PDV_va378777 + "&cookie=" + PD_ck378777 + "&rdm=" + randomnumber + "&url=" + escape(location.href) + "&w=" + PDV_w378777;
            var h = document.getElementsByTagName("head").item(0);
            h.appendChild(s);
        }
    }
}
var PD_pollString378777 = PDV_html378777;
var PD_ck378777 = 0;

function PDV_rand378777(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_go378777()
 {
    if (!document.getElementById('poll_style378777'))
    {
        fileref = document.createElement("style");
        fileref.setAttribute("type", "text/css");
        fileref.setAttribute("id", "poll_style378777");
        if (fileref.styleSheet)
        // IE
        {
            fileref.styleSheet.cssText = PDV_def378777;
        }
        else
        // the world
        {
            fileref.appendChild(document.createTextNode(PDV_def378777));
        }
        document.getElementsByTagName("head").item(0).appendChild(fileref);
    }
    if (!document.getElementById('PDI_container378777'))
    {
        document.write('<a name="pd_a_378777" style="display: inline; padding: 0px; margin: 0px;"></a><div class="PDS_Poll" id="PDI_container378777"></div>');
    }
    if (Get_Cookie378777('PD_poll_' + PDV_id378777) == 'true')
    {
        PD_ck378777 = 1;
    }

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

    if (PDV_POLLRAND378777) {
        AA378777 = PDV_rand378777(AA378777);
    }
    y378777 = '';
    for (x378777 = 0; x378777 < AA378777.length; x378777++) {
        y378777 = y378777 + AA378777[x378777];
    }
    document.getElementById('pds-answer378777').innerHTML = y378777;
	share378777();
}
function Set_Cookie378777(name, value, expires, path, domain, secure)
 {
    var today = new Date();
    today.setTime(today.getTime());
    if(typeof(PDV_expire378777) !== 'undefined') {
    	expires = parseInt( PDV_expire378777 );
    }
    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_Cookie378777(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 (pollClosed378777 == false)
 {
    PDV_go378777();
}

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

st378777 = {
    "p": "378777",
    "v": "0"
};

st_go378777(st378777);

function share378777()
{
	if( typeof PDV_share378777 != "undefined") {
		if (PDV_share378777 == 1 ) {
			a2a_linkname = 'Poll: ' + PDV_POLL_q378777;
			a2a_linkurl = document.location + '#pd_a_378777';
			a2a_track_links = 'custom';
			a2a_track_links_key = document.location + '#pd_a_378777';
			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 media378777(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_378777(html) {
	var htmlNode = document.createElement("DIV");
	
	htmlNode.innerHTML = html;
	
	if(htmlNode.innerText !== undefined)
		return htmlNode.innerText; // IE
	
	return htmlNode.textContent; // FF
}

if (pollClosed378777 == true)
{
	share378777();
}