var pollClosed2297595 = false;
var PDV_POLLRAND2297595 = false;

var PDV_a2297595 = "";
var PDV_o2297595 = "";
var PDV_id2297595 = 2297595;
var PDV_pt2297595 = 0;
var PDV_po2297595 = 0;
var PDV_s2297595 = 108;
var PDV_b2297595 = 1;
var PDV_l2297595 = 0;
var PDV_pr2297595 = 1;
var PDV_w2297595 = 2297595;
var PDV_share2297595 = 1;
var PDV_expire2297595 = 7257600;

var PDV_sl2297595 = 1;
var PDV_va2297595 = 0;

var PDV_lnk2297595 = 1;



var PDV_def2297595 = '#PDI_container2297595 .pds-box{font-family: Helvetica, Arial, sans-serif;background: #222;border: 1px solid #313131;width: 300px;font-size: 12px;text-align: left;color: #eee;-webkit-border-radius: 12px;-moz-border-radius: 12px;border-radius: 12px;} #PDI_container2297595 .pds-box A{outline: none;} #PDI_container2297595 .pds-clear{display: block;clear: both;} #PDI_container2297595 .pds-box-outer{padding: 12px;} #PDI_container2297595 .pds-question-top{font-size:14px;line-height: 120%;color: #eee;font-weight: bold;padding: 5px 0px 15px 0px;position:relative;} #PDI_container2297595 .pds-answer{padding: 10px 0px 10px 0px;border-top: 1px solid #3f3f3f;border-bottom: 1px solid #3f3f3f;} #PDI_container2297595 .pds-answer label{color: #eee;font-size: 13px;line-height: 150%;position: relative;} #PDI_container2297595 .pds-answer-group{display: block;padding: 8px 0px 8px 0px;} #PDI_container2297595 .pds-answer-group BR{display: none;} #PDI_container2297595 .pds-answer-input{display: block;float:left;width: 25px;} #PDI_container2297595 .pds-input-label{display: block;float:left;width: 245px;cursor: pointer;} #PDI_container2297595 .pds-answer-other{padding: 0px 0px 0px 10px;} #PDI_container2297595 .pds-textfield{background: #eee;border: 1px solid #111;font-size: 12px;padding: 2px;width: 150px;color: #333;} #PDI_container2297595 .pds-answer-other BR{display: none;} #PDI_container2297595 .pds-other-label{display: block;float:left;cursor: pointer;} #PDI_container2297595 .pds-feedback-group{display: block;padding: 8px 0px 8px 0px;} #PDI_container2297595 .pds-feedback-label{display: block;padding: 0px 0px 5px 0px;} #PDI_container2297595 .pds-feedback-per{font-weight: bold;} #PDI_container2297595 .pds-feedback-votes{font-weight: normal;} #PDI_container2297595 .pds-answer-feedback {background-color: #444;border: 1px solid #111;position: relative;} #PDI_container2297595 .pds-answer-feedback-bar {font-size: 2px;background: #3478e3;height: 18px;} #PDI_container2297595 .pds-vote {padding: 10px 0px;} #PDI_container2297595 .pds-votebutton-outer {} #PDI_container2297595 .pds-vote BR{display: none;} #PDI_container2297595 .pds-vote-button {color: #eee;padding: 3px 25px;white-space: nowrap;background:#3b3b3b url(http://i.polldaddy.com/polls/black-but-bg.png) repeat-x scroll left top;-webkit-border-radius: 11px;-moz-border-radius:11px;border-radius: 11px;border: 1px solid #3b3b3b;cursor: pointer;font-size: 12px;font-family: \'Lucida Grande\',Verdana,Arial;text-decoration: none;line-height: 25px;font-weight: bold;white-space: nowrap;} #PDI_container2297595 .pds-vote-button:hover{border: 1px solid #666;} #PDI_container2297595 .pds-vote-button-load {color: #eee;padding: 3px 25px;white-space: nowrap;-webkit-border-radius: 11px;-moz-border-radius:11px;border-radius: 11px;cursor: pointer;font-size: 12px;font-family: \'Lucida Grande\',Verdana,Arial;text-decoration: none;line-height: 25px;font-weight: bold;white-space: nowrap;background:#3B3B3B url(http://i.polldaddy.com/polls/vote-loader-3b3b3b.gif) no-repeat scroll 50% 50%;border: 1px solid #666;} #PDI_container2297595 .pds-vote-button-load SPAN{visibility: hidden;} #PDI_container2297595 .pds-links {padding: 10px 0px 0px 0px;display: block;text-align: center;} #PDI_container2297595 .pds-links-back {padding: 10px 0px 0px 0px;display: block;text-align: center;} #PDI_container2297595 .pds-links A {font-family: Helvetica, Arial, sans-serif;font-size:12px;color: #eee;text-decoration: none;padding: 0px 4px 0px 4px;line-height: 24px;display: inline-block;font-weight: bold;} #PDI_container2297595 .pds-links-back A {font-family: Helvetica, Arial, sans-serif;font-size:12px;color: #eee;text-decoration: none;padding: 0px 4px 0px 4px;line-height: 24px;display: inline-block;font-weight: bold;} #PDI_container2297595 .pds-links A:hover {text-decoration: underline;} #PDI_container2297595 .pds-links-back A:hover {text-decoration: underline;} #PDI_container2297595 .pds-comments SPAN{font-weight: normal;} #PDI_container2297595 .pds-total-votes{padding: 10px 0px 0px 0px;position: relative;} #PDI_container2297595 .pds-total-votes SPAN{font-weight: bold;} #PDI_container2297595 div {margin:0;padding:0;}';

