  
  
 var pollClosed35090 = false;
var PDV_POLLRAND35090 = false;
 
 var PDV_a35090 = "";
 var PDV_o35090 = "";
 var PDV_id35090 = 35090;
 var PDV_pt35090 = 0;
 var PDV_po35090 = 0;
 var PDV_s35090 = 6356;
 var PDV_b35090 = 1;
 var PDV_l35090 = 0;
 var PDV_pr35090 = 1;
 var PDV_w35090 = 35090;
 
 var PDV_sl35090 = 1;
 var PDV_va35090 = 0;
 
var PDV_lnk35090 = 1;



var PDV_def35090 = '#PDI_container35090 .pds-box{width:270px;color:#333;background:#86858a url(http://i.polldaddy.com/polls/pdb01-bottom-left.gif) no-repeat left bottom;font-family:Verdana,Arial,Helvetica,sans-serif;text-align:left} #PDI_container35090 .pds-box-outer{background:url(http://i.polldaddy.com/polls/pdb01-bottom-right.gif) no-repeat right bottom} #PDI_container35090 .pds-box-inner{background:url(http://i.polldaddy.com/polls/pdb01-top-left.gif) no-repeat left top} #PDI_container35090 .pds-box-top{background:url(http://i.polldaddy.com/polls/pdb01-top-right.gif) no-repeat right top;padding:20px 20px 20px 20px} #PDI_container35090 .pds-question{background:url(http://i.polldaddy.com/polls/pdq01-bottom-left.gif) no-repeat left bottom} #PDI_container35090 .pds-question-outer{background:url(http://i.polldaddy.com/polls/pdq01-bottom-right.gif) no-repeat right bottom;padding-bottom:15px} #PDI_container35090 .pds-question-inner{background:url(http://i.polldaddy.com/polls/pdq01-top-left.gif) no-repeat left top} #PDI_container35090 .pds-question-top{background:url(http://i.polldaddy.com/polls/pdq01-top-right.gif) no-repeat right top;padding:15px 15px 0px 15px;font-size:12px;color:#ECBF00} #PDI_container35090 .pds-answer{font-size:10px;color:#555;padding:10px 20px 15px 20px} #PDI_container35090 .pds-answer label{} #PDI_container35090 .pds-radiobutton{} #PDI_container35090 .pds-checkbox{} #PDI_container35090 .pds-textfield{width:100%;font-size:10px;color:#333;background-color:#ccc;border:1px;border-color:#ccc;padding:1px 1px 1px 1px;margin:5px 0px 0px 0px} #PDI_container35090 .pds-answer-feedback{background-color:#ccc;padding:0px 0px 0px 0px;height:18px;margin:2px 0px 5px 0px} #PDI_container35090 .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_container35090 .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_container35090 .pds-vote{font-size:9px;color:#c3C4c7;line-height:17px;padding:0px 20px 10px 20px} #PDI_container35090 .pds-votebutton-outer{height:61px} #PDI_container35090 .pds-vote a{font-size:9px;color:#666;text-decoration:none;border-top:1px;border-bottom:1px;border-top-color:#ccc;border-bottom-color:#ccc;border-top-style:solid;border-bottom-style:solid;padding:2px 0px 2px 0px} #PDI_container35090 input.pds-votebutton{width:61px;height:61px;background:url(http://i.polldaddy.com/polls/pd01-votebutton.gif) no-repeat;outline:none;float:right} #PDI_container35090 input.pds-votebutton:hover{background:url(http://i.polldaddy.com/polls/pd01-votebutton.gif) no-repeat 0 -60px} #PDI_container35090 .pds-totalvotes-outer{} #PDI_container35090 .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_q35090 = 'Should We Legalize Prostitution Now?'; var PDV_POLL_medType35090 = '0'; var PDV_POLL_medID35090 = '';
var PDV_A35090 = new Array();


  PDV_A35090[0] = new Array(4); PDV_A35090[0][0] = "135232"; PDV_A35090[0][1] = "Of Course - it\'s a Puritanical law that belongs in the 1600\'s - along with witch burnings.";   PDV_A35090[0][2] = "0"; PDV_A35090[0][3] = "";

  PDV_A35090[1] = new Array(4); PDV_A35090[1][0] = "135233"; PDV_A35090[1][1] = "Yes - it\'s here to stay. Let\'s make it safer by regulating it, like we do other professions.";   PDV_A35090[1][2] = "0"; PDV_A35090[1][3] = "";

  PDV_A35090[2] = new Array(4); PDV_A35090[2][0] = "135247"; PDV_A35090[2][1] = "Yes - I don\'t like it personally, but the government has no business in my sex life.";   PDV_A35090[2][2] = "0"; PDV_A35090[2][3] = "";

  PDV_A35090[3] = new Array(4); PDV_A35090[3][0] = "135248"; PDV_A35090[3][1] = "No - it\'ll be the end of moral values and decency.";   PDV_A35090[3][2] = "0"; PDV_A35090[3][3] = "";

  PDV_A35090[4] = new Array(4); PDV_A35090[4][0] = "135234"; PDV_A35090[4][1] = "Never - it will hurt babies and little kittens everywhere.";   PDV_A35090[4][2] = "0"; PDV_A35090[4][3] = "";


