  
  
 var pollClosed1205742 = false;
var PDV_POLLRAND1205742 = false;

 var PDV_a1205742 = "";
 var PDV_o1205742 = "";
 var PDV_id1205742 = 1205742;
 var PDV_pt1205742 = 1;
 var PDV_po1205742 = 0;
 var PDV_s1205742 = 0;
 var PDV_b1205742 = 1;
 var PDV_l1205742 = 0;
 var PDV_pr1205742 = 1;
 var PDV_w1205742 = 1205742;
 
 var PDV_sl1205742 = 1;
 var PDV_va1205742 = 0;
 
var PDV_lnk1205742 = 1;



var PDV_def1205742 = '#PDI_container1205742 .pds-box{ width:270px;color:#fff;background:#86858a url(http://i.polldaddy.com/polls/pdb00-bottom-left.gif) no-repeat left bottom;font-family:Verdana,Arial,Helvetica,sans-serif;text-align:left} #PDI_container1205742  .pds-box-outer{ background:url(http://i.polldaddy.com/polls/pdb00-bottom-right.gif) no-repeat right bottom} #PDI_container1205742 .pds-box-inner{ background:url(http://i.polldaddy.com/polls/pdb00-top-left.gif) no-repeat left top} #PDI_container1205742  .pds-box-top{ background:url(http://i.polldaddy.com/polls/pdb00-top-right.gif) no-repeat right top;padding:20px 20px 20px 20px} #PDI_container1205742  .pds-question{ background:url(http://i.polldaddy.com/polls/pdq00-bottom-left.gif) no-repeat left bottom} #PDI_container1205742  .pds-question-outer{ background:url(http://i.polldaddy.com/polls/pdq00-bottom-right.gif) no-repeat right bottom;padding-bottom:15px} #PDI_container1205742 .pds-question-inner{ background:url(http://i.polldaddy.com/polls/pdq00-top-left.gif) no-repeat left top} #PDI_container1205742  .pds-question-top{ background:url(http://i.polldaddy.com/polls/pdq00-top-right.gif) no-repeat right top;padding:15px 15px 0px 15px;font-size:12px;color:#ECBF00} #PDI_container1205742  .pds-answer{ font-size:10px;color:#fff;padding:10px 20px 15px 20px} #PDI_container1205742  .pds-answer label{} #PDI_container1205742 .pds-radiobutton{} #PDI_container1205742  .pds-checkbox{} #PDI_container1205742  .pds-textfield{ width:100%;font-size:10px;color:#fff;background-color:#666;border:1px;border-color:#666;padding:1px 1px 1px 1px;margin:5px 0px 0px 0px} #PDI_container1205742  .pds-answer-feedback{ background-color:#666;padding:0px 0px 0px 0px;height:18px;margin:2px 0px 5px 0px} #PDI_container1205742  .pds-answer-feedback-bar{ background:url(http://i.polldaddy.com/polls/pd01-bargif.gif) repeat-x;margin:3px;padding:0px;height:12px;border:0px} #PDI_container1205742 .pds-answer-feedback img{ background:url(http://i.polldaddy.com/polls/pd01-bargif.gif) repeat-x;margin:3px;padding:0px;height:12px;border:0px} #PDI_container1205742 .pds-vote{ font-size:9px;color:#c3C4c7;line-height:17px;padding:0px 20px 10px 20px} #PDI_container1205742  .pds-votebutton-outer{ height:61px} #PDI_container1205742 .pds-vote a{ font-size:9px;color:#333;text-decoration:none;border-top:1px;border-bottom:1px;border-top-color:#666;border-bottom-color:#666;border-top-style:solid;border-bottom-style:solid;padding:2px 0px 2px 0px} #PDI_container1205742  input.pds-votebutton{ width:61px;height:61px;background:url(http://i.polldaddy.com/polls/pd00-votebutton.gif) no-repeat;outline:none;float:right} #PDI_container1205742 input.pds-votebutton:hover{ background:url(http://i.polldaddy.com/polls/pd00-votebutton.gif) no-repeat 0 -60px} #PDI_container1205742 input.pds-votebutton-pack{ float:right;font-size:10px} #PDI_container1205742 .pds-totalvotes-outer{} #PDI_container1205742  .pds-totalvotes-inner{ font-size:10px;color:#ffb400;background-color:#666;padding:3px 6px 3px 3px;margin:0px 0px 10px 0px;text-transform:uppercase;letter-spacing:1px}';