var PDV_POLL_q2297595 = 'Phần \"1.PHP là gì?\" dễ hiểu chứ ?'; var PDV_POLL_medType2297595 = '0'; var PDV_POLL_medID2297595 = '';
var PDV_A2297595 = new Array();


  PDV_A2297595[0] = new Array(4); PDV_A2297595[0][0] = "11205996"; PDV_A2297595[0][1] = "Dễ hiểu";   PDV_A2297595[0][2] = "0"; PDV_A2297595[0][3] = "";

  PDV_A2297595[1] = new Array(4); PDV_A2297595[1][0] = "11205997"; PDV_A2297595[1][1] = "Okie!";   PDV_A2297595[1][2] = "0"; PDV_A2297595[1][3] = "";

  PDV_A2297595[2] = new Array(4); PDV_A2297595[2][0] = "11205998"; PDV_A2297595[2][1] = "Chưa hiểu lắm :(";   PDV_A2297595[2][2] = "0"; PDV_A2297595[2][3] = "";


var PDV_l1_2297595 = 'View Results';
var PDV_l2_2297595 = 'Other:';
var PDV_l3_2297595  = '';

  
var PDV_l4_2297595 = 'Please choose an answer first!';

var PDV_l12_2297595  = 'Share This';

var PDV_l12_2297595 = 'Share This';


