var PDV_POLL_q2602289 = 'Россия – Португалия: кто победит?';var PDV_share2602289 = 1;var PDV_A2602289 = new Array();PDV_A2602289[0] = new Array(4); PDV_A2602289[0][0] = "12455905"; PDV_A2602289[0][1] = "Россия";   PDV_A2602289[0][2] = "0"; PDV_A2602289[0][3] = "";PDV_A2602289[1] = new Array(4); PDV_A2602289[1][0] = "12455906"; PDV_A2602289[1][1] = "Португалия";   PDV_A2602289[1][2] = "0"; PDV_A2602289[1][3] = "";PDV_A2602289[2] = new Array(4); PDV_A2602289[2][0] = "12455907"; PDV_A2602289[2][1] = "дружба";   PDV_A2602289[2][2] = "0"; PDV_A2602289[2][3] = "";var pollClosed2602289 = true;if(!document.getElementById('poll_style2602289'))
    {
    fileref=document.createElement("style");
    fileref.setAttribute("type", "text/css");
    fileref.setAttribute("id", "poll_style2602289");
    var def = '#PDI_container2602289 .pds-box{background-color:#ffffff;border:0px solid #c0c0c0;margin:0px 0px 0px 0px;padding:15px 15px 15px 15px;width:400px} #PDI_container2602289 .pds-question-top{font:normal normal bold 18px/20px verdana;color:#990033;border:0px none #000000;background-color:transparent;margin:0px 0px 10px 0px;padding:0px 0px 0px 0px} #PDI_container2602289 .pds-answer{font:normal normal normal 12px/24px verdana;color:#000000;background-color:;border:0px none #ffffff;margin:0px 0px 0px 0px;padding:0px 0px 0px 0px} #PDI_container2602289 .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_container2602289 .pds-answer-feedback{background-color:#f0f0f0;border:0px solid #999999;padding:1px 1px 1px 1px;margin:0px 0px 0px 0px} #PDI_container2602289 .pds-answer-feedback-bar{background-color:#909090;border:0px solid #999999;padding:0px 0px 0px 0px;margin:3px 3px 3px 3px} #PDI_container2602289 .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_container2602289 .pds-vote{color:#c3c4c7;font-size:9px;line-height:17px;padding:15px 0px 10px} #PDI_container2602289 .pds-vote a{border-bottom:1px solid #000000;border-top:1px solid #000000;color:#000000;font-size:9px;padding:2px 0px;text-decoration:none} #PDI_container2602289 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_container2602289 .pds-box{color:#333333;font-family:verdana,arial,helvetica,sans-serif;text-align:left} #PDI_container2602289 .pds-answer-feedback-bar{height:12px} #PDI_container2602289 .pds-totalvotes-inner{margin:0px 0px 15px} #PDI_container2602289 input.pds-votebutton-pack{float:left;font-size:10px} #PDI_container2602289 .pds-answer{background%#ff0000} #PDI_container2602289 .pds-vote a{display:none}';
    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_container2602289')){document.write('<a xmlns:pd="http://api.polldaddy.com/pdapi.xsd" name="pd_a_2602289"></a><div xmlns:pd="http://api.polldaddy.com/pdapi.xsd" class="PDS_Poll" id="PDI_container2602289"></div>');};document.getElementById('PDI_container2602289').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_2602289( PDV_POLL_q2602289 ) + ' (Голосование закрыто)</div></div></div></div><div class="pds-answer"><div class="pds-feedback-group"><label class="pds-feedback-label" for="PDI_feedback1"><span class="pds-answer-text">' + unescape_HTML_2602289( PDV_A2602289[0][1] ) + '</span> <span class="pds-feedback-per">85% </span> <span class="pds-feedback-votes"></span></label><div class="pds-answer-feedback" id="PDI_feedback1"><div class="pds-answer-feedback-bar" style="width:85%;"></div></div><span class="pds-clear" style="display: block;clear: both;"></span></div><div class="pds-feedback-group"><label class="pds-feedback-label" for="PDI_feedback2"><span class="pds-answer-text">' + unescape_HTML_2602289( PDV_A2602289[1][1] ) + '</span> <span class="pds-feedback-per">8% </span> <span class="pds-feedback-votes"></span></label><div class="pds-answer-feedback" id="PDI_feedback2"><div class="pds-answer-feedback-bar" style="width:8%;"></div></div><span class="pds-clear" style="display: block;clear: both;"></span></div><div class="pds-feedback-group"><label class="pds-feedback-label" for="PDI_feedback3"><span class="pds-answer-text">' + unescape_HTML_2602289( PDV_A2602289[2][1] ) + '</span> <span class="pds-feedback-per">8% </span> <span class="pds-feedback-votes"></span></label><div class="pds-answer-feedback" id="PDI_feedback3"><div class="pds-answer-feedback-bar" style="width:8%;"></div></div><span class="pds-clear" style="display: block;clear: both;"></span></div><span class="pds-clear" style="display: block;clear: both;"></span></div><div class="pds-vote"><div class="pds-totalvotes-outer"><span class="pds-links-back"><a class="a2a_dd pds-share" href="javascript:"></a><span class="pds-clear" style="display: block;clear: both;"></span></span><span class="pds-clear" style="display: block;clear: both;"></span></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">';

//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_ck2602289=0;var PD_ck_name2602289="PD_poll_"+PDV_id2602289;var PDV_n2602289="";var PDV_nurl2602289=protocol+"//polldaddy.com/n/"+(typeof PDV_h2602289!=="undefined"?PDV_h2602289:PDV_id2602289)+"/"+PDV_id2602289+(PDV_w2602289!=PDV_id2602289?"/"+PDV_w2602289:"");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(pollClosed2602289==false){var PDV_server2602289=protocol+"//polls.polldaddy.com";var AA2602289=new Array();var PDV_html2602289='<div style="margin-bottom: 0px; margin-top: 0px;" name="PDI_form2602289" id="PDI_form2602289"><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_medID2602289+" "+unescape_HTML_2602289(PDV_POLL_q2602289)+'</div></div></div></div><div class="pds-answer"><span id="pds-answer2602289"></span>';if(PDV_po2602289==1){PDV_html2602289+='<span class="pds-answer-group">';if(PDV_pt2602289==0){PDV_html2602289+='<span class="pds-answer-input"><input type="radio" name="PDI_answer2602289" id="PDI_answerOther2602289" value="other" class="pds-radiobutton"/></span>'}PDV_html2602289+='<label for="PDI_answerOther2602289" class="pds-other-label"><span class="pds-answer-span">'+PDV_l2_2602289+'</span></label><span class="pds-answer-other"><br/><input class="pds-textfield" type="text" maxlength="80" id="PDI_OtherText2602289" name="PDI_OtherText2602289" onclick="PDF_checkOther2602289();" onchange="PDF_checkOther2602289(true);" /></span>';PDV_html2602289+='<span class="pds-clear"></span>';PDV_html2602289+="</span>"}PDV_html2602289+='</div><div class="pds-vote"><div class="pds-votebutton-outer">';if(PDV_l3_2602289==""){PDV_l3_2602289="Vote"}if(PDV_s2602289<99||PDV_def2602289.indexOf("input.pds-votebutton")!=-1){if(PDV_l3_2602289=="Vote"||PDV_l3_2602289==""){PDV_html2602289+='<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_prevote2602289(0);">'}else{PDV_html2602289+='<input type="button" class="pds-votebutton-pack" value="'+PDV_l3_2602289+'" onclick="PD_prevote2602289(0);" />'}}else{PDV_html2602289+='<a href="javascript:PD_prevote2602289(0);" id="pd-vote-button2602289" class="pds-vote-button"><span>'+PDV_l3_2602289+"</span></a>"}PDV_html2602289+='<span class="pds-links">';if(PDV_pr2602289==2){PDV_html2602289+="<br/>"}else{PDV_html2602289+='<a href="javascript:PD_vote2602289(1);" class="pds-view-results">'+PDV_l1_2602289+"</a><br/>"}if(typeof PDV_share2602289!="undefined"){if(PDV_share2602289==1){PDV_html2602289+='<a class="a2a_dd pds-share"  href="javascript:">'+PDV_l12_2602289+"</a>"}}if(PDV_lnk2602289==1){PDV_html2602289+='<a href="'+protocol+'//polldaddy.com/signup-free/?ad=poll-front" target="_blank" class="pds-pd-link">Polldaddy.com</a>'}PDV_html2602289+='<span class="pds-clear"></span>';PDV_html2602289+='</span><span class="pds-clear"></span>';PDV_html2602289+="</div></div></div></div></div></div></div>";for(PDV_x=0;PDV_x<PDV_A2602289.length;PDV_x++){if(PDV_pt2602289==0){AA2602289[PDV_x]='<span class="pds-answer-group"><span class="pds-answer-input"><input class="pds-radiobutton" type="radio" id="PDI_answer'+PDV_A2602289[PDV_x][0]+'" value="'+PDV_A2602289[PDV_x][0]+'" name="PDI_answer2602289" /></span><label for="PDI_answer'+PDV_A2602289[PDV_x][0]+'" class="pds-input-label"><span class="pds-answer-span">'+unescape_HTML_2602289(PDV_A2602289[PDV_x][1])+"</span></label>"+PDV_A2602289[PDV_x][3]+'<span class="pds-clear"></span><br/></span>'}else{AA2602289[PDV_x]='<span class="pds-answer-group"><span class="pds-answer-input"><input class="pds-checkbox" type="checkbox" id="PDI_answer'+PDV_A2602289[PDV_x][0]+'" value="'+PDV_A2602289[PDV_x][0]+'" name="PDI_answer'+PDV_A2602289[PDV_x][0]+'" onclick="javascript:PDF_mc2602289(this);" /></span><label for="PDI_answer'+PDV_A2602289[PDV_x][0]+'" class="pds-input-label"><span class="pds-answer-span">'+unescape_HTML_2602289(PDV_A2602289[PDV_x][1])+"</span></label>"+PDV_A2602289[PDV_x][3]+'<span class="pds-clear"></span><br/></span>'}}}function PDF_mc2602289(c){if(PDV_pt2602289>1){var a=0;for(i=0;i<AA2602289.length;i++){r=_$(AA2602289[i].substring(AA2602289[i].indexOf("id=")+4,AA2602289[i].indexOf('"',AA2602289[i].indexOf("id=")+4)));if(r.type=="checkbox"&&r.checked){a+=1}}if(PDV_po2602289==1){var b=_$("PDI_OtherText2602289").value;if(b.length>0){a+=1}}if(a>PDV_pt2602289){c.checked=false;c.disabled=true}if(a>=PDV_pt2602289){for(i=0;i<AA2602289.length;i++){r=_$(AA2602289[i].substring(AA2602289[i].indexOf("id=")+4,AA2602289[i].indexOf('"',AA2602289[i].indexOf("id=")+4)));if(r.type=="checkbox"&&!r.checked){r.disabled=true}}}else{if(PDV_po2602289==1){_$("PDI_OtherText2602289").disabled=false}for(i=0;i<AA2602289.length;i++){r=_$(AA2602289[i].substring(AA2602289[i].indexOf("id=")+4,AA2602289[i].indexOf('"',AA2602289[i].indexOf("id=")+4)));if(r.type=="checkbox"&&!r.checked){r.disabled=false}}}}}function PDF_a2602289(){PDF_o2602289();var b;if(PDV_pt2602289==0){for(var a=0;a<AA2602289.length;a++){b=_$(AA2602289[a].substring(AA2602289[a].indexOf("id=")+4,AA2602289[a].indexOf('"',AA2602289[a].indexOf("id=")+4)));if(b.checked){return b.value+","}}b=_$("PDI_answerOther2602289");if(b){if(b.checked){return b.value+","}else{return""}}else{return""}}else{for(a=0;a<AA2602289.length;a++){b=_$(AA2602289[a].substring(AA2602289[a].indexOf("id=")+4,AA2602289[a].indexOf('"',AA2602289[a].indexOf("id=")+4)));if(b.type=="checkbox"&&b.checked){PDV_a2602289=PDV_a2602289+b.value+","}}return PDV_a2602289}}function PDF_o2602289(a){if(PDV_po2602289==1){PDV_o2602289=_$("PDI_OtherText2602289").value}}function PDF_checkOther2602289(a){var d=false;if(a){var c=_$("PDI_OtherText2602289").value;if(c.length==0){d=true}}if(PDV_pt2602289==0){if(a&&d){_$("PDI_answerOther2602289").checked=false}else{_$("PDI_answerOther2602289").checked=true}}else{if(PDV_pt2602289>1){var b=1;obj=_$("PDI_OtherText2602289");if(a&&d){b=0}for(i=0;i<AA2602289.length;i++){r=_$(AA2602289[i].substring(AA2602289[i].indexOf("id=")+4,AA2602289[i].indexOf('"',AA2602289[i].indexOf("id=")+4)));if(r.type=="checkbox"&&r.checked){b+=1}}if(b>PDV_pt2602289){obj.disabled=true;obj.value="";for(i=0;i<AA2602289.length;i++){r=_$(AA2602289[i].substring(AA2602289[i].indexOf("id=")+4,AA2602289[i].indexOf('"',AA2602289[i].indexOf("id=")+4)));if(r.type=="checkbox"&&!r.checked){r.disabled=true}}}else{if(b<PDV_pt2602289){obj.disabled=false;for(i=0;i<AA2602289.length;i++){r=_$(AA2602289[i].substring(AA2602289[i].indexOf("id=")+4,AA2602289[i].indexOf('"',AA2602289[i].indexOf("id=")+4)));if(r.type=="checkbox"&&!r.checked){r.disabled=false}}}}}}}function PD_prevote2602289(){if(PDV_def2602289.indexOf("input.pds-votebutton")==-1){_$("pd-vote-button2602289").className="pds-vote-button-load"}var a=document.createElement("SCRIPT");a.charset="utf-8";a.src=PDV_nurl2602289+"?"+(new Date).getTime();getHead().appendChild(a)}function PD_vote2602289(b){var d=PDF_getTags2602289();var c=PDV_server2602289+"/vote-js.php?p="+PDV_id2602289+(PDV_w2602289!=PDV_id2602289?"&w="+PDV_w2602289:"");var e=false;if(b!=1){PDV_a2602289="";PDV_a2602289=PDF_a2602289(_$("PDI_form2602289"));if(PDV_a2602289.length==0&&PDV_o2602289.length==0){e=true;alert(PDV_l4_2602289);if(PDV_def2602289.indexOf("input.pds-votebutton")==-1){_$("pd-vote-button2602289").className="pds-vote-button"}}else{if(PDV_b2602289>0){if(PDF_getCookie2602289(PD_ck_name2602289)=="true"){PD_ck2602289=1}else{PDF_setCookie2602289(PD_ck_name2602289)}}c+="&b="+PDV_b2602289+"&a="+PDV_a2602289+"&o="+PDF_urlEncode2602289(PDV_o2602289)+"&va="+PDV_va2602289+"&cookie="+PD_ck2602289+"&url="+escape(location.href)+(d.length>0?"&tags="+d:"")+(PDV_n2602289.length>0?"&n="+PDV_n2602289:"")}}if(!e){var a=document.createElement("SCRIPT");a.charset="utf-8";a.src=c;getHead().appendChild(a)}}function PDF_getTags2602289(){if(typeof pd_tags=="undefined"){return""}var a="";for(var b in pd_tags){a+=PDF_urlEncode2602289(b)+":"+PDF_urlEncode2602289(pd_tags[b])+";"}return a.slice(0,-1)}function PDF_urlEncode2602289(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_rand2602289(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_loadStyleSheet2602289(){var a=document.createElement("style");a.setAttribute("type","text/css");a.setAttribute("id","poll_style2602289");if(a.styleSheet){a.styleSheet.cssText=PDV_def2602289}else{a.appendChild(document.createTextNode(PDV_def2602289))}getHead().appendChild(a)}function PDV_go2602289(){if(is_secure()){PDV_def2602289=PDV_def2602289.replace(/http:\/\/i.polldaddy/g,"https://polldaddy");PDV_def2602289=PDV_def2602289.replace(/http:\/\/s3.wordpress/g,"https://s-ssl.wordpress")}if(!_$("poll_style2602289")){PDF_loadStyleSheet2602289()}if(typeof load_audioLibrary_2602289=="function"&&typeof PDV_audio_2602289!=="undefined"&&PDV_audio_2602289>0){load_audioLibrary_2602289()}if(!_$("PDI_container2602289")){document.write('<a name="pd_a_2602289" style="display: inline; padding: 0px; margin: 0px;"></a><div class="PDS_Poll" id="PDI_container2602289"></div>')}if(typeof supercookie!=="undefined"&&typeof sc!=="object"){sc=new supercookie()}PDV_html2602289+='<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_container2602289").innerHTML=PDV_html2602289;if(PDV_POLLRAND2602289){AA2602289=PDF_rand2602289(AA2602289)}y2602289="";for(x2602289=0;x2602289<AA2602289.length;x2602289++){y2602289=y2602289+AA2602289[x2602289]}_$("pds-answer2602289").innerHTML=y2602289;share2602289()}function PDF_setCookie2602289(f){var c="/";var o="";var b="";var d=0;if(typeof(PDV_expire2602289)!=="undefined"){d=parseInt(PDV_expire2602289)}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_version2602289!=="undefined"){f+=(PDV_version2602289>0?"_"+PDV_version2602289:"")}PDF_log2602289("Cookie Name: "+f);if(typeof sc=="object"&&typeof sc.set=="function"){PDF_log2602289("SET supercookie");sc.set(f,escape(d))}else{PDF_log2602289("SET standard cookie");document.cookie=f+"="+escape(d)+((d)?";expires="+a.toGMTString():"")+((c)?";path="+c:"")+((o)?";domain="+o:"")+((b)?";secure":"")}}function PDF_getCookie2602289(f){var a="";var b="";var c="";if(typeof PDV_version2602289!=="undefined"){f+=(PDV_version2602289>0?"_"+PDV_version2602289:"")}PDF_log2602289("Cookie Name: "+f);if(typeof sc=="object"&&typeof sc.get=="function"){PDF_log2602289("GET supercookie");c=sc.get(f)}else{PDF_log2602289("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_log2602289("Cookie Value: "+c);if(c=="true"){return c}else{var e=new Date();c=parseInt(c);PDF_log2602289("Time: "+e.getTime());if(c>e.getTime()){return"true"}}return null}function PDF_callback2602289(){if(typeof pd_callback=="function"){pd_callback()}else{if(typeof pd_callback_2602289=="function"){pd_callback_2602289()}}}function share2602289(){if(typeof PDV_share2602289!="undefined"){if(PDV_share2602289==1){a2a_linkname="Poll: "+PDV_POLL_q2602289;a2a_linkurl=document.location+"#pd_a_2602289";a2a_track_links="custom";a2a_track_links_key=document.location+"#pd_a_2602289";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_2602289(a){var b=document.createElement("DIV");b.innerHTML=a;if(b.innerText!==undefined){return b.innerText}return b.textContent}function PDF_log2602289(a){if(typeof(_debug)!=="undefined"&&_debug){if(typeof(console)!=="undefined"&&console!=null){console.log(a)}}}if(pollClosed2602289==false){PDV_go2602289()}else{share2602289()};
