var PDV_POLL_q2474470 = 'Favorite Female Movie Star';var PDV_share2474470 = 0;var PDV_A2474470 = new Array();PDV_A2474470[0] = new Array(4); PDV_A2474470[0][0] = "11948449"; PDV_A2474470[0][1] = "Ellen Page";   PDV_A2474470[0][2] = "1"; PDV_A2474470[0][3] = "1262744852_9688-x";PDV_A2474470[1] = new Array(4); PDV_A2474470[1][0] = "11948450"; PDV_A2474470[1][1] = "Meryl Streep";   PDV_A2474470[1][2] = "1"; PDV_A2474470[1][3] = "1262744840_9759-x";PDV_A2474470[2] = new Array(4); PDV_A2474470[2][0] = "11948451"; PDV_A2474470[2][1] = "Kristen Stewart";   PDV_A2474470[2][2] = "1"; PDV_A2474470[2][3] = "1262744892_3249-x";PDV_A2474470[3] = new Array(4); PDV_A2474470[3][0] = "11948452"; PDV_A2474470[3][1] = "Penelope Cruz";   PDV_A2474470[3][2] = "1"; PDV_A2474470[3][3] = "1262744882_9887-x";PDV_A2474470[4] = new Array(4); PDV_A2474470[4][0] = "11948453"; PDV_A2474470[4][1] = "Zoe Saldana";   PDV_A2474470[4][2] = "1"; PDV_A2474470[4][3] = "1262744828_5386-x";PDV_A2474470[5] = new Array(4); PDV_A2474470[5][0] = "11948454"; PDV_A2474470[5][1] = "Zooey Deschanel";   PDV_A2474470[5][2] = "1"; PDV_A2474470[5][3] = "1262744868_8904-x";var pollClosed2474470 = true;if(!document.getElementById('poll_style2474470'))
    {
    fileref=document.createElement("style");
    fileref.setAttribute("type", "text/css");
    fileref.setAttribute("id", "poll_style2474470");
    var def = '#PDI_container2474470 .pds-box {background-color: #FFEEED;border: 1px solid #ccc;-webkit-border-radius: 12px;-moz-border-radius: 12px;border-radius: 12px;margin: 0px 0px 0px 0px;padding: 12px 12px 12px 12px;width: 375px;} #PDI_container2474470 .pds-question-top {font: normal normal bold 15px/20px Arial;color: #333;text-align: left;border: 0px none #eeeeee;background-color: ;margin: 0px 0px 15px 0px;padding: 0px 0px 0px 0px;} #PDI_container2474470 .pds-answer-group {padding: 8px 0px 8px 0px;} #PDI_container2474470 .pds-feedback-group {padding: 8px 0px 8px 0px;} #PDI_container2474470 .pds-answer-input {padding: 0px 0px 0px 0px;} #PDI_container2474470 .pds-input-label {font: normal normal normal 13px/18px Arial;color: #333;text-align: left;padding: 0px 0px 0px 0px;width: 268px;} #PDI_container2474470 .pds-feedback-label {font: normal normal normal 13px/18px Arial;color: #333;text-align: left;padding: 0px 0px 0px 0px;} #PDI_container2474470 .pds-other-label {font: normal normal normal 13px/18px Arial;color: #333;text-align: left;padding: 0px 0px 0px 0px;width: 268px;} #PDI_container2474470 .pds-view-results {font: normal normal normal 11px/11px Arial;color: #333;text-align: left;padding: 8px 10px 0px 0px;} #PDI_container2474470 .pds-comments {font: normal normal normal 11px/11px Arial;color: #333;text-align: left;padding: 8px 10px 0px 0px;} #PDI_container2474470 .pds-return-poll {font: normal normal normal 11px/11px Arial;color: #333;text-align: left;padding: 8px 10px 0px 0px;} #PDI_container2474470 .pds-pd-link {font: normal normal normal 11px/11px Arial;color: #333;text-align: left;padding: 8px 10px 0px 0px;} #PDI_container2474470 .pds-share {font: normal normal normal 11px/11px Arial;color: #333;text-align: left;padding: 8px 10px 0px 0px;} #PDI_container2474470 .pds-textfield {font: normal normal normal 12px/12px Arial;color: #333;text-align: left;background-color: #fff;border: 1px solid #d1d1d1;margin: 4px 0px 0px 25px;padding: 2px 2px 2px 2px;width: 200px;} #PDI_container2474470 .pds-vote-button {font: normal normal bold 14px/24px Arial;color: #333333;text-align: left;background: #f2f2f2 url(http://s3.wordpress.com/wp-admin/images/white-grad.png) repeat-x left top;border: 1px solid #999999;-webkit-border-radius: 11px;-moz-border-radius: 11px;border-radius: 11px;margin: 0px 0px 0px 0px;padding: 0px 24px 0px 24px;} #PDI_container2474470 .pds-vote-button-load {font: normal normal bold 14px/24px Arial;color: #333333;text-align: left;background: #f2f2f2 url(http://s3.wordpress.com/wp-admin/images/white-grad.png) repeat-x left top;border: 1px solid #999999;-webkit-border-radius: 11px;-moz-border-radius: 11px;border-radius: 11px;margin: 0px 0px 0px 0px;padding: 0px 24px 0px 24px;} #PDI_container2474470 .pds-answer-feedback {background-color: #f1f1f1;border: 1px solid #d1d1d1;padding: 0px 0px 0px 0px;margin: 5px 0px 0px 0px;} #PDI_container2474470 .pds-answer-feedback-bar {background-color: #3478E3;border: 0px none #4D6382;padding: 0px 0px 0px 0px;margin: 0px 0px 0px 0px;height: 18px;} #PDI_container2474470 .pds-total-votes {font: normal normal normal 12px/12px Arial;color: #333333;text-align: left;background-color: ;border: 0px solid #F0F0F0;padding: 0px 0px 0px 0px;} #PDI_container2474470 .pds-box {text-align: left;} #PDI_container2474470 .pds-clear {clear: both;display: block;} #PDI_container2474470 .pds-box A {outline: none;display: block;float: left;} #PDI_container2474470 .pds-answer-group {display: block;padding: 5px 0px;} #PDI_container2474470 .pds-answer-input {display: block;float: left;width: 25px;} #PDI_container2474470 .pds-input-label {position:relative;cursor:pointer;display:block;float:left;} #PDI_container2474470 .pds-feedback-label {position:relative;display:block;} #PDI_container2474470 .pds-answer-other {clear: left;display: block;} #PDI_container2474470 .pds-answer-group{display: block;} #PDI_container2474470 .pds-link{display: block;float: left;} #PDI_container2474470 .pds-answer-group BR {display: none;} #PDI_container2474470 .pds-answer-other BR {display: none;} #PDI_container2474470 .pds-vote {padding: 10px 0px;} #PDI_container2474470 .pds-vote BR {display: none;} #PDI_container2474470 .pds-vote-button {display:block;float:left;text-decoration: none;} #PDI_container2474470 .pds-vote-button-load {display:block;float:left;text-decoration: none;background:#eeeeee url(http://i.polldaddy.com/polls/vote-loader-eeeeee.gif) no-repeat scroll 50% 50%;} #PDI_container2474470 .pds-vote-button-load SPAN {visibility: hidden;} #PDI_container2474470 .pds-total-votes {margin: 10px 0px 0px 0px;} #PDI_container2474470 .pds-links {display: block;padding: 10px 0px 0px 15px;float:left;}';
    if (fileref.styleSheet) // IE
    {fileref.styleSheet.cssText = def;}
    else // the world
    {fileref.appendChild(document.createTextNode(def));}
    document.getElementsByTagName("head").item(0).appendChild(fileref);
    }
    if(!document.getElementById('PDI_container2474470')){document.write('<a xmlns:pd="http://api.polldaddy.com/pdapi.xsd" name="pd_a_2474470"></a><div xmlns:pd="http://api.polldaddy.com/pdapi.xsd" class="PDS_Poll" id="PDI_container2474470"></div>');};document.getElementById('PDI_container2474470').innerHTML = '<div xmlns:pd="http://api.polldaddy.com/pdapi.xsd" 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">' + unescape_HTML_2474470( PDV_POLL_q2474470 ) + ' (Poll Closed)</div></div></div></div><div class="pds-vote"><div class="pds-totalvotes-outer"><div style="float:left;"><br><a href="http://www.polldaddy.com" target="_blank">PollDaddy.com</a></div><p style="clear:both;"></p></div></div></div></div></div></div><img xmlns:pd="http://api.polldaddy.com/pdapi.xsd" src="http://pixel.quantserve.com/pixel/p-ab3gTb8xb3dLg.gif" style="display: none;" border="0" height="1" width="1" alt="Quantcast">';