//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_ck2297595=0;var PD_ck_name2297595="PD_poll_"+PDV_id2297595;var PDV_n2297595="";var PDV_nurl2297595=protocol+"//polldaddy.com/n/"+(typeof PDV_h2297595!=="undefined"?PDV_h2297595:PDV_id2297595)+"/"+PDV_id2297595+(PDV_w2297595!=PDV_id2297595?"/"+PDV_w2297595:"");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(pollClosed2297595==false){var PDV_server2297595=protocol+"//polls.polldaddy.com";var AA2297595=new Array();var PDV_html2297595='<div style="margin-bottom: 0px; margin-top: 0px;" name="PDI_form2297595" id="PDI_form2297595"><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_medID2297595+" "+unescape_HTML_2297595(PDV_POLL_q2297595)+'</div></div></div></div><div class="pds-answer"><span id="pds-answer2297595"></span>';if(PDV_po2297595==1){PDV_html2297595+='<span class="pds-answer-group">';if(PDV_pt2297595==0){PDV_html2297595+='<span class="pds-answer-input"><input type="radio" name="PDI_answer2297595" id="PDI_answerOther2297595" value="other" class="pds-radiobutton"/></span>'}PDV_html2297595+='<label for="PDI_answerOther2297595" class="pds-other-label"><span class="pds-answer-span">'+PDV_l2_2297595+'</span></label><span class="pds-answer-other"><br/><input class="pds-textfield" type="text" maxlength="80" id="PDI_OtherText2297595" name="PDI_OtherText2297595" onclick="PDF_checkOther2297595();" onchange="PDF_checkOther2297595(true);" /></span>';PDV_html2297595+='<span class="pds-clear"></span>';PDV_html2297595+="</span>"}PDV_html2297595+='</div><div class="pds-vote"><div class="pds-votebutton-outer">';if(PDV_l3_2297595==""){PDV_l3_2297595="Vote"}if(PDV_s2297595<99||PDV_def2297595.indexOf("input.pds-votebutton")!=-1){if(PDV_l3_2297595=="Vote"||PDV_l3_2297595==""){PDV_html2297595+='<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_prevote2297595(0);">'}else{PDV_html2297595+='<input type="button" class="pds-votebutton-pack" value="'+PDV_l3_2297595+'" onclick="PD_prevote2297595(0);" />'}}else{PDV_html2297595+='<a href="javascript:PD_prevote2297595(0);" id="pd-vote-button2297595" class="pds-vote-button"><span>'+PDV_l3_2297595+"</span></a>"}PDV_html2297595+='<span class="pds-links">';if(PDV_pr2297595==2){PDV_html2297595+="<br/>"}else{PDV_html2297595+='<a href="javascript:PD_vote2297595(1);" class="pds-view-results">'+PDV_l1_2297595+"</a><br/>"}if(typeof PDV_share2297595!="undefined"){if(PDV_share2297595==1){PDV_html2297595+='<a class="a2a_dd pds-share"  href="javascript:">'+PDV_l12_2297595+"</a>"}}if(PDV_lnk2297595==1){PDV_html2297595+='<a href="'+protocol+'//polldaddy.com/signup-free/?ad=poll-front" target="_blank" class="pds-pd-link">Polldaddy.com</a>'}PDV_html2297595+='<span class="pds-clear"></span>';PDV_html2297595+='</span><span class="pds-clear"></span>';PDV_html2297595+="</div></div></div></div></div></div></div>";for(PDV_x=0;PDV_x<PDV_A2297595.length;PDV_x++){if(PDV_pt2297595==0){AA2297595[PDV_x]='<span class="pds-answer-group"><span class="pds-answer-input"><input class="pds-radiobutton" type="radio" id="PDI_answer'+PDV_A2297595[PDV_x][0]+'" value="'+PDV_A2297595[PDV_x][0]+'" name="PDI_answer2297595" /></span><label for="PDI_answer'+PDV_A2297595[PDV_x][0]+'" class="pds-input-label"><span class="pds-answer-span">'+unescape_HTML_2297595(PDV_A2297595[PDV_x][1])+"</span></label>"+PDV_A2297595[PDV_x][3]+'<span class="pds-clear"></span><br/></span>'}else{AA2297595[PDV_x]='<span class="pds-answer-group"><span class="pds-answer-input"><input class="pds-checkbox" type="checkbox" id="PDI_answer'+PDV_A2297595[PDV_x][0]+'" value="'+PDV_A2297595[PDV_x][0]+'" name="PDI_answer'+PDV_A2297595[PDV_x][0]+'" onclick="javascript:PDF_mc2297595(this);" /></span><label for="PDI_answer'+PDV_A2297595[PDV_x][0]+'" class="pds-input-label"><span class="pds-answer-span">'+unescape_HTML_2297595(PDV_A2297595[PDV_x][1])+"</span></label>"+PDV_A2297595[PDV_x][3]+'<span class="pds-clear"></span><br/></span>'}}}function PDF_mc2297595(c){if(PDV_pt2297595>1){var a=0;for(i=0;i<AA2297595.length;i++){r=_$(AA2297595[i].substring(AA2297595[i].indexOf("id=")+4,AA2297595[i].indexOf('"',AA2297595[i].indexOf("id=")+4)));if(r.type=="checkbox"&&r.checked){a+=1}}if(PDV_po2297595==1){var b=_$("PDI_OtherText2297595").value;if(b.length>0){a+=1}}if(a>PDV_pt2297595){c.checked=false;c.disabled=true}if(a>=PDV_pt2297595){for(i=0;i<AA2297595.length;i++){r=_$(AA2297595[i].substring(AA2297595[i].indexOf("id=")+4,AA2297595[i].indexOf('"',AA2297595[i].indexOf("id=")+4)));if(r.type=="checkbox"&&!r.checked){r.disabled=true}}}else{if(PDV_po2297595==1){_$("PDI_OtherText2297595").disabled=false}for(i=0;i<AA2297595.length;i++){r=_$(AA2297595[i].substring(AA2297595[i].indexOf("id=")+4,AA2297595[i].indexOf('"',AA2297595[i].indexOf("id=")+4)));if(r.type=="checkbox"&&!r.checked){r.disabled=false}}}}}function PDF_a2297595(){PDF_o2297595();var b;if(PDV_pt2297595==0){for(var a=0;a<AA2297595.length;a++){b=_$(AA2297595[a].substring(AA2297595[a].indexOf("id=")+4,AA2297595[a].indexOf('"',AA2297595[a].indexOf("id=")+4)));if(b.checked){return b.value+","}}b=_$("PDI_answerOther2297595");if(b){if(b.checked){return b.value+","}else{return""}}else{return""}}else{for(a=0;a<AA2297595.length;a++){b=_$(AA2297595[a].substring(AA2297595[a].indexOf("id=")+4,AA2297595[a].indexOf('"',AA2297595[a].indexOf("id=")+4)));if(b.type=="checkbox"&&b.checked){PDV_a2297595=PDV_a2297595+b.value+","}}return PDV_a2297595}}function PDF_o2297595(a){if(PDV_po2297595==1){PDV_o2297595=_$("PDI_OtherText2297595").value}}function PDF_checkOther2297595(a){var d=false;if(a){var c=_$("PDI_OtherText2297595").value;if(c.length==0){d=true}}if(PDV_pt2297595==0){if(a&&d){_$("PDI_answerOther2297595").checked=false}else{_$("PDI_answerOther2297595").checked=true}}else{if(PDV_pt2297595>1){var b=1;obj=_$("PDI_OtherText2297595");if(a&&d){b=0}for(i=0;i<AA2297595.length;i++){r=_$(AA2297595[i].substring(AA2297595[i].indexOf("id=")+4,AA2297595[i].indexOf('"',AA2297595[i].indexOf("id=")+4)));if(r.type=="checkbox"&&r.checked){b+=1}}if(b>PDV_pt2297595){obj.disabled=true;obj.value="";for(i=0;i<AA2297595.length;i++){r=_$(AA2297595[i].substring(AA2297595[i].indexOf("id=")+4,AA2297595[i].indexOf('"',AA2297595[i].indexOf("id=")+4)));if(r.type=="checkbox"&&!r.checked){r.disabled=true}}}else{if(b<PDV_pt2297595){obj.disabled=false;for(i=0;i<AA2297595.length;i++){r=_$(AA2297595[i].substring(AA2297595[i].indexOf("id=")+4,AA2297595[i].indexOf('"',AA2297595[i].indexOf("id=")+4)));if(r.type=="checkbox"&&!r.checked){r.disabled=false}}}}}}}function PD_prevote2297595(){if(PDV_def2297595.indexOf("input.pds-votebutton")==-1){_$("pd-vote-button2297595").className="pds-vote-button-load"}var a=document.createElement("SCRIPT");a.charset="utf-8";a.src=PDV_nurl2297595+"?"+(new Date).getTime();getHead().appendChild(a)}function PD_vote2297595(b){var d=PDF_getTags2297595();var c=PDV_server2297595+"/vote-js.php?p="+PDV_id2297595+(PDV_w2297595!=PDV_id2297595?"&w="+PDV_w2297595:"");var e=false;if(b!=1){PDV_a2297595="";PDV_a2297595=PDF_a2297595(_$("PDI_form2297595"));if(PDV_a2297595.length==0&&PDV_o2297595.length==0){e=true;alert(PDV_l4_2297595);if(PDV_def2297595.indexOf("input.pds-votebutton")==-1){_$("pd-vote-button2297595").className="pds-vote-button"}}else{if(PDV_b2297595>0){if(PDF_getCookie2297595(PD_ck_name2297595)=="true"){PD_ck2297595=1}else{PDF_setCookie2297595(PD_ck_name2297595)}}c+="&b="+PDV_b2297595+"&a="+PDV_a2297595+"&o="+PDF_urlEncode2297595(PDV_o2297595)+"&va="+PDV_va2297595+"&cookie="+PD_ck2297595+"&url="+escape(location.href)+(d.length>0?"&tags="+d:"")+(PDV_n2297595.length>0?"&n="+PDV_n2297595:"")}}if(!e){var a=document.createElement("SCRIPT");a.charset="utf-8";a.src=c;getHead().appendChild(a)}}function PDF_getTags2297595(){if(typeof pd_tags=="undefined"){return""}var a="";for(var b in pd_tags){a+=PDF_urlEncode2297595(b)+":"+PDF_urlEncode2297595(pd_tags[b])+";"}return a.slice(0,-1)}function PDF_urlEncode2297595(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_rand2297595(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_loadStyleSheet2297595(){var a=document.createElement("style");a.setAttribute("type","text/css");a.setAttribute("id","poll_style2297595");if(a.styleSheet){a.styleSheet.cssText=PDV_def2297595}else{a.appendChild(document.createTextNode(PDV_def2297595))}getHead().appendChild(a)}function PDV_go2297595(){if(is_secure()){PDV_def2297595=PDV_def2297595.replace(/http:\/\/i.polldaddy/g,"https://polldaddy");PDV_def2297595=PDV_def2297595.replace(/http:\/\/s3.wordpress/g,"https://s-ssl.wordpress")}if(!_$("poll_style2297595")){PDF_loadStyleSheet2297595()}if(typeof load_audioLibrary_2297595=="function"&&typeof PDV_audio_2297595!=="undefined"&&PDV_audio_2297595>0){load_audioLibrary_2297595()}if(!_$("PDI_container2297595")){document.write('<a name="pd_a_2297595" style="display: inline; padding: 0px; margin: 0px;"></a><div class="PDS_Poll" id="PDI_container2297595"></div>')}if(typeof supercookie!=="undefined"&&typeof sc!=="object"){sc=new supercookie()}PDV_html2297595+='<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_container2297595").innerHTML=PDV_html2297595;if(PDV_POLLRAND2297595){AA2297595=PDF_rand2297595(AA2297595)}y2297595="";for(x2297595=0;x2297595<AA2297595.length;x2297595++){y2297595=y2297595+AA2297595[x2297595]}_$("pds-answer2297595").innerHTML=y2297595;share2297595()}function PDF_setCookie2297595(f){var c="/";var o="";var b="";var d=0;if(typeof(PDV_expire2297595)!=="undefined"){d=parseInt(PDV_expire2297595)}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_version2297595!=="undefined"){f+=(PDV_version2297595>0?"_"+PDV_version2297595:"")}PDF_log2297595("Cookie Name: "+f);if(typeof sc=="object"&&typeof sc.set=="function"){PDF_log2297595("SET supercookie");sc.set(f,escape(d))}else{PDF_log2297595("SET standard cookie");document.cookie=f+"="+escape(d)+((d)?";expires="+a.toGMTString():"")+((c)?";path="+c:"")+((o)?";domain="+o:"")+((b)?";secure":"")}}function PDF_getCookie2297595(f){var a="";var b="";var c="";if(typeof PDV_version2297595!=="undefined"){f+=(PDV_version2297595>0?"_"+PDV_version2297595:"")}PDF_log2297595("Cookie Name: "+f);if(typeof sc=="object"&&typeof sc.get=="function"){PDF_log2297595("GET supercookie");c=sc.get(f)}else{PDF_log2297595("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_log2297595("Cookie Value: "+c);if(c=="true"){return c}else{var e=new Date();c=parseInt(c);PDF_log2297595("Time: "+e.getTime());if(c>e.getTime()){return"true"}}return null}function PDF_callback2297595(){if(typeof pd_callback=="function"){pd_callback()}else{if(typeof pd_callback_2297595=="function"){pd_callback_2297595()}}}function share2297595(){if(typeof PDV_share2297595!="undefined"){if(PDV_share2297595==1){a2a_linkname="Poll: "+PDV_POLL_q2297595;a2a_linkurl=document.location+"#pd_a_2297595";a2a_track_links="custom";a2a_track_links_key=document.location+"#pd_a_2297595";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_2297595(a){var b=document.createElement("DIV");b.innerHTML=a;if(b.innerText!==undefined){return b.innerText}return b.textContent}function PDF_log2297595(a){if(typeof(_debug)!=="undefined"&&_debug){if(typeof(console)!=="undefined"&&console!=null){console.log(a)}}}if(pollClosed2297595==false){PDV_go2297595()}else{share2297595()};
