var pollClosed1616753 = true;if(!document.getElementById('poll_style1616753'))
    {
    fileref=document.createElement("style");
    fileref.setAttribute("type", "text/css");
    fileref.setAttribute("id", "poll_style1616753");
    var def = '#PDI_container1616753 .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_container1616753  .pds-box-outer{ background:url(http://i.polldaddy.com/polls/pdb00-bottom-right.gif) no-repeat right bottom} #PDI_container1616753 .pds-box-inner{ background:url(http://i.polldaddy.com/polls/pdb00-top-left.gif) no-repeat left top} #PDI_container1616753  .pds-box-top{ background:url(http://i.polldaddy.com/polls/pdb00-top-right.gif) no-repeat right top;padding:20px 20px 20px 20px} #PDI_container1616753  .pds-question{ background:url(http://i.polldaddy.com/polls/pdq00-bottom-left.gif) no-repeat left bottom} #PDI_container1616753  .pds-question-outer{ background:url(http://i.polldaddy.com/polls/pdq00-bottom-right.gif) no-repeat right bottom;padding-bottom:15px} #PDI_container1616753 .pds-question-inner{ background:url(http://i.polldaddy.com/polls/pdq00-top-left.gif) no-repeat left top} #PDI_container1616753  .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_container1616753  .pds-answer{ font-size:10px;color:#fff;padding:10px 20px 15px 20px} #PDI_container1616753  .pds-answer label{} #PDI_container1616753 .pds-radiobutton{} #PDI_container1616753  .pds-checkbox{} #PDI_container1616753  .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_container1616753  .pds-answer-feedback{ background-color:#666;padding:0px 0px 0px 0px;height:18px;margin:2px 0px 5px 0px} #PDI_container1616753  .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_container1616753 .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_container1616753 .pds-vote{ font-size:9px;color:#c3C4c7;line-height:17px;padding:0px 20px 10px 20px} #PDI_container1616753  .pds-votebutton-outer{ height:61px} #PDI_container1616753 .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_container1616753  input.pds-votebutton{ width:61px;height:61px;background:url(http://i.polldaddy.com/polls/pd00-votebutton.gif) no-repeat;outline:none;float:right} #PDI_container1616753 input.pds-votebutton:hover{ background:url(http://i.polldaddy.com/polls/pd00-votebutton.gif) no-repeat 0 -60px} #PDI_container1616753 input.pds-votebutton-pack{ float:right;font-size:10px} #PDI_container1616753 .pds-totalvotes-outer{} #PDI_container1616753  .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}';
    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_container1616753')){document.write('<a xmlns:pd="http://api.polldaddy.com/pdapi.xsd" name="pd_a_1616753"></a><div xmlns:pd="http://api.polldaddy.com/pdapi.xsd" class="PDS_Poll" id="PDI_container1616753"></div>');};document.getElementById('PDI_container1616753').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">Why do you think California horse racing is in a decline? (Poll Closed)</div></div></div></div><div class="pds-answer"><label for="PDI_feedback1">Lack of leadership 15% (6 votes)</label><div class="pds-answer-feedback" id="PDI_feedback1"><img src="http://s3.polldaddy.com/images/spacer.gif" alt="feedback bar" class="pds-answer-feedback-bar" width="15%"></div><label for="PDI_feedback2">Synthetic race tracks 5% (2 votes)</label><div class="pds-answer-feedback" id="PDI_feedback2"><img src="http://s3.polldaddy.com/images/spacer.gif" alt="feedback bar" class="pds-answer-feedback-bar" width="5%"></div><label for="PDI_feedback3">Oversaturation of racing 7% (3 votes)</label><div class="pds-answer-feedback" id="PDI_feedback3"><img src="http://s3.polldaddy.com/images/spacer.gif" alt="feedback bar" class="pds-answer-feedback-bar" width="7%"></div><label for="PDI_feedback4">No slot machines 34% (14 votes)</label><div class="pds-answer-feedback" id="PDI_feedback4"><img src="http://s3.polldaddy.com/images/spacer.gif" alt="feedback bar" class="pds-answer-feedback-bar" width="34%"></div><label for="PDI_feedback5">All of the above 22% (9 votes)</label><div class="pds-answer-feedback" id="PDI_feedback5"><img src="http://s3.polldaddy.com/images/spacer.gif" alt="feedback bar" class="pds-answer-feedback-bar" width="22%"></div><label for="PDI_feedback6">Other 17% (7 votes)</label><div class="pds-answer-feedback" id="PDI_feedback6"><img src="http://s3.polldaddy.com/images/spacer.gif" alt="feedback bar" class="pds-answer-feedback-bar" width="17%"></div></div><div class="pds-vote"><div class="pds-totalvotes-outer"><div class="pds-totalvotes-inner">Total Votes: 41</div><div style="float:left;"><a target="_blank" href="http://answers.polldaddy.com/poll/1616753/?view=results">Comments (0)</a><br><br><a href="http://www.polldaddy.com" target="_blank">PollDaddy.com</a></div><p style="clear:both;"></p></div></div></div></div></div></div>';

//v3.2 30/Aug/11
var protocol=document.location.protocol=="https:"?"https:":"http:";var a2a_track_pub="polldaddy";var a2a_no_3p=1;var PD_ck1616753=0;var PD_ck_name1616753="PD_poll_"+PDV_id1616753;var PDV_n1616753="";var PDV_nurl1616753=protocol+"//polldaddy.com/n/"+(typeof PDV_h1616753!=="undefined"?PDV_h1616753:PDV_id1616753)+"/"+PDV_id1616753+(PDV_w1616753!=PDV_id1616753?"/"+PDV_w1616753:"");function _$(a){return document.getElementById(a)}function is_secure(){return"https:"==document.location.protocol?true:false}function getHead(){return document.getElementsByTagName("head").item(0)}if(pollClosed1616753==false){var PDV_server1616753=protocol+"//polls.polldaddy.com";var AA1616753=new Array();var PDV_html1616753='<div style="margin-bottom: 0px; margin-top: 0px;" name="PDI_form1616753" id="PDI_form1616753"><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_medID1616753+" "+unescape_HTML_1616753(PDV_POLL_q1616753)+'</div></div></div></div><div class="pds-answer"><span id="pds-answer1616753"></span>';if(PDV_po1616753==1){PDV_html1616753+='<span class="pds-answer-group">';if(PDV_pt1616753==0){PDV_html1616753+='<span class="pds-answer-input"><input type="radio" name="PDI_answer1616753" id="PDI_answerOther1616753" value="other" class="pds-radiobutton"/></span>'}PDV_html1616753+='<label for="PDI_answerOther1616753" class="pds-other-label"><span class="pds-answer-span">'+PDV_l2_1616753+'</span></label><span class="pds-answer-other"><br/><input class="pds-textfield" type="text" maxlength="80" id="PDI_OtherText1616753" name="PDI_OtherText1616753" onclick="PDF_checkOther1616753();" onchange="PDF_checkOther1616753(true);" /></span>';PDV_html1616753+='<span class="pds-clear"></span>';PDV_html1616753+="</span>"}PDV_html1616753+='</div><div class="pds-vote"><div class="pds-votebutton-outer">';if(PDV_l3_1616753==""){PDV_l3_1616753="Vote"}if(PDV_s1616753<99||PDV_def1616753.indexOf("input.pds-votebutton")!=-1){if(PDV_l3_1616753=="Vote"||PDV_l3_1616753==""){PDV_html1616753+='<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_prevote1616753(0);">'}else{PDV_html1616753+='<input type="button" class="pds-votebutton-pack" value="'+PDV_l3_1616753+'" onclick="PD_prevote1616753(0);" />'}}else{PDV_html1616753+='<a href="javascript:PD_prevote1616753(0);" id="pd-vote-button1616753" class="pds-vote-button"><span>'+PDV_l3_1616753+"</span></a>"}PDV_html1616753+='<span class="pds-links">';if(PDV_pr1616753==2){PDV_html1616753+="<br/>"}else{PDV_html1616753+='<a href="javascript:PD_vote1616753(1);" class="pds-view-results">'+PDV_l1_1616753+"</a><br/>"}if(typeof PDV_share1616753!="undefined"){if(PDV_share1616753==1){PDV_html1616753+='<a class="a2a_dd pds-share"  href="javascript:">'+PDV_l12_1616753+"</a>"}}if(PDV_lnk1616753==1){PDV_html1616753+='<a href="'+protocol+'//polldaddy.com/signup-free/?ad=poll-front" target="_blank" class="pds-pd-link">Polldaddy.com</a>'}PDV_html1616753+='<span class="pds-clear"></span>';PDV_html1616753+='</span><span class="pds-clear"></span>';PDV_html1616753+="</div></div></div></div></div></div></div>";for(PDV_x=0;PDV_x<PDV_A1616753.length;PDV_x++){if(PDV_pt1616753==0){AA1616753[PDV_x]='<span class="pds-answer-group"><span class="pds-answer-input"><input class="pds-radiobutton" type="radio" id="PDI_answer'+PDV_A1616753[PDV_x][0]+'" value="'+PDV_A1616753[PDV_x][0]+'" name="PDI_answer1616753" /></span><label for="PDI_answer'+PDV_A1616753[PDV_x][0]+'" class="pds-input-label"><span class="pds-answer-span">'+unescape_HTML_1616753(PDV_A1616753[PDV_x][1])+"</span></label>"+PDV_A1616753[PDV_x][3]+'<span class="pds-clear"></span><br/></span>'}else{AA1616753[PDV_x]='<span class="pds-answer-group"><span class="pds-answer-input"><input class="pds-checkbox" type="checkbox" id="PDI_answer'+PDV_A1616753[PDV_x][0]+'" value="'+PDV_A1616753[PDV_x][0]+'" name="PDI_answer'+PDV_A1616753[PDV_x][0]+'" onclick="javascript:PDF_mc1616753(this);" /></span><label for="PDI_answer'+PDV_A1616753[PDV_x][0]+'" class="pds-input-label"><span class="pds-answer-span">'+unescape_HTML_1616753(PDV_A1616753[PDV_x][1])+"</span></label>"+PDV_A1616753[PDV_x][3]+'<span class="pds-clear"></span><br/></span>'}}}function PDF_mc1616753(c){if(PDV_pt1616753>1){var a=0;for(i=0;i<AA1616753.length;i++){r=_$(AA1616753[i].substring(AA1616753[i].indexOf("id=")+4,AA1616753[i].indexOf('"',AA1616753[i].indexOf("id=")+4)));if(r.type=="checkbox"&&r.checked){a+=1}}if(PDV_po1616753==1){var b=_$("PDI_OtherText1616753").value;if(b.length>0){a+=1}}if(a>PDV_pt1616753){c.checked=false;c.disabled=true}if(a>=PDV_pt1616753){for(i=0;i<AA1616753.length;i++){r=_$(AA1616753[i].substring(AA1616753[i].indexOf("id=")+4,AA1616753[i].indexOf('"',AA1616753[i].indexOf("id=")+4)));if(r.type=="checkbox"&&!r.checked){r.disabled=true}}}else{if(PDV_po1616753==1){_$("PDI_OtherText1616753").disabled=false}for(i=0;i<AA1616753.length;i++){r=_$(AA1616753[i].substring(AA1616753[i].indexOf("id=")+4,AA1616753[i].indexOf('"',AA1616753[i].indexOf("id=")+4)));if(r.type=="checkbox"&&!r.checked){r.disabled=false}}}}}function PDF_a1616753(){PDF_o1616753();var b;if(PDV_pt1616753==0){for(var a=0;a<AA1616753.length;a++){b=_$(AA1616753[a].substring(AA1616753[a].indexOf("id=")+4,AA1616753[a].indexOf('"',AA1616753[a].indexOf("id=")+4)));if(b.checked){return b.value+","}}b=_$("PDI_answerOther1616753");if(b){if(b.checked){return b.value+","}else{return""}}else{return""}}else{for(a=0;a<AA1616753.length;a++){b=_$(AA1616753[a].substring(AA1616753[a].indexOf("id=")+4,AA1616753[a].indexOf('"',AA1616753[a].indexOf("id=")+4)));if(b.type=="checkbox"&&b.checked){PDV_a1616753=PDV_a1616753+b.value+","}}return PDV_a1616753}}function PDF_o1616753(a){if(PDV_po1616753==1){PDV_o1616753=_$("PDI_OtherText1616753").value}}function PDF_checkOther1616753(a){var d=false;if(a){var c=_$("PDI_OtherText1616753").value;if(c.length==0){d=true}}if(PDV_pt1616753==0){if(a&&d){_$("PDI_answerOther1616753").checked=false}else{_$("PDI_answerOther1616753").checked=true}}else{if(PDV_pt1616753>1){var b=1;obj=_$("PDI_OtherText1616753");if(a&&d){b=0}for(i=0;i<AA1616753.length;i++){r=_$(AA1616753[i].substring(AA1616753[i].indexOf("id=")+4,AA1616753[i].indexOf('"',AA1616753[i].indexOf("id=")+4)));if(r.type=="checkbox"&&r.checked){b+=1}}if(b>PDV_pt1616753){obj.disabled=true;obj.value="";for(i=0;i<AA1616753.length;i++){r=_$(AA1616753[i].substring(AA1616753[i].indexOf("id=")+4,AA1616753[i].indexOf('"',AA1616753[i].indexOf("id=")+4)));if(r.type=="checkbox"&&!r.checked){r.disabled=true}}}else{if(b<PDV_pt1616753){obj.disabled=false;for(i=0;i<AA1616753.length;i++){r=_$(AA1616753[i].substring(AA1616753[i].indexOf("id=")+4,AA1616753[i].indexOf('"',AA1616753[i].indexOf("id=")+4)));if(r.type=="checkbox"&&!r.checked){r.disabled=false}}}}}}}function PD_prevote1616753(){if(PDV_def1616753.indexOf("input.pds-votebutton")==-1){_$("pd-vote-button1616753").className="pds-vote-button-load"}var a=document.createElement("SCRIPT");a.charset="utf-8";a.src=PDV_nurl1616753+"?"+(new Date).getTime();getHead().appendChild(a)}function PD_vote1616753(b){var d=PDF_getTags1616753();var c=PDV_server1616753+"/vote-js.php?p="+PDV_id1616753+(PDV_w1616753!=PDV_id1616753?"&w="+PDV_w1616753:"");var e=false;if(b!=1){PDV_a1616753="";PDV_a1616753=PDF_a1616753(_$("PDI_form1616753"));if(PDV_a1616753.length==0&&PDV_o1616753.length==0){e=true;alert(PDV_l4_1616753);if(PDV_def1616753.indexOf("input.pds-votebutton")==-1){_$("pd-vote-button1616753").className="pds-vote-button"}}else{if(PDV_b1616753>0){if(PDF_getCookie1616753(PD_ck_name1616753)=="true"){PD_ck1616753=1}else{PDF_setCookie1616753(PD_ck_name1616753)}}c+="&b="+PDV_b1616753+"&a="+PDV_a1616753+"&o="+PDF_urlEncode1616753(PDV_o1616753)+"&va="+PDV_va1616753+"&cookie="+PD_ck1616753+"&url="+escape(location.href)+(d.length>0?"&tags="+d:"")+(PDV_n1616753.length>0?"&n="+PDV_n1616753:"")}}if(!e){var a=document.createElement("SCRIPT");a.charset="utf-8";a.src=c;getHead().appendChild(a)}}function PDF_getTags1616753(){if(typeof pd_tags=="undefined"){return""}var a="";for(var b in pd_tags){a+=PDF_urlEncode1616753(b)+":"+PDF_urlEncode1616753(pd_tags[b])+";"}return a.slice(0,-1)}function PDF_urlEncode1616753(a){return encodeURIComponent(a).replace(/\%20/g,"+").replace(/!/g,"%21").replace(/'/g,"%27").replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/\*/g,"%2A").replace(/\~/g,"%7E")}function PDF_rand1616753(a){var e=a.length;if(e==0){return false}while(--e){var d=Math.floor(Math.random()*(e+1));var c=a[e];var b=a[d];a[e]=b;a[d]=c}return a}function PDF_loadStyleSheet1616753(){var a=document.createElement("style");a.setAttribute("type","text/css");a.setAttribute("id","poll_style1616753");if(a.styleSheet){a.styleSheet.cssText=PDV_def1616753}else{a.appendChild(document.createTextNode(PDV_def1616753))}getHead().appendChild(a)}function PDV_go1616753(){if(is_secure()){PDV_def1616753=PDV_def1616753.replace(/http:\/\/i.polldaddy/g,"https://polldaddy");PDV_def1616753=PDV_def1616753.replace(/http:\/\/s3.wordpress/g,"https://s-ssl.wordpress")}if(!_$("poll_style1616753")){PDF_loadStyleSheet1616753()}if(typeof load_audioLibrary_1616753=="function"&&typeof PDV_audio_1616753!=="undefined"&&PDV_audio_1616753>0){load_audioLibrary_1616753()}if(!_$("PDI_container1616753")){document.write('<a name="pd_a_1616753" style="display: inline; padding: 0px; margin: 0px;"></a><div class="PDS_Poll" id="PDI_container1616753"></div>')}if(typeof supercookie!=="undefined"&&typeof sc!=="object"){sc=new supercookie()}PDV_html1616753+='<img src="'+(is_secure()?"https://secure":"http://pixel")+'.quantserve.com/pixel?a.1=p-18-mFEk4J448M&amp;a.2=p-ab3gTb8xb3dLg&labels.1=type.polldaddy.poll" style="display: none;" border="0" height="1" width="1" alt="Quantcast"/>';_$("PDI_container1616753").innerHTML=PDV_html1616753;if(PDV_POLLRAND1616753){AA1616753=PDF_rand1616753(AA1616753)}y1616753="";for(x1616753=0;x1616753<AA1616753.length;x1616753++){y1616753=y1616753+AA1616753[x1616753]}_$("pds-answer1616753").innerHTML=y1616753;share1616753()}function PDF_setCookie1616753(f){var c="/";var o="";var b="";var d=0;if(typeof(PDV_expire1616753)!=="undefined"){d=parseInt(PDV_expire1616753)}if(d>0){d=d*1000}else{d=60*60*24*30*1000}var e=new Date();e.setTime(e.getTime());d=e.getTime()+(d);var a=new Date(d);if(typeof PDV_version1616753!=="undefined"){f+=(PDV_version1616753>0?"_"+PDV_version1616753:"")}PDF_log1616753("Cookie Name: "+f);if(typeof sc=="object"&&typeof sc.set=="function"){PDF_log1616753("SET supercookie");sc.set(f,escape(d))}else{PDF_log1616753("SET standard cookie");document.cookie=f+"="+escape(d)+((d)?";expires="+a.toGMTString():"")+((c)?";path="+c:"")+((o)?";domain="+o:"")+((b)?";secure":"")}}function PDF_getCookie1616753(f){var a="";var b="";var c="";if(typeof PDV_version1616753!=="undefined"){f+=(PDV_version1616753>0?"_"+PDV_version1616753:"")}PDF_log1616753("Cookie Name: "+f);if(typeof sc=="object"&&typeof sc.get=="function"){PDF_log1616753("GET supercookie");c=sc.get(f)}else{PDF_log1616753("GET standard cookie");var d=document.cookie.split(";");for(i=0;i<d.length;i++){a=d[i].split("=");b=a[0].replace(/^\s+|\s+$/g,"");if(b==f){if(a.length>1){c=unescape(a[1].replace(/^\s+|\s+$/g,""))}break}a=null;b=""}}PDF_log1616753("Cookie Value: "+c);if(c=="true"){return c}else{var e=new Date();c=parseInt(c);PDF_log1616753("Time: "+e.getTime());if(c>e.getTime()){return"true"}}return null}function PDF_callback1616753(){if(typeof pd_callback=="function"){pd_callback()}else{if(typeof pd_callback_1616753=="function"){pd_callback_1616753()}}}function share1616753(){if(typeof PDV_share1616753!="undefined"){if(PDV_share1616753==1){a2a_linkname="Poll: "+PDV_POLL_q1616753;a2a_linkurl=document.location+"#pd_a_1616753";a2a_track_links="custom";a2a_track_links_key=document.location+"#pd_a_1616753";a2a_onclick=1;var a=document.createElement("SCRIPT");a.charset="utf-8";a.src=protocol+"//static.addtoany.com/menu/page.js";getHead().appendChild(a)}}}function unescape_HTML_1616753(a){var b=document.createElement("DIV");b.innerHTML=a;if(b.innerText!==undefined){return b.innerText}return b.textContent}function PDF_log1616753(a){if(typeof(_debug)!=="undefined"&&_debug){if(typeof(console)!=="undefined"&&console!=null){console.log(a)}}}if(pollClosed1616753==false){PDV_go1616753()}else{share1616753()};