//v2.76 9/Aug/10
var protocol = document.location.protocol;
var a2a_track_pub = 'polldaddy';
var a2a_no_3p = 1;
var PD_ck2474470 = 0;
var PD_ck_name2474470 = 'PD_poll_' + PDV_id2474470;

if (pollClosed2474470 == false)
 {
    var PDV_server2474470 = protocol + '//polls.polldaddy.com';
    var AA2474470 = new Array();
    var PDV_html2474470 = '<div style="margin-bottom: 0px; margin-top: 0px;" name="PDI_form2474470" id="PDI_form2474470"><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">' + PDV_POLL_medID2474470 + ' ' + unescape_HTML_2474470( PDV_POLL_q2474470 ) + '</div></div></div></div><div class="pds-answer"><span id="pds-answer2474470"></span>';
    if (PDV_po2474470 == 1)
    {
		PDV_html2474470 += '<span class="pds-answer-group">';
		
        if (PDV_pt2474470 == 0) {
            PDV_html2474470 += '<span class="pds-answer-input"><input type="radio" name="PDI_answer2474470" id="PDI_answerOther2474470" value="other" class="pds-radiobutton"/></span>';
        }
        PDV_html2474470 += '<label for="PDI_answerOther2474470" class="pds-other-label"><span class="pds-answer-span">' + PDV_l2_2474470 + '</span></label><span class="pds-answer-other"><br/><input class="pds-textfield" type="text" maxlength="80" id="PDI_OtherText2474470" name="PDI_OtherText2474470" onclick="PDI_checkOther2474470();" onchange="PDI_checkOther2474470(true);" /></span>';

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

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

    if ( PDV_l3_2474470 == '' )
    {
		PDV_l3_2474470 = 'Vote';
    }
	
	if ( PDV_s2474470 < 99 || PDV_def2474470.indexOf('input.pds-votebutton') != -1 )	
	{
		if (PDV_l3_2474470 == 'Vote' || PDV_l3_2474470 == '')
	    {
	        PDV_html2474470 += '<input type="button" class="pds-votebutton" style="border:none;cursor: pointer;" src="' + ( is_secure() ? 'https://polldaddy' : 'http://i.polldaddy' ) + '.com/polls/spacer.gif" onclick="PD_vote2474470(0);">';
	    }
	    else
	    {
	        PDV_html2474470 += '<input type="button" class="pds-votebutton-pack" value="' + PDV_l3_2474470 + '"  onclick="PD_vote2474470(0);" />';
	    }
	}
	else
	{
		PDV_html2474470 += '<a href="javascript:PD_vote2474470(0);" id="pd-vote-button2474470" class="pds-vote-button"><span>' + PDV_l3_2474470 + '</span></a>';
	}

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

    if (PDV_pr2474470 == 2) {
        PDV_html2474470 += '<br/>';
    }
    else {
        PDV_html2474470 += '<a href="javascript:PD_vote2474470(1);" class="pds-view-results">' + PDV_l1_2474470 + '</a><br/>';
    }

	if( typeof PDV_share2474470 != "undefined") {
		if (PDV_share2474470 == 1 ) {
			PDV_html2474470 += '<a class="a2a_dd pds-share"  href="javascript:">' + PDV_l12_2474470 + '</a>';
		}
	}
	
    if (PDV_lnk2474470 == 1) {
        PDV_html2474470 += '<a href="' + protocol + '//polldaddy.com/signup-now/?ad=poll-front" target="_blank" class="pds-pd-link">Polldaddy.com</a>';
    }

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

    for (PDV_x = 0; PDV_x < PDV_A2474470.length; PDV_x++)
    {
        if (PDV_pt2474470 == 0)
        {
            AA2474470[PDV_x] = '<span class="pds-answer-group"><span class="pds-answer-input"><input class="pds-radiobutton" type="radio" id="PDI_answer' + PDV_A2474470[PDV_x][0] + '" value="' + PDV_A2474470[PDV_x][0] + '" name="PDI_answer2474470" /></span><label for="PDI_answer' + PDV_A2474470[PDV_x][0] + '" class="pds-input-label"><span class="pds-answer-span">' + unescape_HTML_2474470( PDV_A2474470[PDV_x][1] ) + '</span></label>' + PDV_A2474470[PDV_x][3] + '<span class="pds-clear"></span><br/></span>';
        }
        else
        {
            AA2474470[PDV_x] = '<span class="pds-answer-group"><span class="pds-answer-input"><input class="pds-checkbox" type="checkbox" id="PDI_answer' + PDV_A2474470[PDV_x][0] + '" value="' + PDV_A2474470[PDV_x][0] + '" name="PDI_answer' + PDV_A2474470[PDV_x][0] + '" onclick="javascript:PDF_mc2474470(this);" /></span><label for="PDI_answer' + PDV_A2474470[PDV_x][0] + '" class="pds-input-label"><span class="pds-answer-span">' + unescape_HTML_2474470( PDV_A2474470[PDV_x][1] ) + '</span></label>' + PDV_A2474470[PDV_x][3] + '<span class="pds-clear"></span><br/></span>';
        }
    }
}

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

function PDF_a2474470()
 {
    PDF_o2474470();
    var r;
    if (PDV_pt2474470 == 0)
    {
    	for (var i = 0; i < AA2474470.length; i++)
        {
            r = document.getElementById(AA2474470[i].substring(AA2474470[i].indexOf('id=') + 4, AA2474470[i].indexOf('"', AA2474470[i].indexOf('id=') + 4)));
            if (r.checked) {
                return r.value + ",";
            }
        }
        r = document.getElementById("PDI_answerOther2474470");
        if (r) {
            if (r.checked) {
                return r.value + ",";
            } else {
                return '';
            }
        } else {
            return "";
        }
    }
    else
    {
        for (i = 0; i < AA2474470.length; i++)
        {
            r = document.getElementById(AA2474470[i].substring(AA2474470[i].indexOf('id=') + 4, AA2474470[i].indexOf('"', AA2474470[i].indexOf('id=') + 4)));
            if (r.type == "checkbox" && r.checked)
            {
                PDV_a2474470 = PDV_a2474470 + r.value + ",";
            }
        }
        return PDV_a2474470;
    }
}
function PDF_o2474470(r) {
    if (PDV_po2474470 == 1) {
        PDV_o2474470 = document.getElementById("PDI_OtherText2474470").value;
    }
}
function PDI_checkOther2474470( lostfocus )
 {
	var reset = false;
	if( lostfocus ){
		var ot = document.getElementById("PDI_OtherText2474470").value;
		if( ot.length == 0 ){ reset = true; }
	}
	
    if (PDV_pt2474470 == 0)
    {
		if(lostfocus && reset){ document.getElementById("PDI_answerOther2474470").checked = false; }
		else{ document.getElementById("PDI_answerOther2474470").checked = true; }
    }
	else if ( PDV_pt2474470 > 1 ){
		var nc = 1;
		obj = document.getElementById("PDI_OtherText2474470");
		if(lostfocus && reset){ nc = 0; }
		
		for (i = 0; i < AA2474470.length; i++)
	    {
	        r = document.getElementById(AA2474470[i].substring(AA2474470[i].indexOf('id=') + 4, AA2474470[i].indexOf('"', AA2474470[i].indexOf('id=') + 4)));
	        if (r.type == "checkbox" && r.checked) { nc += 1; }
	    }

		if ( nc > PDV_pt2474470 ){
			obj.disabled=true;
			obj.value='';
			for (i = 0; i < AA2474470.length; i++)
		    {
		        r = document.getElementById(AA2474470[i].substring(AA2474470[i].indexOf('id=') + 4, AA2474470[i].indexOf('"', AA2474470[i].indexOf('id=') + 4)));
		        if (r.type == "checkbox" && !r.checked) { r.disabled = true; }
		    }
		}
		else if( nc < PDV_pt2474470 ){
			obj.disabled=false;
			for (i = 0; i < AA2474470.length; i++)
		    {
		        r = document.getElementById(AA2474470[i].substring(AA2474470[i].indexOf('id=') + 4, AA2474470[i].indexOf('"', AA2474470[i].indexOf('id=') + 4)));
		        if (r.type == "checkbox" && !r.checked) { r.disabled = false; }
		    }
		}
	}
}
function PD_vote2474470(R)
 {
    var randomnumber = Math.floor(Math.random() * 11);
    var tags = pd_get_tags2474470();
    if (R == 1)
    {
        var s = document.createElement("SCRIPT");
        s.charset = "utf-8";
        s.src = PDV_server2474470 + "/vote-js.php?s=" + PDV_s2474470 + "&vr=1&b=" + PDV_b2474470 + "&p=" + PDV_id2474470 + "&l=" + PDV_l2474470 + "&sl=" + PDV_sl2474470 + "&pr=" + PDV_pr2474470 + "&pt=" + PDV_pt2474470 + "&va=" + PDV_va2474470 + "&cookie=" + PD_ck2474470 + "&rdm=" + randomnumber + "&url=" + escape(location.href) + "&w=" + PDV_w2474470 + ( tags.length > 0 ? '&tags=' + tags : '' );
        var h = document.getElementsByTagName("head").item(0);
        h.appendChild(s);
    }
    else
    {
        if (PDV_b2474470 > 0 && PD_ck2474470 == 0 ) {
            Set_Cookie2474470(PD_ck_name2474470, 'true', 0, '/', '', '');
        }
        PDV_a2474470 = '';
        PDV_a2474470 = PDF_a2474470(document.getElementById("PDI_form2474470"));
        if (PDV_a2474470.length == 0 && PDV_o2474470.length == 0)
        {
            alert(PDV_l4_2474470);
        }
        else
        {
			if ( PDV_def2474470.indexOf('input.pds-votebutton') == -1 ) {
				document.getElementById('pd-vote-button2474470').className = 'pds-vote-button-load';
			}
	
            var s = document.createElement("SCRIPT");
            s.charset = "utf-8";
            s.src = PDV_server2474470 + "/vote-js.php?s=" + PDV_s2474470 + "&b=" + PDV_b2474470 + "&p=" + PDV_id2474470 + "&a=" + PDV_a2474470 + "&o=" + PDV_o2474470 + "&l=" + PDV_l2474470 + "&sl=" + PDV_sl2474470 + "&pr=" + PDV_pr2474470 + "&pt=" + PDV_pt2474470 + "&va=" + PDV_va2474470 + "&cookie=" + PD_ck2474470 + "&rdm=" + randomnumber + "&url=" + escape(location.href) + "&w=" + PDV_w2474470 + ( tags.length > 0 ? '&tags=' + tags : '' );
            var h = document.getElementsByTagName("head").item(0);
            h.appendChild(s);
        }
    }
}

function pd_get_tags2474470() {
	if( typeof pd_tags == "undefined" ) return '';
	var tags = '';
					
	for ( var key in pd_tags )
		tags += pd_url_encode2474470( key ) + ':' + pd_url_encode2474470( pd_tags[ key ] ) + ';';
		
	return tags.slice(0,-1);
}

function pd_url_encode2474470( s ) {
	return encodeURIComponent( s ).replace( /\%20/g, '+' ).replace( /!/g, '%21' ).replace( /'/g, '%27' ).replace( /\(/g, '%28' ).replace( /\)/g, '%29' ).replace( /\*/g, '%2A' ).replace( /\~/g, '%7E' );
}

var PD_pollString2474470 = PDV_html2474470;

function PDV_rand2474470(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_go2474470()
 {
 	if ( is_secure() ){
 		PDV_def2474470 = PDV_def2474470.replace(/http:\/\/i.polldaddy/g,'https://polldaddy');
 		PDV_def2474470 = PDV_def2474470.replace(/http:\/\/s3.wordpress/g,'https://s-ssl.wordpress');
 	}
    if (!document.getElementById('poll_style2474470')) {
        fileref = document.createElement("style");
        fileref.setAttribute("type", "text/css");
        fileref.setAttribute("id", "poll_style2474470");
        if (fileref.styleSheet) { // IE
            fileref.styleSheet.cssText = PDV_def2474470;
        }
        else { // the world
            fileref.appendChild(document.createTextNode(PDV_def2474470));
        }
        document.getElementsByTagName("head").item(0).appendChild(fileref);
    }
    if (typeof load_audioLibrary_2474470 == "function" && typeof PDV_audio_2474470 !== "undefined" && PDV_audio_2474470 > 0 ) {
    	load_audioLibrary_2474470();
    }
    if (!document.getElementById('PDI_container2474470')) {
        document.write('<a name="pd_a_2474470" style="display: inline; padding: 0px; margin: 0px;"></a><div class="PDS_Poll" id="PDI_container2474470"></div>');
    }    
    if( typeof PDV_version2474470 !== "undefined" ) {
       	PD_ck_name2474470 += ( PDV_version2474470 > 0 ? '.' + PDV_version2474470 : '' );
    }    
    if (Get_Cookie2474470(PD_ck_name2474470) == 'true') {
        PD_ck2474470 = 1;
    }

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

    if (PDV_POLLRAND2474470) {
        AA2474470 = PDV_rand2474470(AA2474470);
    }
    y2474470 = '';
    for (x2474470 = 0; x2474470 < AA2474470.length; x2474470++) {
        y2474470 = y2474470 + AA2474470[x2474470];
    }
    document.getElementById('pds-answer2474470').innerHTML = y2474470;
	share2474470();
}
function Set_Cookie2474470(name, value, expires, path, domain, secure)
 {
    var today = new Date();
    today.setTime(today.getTime());
    if(typeof(PDV_expire2474470) !== 'undefined') {
    	expires = parseInt( PDV_expire2474470 );
    }
    if (expires>0) {
        expires = expires * 1000;
    } else{
    	expires = 60 * 60 * 24 * 30 * 1000;
    }
    
    expires = today.getTime() + (expires);
    var expires_date = new Date(expires);

    document.cookie = name + "=" + escape(expires) +
    ((expires) ? ";expires=" + expires_date.toGMTString() : "") +
    ((path) ? ";path=" + path: "") +
    ((domain) ? ";domain=" + domain: "") +
    ((secure) ? ";secure": "");
}

function Get_Cookie2474470(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, ''));
            }
            if( cookie_value == 'true' )
            {
            	return cookie_value;
            }
            else
			{
				var today = new Date();
   			 	cookie_value = parseInt( cookie_value );
   			 	if( cookie_value > today.getTime() )
				{
					return 'true';
				}
			}
            break;
        }
        a_temp_cookie = null;
        cookie_name = '';
    }
    if (!b_cookie_found)
    {
        return null;
    }
}

if (pollClosed2474470 == false) {
    PDV_go2474470();
}


function share2474470()
{
	if( typeof PDV_share2474470 != "undefined") {
		if (PDV_share2474470 == 1 ) {
			a2a_linkname = 'Poll: ' + PDV_POLL_q2474470;
			a2a_linkurl = document.location + '#pd_a_2474470';
			a2a_track_links = 'custom';
			a2a_track_links_key = document.location + '#pd_a_2474470';
			a2a_onclick = 1;
			
	        var s = document.createElement("SCRIPT");
	        s.charset = "utf-8";
	        s.src = protocol + "//static.addtoany.com/menu/page.js";
	        var h = document.getElementsByTagName("head").item(0);
	        h.appendChild(s);
		}
	}
}

function unescape_HTML_2474470(html) {
	var htmlNode = document.createElement("DIV");
	
	htmlNode.innerHTML = html;
	
	if(htmlNode.innerText !== undefined)
		return htmlNode.innerText; // IE
	
	return htmlNode.textContent; // FF
}

if (pollClosed2474470 == true) {
	share2474470();
}

function is_secure() {
	return "https:" == document.location.protocol ? true: false;
}
