  
  
 var pollClosed843839 = false;
var PDV_POLLRAND843839 = false;
 
 var PDV_a843839 = "";
 var PDV_o843839 = "";
 var PDV_id843839 = 843839;
 var PDV_pt843839 = 0;
 var PDV_po843839 = 0;
 var PDV_s843839 = 42171;
 var PDV_b843839 = 1;
 var PDV_l843839 = 0;
 var PDV_pr843839 = 1;
 var PDV_w843839 = 843839;
 
 var PDV_sl843839 = 1;
 var PDV_va843839 = 0;
 
var PDV_lnk843839 = 1;



var PDV_def843839 = '#PDI_container843839 .pds-box{background-color:#ffffff;border:0px solid #c0c0c0;margin:0px 0px 0px 0px;padding:15px 15px 15px 15px;width:435px} #PDI_container843839 .pds-question-top{font:normal normal bold 12px/14px verdana;color:#333333;border:0px none #000000;background-color:transparent;margin:0px 0px 10px 0px;padding:0px 0px 0px 0px} #PDI_container843839 .pds-answer{font:normal normal normal 11px/24px verdana;color:#555555;background-color:transparent;border:0px none #ffffff;margin:0px 0px 0px 0px;padding:0px 0px 0px 0px} #PDI_container843839 .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_container843839 .pds-answer-feedback{background-color:#f0f0f0;border:0px solid #999999;padding:1px 1px 1px 1px;margin:0px 0px 0px 0px} #PDI_container843839 .pds-answer-feedback-bar{background-color:#909090;border:0px solid #999999;padding:0px 0px 0px 0px;margin:3px 3px 3px 3px} #PDI_container843839 .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_container843839 .pds-vote{color:#c3c4c7;font-size:9px;line-height:17px;padding:15px 0px 10px} #PDI_container843839 .pds-vote a{border-bottom:1px solid #555555;border-top:1px solid #555555;color:#555555;font-size:9px;padding:2px 0px;text-decoration:none} #PDI_container843839 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_container843839 .pds-box{color:#333333;font-family:verdana,arial,helvetica,sans-serif;text-align:left} #PDI_container843839 .pds-answer-feedback-bar{height:12px} #PDI_container843839 .pds-totalvotes-inner{margin:0px 0px 15px} #PDI_container843839 input.pds-votebutton-pack{float:right;font-size:10px}';

var PDV_POLL_q843839 = 'What do you do with your magazines?'; var PDV_POLL_medType843839 = '0'; var PDV_POLL_medID843839 = '';
var PDV_A843839 = new Array();


  PDV_A843839[0] = new Array(4); PDV_A843839[0][0] = "4408232"; PDV_A843839[0][1] = "Who buys magazines? I read online.";   PDV_A843839[0][2] = "0"; PDV_A843839[0][3] = "";

  PDV_A843839[1] = new Array(4); PDV_A843839[1][0] = "4408233"; PDV_A843839[1][1] = "I put them in the recycling bin.";   PDV_A843839[1][2] = "0"; PDV_A843839[1][3] = "";

  PDV_A843839[2] = new Array(4); PDV_A843839[2][0] = "4408234"; PDV_A843839[2][1] = "I donate them to the school, doctors office or hospital.";   PDV_A843839[2][2] = "0"; PDV_A843839[2][3] = "";

  PDV_A843839[3] = new Array(4); PDV_A843839[3][0] = "4408235"; PDV_A843839[3][1] = "I freecycle them or give them to friends.";   PDV_A843839[3][2] = "0"; PDV_A843839[3][3] = "";

  PDV_A843839[4] = new Array(4); PDV_A843839[4][0] = "4408236"; PDV_A843839[4][1] = "I let them pile up in stacks forever until I can\'t cope with them and move.";   PDV_A843839[4][2] = "0"; PDV_A843839[4][3] = "";

  PDV_A843839[5] = new Array(4); PDV_A843839[5][0] = "4408237"; PDV_A843839[5][1] = "Other (in comments)";   PDV_A843839[5][2] = "0"; PDV_A843839[5][3] = "";


var PDV_l1_843839 = 'View Results';
var PDV_l2_843839 = 'Other:';
var PDV_l3_843839  = '';

  
var PDV_l4_843839 = 'Please choose an answer first!';


//v2.5 1/Oct/09