var PDV_POLL_q1205742 = 'Album of the Year 2008'; var PDV_POLL_medType1205742 = '0'; var PDV_POLL_medID1205742 = '';
var PDV_A1205742 = new Array();


  PDV_A1205742[0] = new Array(4); PDV_A1205742[0][0] = "6239985"; PDV_A1205742[0][1] = "Weezer (Weezer)";   PDV_A1205742[0][2] = "0"; PDV_A1205742[0][3] = "";

  PDV_A1205742[1] = new Array(4); PDV_A1205742[1][0] = "6239986"; PDV_A1205742[1][1] = "Stephen Malkmus and the Jicks (Real Emotional Trash)";   PDV_A1205742[1][2] = "0"; PDV_A1205742[1][3] = "";

  PDV_A1205742[2] = new Array(4); PDV_A1205742[2][0] = "6239987"; PDV_A1205742[2][1] = "Sigur Ros (Med Sud...)";   PDV_A1205742[2][2] = "0"; PDV_A1205742[2][3] = "";

  PDV_A1205742[3] = new Array(4); PDV_A1205742[3][0] = "6239988"; PDV_A1205742[3][1] = "She and Him (Volume One)";   PDV_A1205742[3][2] = "0"; PDV_A1205742[3][3] = "";

  PDV_A1205742[4] = new Array(4); PDV_A1205742[4][0] = "6239989"; PDV_A1205742[4][1] = "The Secret Machines (Secret Machines)";   PDV_A1205742[4][2] = "0"; PDV_A1205742[4][3] = "";

  PDV_A1205742[5] = new Array(4); PDV_A1205742[5][0] = "6239990"; PDV_A1205742[5][1] = "The Raveonettes (Lust Lust Lust)";   PDV_A1205742[5][2] = "0"; PDV_A1205742[5][3] = "";

  PDV_A1205742[6] = new Array(4); PDV_A1205742[6][0] = "6239991"; PDV_A1205742[6][1] = "Raconteurs (Consolers of the Lonely)";   PDV_A1205742[6][2] = "0"; PDV_A1205742[6][3] = "";

  PDV_A1205742[7] = new Array(4); PDV_A1205742[7][0] = "6239992"; PDV_A1205742[7][1] = "REM (Accelerate)";   PDV_A1205742[7][2] = "0"; PDV_A1205742[7][3] = "";

  PDV_A1205742[8] = new Array(4); PDV_A1205742[8][0] = "6239993"; PDV_A1205742[8][1] = "Portishead (Third)";   PDV_A1205742[8][2] = "0"; PDV_A1205742[8][3] = "";

  PDV_A1205742[9] = new Array(4); PDV_A1205742[9][0] = "6239994"; PDV_A1205742[9][1] = "Okkervil River (the Stand Ins)";   PDV_A1205742[9][2] = "0"; PDV_A1205742[9][3] = "";

  PDV_A1205742[10] = new Array(4); PDV_A1205742[10][0] = "6239995"; PDV_A1205742[10][1] = "My Morning Jacket (Evil Urges)";   PDV_A1205742[10][2] = "0"; PDV_A1205742[10][3] = "";

  PDV_A1205742[11] = new Array(4); PDV_A1205742[11][0] = "6239996"; PDV_A1205742[11][1] = "Mudcrutch (Mudcrutch)";   PDV_A1205742[11][2] = "0"; PDV_A1205742[11][3] = "";

  PDV_A1205742[12] = new Array(4); PDV_A1205742[12][0] = "6239997"; PDV_A1205742[12][1] = "Metallica (Death Magnetic)";   PDV_A1205742[12][2] = "0"; PDV_A1205742[12][3] = "";

  PDV_A1205742[13] = new Array(4); PDV_A1205742[13][0] = "6239998"; PDV_A1205742[13][1] = "The Mars Volta (Bedlam In Goliath)";   PDV_A1205742[13][2] = "0"; PDV_A1205742[13][3] = "";

  PDV_A1205742[14] = new Array(4); PDV_A1205742[14][0] = "6239999"; PDV_A1205742[14][1] = "Love As Laughter (Holy)";   PDV_A1205742[14][2] = "0"; PDV_A1205742[14][3] = "";

  PDV_A1205742[15] = new Array(4); PDV_A1205742[15][0] = "6240000"; PDV_A1205742[15][1] = "Jack Johnson (Sleep Through the Static)";   PDV_A1205742[15][2] = "0"; PDV_A1205742[15][3] = "";

  PDV_A1205742[16] = new Array(4); PDV_A1205742[16][0] = "6240001"; PDV_A1205742[16][1] = "The Gaslight Anthem (The \'59 Sound)";   PDV_A1205742[16][2] = "0"; PDV_A1205742[16][3] = "";

  PDV_A1205742[17] = new Array(4); PDV_A1205742[17][0] = "6240002"; PDV_A1205742[17][1] = "Death Cab for Cutie (Narrow Stairs)";   PDV_A1205742[17][2] = "0"; PDV_A1205742[17][3] = "";

  PDV_A1205742[18] = new Array(4); PDV_A1205742[18][0] = "6240003"; PDV_A1205742[18][1] = "Darker My Love (2)";   PDV_A1205742[18][2] = "0"; PDV_A1205742[18][3] = "";

  PDV_A1205742[19] = new Array(4); PDV_A1205742[19][0] = "6240004"; PDV_A1205742[19][1] = "Daniel Lanois (Here is What is)";   PDV_A1205742[19][2] = "0"; PDV_A1205742[19][3] = "";

  PDV_A1205742[20] = new Array(4); PDV_A1205742[20][0] = "6240005"; PDV_A1205742[20][1] = "The Cure (4:13 Dream)";   PDV_A1205742[20][2] = "0"; PDV_A1205742[20][3] = "";

  PDV_A1205742[21] = new Array(4); PDV_A1205742[21][0] = "6240006"; PDV_A1205742[21][1] = "Counting Crows (Saturday nights and Sunday mornings)";   PDV_A1205742[21][2] = "0"; PDV_A1205742[21][3] = "";

  PDV_A1205742[22] = new Array(4); PDV_A1205742[22][0] = "6240007"; PDV_A1205742[22][1] = "Conor Oberst (Conor Oberst)";   PDV_A1205742[22][2] = "0"; PDV_A1205742[22][3] = "";

  PDV_A1205742[23] = new Array(4); PDV_A1205742[23][0] = "6240008"; PDV_A1205742[23][1] = "Catpower (Jukebox)";   PDV_A1205742[23][2] = "0"; PDV_A1205742[23][3] = "";

  PDV_A1205742[24] = new Array(4); PDV_A1205742[24][0] = "6240009"; PDV_A1205742[24][1] = "Calexico (Carried to Dust)";   PDV_A1205742[24][2] = "0"; PDV_A1205742[24][3] = "";

  PDV_A1205742[25] = new Array(4); PDV_A1205742[25][0] = "6240010"; PDV_A1205742[25][1] = "British Sea Power (Do you like Rock Music?)";   PDV_A1205742[25][2] = "0"; PDV_A1205742[25][3] = "";

  PDV_A1205742[26] = new Array(4); PDV_A1205742[26][0] = "6240011"; PDV_A1205742[26][1] = "Black Crowes (Warpaint)";   PDV_A1205742[26][2] = "0"; PDV_A1205742[26][3] = "";

  PDV_A1205742[27] = new Array(4); PDV_A1205742[27][0] = "6240012"; PDV_A1205742[27][1] = "The Black Angels (Directions to See a Ghost)";   PDV_A1205742[27][2] = "0"; PDV_A1205742[27][3] = "";

  PDV_A1205742[28] = new Array(4); PDV_A1205742[28][0] = "6240013"; PDV_A1205742[28][1] = "Apes and Androids (Blood Moon)";   PDV_A1205742[28][2] = "0"; PDV_A1205742[28][3] = "";

  PDV_A1205742[29] = new Array(4); PDV_A1205742[29][0] = "6240014"; PDV_A1205742[29][1] = "Guns n\' Roses (Chinese Democracy)";   PDV_A1205742[29][2] = "0"; PDV_A1205742[29][3] = "";

  PDV_A1205742[30] = new Array(4); PDV_A1205742[30][0] = "6240028"; PDV_A1205742[30][1] = "Bon Iver (For Emma, Forever Ago)";   PDV_A1205742[30][2] = "0"; PDV_A1205742[30][3] = "";

  PDV_A1205742[31] = new Array(4); PDV_A1205742[31][0] = "6240061"; PDV_A1205742[31][1] = "MGMT";   PDV_A1205742[31][2] = "0"; PDV_A1205742[31][3] = "";

  PDV_A1205742[32] = new Array(4); PDV_A1205742[32][0] = "6255612"; PDV_A1205742[32][1] = "Shearwater (Rook)";   PDV_A1205742[32][2] = "0"; PDV_A1205742[32][3] = "";

  PDV_A1205742[33] = new Array(4); PDV_A1205742[33][0] = "6255613"; PDV_A1205742[33][1] = "Of Montreal (Skeletal Lamping)";   PDV_A1205742[33][2] = "0"; PDV_A1205742[33][3] = "";

  PDV_A1205742[34] = new Array(4); PDV_A1205742[34][0] = "6255614"; PDV_A1205742[34][1] = "Deerhunter (Microcastle)";   PDV_A1205742[34][2] = "0"; PDV_A1205742[34][3] = "";

  PDV_A1205742[35] = new Array(4); PDV_A1205742[35][0] = "6267434"; PDV_A1205742[35][1] = "M83 (Saturdays=Youth)";   PDV_A1205742[35][2] = "0"; PDV_A1205742[35][3] = "";

  PDV_A1205742[36] = new Array(4); PDV_A1205742[36][0] = "6267435"; PDV_A1205742[36][1] = "Grouper (Dragging a Dead Deer Up a Hill)";   PDV_A1205742[36][2] = "0"; PDV_A1205742[36][3] = "";