var PDV_l1_35090 = 'View Results';
var PDV_l2_35090 = 'Other:';
var PDV_l3_35090  = '';

  
var PDV_l4_35090 = 'Please choose an answer first!';


//v2.61 11/Nov/09

if (pollClosed35090 == false)
 {
    var PDV_server35090 = 'http://polls.polldaddy.com';
    var AA35090 = new Array();
    var PDV_html35090 = '<div style="margin-bottom: 0px; margin-top: 0px;" name="PDI_form35090" id="PDI_form35090"><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">' + media35090(PDV_POLL_medType35090, PDV_POLL_medID35090) + ' ' + unescape_HTML_35090( PDV_POLL_q35090 ) + '</div></div></div></div><div class="pds-answer"><span id="pds-answer35090"></span>';
    if (PDV_po35090 == 1)
    {
		PDV_html35090 += '<span class="pds-answer-group">';
		
        if (PDV_pt35090 == 0)
        {
            PDV_html35090 += '<span class="pds-answer-input"><input type="radio" name="PDI_answer35090" id="PDI_answerOther35090" value="other" class="pds-radiobutton"/></span>';
        }
        PDV_html35090 += '<label for="PDI_answerOther35090" class="pds-other-label"><span class="pds-answer-span">' + PDV_l2_35090 + '</span></label><span class="pds-answer-other"><br/><input class="pds-textfield" type="text" maxlength="80" id="PDI_OtherText35090" name="PDI_OtherText35090" onclick="PDI_checkOther35090();" onchange="PDI_checkOther35090(true);" /></span>';

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

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

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

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

    if (PDV_pr35090 == 2) {
        PDV_html35090 += '<br/>';
    }
    else {
        PDV_html35090 += '<a href="javascript:PD_vote35090(1);" class="pds-view-results">' + PDV_l1_35090 + '</a><br/>';
    }

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

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

    for (PDV_x = 0; PDV_x < PDV_A35090.length; PDV_x++)
    {
        if (PDV_pt35090 == 0)
        {
            AA35090[PDV_x] = '<span class="pds-answer-group"><span class="pds-answer-input"><input class="pds-radiobutton" type="radio" id="PDI_answer' + PDV_A35090[PDV_x][0] + '" value="' + PDV_A35090[PDV_x][0] + '" name="PDI_answer35090" /></span><label for="PDI_answer' + PDV_A35090[PDV_x][0] + '" class="pds-input-label"><span class="pds-answer-span">' + unescape_HTML_35090( PDV_A35090[PDV_x][1] ) + '</span></label>' + media35090(PDV_A35090[PDV_x][2], PDV_A35090[PDV_x][3]) + '<span class="pds-clear"></span><br/></span>';
        }
        else
        {
            AA35090[PDV_x] = '<span class="pds-answer-group"><span class="pds-answer-input"><input class="pds-checkbox" type="checkbox" id="PDI_answer' + PDV_A35090[PDV_x][0] + '" value="' + PDV_A35090[PDV_x][0] + '" name="PDI_answer' + PDV_A35090[PDV_x][0] + '" onclick="javascript:PDF_mc35090(this);" /></span><label for="PDI_answer' + PDV_A35090[PDV_x][0] + '" class="pds-input-label"><span class="pds-answer-span">' + unescape_HTML_35090( PDV_A35090[PDV_x][1] ) + '</span></label>' + media35090(PDV_A35090[PDV_x][2], PDV_A35090[PDV_x][3]) + '<span class="pds-clear"></span><br/></span>';
        }
    }
}

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

function PDF_a35090()
 {
    PDF_o35090();
    var r;
    if (PDV_pt35090 == 0)
    {
    	for (var i = 0; i < AA35090.length; i++)
        {
            r = document.getElementById(AA35090[i].substring(AA35090[i].indexOf('id=') + 4, AA35090[i].indexOf('"', AA35090[i].indexOf('id=') + 4)));
            if (r.checked) {
                return r.value + ",";
            }
        }
        r = document.getElementById("PDI_answerOther35090");
        if (r) {
            if (r.checked) {
                return r.value + ",";
            } else {
                return '';
            }
        } else {
            return "";
        }
    }
    else
    {
        for (i = 0; i < AA35090.length; i++)
        {
            r = document.getElementById(AA35090[i].substring(AA35090[i].indexOf('id=') + 4, AA35090[i].indexOf('"', AA35090[i].indexOf('id=') + 4)));
            if (r.type == "checkbox" && r.checked)
            {
                PDV_a35090 = PDV_a35090 + r.value + ",";
            }
        }
        return PDV_a35090;
    }
}
function PDF_o35090(r) {
    if (PDV_po35090 == 1) {
        PDV_o35090 = document.getElementById("PDI_OtherText35090").value;
    }
}
function PDI_checkOther35090( lostfocus )
 {
	var reset = false;
	if( lostfocus ){
		var ot = document.getElementById("PDI_OtherText35090").value;
		if( ot.length == 0 ){ reset = true; }
	}
	
    if (PDV_pt35090 == 0)
    {
		if(lostfocus && reset){ document.getElementById("PDI_answerOther35090").checked = false; }
		else{ document.getElementById("PDI_answerOther35090").checked = true; }
    }
	else if ( PDV_pt35090 > 1 ){
		var nc = 1;
		obj = document.getElementById("PDI_OtherText35090");
		if(lostfocus && reset){ nc = 0; }
		
		for (i = 0; i < AA35090.length; i++)
	    {
	        r = document.getElementById(AA35090[i].substring(AA35090[i].indexOf('id=') + 4, AA35090[i].indexOf('"', AA35090[i].indexOf('id=') + 4)));
	        if (r.type == "checkbox" && r.checked) { nc += 1; }
	    }

		if ( nc > PDV_pt35090 ){
			obj.disabled=true;
			obj.value='';
			for (i = 0; i < AA35090.length; i++)
		    {
		        r = document.getElementById(AA35090[i].substring(AA35090[i].indexOf('id=') + 4, AA35090[i].indexOf('"', AA35090[i].indexOf('id=') + 4)));
		        if (r.type == "checkbox" && !r.checked) { r.disabled = true; }
		    }
		}
		else if( nc < PDV_pt35090 ){
			obj.disabled=false;
			for (i = 0; i < AA35090.length; i++)
		    {
		        r = document.getElementById(AA35090[i].substring(AA35090[i].indexOf('id=') + 4, AA35090[i].indexOf('"', AA35090[i].indexOf('id=') + 4)));
		        if (r.type == "checkbox" && !r.checked) { r.disabled = false; }
		    }
		}
	}
}
function PD_vote35090(R)
 {
    var randomnumber = Math.floor(Math.random() * 11);
    if (R == 1)
    {
        var s = document.createElement("SCRIPT");
        s.charset = "utf-8";
        s.src = PDV_server35090 + "/vote-js.php?s=" + PDV_s35090 + "&vr=1&b=" + PDV_b35090 + "&p=" + PDV_id35090 + "&l=" + PDV_l35090 + "&sl=" + PDV_sl35090 + "&pr=" + PDV_pr35090 + "&pt=" + PDV_pt35090 + "&va=" + PDV_va35090 + "&cookie=" + PD_ck35090 + "&rdm=" + randomnumber + "&url=" + escape(location.href) + "&w=" + PDV_w35090;
        var h = document.getElementsByTagName("head").item(0);
        h.appendChild(s);
    }
    else
    {
        if (PDV_b35090 > 0)
        {
            Set_Cookie35090('PD_poll_' + PDV_id35090, 'true', 0, '/', '', '');
        }
        PDV_a35090 = '';
        PDV_a35090 = PDF_a35090(document.getElementById("PDI_form35090"));
        if (PDV_a35090.length == 0 && PDV_o35090.length == 0)
        {
            alert(PDV_l4_35090);
        }
        else
        {
			if ( PDV_def35090.indexOf('input.pds-votebutton') == -1 ) {
				document.getElementById('pd-vote-button35090').className = 'pds-vote-button-load';
			}
	
            var s = document.createElement("SCRIPT");
            s.charset = "utf-8";
            s.src = PDV_server35090 + "/vote-js.php?s=" + PDV_s35090 + "&b=" + PDV_b35090 + "&p=" + PDV_id35090 + "&a=" + PDV_a35090 + "&o=" + PDV_o35090 + "&l=" + PDV_l35090 + "&sl=" + PDV_sl35090 + "&pr=" + PDV_pr35090 + "&pt=" + PDV_pt35090 + "&va=" + PDV_va35090 + "&cookie=" + PD_ck35090 + "&rdm=" + randomnumber + "&url=" + escape(location.href) + "&w=" + PDV_w35090;
            var h = document.getElementsByTagName("head").item(0);
            h.appendChild(s);
        }
    }
}
var PD_pollString35090 = PDV_html35090;
var PD_ck35090 = 0;

function PDV_rand35090(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_go35090()
 {
    if (!document.getElementById('poll_style35090'))
    {
        fileref = document.createElement("style");
        fileref.setAttribute("type", "text/css");
        fileref.setAttribute("id", "poll_style35090");
        if (fileref.styleSheet)
        // IE
        {
            fileref.styleSheet.cssText = PDV_def35090;
        }
        else
        // the world
        {
            fileref.appendChild(document.createTextNode(PDV_def35090));
        }
        document.getElementsByTagName("head").item(0).appendChild(fileref);
    }
    if (!document.getElementById('PDI_container35090'))
    {
        document.write('<a name="pd_a_35090" style="display: inline; padding: 0px; margin: 0px;"></a><div class="PDS_Poll" id="PDI_container35090"></div>');
    }
    if (Get_Cookie35090('PD_poll_' + PDV_id35090) == 'true')
    {
        PD_ck35090 = 1;
    }

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

    if (PDV_POLLRAND35090) {
        AA35090 = PDV_rand35090(AA35090);
    }
    y35090 = '';
    for (x35090 = 0; x35090 < AA35090.length; x35090++) {
        y35090 = y35090 + AA35090[x35090];
    }
    document.getElementById('pds-answer35090').innerHTML = y35090;
	share35090();
}
function Set_Cookie35090(name, value, expires, path, domain, secure)
 {
    var today = new Date();
    today.setTime(today.getTime());
    if(typeof(PDV_expire35090) !== 'undefined') {
    	expires = parseInt( PDV_expire35090 );
    }
    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_Cookie35090(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 (pollClosed35090 == false)
 {
    PDV_go35090();
}

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

st35090 = {
    "p": "35090",
    "v": "0"
};

st_go35090(st35090);

function share35090()
{
	if( typeof PDV_share35090 != "undefined") {
		if (PDV_share35090 == 1 ) {
			a2a_linkname = 'Poll: ' + PDV_POLL_q35090;
			a2a_linkurl = document.location + '#pd_a_35090';
			a2a_track_links = 'custom';
			a2a_track_links_key = document.location + '#pd_a_35090';
			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 media35090(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_35090(html) {
	var htmlNode = document.createElement("DIV");
	
	htmlNode.innerHTML = html;
	
	if(htmlNode.innerText !== undefined)
		return htmlNode.innerText; // IE
	
	return htmlNode.textContent; // FF
}

if (pollClosed35090 == true)
{
	share35090();
}