if (pollClosed843839 == false)
 {
    var PDV_server843839 = 'http://polls.polldaddy.com';
    var AA843839 = new Array();
    var PDV_html843839 = '<div style="margin-bottom: 0px; margin-top: 0px;" name="PDI_form843839" id="PDI_form843839"><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">' + media843839(PDV_POLL_medType843839, PDV_POLL_medID843839) + ' ' + unescape_HTML_843839( PDV_POLL_q843839 ) + '</div></div></div></div><div class="pds-answer"><span id="pds-answer843839"></span>';
    if (PDV_po843839 == 1)
    {
		PDV_html843839 += '<span class="pds-answer-group">';
		
        if (PDV_pt843839 == 0)
        {
            PDV_html843839 += '<span class="pds-answer-input"><input type="radio" name="PDI_answer843839" id="PDI_answerOther843839" value="other" class="pds-radiobutton"/></span>';
        }
        PDV_html843839 += '<label for="PDI_answerOther843839" class="pds-other-label"><span class="pds-answer-span">' + PDV_l2_843839 + '</span></label><span class="pds-answer-other"><br/><input class="pds-textfield" type="text" maxlength="80" id="PDI_OtherText843839" name="PDI_OtherText843839" onclick="PDI_checkOther843839();" onchange="PDI_checkOther843839(true);" /></span>';

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

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

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

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

    if (PDV_pr843839 == 2) {
        PDV_html843839 += '<br/>';
    }
    else {
        PDV_html843839 += '<a href="javascript:PD_vote843839(1);" class="pds-view-results">' + PDV_l1_843839 + '</a><br/>';
    }

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

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

    for (PDV_x = 0; PDV_x < PDV_A843839.length; PDV_x++)
    {
        if (PDV_pt843839 == 0)
        {
            AA843839[PDV_x] = '<span class="pds-answer-group"><span class="pds-answer-input"><input class="pds-radiobutton" type="radio" id="PDI_answer' + PDV_A843839[PDV_x][0] + '" value="' + PDV_A843839[PDV_x][0] + '" name="PDI_answer843839" /></span><label for="PDI_answer' + PDV_A843839[PDV_x][0] + '" class="pds-input-label"><span class="pds-answer-span">' + unescape_HTML_843839( PDV_A843839[PDV_x][1] ) + '</span></label>' + media843839(PDV_A843839[PDV_x][2], PDV_A843839[PDV_x][3]) + '<span class="pds-clear"></span><br/></span>';
        }
        else
        {
            AA843839[PDV_x] = '<span class="pds-answer-group"><span class="pds-answer-input"><input class="pds-checkbox" type="checkbox" id="PDI_answer' + PDV_A843839[PDV_x][0] + '" value="' + PDV_A843839[PDV_x][0] + '" name="PDI_answer' + PDV_A843839[PDV_x][0] + '" onclick="javascript:PDF_mc843839(this);" /></span><label for="PDI_answer' + PDV_A843839[PDV_x][0] + '" class="pds-input-label"><span class="pds-answer-span">' + unescape_HTML_843839( PDV_A843839[PDV_x][1] ) + '</span></label>' + media843839(PDV_A843839[PDV_x][2], PDV_A843839[PDV_x][3]) + '<span class="pds-clear"></span><br/></span>';
        }
    }
}

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

function PDF_a843839()
 {
    PDF_o843839();
    var r;
    if (PDV_pt843839 == 0)
    {
    	for (var i = 0; i < AA843839.length; i++)
        {
            r = document.getElementById(AA843839[i].substring(AA843839[i].indexOf('id=') + 4, AA843839[i].indexOf('"', AA843839[i].indexOf('id=') + 4)));
            if (r.checked) {
                return r.value + ",";
            }
        }
        r = document.getElementById("PDI_answerOther843839");
        if (r) {
            if (r.checked) {
                return r.value + ",";
            } else {
                return '';
            }
        } else {
            return "";
        }
    }
    else
    {
        for (i = 0; i < AA843839.length; i++)
        {
            r = document.getElementById(AA843839[i].substring(AA843839[i].indexOf('id=') + 4, AA843839[i].indexOf('"', AA843839[i].indexOf('id=') + 4)));
            if (r.type == "checkbox" && r.checked)
            {
                PDV_a843839 = PDV_a843839 + r.value + ",";
            }
        }
        return PDV_a843839;
    }
}
function PDF_o843839(r) {
    if (PDV_po843839 == 1) {
        PDV_o843839 = document.getElementById("PDI_OtherText843839").value;
    }
}
function PDI_checkOther843839( lostfocus )
 {
	var reset = false;
	if( lostfocus ){
		var ot = document.getElementById("PDI_OtherText843839").value;
		if( ot.length == 0 ){ reset = true; }
	}
	
    if (PDV_pt843839 == 0)
    {
		if(lostfocus && reset){ document.getElementById("PDI_answerOther843839").checked = false; }
		else{ document.getElementById("PDI_answerOther843839").checked = true; }
    }
	else if ( PDV_pt843839 > 1 ){
		var nc = 1;
		obj = document.getElementById("PDI_OtherText843839");
		if(lostfocus && reset){ nc = 0; }
		
		for (i = 0; i < AA843839.length; i++)
	    {
	        r = document.getElementById(AA843839[i].substring(AA843839[i].indexOf('id=') + 4, AA843839[i].indexOf('"', AA843839[i].indexOf('id=') + 4)));
	        if (r.type == "checkbox" && r.checked) { nc += 1; }
	    }

		if ( nc > PDV_pt843839 ){
			obj.disabled=true;
			obj.value='';
			for (i = 0; i < AA843839.length; i++)
		    {
		        r = document.getElementById(AA843839[i].substring(AA843839[i].indexOf('id=') + 4, AA843839[i].indexOf('"', AA843839[i].indexOf('id=') + 4)));
		        if (r.type == "checkbox" && !r.checked) { r.disabled = true; }
		    }
		}
		else if( nc < PDV_pt843839 ){
			obj.disabled=false;
			for (i = 0; i < AA843839.length; i++)
		    {
		        r = document.getElementById(AA843839[i].substring(AA843839[i].indexOf('id=') + 4, AA843839[i].indexOf('"', AA843839[i].indexOf('id=') + 4)));
		        if (r.type == "checkbox" && !r.checked) { r.disabled = false; }
		    }
		}
	}
}
function PD_vote843839(R)
 {
    var randomnumber = Math.floor(Math.random() * 11);
    if (R == 1)
    {
        var s = document.createElement("SCRIPT");
        s.charset = "utf-8";
        s.src = PDV_server843839 + "/vote-js.php?s=" + PDV_s843839 + "&vr=1&b=" + PDV_b843839 + "&p=" + PDV_id843839 + "&l=" + PDV_l843839 + "&sl=" + PDV_sl843839 + "&pr=" + PDV_pr843839 + "&pt=" + PDV_pt843839 + "&va=" + PDV_va843839 + "&cookie=" + PD_ck843839 + "&rdm=" + randomnumber + "&url=" + escape(location.href) + "&w=" + PDV_w843839;
        var h = document.getElementsByTagName("head").item(0);
        h.appendChild(s);
    }
    else
    {
        if (PDV_b843839 > 0)
        {
            Set_Cookie843839('PD_poll_' + PDV_id843839, 'true', 30, '/', '', '');
        }
        PDV_a843839 = '';
        PDV_a843839 = PDF_a843839(document.getElementById("PDI_form843839"));
        if (PDV_a843839.length == 0 && PDV_o843839.length == 0)
        {
            alert(PDV_l4_843839);
        }
        else
        {
			if ( PDV_def843839.indexOf('input.pds-votebutton') == -1 ) {
				document.getElementById('pd-vote-button843839').className = 'pds-vote-button-load';
			}
	
            var s = document.createElement("SCRIPT");
            s.charset = "utf-8";
            s.src = PDV_server843839 + "/vote-js.php?s=" + PDV_s843839 + "&b=" + PDV_b843839 + "&p=" + PDV_id843839 + "&a=" + PDV_a843839 + "&o=" + PDV_o843839 + "&l=" + PDV_l843839 + "&sl=" + PDV_sl843839 + "&pr=" + PDV_pr843839 + "&pt=" + PDV_pt843839 + "&va=" + PDV_va843839 + "&cookie=" + PD_ck843839 + "&rdm=" + randomnumber + "&url=" + escape(location.href) + "&w=" + PDV_w843839;
            var h = document.getElementsByTagName("head").item(0);
            h.appendChild(s);
        }
    }
}
var PD_pollString843839 = PDV_html843839;
var PD_ck843839 = 0;

function PDV_rand843839(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_go843839()
 {
    if (!document.getElementById('poll_style843839'))
    {
        fileref = document.createElement("style");
        fileref.setAttribute("type", "text/css");
        fileref.setAttribute("id", "poll_style843839");
        if (fileref.styleSheet)
        // IE
        {
            fileref.styleSheet.cssText = PDV_def843839;
        }
        else
        // the world
        {
            fileref.appendChild(document.createTextNode(PDV_def843839));
        }
        document.getElementsByTagName("head").item(0).appendChild(fileref);
    }
    if (!document.getElementById('PDI_container843839'))
    {
        document.write('<a name="pd_a_843839" style="display: inline; padding: 0px; margin: 0px;"></a><div class="PDS_Poll" id="PDI_container843839"></div>');
    }
    if (Get_Cookie843839('PD_poll_' + PDV_id843839) == 'true')
    {
        PD_ck843839 = 1;
    }

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

    if (PDV_POLLRAND843839) {
        AA843839 = PDV_rand843839(AA843839);
    }
    y843839 = '';
    for (x843839 = 0; x843839 < AA843839.length; x843839++) {
        y843839 = y843839 + AA843839[x843839];
    }
    document.getElementById('pds-answer843839').innerHTML = y843839;
	share843839();
}
function Set_Cookie843839(name, value, expires, path, domain, secure)
 {
    var today = new Date();
    today.setTime(today.getTime());
    if (expires)
    {
        expires = expires * 1000 * 60 * 60 * 24;
    }

    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_Cookie843839(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 (pollClosed843839 == false)
 {
    PDV_go843839();
}

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

st843839 = {
    "p": "843839",
    "v": "0"
};

st_go843839(st843839);

function share843839()
{
	if( typeof PDV_share843839 != "undefined") {
		if (PDV_share843839 == 1 ) {
			a2a_linkname = 'Poll: ' + PDV_POLL_q843839;
			a2a_linkurl = document.location + '#pd_a_843839';
			a2a_track_links = 'custom';
			a2a_track_links_key = document.location + '#pd_a_843839';
			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 media843839(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_843839(html) {
	var htmlNode = document.createElement("DIV");
	
	htmlNode.innerHTML = html;
	
	if(htmlNode.innerText !== undefined)
		return htmlNode.innerText; // IE
	
	return htmlNode.textContent; // FF
}

if (pollClosed843839 == true)
{
	share843839();
}