var PDV_l1_1205742 = 'View Results';
var PDV_l2_1205742 = 'Other:';
var PDV_l3_1205742  = '';

  
var PDV_l4_1205742 = 'Please choose an answer first!';


//v2.61 11/Nov/09

if (pollClosed1205742 == false)
 {
    var PDV_server1205742 = 'http://polls.polldaddy.com';
    var AA1205742 = new Array();
    var PDV_html1205742 = '<div style="margin-bottom: 0px; margin-top: 0px;" name="PDI_form1205742" id="PDI_form1205742"><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">' + media1205742(PDV_POLL_medType1205742, PDV_POLL_medID1205742) + ' ' + unescape_HTML_1205742( PDV_POLL_q1205742 ) + '</div></div></div></div><div class="pds-answer"><span id="pds-answer1205742"></span>';
    if (PDV_po1205742 == 1)
    {
		PDV_html1205742 += '<span class="pds-answer-group">';
		
        if (PDV_pt1205742 == 0)
        {
            PDV_html1205742 += '<span class="pds-answer-input"><input type="radio" name="PDI_answer1205742" id="PDI_answerOther1205742" value="other" class="pds-radiobutton"/></span>';
        }
        PDV_html1205742 += '<label for="PDI_answerOther1205742" class="pds-other-label"><span class="pds-answer-span">' + PDV_l2_1205742 + '</span></label><span class="pds-answer-other"><br/><input class="pds-textfield" type="text" maxlength="80" id="PDI_OtherText1205742" name="PDI_OtherText1205742" onclick="PDI_checkOther1205742();" onchange="PDI_checkOther1205742(true);" /></span>';

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

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

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

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

    if (PDV_pr1205742 == 2) {
        PDV_html1205742 += '<br/>';
    }
    else {
        PDV_html1205742 += '<a href="javascript:PD_vote1205742(1);" class="pds-view-results">' + PDV_l1_1205742 + '</a><br/>';
    }

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

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

    for (PDV_x = 0; PDV_x < PDV_A1205742.length; PDV_x++)
    {
        if (PDV_pt1205742 == 0)
        {
            AA1205742[PDV_x] = '<span class="pds-answer-group"><span class="pds-answer-input"><input class="pds-radiobutton" type="radio" id="PDI_answer' + PDV_A1205742[PDV_x][0] + '" value="' + PDV_A1205742[PDV_x][0] + '" name="PDI_answer1205742" /></span><label for="PDI_answer' + PDV_A1205742[PDV_x][0] + '" class="pds-input-label"><span class="pds-answer-span">' + unescape_HTML_1205742( PDV_A1205742[PDV_x][1] ) + '</span></label>' + media1205742(PDV_A1205742[PDV_x][2], PDV_A1205742[PDV_x][3]) + '<span class="pds-clear"></span><br/></span>';
        }
        else
        {
            AA1205742[PDV_x] = '<span class="pds-answer-group"><span class="pds-answer-input"><input class="pds-checkbox" type="checkbox" id="PDI_answer' + PDV_A1205742[PDV_x][0] + '" value="' + PDV_A1205742[PDV_x][0] + '" name="PDI_answer' + PDV_A1205742[PDV_x][0] + '" onclick="javascript:PDF_mc1205742(this);" /></span><label for="PDI_answer' + PDV_A1205742[PDV_x][0] + '" class="pds-input-label"><span class="pds-answer-span">' + unescape_HTML_1205742( PDV_A1205742[PDV_x][1] ) + '</span></label>' + media1205742(PDV_A1205742[PDV_x][2], PDV_A1205742[PDV_x][3]) + '<span class="pds-clear"></span><br/></span>';
        }
    }
}

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

function PDF_a1205742()
 {
    PDF_o1205742();
    var r;
    if (PDV_pt1205742 == 0)
    {
    	for (var i = 0; i < AA1205742.length; i++)
        {
            r = document.getElementById(AA1205742[i].substring(AA1205742[i].indexOf('id=') + 4, AA1205742[i].indexOf('"', AA1205742[i].indexOf('id=') + 4)));
            if (r.checked) {
                return r.value + ",";
            }
        }
        r = document.getElementById("PDI_answerOther1205742");
        if (r) {
            if (r.checked) {
                return r.value + ",";
            } else {
                return '';
            }
        } else {
            return "";
        }
    }
    else
    {
        for (i = 0; i < AA1205742.length; i++)
        {
            r = document.getElementById(AA1205742[i].substring(AA1205742[i].indexOf('id=') + 4, AA1205742[i].indexOf('"', AA1205742[i].indexOf('id=') + 4)));
            if (r.type == "checkbox" && r.checked)
            {
                PDV_a1205742 = PDV_a1205742 + r.value + ",";
            }
        }
        return PDV_a1205742;
    }
}
function PDF_o1205742(r) {
    if (PDV_po1205742 == 1) {
        PDV_o1205742 = document.getElementById("PDI_OtherText1205742").value;
    }
}
function PDI_checkOther1205742( lostfocus )
 {
	var reset = false;
	if( lostfocus ){
		var ot = document.getElementById("PDI_OtherText1205742").value;
		if( ot.length == 0 ){ reset = true; }
	}
	
    if (PDV_pt1205742 == 0)
    {
		if(lostfocus && reset){ document.getElementById("PDI_answerOther1205742").checked = false; }
		else{ document.getElementById("PDI_answerOther1205742").checked = true; }
    }
	else if ( PDV_pt1205742 > 1 ){
		var nc = 1;
		obj = document.getElementById("PDI_OtherText1205742");
		if(lostfocus && reset){ nc = 0; }
		
		for (i = 0; i < AA1205742.length; i++)
	    {
	        r = document.getElementById(AA1205742[i].substring(AA1205742[i].indexOf('id=') + 4, AA1205742[i].indexOf('"', AA1205742[i].indexOf('id=') + 4)));
	        if (r.type == "checkbox" && r.checked) { nc += 1; }
	    }

		if ( nc > PDV_pt1205742 ){
			obj.disabled=true;
			obj.value='';
			for (i = 0; i < AA1205742.length; i++)
		    {
		        r = document.getElementById(AA1205742[i].substring(AA1205742[i].indexOf('id=') + 4, AA1205742[i].indexOf('"', AA1205742[i].indexOf('id=') + 4)));
		        if (r.type == "checkbox" && !r.checked) { r.disabled = true; }
		    }
		}
		else if( nc < PDV_pt1205742 ){
			obj.disabled=false;
			for (i = 0; i < AA1205742.length; i++)
		    {
		        r = document.getElementById(AA1205742[i].substring(AA1205742[i].indexOf('id=') + 4, AA1205742[i].indexOf('"', AA1205742[i].indexOf('id=') + 4)));
		        if (r.type == "checkbox" && !r.checked) { r.disabled = false; }
		    }
		}
	}
}
function PD_vote1205742(R)
 {
    var randomnumber = Math.floor(Math.random() * 11);
    if (R == 1)
    {
        var s = document.createElement("SCRIPT");
        s.charset = "utf-8";
        s.src = PDV_server1205742 + "/vote-js.php?s=" + PDV_s1205742 + "&vr=1&b=" + PDV_b1205742 + "&p=" + PDV_id1205742 + "&l=" + PDV_l1205742 + "&sl=" + PDV_sl1205742 + "&pr=" + PDV_pr1205742 + "&pt=" + PDV_pt1205742 + "&va=" + PDV_va1205742 + "&cookie=" + PD_ck1205742 + "&rdm=" + randomnumber + "&url=" + escape(location.href) + "&w=" + PDV_w1205742;
        var h = document.getElementsByTagName("head").item(0);
        h.appendChild(s);
    }
    else
    {
        if (PDV_b1205742 > 0)
        {
            Set_Cookie1205742('PD_poll_' + PDV_id1205742, 'true', 0, '/', '', '');
        }
        PDV_a1205742 = '';
        PDV_a1205742 = PDF_a1205742(document.getElementById("PDI_form1205742"));
        if (PDV_a1205742.length == 0 && PDV_o1205742.length == 0)
        {
            alert(PDV_l4_1205742);
        }
        else
        {
			if ( PDV_def1205742.indexOf('input.pds-votebutton') == -1 ) {
				document.getElementById('pd-vote-button1205742').className = 'pds-vote-button-load';
			}
	
            var s = document.createElement("SCRIPT");
            s.charset = "utf-8";
            s.src = PDV_server1205742 + "/vote-js.php?s=" + PDV_s1205742 + "&b=" + PDV_b1205742 + "&p=" + PDV_id1205742 + "&a=" + PDV_a1205742 + "&o=" + PDV_o1205742 + "&l=" + PDV_l1205742 + "&sl=" + PDV_sl1205742 + "&pr=" + PDV_pr1205742 + "&pt=" + PDV_pt1205742 + "&va=" + PDV_va1205742 + "&cookie=" + PD_ck1205742 + "&rdm=" + randomnumber + "&url=" + escape(location.href) + "&w=" + PDV_w1205742;
            var h = document.getElementsByTagName("head").item(0);
            h.appendChild(s);
        }
    }
}
var PD_pollString1205742 = PDV_html1205742;
var PD_ck1205742 = 0;

function PDV_rand1205742(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_go1205742()
 {
    if (!document.getElementById('poll_style1205742'))
    {
        fileref = document.createElement("style");
        fileref.setAttribute("type", "text/css");
        fileref.setAttribute("id", "poll_style1205742");
        if (fileref.styleSheet)
        // IE
        {
            fileref.styleSheet.cssText = PDV_def1205742;
        }
        else
        // the world
        {
            fileref.appendChild(document.createTextNode(PDV_def1205742));
        }
        document.getElementsByTagName("head").item(0).appendChild(fileref);
    }
    if (!document.getElementById('PDI_container1205742'))
    {
        document.write('<a name="pd_a_1205742" style="display: inline; padding: 0px; margin: 0px;"></a><div class="PDS_Poll" id="PDI_container1205742"></div>');
    }
    if (Get_Cookie1205742('PD_poll_' + PDV_id1205742) == 'true')
    {
        PD_ck1205742 = 1;
    }

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

    if (PDV_POLLRAND1205742) {
        AA1205742 = PDV_rand1205742(AA1205742);
    }
    y1205742 = '';
    for (x1205742 = 0; x1205742 < AA1205742.length; x1205742++) {
        y1205742 = y1205742 + AA1205742[x1205742];
    }
    document.getElementById('pds-answer1205742').innerHTML = y1205742;
	share1205742();
}
function Set_Cookie1205742(name, value, expires, path, domain, secure)
 {
    var today = new Date();
    today.setTime(today.getTime());
    if(typeof(PDV_expire1205742) !== 'undefined') {
    	expires = parseInt( PDV_expire1205742 );
    }
    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_Cookie1205742(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 (pollClosed1205742 == false)
 {
    PDV_go1205742();
}

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

st1205742 = {
    "p": "1205742",
    "v": "0"
};

st_go1205742(st1205742);

function share1205742()
{
	if( typeof PDV_share1205742 != "undefined") {
		if (PDV_share1205742 == 1 ) {
			a2a_linkname = 'Poll: ' + PDV_POLL_q1205742;
			a2a_linkurl = document.location + '#pd_a_1205742';
			a2a_track_links = 'custom';
			a2a_track_links_key = document.location + '#pd_a_1205742';
			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 media1205742(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_1205742(html) {
	var htmlNode = document.createElement("DIV");
	
	htmlNode.innerHTML = html;
	
	if(htmlNode.innerText !== undefined)
		return htmlNode.innerText; // IE
	
	return htmlNode.textContent; // FF
}

if (pollClosed1205742 == true)
{
	share1205742();
}