  
  
 var pollClosed505827 = false;
var PDV_POLLRAND505827 = false;
 
 var PDV_a505827 = "";
 var PDV_o505827 = "";
 var PDV_id505827 = 505827;
 var PDV_pt505827 = 0;
 var PDV_po505827 = 0;
 var PDV_s505827 = 40871;
 var PDV_b505827 = 1;
 var PDV_l505827 = 0;
 var PDV_pr505827 = 0;
 var PDV_w505827 = 505827;
 
 var PDV_sl505827 = 1;
 var PDV_va505827 = 0;
 
var PDV_lnk505827 = 1;



var PDV_def505827 = '#PDI_container505827 .pds-box{background-color:#666666;border:2px solid #C0C0C0;margin:0px 0px 0px 0px;padding:15px 15px 15px 15px;width:182px} #PDI_container505827 .pds-question-top{font:normal normal bold 12px/14px Verdana;color:#ffcc33;border:0px none #000000;background-color:Transparent;margin:0px 0px 10px 0px;padding:0px 0px 0px 0px} #PDI_container505827 .pds-answer{font:normal normal normal 11px/24px Verdana;color:#ffffff;background-color:Transparent;border:0px none #FFFFFF;margin:0px 0px 0px 0px;padding:0px 0px 0px 0px} #PDI_container505827 .pds-textfield{font:normal normal normal 12px/12px Verdana;color:#333333;background-color:#FFFFFF;border:1px solid #999999;margin:1px 1px 15px 1px;padding:1px 5px 1px 1px;width:150px} #PDI_container505827 .pds-answer-feedback{background-color:#F0F0F0;border:0px solid #999999;padding:1px 1px 1px 1px;margin:0px 0px 0px 0px} #PDI_container505827 .pds-answer-feedback-bar{background-color:#FFCC33;border:0px solid #999999;padding:0px 0px 0px 0px;margin:3px 3px 3px 3px} #PDI_container505827 .pds-totalvotes-inner{font:normal normal bold 12px/20px Verdana;color:#333333;background-color:#F0F0F0;border:0px solid #F0F0F0;padding:2px 2px 2px 2px} #PDI_container505827 .pds-vote{color:#C3C4C7;font-size:9px;line-height:17px;padding:15px 0px 10px} #PDI_container505827 .pds-vote a{border-bottom:1px solid #ffffff;border-top:1px solid #ffffff;color:#ffffff;font-size:9px;padding:2px 0px;text-decoration:none} #PDI_container505827 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_container505827 .pds-box{color:#333333;font-family:Verdana,Arial,Helvetica,sans-serif;text-align:left} #PDI_container505827 .pds-answer-feedback-bar{height:12px} #PDI_container505827 .pds-totalvotes-inner{margin:0px 0px 15px} #PDI_container505827 input.pds-votebutton-pack{float:right;font-size:10px}';

var PDV_POLL_q505827 = 'After 7 years of President Bush in the White House, how would you describe the change in the economy over those years?'; var PDV_POLL_medType505827 = '0'; var PDV_POLL_medID505827 = '';
var PDV_A505827 = new Array();


  PDV_A505827[0] = new Array(4); PDV_A505827[0][0] = "2606202"; PDV_A505827[0][1] = "much better";   PDV_A505827[0][2] = "0"; PDV_A505827[0][3] = "";

  PDV_A505827[1] = new Array(4); PDV_A505827[1][0] = "2606203"; PDV_A505827[1][1] = "slightly better";   PDV_A505827[1][2] = "0"; PDV_A505827[1][3] = "";

  PDV_A505827[2] = new Array(4); PDV_A505827[2][0] = "2606204"; PDV_A505827[2][1] = "about the same";   PDV_A505827[2][2] = "0"; PDV_A505827[2][3] = "";

  PDV_A505827[3] = new Array(4); PDV_A505827[3][0] = "2606205"; PDV_A505827[3][1] = "slightly worse";   PDV_A505827[3][2] = "0"; PDV_A505827[3][3] = "";

  PDV_A505827[4] = new Array(4); PDV_A505827[4][0] = "2606206"; PDV_A505827[4][1] = "much worse";   PDV_A505827[4][2] = "0"; PDV_A505827[4][3] = "";


var PDV_l1_505827 = 'View Results';
var PDV_l2_505827 = 'Other:';
var PDV_l3_505827  = '';

  
var PDV_l4_505827 = 'Please choose an answer first!';


//v2.61 11/Nov/09

if (pollClosed505827 == false)
 {
    var PDV_server505827 = 'http://polls.polldaddy.com';
    var AA505827 = new Array();
    var PDV_html505827 = '<div style="margin-bottom: 0px; margin-top: 0px;" name="PDI_form505827" id="PDI_form505827"><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">' + media505827(PDV_POLL_medType505827, PDV_POLL_medID505827) + ' ' + unescape_HTML_505827( PDV_POLL_q505827 ) + '</div></div></div></div><div class="pds-answer"><span id="pds-answer505827"></span>';
    if (PDV_po505827 == 1)
    {
		PDV_html505827 += '<span class="pds-answer-group">';
		
        if (PDV_pt505827 == 0)
        {
            PDV_html505827 += '<span class="pds-answer-input"><input type="radio" name="PDI_answer505827" id="PDI_answerOther505827" value="other" class="pds-radiobutton"/></span>';
        }
        PDV_html505827 += '<label for="PDI_answerOther505827" class="pds-other-label"><span class="pds-answer-span">' + PDV_l2_505827 + '</span></label><span class="pds-answer-other"><br/><input class="pds-textfield" type="text" maxlength="80" id="PDI_OtherText505827" name="PDI_OtherText505827" onclick="PDI_checkOther505827();" onchange="PDI_checkOther505827(true);" /></span>';

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

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

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

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

    if (PDV_pr505827 == 2) {
        PDV_html505827 += '<br/>';
    }
    else {
        PDV_html505827 += '<a href="javascript:PD_vote505827(1);" class="pds-view-results">' + PDV_l1_505827 + '</a><br/>';
    }

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

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

    for (PDV_x = 0; PDV_x < PDV_A505827.length; PDV_x++)
    {
        if (PDV_pt505827 == 0)
        {
            AA505827[PDV_x] = '<span class="pds-answer-group"><span class="pds-answer-input"><input class="pds-radiobutton" type="radio" id="PDI_answer' + PDV_A505827[PDV_x][0] + '" value="' + PDV_A505827[PDV_x][0] + '" name="PDI_answer505827" /></span><label for="PDI_answer' + PDV_A505827[PDV_x][0] + '" class="pds-input-label"><span class="pds-answer-span">' + unescape_HTML_505827( PDV_A505827[PDV_x][1] ) + '</span></label>' + media505827(PDV_A505827[PDV_x][2], PDV_A505827[PDV_x][3]) + '<span class="pds-clear"></span><br/></span>';
        }
        else
        {
            AA505827[PDV_x] = '<span class="pds-answer-group"><span class="pds-answer-input"><input class="pds-checkbox" type="checkbox" id="PDI_answer' + PDV_A505827[PDV_x][0] + '" value="' + PDV_A505827[PDV_x][0] + '" name="PDI_answer' + PDV_A505827[PDV_x][0] + '" onclick="javascript:PDF_mc505827(this);" /></span><label for="PDI_answer' + PDV_A505827[PDV_x][0] + '" class="pds-input-label"><span class="pds-answer-span">' + unescape_HTML_505827( PDV_A505827[PDV_x][1] ) + '</span></label>' + media505827(PDV_A505827[PDV_x][2], PDV_A505827[PDV_x][3]) + '<span class="pds-clear"></span><br/></span>';
        }
    }
}

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

function PDF_a505827()
 {
    PDF_o505827();
    var r;
    if (PDV_pt505827 == 0)
    {
    	for (var i = 0; i < AA505827.length; i++)
        {
            r = document.getElementById(AA505827[i].substring(AA505827[i].indexOf('id=') + 4, AA505827[i].indexOf('"', AA505827[i].indexOf('id=') + 4)));
            if (r.checked) {
                return r.value + ",";
            }
        }
        r = document.getElementById("PDI_answerOther505827");
        if (r) {
            if (r.checked) {
                return r.value + ",";
            } else {
                return '';
            }
        } else {
            return "";
        }
    }
    else
    {
        for (i = 0; i < AA505827.length; i++)
        {
            r = document.getElementById(AA505827[i].substring(AA505827[i].indexOf('id=') + 4, AA505827[i].indexOf('"', AA505827[i].indexOf('id=') + 4)));
            if (r.type == "checkbox" && r.checked)
            {
                PDV_a505827 = PDV_a505827 + r.value + ",";
            }
        }
        return PDV_a505827;
    }
}
function PDF_o505827(r) {
    if (PDV_po505827 == 1) {
        PDV_o505827 = document.getElementById("PDI_OtherText505827").value;
    }
}
function PDI_checkOther505827( lostfocus )
 {
	var reset = false;
	if( lostfocus ){
		var ot = document.getElementById("PDI_OtherText505827").value;
		if( ot.length == 0 ){ reset = true; }
	}
	
    if (PDV_pt505827 == 0)
    {
		if(lostfocus && reset){ document.getElementById("PDI_answerOther505827").checked = false; }
		else{ document.getElementById("PDI_answerOther505827").checked = true; }
    }
	else if ( PDV_pt505827 > 1 ){
		var nc = 1;
		obj = document.getElementById("PDI_OtherText505827");
		if(lostfocus && reset){ nc = 0; }
		
		for (i = 0; i < AA505827.length; i++)
	    {
	        r = document.getElementById(AA505827[i].substring(AA505827[i].indexOf('id=') + 4, AA505827[i].indexOf('"', AA505827[i].indexOf('id=') + 4)));
	        if (r.type == "checkbox" && r.checked) { nc += 1; }
	    }

		if ( nc > PDV_pt505827 ){
			obj.disabled=true;
			obj.value='';
			for (i = 0; i < AA505827.length; i++)
		    {
		        r = document.getElementById(AA505827[i].substring(AA505827[i].indexOf('id=') + 4, AA505827[i].indexOf('"', AA505827[i].indexOf('id=') + 4)));
		        if (r.type == "checkbox" && !r.checked) { r.disabled = true; }
		    }
		}
		else if( nc < PDV_pt505827 ){
			obj.disabled=false;
			for (i = 0; i < AA505827.length; i++)
		    {
		        r = document.getElementById(AA505827[i].substring(AA505827[i].indexOf('id=') + 4, AA505827[i].indexOf('"', AA505827[i].indexOf('id=') + 4)));
		        if (r.type == "checkbox" && !r.checked) { r.disabled = false; }
		    }
		}
	}
}
function PD_vote505827(R)
 {
    var randomnumber = Math.floor(Math.random() * 11);
    if (R == 1)
    {
        var s = document.createElement("SCRIPT");
        s.charset = "utf-8";
        s.src = PDV_server505827 + "/vote-js.php?s=" + PDV_s505827 + "&vr=1&b=" + PDV_b505827 + "&p=" + PDV_id505827 + "&l=" + PDV_l505827 + "&sl=" + PDV_sl505827 + "&pr=" + PDV_pr505827 + "&pt=" + PDV_pt505827 + "&va=" + PDV_va505827 + "&cookie=" + PD_ck505827 + "&rdm=" + randomnumber + "&url=" + escape(location.href) + "&w=" + PDV_w505827;
        var h = document.getElementsByTagName("head").item(0);
        h.appendChild(s);
    }
    else
    {
        if (PDV_b505827 > 0)
        {
            Set_Cookie505827('PD_poll_' + PDV_id505827, 'true', 0, '/', '', '');
        }
        PDV_a505827 = '';
        PDV_a505827 = PDF_a505827(document.getElementById("PDI_form505827"));
        if (PDV_a505827.length == 0 && PDV_o505827.length == 0)
        {
            alert(PDV_l4_505827);
        }
        else
        {
			if ( PDV_def505827.indexOf('input.pds-votebutton') == -1 ) {
				document.getElementById('pd-vote-button505827').className = 'pds-vote-button-load';
			}
	
            var s = document.createElement("SCRIPT");
            s.charset = "utf-8";
            s.src = PDV_server505827 + "/vote-js.php?s=" + PDV_s505827 + "&b=" + PDV_b505827 + "&p=" + PDV_id505827 + "&a=" + PDV_a505827 + "&o=" + PDV_o505827 + "&l=" + PDV_l505827 + "&sl=" + PDV_sl505827 + "&pr=" + PDV_pr505827 + "&pt=" + PDV_pt505827 + "&va=" + PDV_va505827 + "&cookie=" + PD_ck505827 + "&rdm=" + randomnumber + "&url=" + escape(location.href) + "&w=" + PDV_w505827;
            var h = document.getElementsByTagName("head").item(0);
            h.appendChild(s);
        }
    }
}
var PD_pollString505827 = PDV_html505827;
var PD_ck505827 = 0;

function PDV_rand505827(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_go505827()
 {
    if (!document.getElementById('poll_style505827'))
    {
        fileref = document.createElement("style");
        fileref.setAttribute("type", "text/css");
        fileref.setAttribute("id", "poll_style505827");
        if (fileref.styleSheet)
        // IE
        {
            fileref.styleSheet.cssText = PDV_def505827;
        }
        else
        // the world
        {
            fileref.appendChild(document.createTextNode(PDV_def505827));
        }
        document.getElementsByTagName("head").item(0).appendChild(fileref);
    }
    if (!document.getElementById('PDI_container505827'))
    {
        document.write('<a name="pd_a_505827" style="display: inline; padding: 0px; margin: 0px;"></a><div class="PDS_Poll" id="PDI_container505827"></div>');
    }
    if (Get_Cookie505827('PD_poll_' + PDV_id505827) == 'true')
    {
        PD_ck505827 = 1;
    }

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

    if (PDV_POLLRAND505827) {
        AA505827 = PDV_rand505827(AA505827);
    }
    y505827 = '';
    for (x505827 = 0; x505827 < AA505827.length; x505827++) {
        y505827 = y505827 + AA505827[x505827];
    }
    document.getElementById('pds-answer505827').innerHTML = y505827;
	share505827();
}
function Set_Cookie505827(name, value, expires, path, domain, secure)
 {
    var today = new Date();
    today.setTime(today.getTime());
    if(typeof(PDV_expire505827) !== 'undefined') {
    	expires = parseInt( PDV_expire505827 );
    }
    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_Cookie505827(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 (pollClosed505827 == false)
 {
    PDV_go505827();
}

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

st505827 = {
    "p": "505827",
    "v": "0"
};

st_go505827(st505827);

function share505827()
{
	if( typeof PDV_share505827 != "undefined") {
		if (PDV_share505827 == 1 ) {
			a2a_linkname = 'Poll: ' + PDV_POLL_q505827;
			a2a_linkurl = document.location + '#pd_a_505827';
			a2a_track_links = 'custom';
			a2a_track_links_key = document.location + '#pd_a_505827';
			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 media505827(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_505827(html) {
	var htmlNode = document.createElement("DIV");
	
	htmlNode.innerHTML = html;
	
	if(htmlNode.innerText !== undefined)
		return htmlNode.innerText; // IE
	
	return htmlNode.textContent; // FF
}

if (pollClosed505827 == true)
{
	share505827();
}