Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var pollClosed4424060 = false;
- var PDV_POLLRAND4424060 = false;
- var PDV_a4424060 = '';
- var PDV_o4424060 = '';
- var PDV_id4424060 = 4424060;
- var PDV_pt4424060 = 0;
- var PDV_po4424060 = 0;
- var PDV_b4424060 = 1;
- var PDV_pr4424060 = 1;
- var PDV_l4424060 = 1;
- var PDV_s4424060 = 127704;
- var PDV_h4424060 = 'fde41e443493ad3dd3fd7fe6cb0da3a8';
- var PDV_w4424060 = 4424060;
- var PDV_share4424060 = 0;
- var PDV_expire4424060 = 7257600;
- var PDV_version4424060 = 0;
- var PDV_def4424060 = '#PDI_container4424060 .pds-box{background:#CCC url(\"http://i.polldaddy.com/polls/alum-bg.png\") repeat-x top left;border:1px solid #006;-webkit-border-radius:12px;-moz-border-radius:12px;border-radius:12px;width:400px;text-align:left;margin:0;padding:12px} #PDI_container4424060 .pds-question-top{font:normal normal bold 14px/20px Arial;color:#FFF;text-align:left;border:1px solid #000;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;background-color:#006;margin:0 0 15px;padding:12px} #PDI_container4424060 .pds-answer-group{display:block;padding:5px 0} #PDI_container4424060 .pds-feedback-group{padding:8px 0} #PDI_container4424060 .pds-answer-input{display:block;float:left;width:25px;padding:1px 0 0} #PDI_container4424060 .pds-input-label{font:normal normal bold 14px/14px Arial;color:#000;text-align:left;width:268px;position:relative;cursor:pointer;display:block;float:left;padding:4px 0 0} #PDI_container4424060 .pds-feedback-label{font:normal normal bold 14px/14px Arial;color:#000;text-align:left;position:relative;display:block;padding:4px 0 0} #PDI_container4424060 .pds-other-label{font:normal normal bold 14px/14px Arial;color:#000;text-align:left;width:268px;padding:4px 0 0} #PDI_container4424060 .pds-textfield{font:normal normal normal 12px/12px Arial;color:#444;text-align:left;background-color:#d9d9d9;border:1px solid #999;width:200px;margin:4px 0 0 25px;padding:2px} #PDI_container4424060 .pds-vote-button{font:normal normal bold 14px/14px Lucida Grande;color:#FFF;text-align:left;background-color:#900;border:1px solid #848484;-webkit-border-radius:12px;-moz-border-radius:12px;border-radius:12px;display:block;float:left;text-decoration:none;margin:0;padding:6px 18px} #PDI_container4424060 .pds-vote-button-load{font:normal normal bold 14px/14px Lucida Grande;color:#FFF;text-align:left;background-color:#900;border:1px solid #848484;-webkit-border-radius:12px;-moz-border-radius:12px;border-radius:12px;display:block;float:left;text-decoration:none;background:#eee url(\"http://i.polldaddy.com/polls/vote-loader-eeeeee.gif\") no-repeat scroll 50% 50%;margin:0;padding:6px 18px} #PDI_container4424060 .pds-answer-feedback{background:#ccc url(\"http://i.polldaddy.com/polls/alum-feedback.png\") repeat-x left top;border:0 solid #838383;margin:5px 0 0;padding:0} #PDI_container4424060 .pds-answer-feedback-bar{background:#900 url(\"http://www.gopusa.com/images/red_bg.png\") repeat-x left bottom;border:1px solid #4D6382;height:17px;margin:0;padding:0} #PDI_container4424060 .pds-total-votes{font:normal normal bold 12px/12px Arial;color:#000;text-align:left;border:0 solid #F0F0F0;margin:10px 0 0;padding:0} #PDI_container4424060 .pds-clear{clear:both;display:block} #PDI_container4424060 .pds-box A{outline:none;display:block;float:left} #PDI_container4424060 .pds-answer-other{clear:left;display:block} #PDI_container4424060 .pds-link{display:block;float:left} #PDI_container4424060 .pds-vote{padding:10px 0} #PDI_container4424060 .pds-vote-button-load SPAN{visibility:hidden} #PDI_container4424060 .pds-links{display:block;float:left;padding:10px 0 0 15px} #PDI_container4424060 .pds-view-results,.pds-comments,.pds-return-poll,.pds-pd-link,.pds-share{font:normal normal bold 14px/11px Arial;color:#000;text-align:left;padding:8px 10px 0 0} #PDI_container4424060 .pds-question A,.pds-answer A{float:none} #PDI_container4424060 .pds-answer-group BR,.pds-answer-other BR,.pds-vote BR{display:none} #PDI_container4424060 div {margin:0;padding:0;}';
- var PDV_sl4424060 = 0;
- var PDV_lnk4424060 = 0;
- var PDV_va4424060 = 16;
- var PDV_POLL_q4424060 = 'Should AZ's Sheriff Dupnik be recalled?';
- var PDV_POLL_medType4424060 = '0';
- var PDV_POLL_medID4424060 = '';
- var PDV_A4424060 = new Array();
- PDV_A4424060[0] = new Array(4);
- PDV_A4424060[0][0] = '19736772';
- PDV_A4424060[0][1] = 'Yes';
- PDV_A4424060[0][2] = '0';
- PDV_A4424060[0][3] = '';
- PDV_A4424060[1] = new Array(4);
- PDV_A4424060[1][0] = '19736773';
- PDV_A4424060[1][1] = 'No';
- PDV_A4424060[1][2] = '0';
- PDV_A4424060[1][3] = '';
- PDV_A4424060[2] = new Array(4);
- PDV_A4424060[2][0] = '19736774';
- PDV_A4424060[2][1] = 'I'm not sure.';
- PDV_A4424060[2][2] = '0';
- PDV_A4424060[2][3] = '';
- var PDV_l1_4424060 = 'View Results';
- var PDV_l2_4424060 = 'Other:';
- var PDV_l3_4424060 = 'Vote';
- var PDV_l4_4424060 = 'Please choose an answer first!';
- var PDV_l12_4424060 = 'Share This';
- var _debug = false;
- var _document_root = (is_secure() ? "https://polldaddy.com/swf/" : "http://i0.poll.fm/swf/");
- var sc, _container, _global_pc, _global_ss, _global_wn;
- var FlashDetect = new function () {
- var n = this;
- n.installed = false;
- n.raw = "";
- n.major = -1;
- n.minor = -1;
- n.revision = -1;
- n.revisionStr = "";
- var m = [{
- name: "ShockwaveFlash.ShockwaveFlash.7",
- version: function (a) {
- return k(a)
- }
- }, {
- name: "ShockwaveFlash.ShockwaveFlash.6",
- version: function (b) {
- var a = "6,0,21";
- try {
- b.AllowScriptAccess = "always";
- a = k(b)
- } catch (c) {}
- return a
- }
- }, {
- name: "ShockwaveFlash.ShockwaveFlash",
- version: function (a) {
- return k(a)
- }
- }];
- var k = function (b) {
- var a = -1;
- try {
- a = b.GetVariable("$version")
- } catch (c) {}
- return a
- };
- var o = function (a) {
- var b = -1;
- try {
- b = new ActiveXObject(a)
- } catch (c) {
- b = {
- activeXError: true
- }
- }
- return b
- };
- var l = function (a) {
- var b = a.split(",");
- return {
- raw: a,
- major: parseInt(b[0].split(" ")[1], 10),
- minor: parseInt(b[1], 10),
- revision: parseInt(b[2], 10),
- revisionStr: b[2]
- }
- };
- var h = function (c) {
- var a = c.split(/ +/);
- var d = a[2].split(/\./);
- var b = a[3];
- return {
- raw: c,
- major: parseInt(d[0], 10),
- minor: parseInt(d[1], 10),
- revisionStr: b,
- revision: j(b)
- }
- };
- var j = function (a) {
- return parseInt(a.replace(/[a-zA-Z]/g, ""), 10) || n.revision
- };
- n.majorAtLeast = function (a) {
- return n.major >= a
- };
- n.minorAtLeast = function (a) {
- return n.minor >= a
- };
- n.revisionAtLeast = function (a) {
- return n.revision >= a
- };
- n.versionAtLeast = function (c) {
- var b = [n.major, n.minor, n.revision];
- var a = Math.min(b.length, arguments.length);
- for (i = 0; i < a; i++) {
- if (b[i] >= arguments[i]) {
- if (i + 1 < a && b[i] == arguments[i]) {
- continue
- } else {
- return true
- }
- } else {
- return false
- }
- }
- };
- n.FlashDetect = function () {
- if (navigator.plugins && navigator.plugins.length > 0) {
- var e = "application/x-shockwave-flash";
- var f = navigator.mimeTypes;
- if (f && f[e] && f[e].enabledPlugin && f[e].enabledPlugin.description) {
- var b = f[e].enabledPlugin.description;
- var d = h(b);
- n.raw = d.raw;
- n.major = d.major;
- n.minor = d.minor;
- n.revisionStr = d.revisionStr;
- n.revision = d.revision;
- n.installed = true
- }
- } else {
- if (navigator.appVersion.indexOf("Mac") == -1 && window.execScript) {
- var b = -1;
- for (var a = 0; a < m.length && b == -1; a++) {
- var c = o(m[a].name);
- if (!c.activeXError) {
- n.installed = true;
- b = m[a].version(c);
- if (b != -1) {
- var d = l(b);
- n.raw = d.raw;
- n.major = d.major;
- n.minor = d.minor;
- n.revision = d.revision;
- n.revisionStr = d.revisionStr
- }
- }
- }
- }
- }
- }()
- };
- FlashDetect.JS_RELEASE = "1.0.4";
- var pdcookie = (function () {
- this._class = function () {
- var self = this;
- this._pc = {};
- this.get = function (name, cb) {
- return self._pdcookie(name, undefined, cb)
- };
- this.set = function (name, value) {
- return self._pdcookie(name, value)
- };
- this._pdcookie = function (name, value, cb) {
- if (typeof self._pdcookie == "undefined") {
- self = this
- }
- self._pc.userData = self.pdcookie_userdata(name, value);
- self._pc.cookieData = self.pdcookie_cookie(name, value);
- self._pc.localData = self.pdcookie_local_storage(name, value);
- self._pc.globalData = self.pdcookie_global_storage(name, value);
- self._pc.sessionData = self.pdcookie_session_storage(name, value);
- if (window == window.top) {
- self._pc.windowData = self.pdcookie_window(name, value)
- }
- tmpec = self._pc;
- self._pc = {};
- var candidates = new Array();
- var bestnum = 0;
- var candidate;
- for (var item in tmpec) {
- if (typeof tmpec[item] !== "undefined" && typeof tmpec[item] !== "null" && tmpec[item] != "null" && tmpec[item] != "undefined") {
- candidates[tmpec[item]] = typeof candidates[tmpec[item]] == "undefined" ? 1 : candidates[tmpec[item]] + 1
- }
- }
- for (var item in candidates) {
- if (candidates[item] > bestnum) {
- bestnum = candidates[item];
- candidate = item
- }
- }
- if (typeof cb == "function") {
- cb(candidate, tmpec)
- }
- return candidate
- };
- this.pdcookie_window = function (name, value) {
- try {
- var wn = window.name;
- if (typeof value !== "undefined") {
- if (wn.indexOf("&" + name + "=") > -1 || wn.indexOf(name + "=") == 0) {
- var idx = wn.indexOf("&" + name + "=");
- if (idx == -1) {
- idx = wn.indexOf(name + "=")
- }
- var end = wn.indexOf("&", idx + 1);
- var newstr;
- if (end != -1) {
- newstr = wn.substr(0, idx) + wn.substr(end + (idx ? 0 : 1)) + "&" + name + "=" + value
- } else {
- newstr = wn.substr(0, idx) + "&" + name + "=" + value
- }
- window.name = newstr
- } else {
- window.name += "&" + name + "=" + value
- }
- } else {
- return this.getFromStr(name, wn)
- }
- } catch (e) {}
- };
- this.pdcookie_userdata = function (name, value) {
- try {
- var elm = this.createElem("div", "userdata_el", 1);
- if (elm && elm.load) {
- elm.style.behavior = "url(#default#userData)";
- if (typeof value !== "undefined") {
- elm.setAttribute(name, value);
- elm.save(name)
- } else {
- elm.load(name);
- return elm.getAttribute(name)
- }
- }
- } catch (e) {}
- };
- this.pdcookie_local_storage = function (name, value) {
- try {
- if (window.localStorage) {
- if (typeof value !== "undefined") {
- localStorage.setItem(name, value)
- } else {
- return localStorage.getItem(name)
- }
- }
- } catch (e) {}
- };
- this.pdcookie_session_storage = function (name, value) {
- try {
- if (window.sessionStorage) {
- if (typeof value !== "undefined") {
- sessionStorage.setItem(name, value)
- } else {
- return sessionStorage.getItem(name)
- }
- }
- } catch (e) {}
- };
- this.pdcookie_global_storage = function (name, value) {
- if (window.globalStorage) {
- var host = this.getHost();
- try {
- if (typeof value !== "undefined") {
- eval("globalStorage[host]." + name + " = value")
- } else {
- return eval("globalStorage[host]." + name)
- }
- } catch (e) {}
- }
- };
- this.pdcookie_cookie = function (name, value, expire) {
- var cookie = this.getFromStr(name, document.cookie);
- if ((typeof cookie == "undefined" || cookie == null) && typeof value !== "undefined") {
- var today = new Date();
- today.setTime(today.getTime());
- if (typeof expire == undefined || expire == null) {
- expire = (60 * 60 * 24 * 365 * 20 * 1000)
- }
- var expires_date = new Date((today.getTime() + expire));
- document.cookie = name + "=" + value + "; expires=" + expires_date.toGMTString() + "; path=/"
- } else {
- return cookie
- }
- };
- this.createElem = function (type, name, append) {
- var el;
- if (typeof name !== "undefined" && document.getElementById(name)) {
- el = document.getElementById(name)
- } else {
- el = document.createElement(type)
- }
- el.style.visibility = "hidden";
- el.style.position = "absolute";
- if (name) {
- el.setAttribute("id", name)
- }
- if (append) {
- if (_container) {
- _container.appendChild(el)
- } else {
- document.body.appendChild(el)
- }
- }
- return el
- };
- this.getFromStr = function (name, text) {
- if (typeof text !== "string") {
- return
- }
- var nameEQ = name + "=";
- var ca = text.split(/[;&]/);
- for (var i = 0; i < ca.length; i++) {
- var c = ca[i];
- while (c.charAt(0) == " ") {
- c = c.substring(1, c.length)
- }
- if (c.indexOf(nameEQ) == 0) {
- return c.substring(nameEQ.length, c.length)
- }
- }
- };
- this.getHost = function () {
- var domain = document.location.host;
- if (domain.indexOf("www.") == 0) {
- domain = domain.replace("www.", "")
- }
- return domain
- }
- };
- return _class
- })();
- var swfstore = (function () {
- var f = 0;
- var d = /[^a-z0-9_]/ig;
- function e(a) {
- if (typeof a == "function") {
- throw "SwfStore Error: Functions cannot be used as keys or values."
- }
- }
- SwfStore = function (u) {
- this.config = u || {
- namespace: "swfstore",
- swf_url: _document_root + "storage.swf",
- onready: function () {},
- onerror: function () {},
- debug: _debug,
- timeout: 10
- };
- var s = this.namespace = this.config.namespace.replace(d, "_"),
- b = this.config.debug,
- p = this.config.timeout;
- function a() {
- return "SwfStore_" + s + "_" + (f++)
- }
- function c(g) {
- var j = a();
- h = document.getElementById(j);
- if (typeof h == "undefined" || h == null) {
- var h = document.createElement("div");
- if (typeof _container !== "undefined" || _container !== null) {
- _container.appendChild(h)
- } else {
- document.body.appendChild(h)
- }
- h.id = j;
- h.style.position = "absolute";
- h.style.top = "0px";
- h.style.left = "-2000px"
- }
- return h
- }
- if (b) {
- if (typeof console == "undefined") {
- var r = c();
- window.console = {
- log: function (g) {
- var h = c();
- h.innerHTML = g;
- r.appendChild(h)
- }
- }
- }
- this.log = function (j, h, g) {
- h = (h == "swfStore") ? "swf" : h;
- console.log("SwfStore - " + s + ": " + j + " (" + h + "): " + g)
- }
- } else {
- this.log = function () {}
- }
- this.log("info", "js", "Initializing...");
- SwfStore[s] = this;
- var o = c(b);
- var q = a();
- var t = "logfn=SwfStore." + s + ".log&onload=SwfStore." + s + ".onload&onerror=SwfStore." + s + ".onerror";
- o.innerHTML = '<object height="1" width="1" codebase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab" id="' + q + '" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"> <param value="' + this.config.swf_url + '" name="movie"> <param value="' + t + '" name="FlashVars"> <param value="always" name="allowScriptAccess"> <embed height="1" align="middle" width="1" pluginspage="https://www.macromedia.com/go/getflashplayer" flashvars="' + t + '" type="application/x-shockwave-flash" allowscriptaccess="always" quality="high" loop="false" play="true" name="' + q + '" bgcolor="#ffffff" src="' + this.config.swf_url + '"></object>';
- this.swf = document[q] || window[q];
- this._timeout = setTimeout(function () {
- if (typeof SwfStore !== "undefined" && typeof SwfStore[s] !== "undefined") {
- SwfStore[s].log("Timeout reached, assuming the store.swf failed to load and firing the onerror callback.");
- if (typeof SwfStore[s].config.onerror !== "undefined") {
- SwfStore[s].config.onerror()
- }
- }
- }, p * 1000)
- };
- SwfStore.prototype = {
- ready: false,
- namespace: "SwfStore_prototype",
- set: function (b, a) {
- if (this.namespace === SwfStore.prototype.namespace) {
- throw "Create a new SwfStore to set data"
- }
- if (this.ready) {
- e(b);
- e(a);
- this.swf.set(b, a)
- } else {
- throw "Attempted to save to uninitialized SwfStore."
- }
- },
- get: function (a) {
- if (this.namespace === SwfStore.prototype.namespace) {
- throw "Create a new SwfStore to set data"
- }
- if (this.ready) {
- e(a);
- return this.swf.get(a)
- } else {
- throw "Attempted to read from an uninitialized SwfStore."
- }
- },
- getAll: function (a) {
- if (this.namespace === SwfStore.prototype.namespace) {
- throw "Create a new SwfStore to set data"
- }
- if (this.ready) {
- e(a);
- return this.swf.get(a)
- } else {
- throw "Attempted to read from an uninitialized SwfStore."
- }
- },
- onload: function () {
- clearTimeout(this._timeout);
- this.ready = true;
- if (this.config.onready) {
- this.config.onready()
- }
- },
- onerror: function () {
- clearTimeout(this._timeout);
- if (this.config.onerror) {
- this.config.onerror()
- }
- }
- };
- return SwfStore
- }());
- var supercookie = (function () {
- this._class = function () {
- if (_$("PD_superContainer") == null) {
- document.write('<div id="PD_superContainer"></div>')
- }
- _container = _$("PD_superContainer");
- if (typeof pdcookie !== "undefined") {
- _global_pc = new pdcookie()
- }
- PDF_log4424060("Flash version:: " + FlashDetect.raw);
- if (FlashDetect.versionAtLeast(9, 0, 31) && typeof swfstore !== "undefined" && window == window.top) {
- _global_ss = new swfstore()
- }
- this.showCookies = function (d, e) {
- for (var f in e) {
- PDF_log4424060("Storage mechanism " + f + " returned: " + e[f])
- }
- };
- this.isEnabled = function () {
- var d = "pd-test-cookie";
- var c;
- _global_pc.pdcookie_cookie(d, "true", (1000 * 5));
- c = _global_pc.getFromStr(d, document.cookie);
- PDF_log4424060("Cookies are enabled: " + c);
- return c == "true"
- };
- this.set = function (c, f) {
- _global_pc.set(c, f);
- if (_global_ss && _global_ss.ready) {
- try {
- _global_ss.set(c, f)
- } catch (d) {}
- }
- };
- this.get = function (l) {
- var h, m, j;
- if (_debug) {
- _global_pc.get(l, this.showCookies)
- }
- h = _global_pc.get(l);
- PDF_log4424060("Super Get- cookie_value::" + h);
- if (_global_ss && _global_ss.ready) {
- try {
- m = _global_ss.get(l)
- } catch (f) {
- m = null
- }
- }
- PDF_log4424060("Super Get- lso_value::" + m);
- var k = {
- d: h,
- a: m,
- c: j
- },
- p = pd = 0;
- for (var o in k) {
- var n = k[o];
- if (typeof n == "undefined" || n == null) {
- if (o != "a") {
- pd = 1
- }
- } else {
- p = parseInt(n)
- }
- }
- if (p > 0 && pd > 0) {
- this.set(l, p)
- }
- return p
- }
- };
- return this._class
- })();
- var PDV_audio_4424060 = 0;
- //v3.1 08/Mar/11
- var protocol = document.location.protocol == 'https:' ? 'https:' : 'http:';
- var a2a_track_pub = "polldaddy";
- var a2a_no_3p = 1;
- var PD_ck4424060 = 0;
- var PD_ck_name4424060 = "PD_poll_" + PDV_id4424060;
- var PDV_n4424060 = "";
- var PDV_nurl4424060 = protocol + "//polldaddy.com/n/" + (typeof PDV_h4424060 !== "undefined" ? PDV_h4424060 : PDV_id4424060) + "/" + PDV_id4424060 + (PDV_w4424060 != PDV_id4424060 ? "/" + PDV_w4424060 : "");
- 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 (pollClosed4424060 == false) {
- var PDV_server4424060 = protocol + "//polls.polldaddy.com";
- var AA4424060 = new Array();
- var PDV_html4424060 = '<div style="margin-bottom: 0px; margin-top: 0px;" name="PDI_form4424060" id="PDI_form4424060"><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_medID4424060 + " " + unescape_HTML_4424060(PDV_POLL_q4424060) + '</div></div></div></div><div class="pds-answer"><span id="pds-answer4424060"></span>';
- if (PDV_po4424060 == 1) {
- PDV_html4424060 += '<span class="pds-answer-group">';
- if (PDV_pt4424060 == 0) {
- PDV_html4424060 += '<span class="pds-answer-input"><input type="radio" name="PDI_answer4424060" id="PDI_answerOther4424060" value="other" class="pds-radiobutton"/></span>'
- }
- PDV_html4424060 += '<label for="PDI_answerOther4424060" class="pds-other-label"><span class="pds-answer-span">' + PDV_l2_4424060 + '</span></label><span class="pds-answer-other"><br/><input class="pds-textfield" type="text" maxlength="80" id="PDI_OtherText4424060" name="PDI_OtherText4424060" onclick="PDF_checkOther4424060();" onchange="PDF_checkOther4424060(true);" /></span>';
- PDV_html4424060 += '<span class="pds-clear"></span>';
- PDV_html4424060 += "</span>"
- }
- PDV_html4424060 += '</div><div class="pds-vote"><div class="pds-votebutton-outer">';
- if (PDV_l3_4424060 == "") {
- PDV_l3_4424060 = "Vote"
- }
- if (PDV_s4424060 < 99 || PDV_def4424060.indexOf("input.pds-votebutton") != -1) {
- if (PDV_l3_4424060 == "Vote" || PDV_l3_4424060 == "") {
- PDV_html4424060 += '<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_prevote4424060(0);">'
- } else {
- PDV_html4424060 += '<input type="button" class="pds-votebutton-pack" value="' + PDV_l3_4424060 + '" onclick="PD_prevote4424060(0);" />'
- }
- } else {
- PDV_html4424060 += '<a href="javascript:PD_prevote4424060(0);" id="pd-vote-button4424060" class="pds-vote-button"><span>' + PDV_l3_4424060 + "</span></a>"
- }
- PDV_html4424060 += '<span class="pds-links">';
- if (PDV_pr4424060 == 2) {
- PDV_html4424060 += "<br/>"
- } else {
- PDV_html4424060 += '<a href="javascript:PD_vote4424060(1);" class="pds-view-results">' + PDV_l1_4424060 + "</a><br/>"
- }
- if (typeof PDV_share4424060 != "undefined") {
- if (PDV_share4424060 == 1) {
- PDV_html4424060 += '<a class="a2a_dd pds-share" href="javascript:">' + PDV_l12_4424060 + "</a>"
- }
- }
- if (PDV_lnk4424060 == 1) {
- PDV_html4424060 += '<a href="' + protocol + '//polldaddy.com/signup-free/?ad=poll-front" target="_blank" class="pds-pd-link">Polldaddy.com</a>'
- }
- PDV_html4424060 += '<span class="pds-clear"></span>';
- PDV_html4424060 += '</span><span class="pds-clear"></span>';
- PDV_html4424060 += "</div></div></div></div></div></div></div>";
- for (PDV_x = 0; PDV_x < PDV_A4424060.length; PDV_x++) {
- if (PDV_pt4424060 == 0) {
- AA4424060[PDV_x] = '<span class="pds-answer-group"><span class="pds-answer-input"><input class="pds-radiobutton" type="radio" id="PDI_answer' + PDV_A4424060[PDV_x][0] + '" value="' + PDV_A4424060[PDV_x][0] + '" name="PDI_answer4424060" /></span><label for="PDI_answer' + PDV_A4424060[PDV_x][0] + '" class="pds-input-label"><span class="pds-answer-span">' + unescape_HTML_4424060(PDV_A4424060[PDV_x][1]) + "</span></label>" + PDV_A4424060[PDV_x][3] + '<span class="pds-clear"></span><br/></span>'
- } else {
- AA4424060[PDV_x] = '<span class="pds-answer-group"><span class="pds-answer-input"><input class="pds-checkbox" type="checkbox" id="PDI_answer' + PDV_A4424060[PDV_x][0] + '" value="' + PDV_A4424060[PDV_x][0] + '" name="PDI_answer' + PDV_A4424060[PDV_x][0] + '" onclick="javascript:PDF_mc4424060(this);" /></span><label for="PDI_answer' + PDV_A4424060[PDV_x][0] + '" class="pds-input-label"><span class="pds-answer-span">' + unescape_HTML_4424060(PDV_A4424060[PDV_x][1]) + "</span></label>" + PDV_A4424060[PDV_x][3] + '<span class="pds-clear"></span><br/></span>'
- }
- }
- }
- function PDF_mc4424060(c) {
- if (PDV_pt4424060 > 1) {
- var a = 0;
- for (i = 0; i < AA4424060.length; i++) {
- r = _$(AA4424060[i].substring(AA4424060[i].indexOf("id=") + 4, AA4424060[i].indexOf('"', AA4424060[i].indexOf("id=") + 4)));
- if (r.type == "checkbox" && r.checked) {
- a += 1
- }
- }
- if (PDV_po4424060 == 1) {
- var b = _$("PDI_OtherText4424060").value;
- if (b.length > 0) {
- a += 1
- }
- }
- if (a > PDV_pt4424060) {
- c.checked = false;
- c.disabled = true
- }
- if (a >= PDV_pt4424060) {
- for (i = 0; i < AA4424060.length; i++) {
- r = _$(AA4424060[i].substring(AA4424060[i].indexOf("id=") + 4, AA4424060[i].indexOf('"', AA4424060[i].indexOf("id=") + 4)));
- if (r.type == "checkbox" && !r.checked) {
- r.disabled = true
- }
- }
- } else {
- if (PDV_po4424060 == 1) {
- _$("PDI_OtherText4424060").disabled = false
- }
- for (i = 0; i < AA4424060.length; i++) {
- r = _$(AA4424060[i].substring(AA4424060[i].indexOf("id=") + 4, AA4424060[i].indexOf('"', AA4424060[i].indexOf("id=") + 4)));
- if (r.type == "checkbox" && !r.checked) {
- r.disabled = false
- }
- }
- }
- }
- }
- function PDF_a4424060() {
- PDF_o4424060();
- var b;
- if (PDV_pt4424060 == 0) {
- for (var a = 0; a < AA4424060.length; a++) {
- b = _$(AA4424060[a].substring(AA4424060[a].indexOf("id=") + 4, AA4424060[a].indexOf('"', AA4424060[a].indexOf("id=") + 4)));
- if (b.checked) {
- return b.value + ","
- }
- }
- b = _$("PDI_answerOther4424060");
- if (b) {
- if (b.checked) {
- return b.value + ","
- } else {
- return ""
- }
- } else {
- return ""
- }
- } else {
- for (a = 0; a < AA4424060.length; a++) {
- b = _$(AA4424060[a].substring(AA4424060[a].indexOf("id=") + 4, AA4424060[a].indexOf('"', AA4424060[a].indexOf("id=") + 4)));
- if (b.type == "checkbox" && b.checked) {
- PDV_a4424060 = PDV_a4424060 + b.value + ","
- }
- }
- return PDV_a4424060
- }
- }
- function PDF_o4424060(a) {
- if (PDV_po4424060 == 1) {
- PDV_o4424060 = _$("PDI_OtherText4424060").value
- }
- }
- function PDF_checkOther4424060(a) {
- var d = false;
- if (a) {
- var c = _$("PDI_OtherText4424060").value;
- if (c.length == 0) {
- d = true
- }
- }
- if (PDV_pt4424060 == 0) {
- if (a && d) {
- _$("PDI_answerOther4424060").checked = false
- } else {
- _$("PDI_answerOther4424060").checked = true
- }
- } else {
- if (PDV_pt4424060 > 1) {
- var b = 1;
- obj = _$("PDI_OtherText4424060");
- if (a && d) {
- b = 0
- }
- for (i = 0; i < AA4424060.length; i++) {
- r = _$(AA4424060[i].substring(AA4424060[i].indexOf("id=") + 4, AA4424060[i].indexOf('"', AA4424060[i].indexOf("id=") + 4)));
- if (r.type == "checkbox" && r.checked) {
- b += 1
- }
- }
- if (b > PDV_pt4424060) {
- obj.disabled = true;
- obj.value = "";
- for (i = 0; i < AA4424060.length; i++) {
- r = _$(AA4424060[i].substring(AA4424060[i].indexOf("id=") + 4, AA4424060[i].indexOf('"', AA4424060[i].indexOf("id=") + 4)));
- if (r.type == "checkbox" && !r.checked) {
- r.disabled = true
- }
- }
- } else {
- if (b < PDV_pt4424060) {
- obj.disabled = false;
- for (i = 0; i < AA4424060.length; i++) {
- r = _$(AA4424060[i].substring(AA4424060[i].indexOf("id=") + 4, AA4424060[i].indexOf('"', AA4424060[i].indexOf("id=") + 4)));
- if (r.type == "checkbox" && !r.checked) {
- r.disabled = false
- }
- }
- }
- }
- }
- }
- }
- function PD_prevote4424060() {
- if (PDV_def4424060.indexOf("input.pds-votebutton") == -1) {
- _$("pd-vote-button4424060").className = "pds-vote-button-load"
- }
- var a = document.createElement("SCRIPT");
- a.charset = "utf-8";
- a.src = PDV_nurl4424060 + "?" + (new Date).getTime();
- getHead().appendChild(a)
- }
- function PD_vote4424060(b) {
- var d = PDF_getTags4424060();
- var c = PDV_server4424060 + "/vote-js.php?p=" + PDV_id4424060 + (PDV_w4424060 != PDV_id4424060 ? "&w=" + PDV_w4424060 : "");
- var e = false;
- if (b != 1) {
- PDV_a4424060 = "";
- PDV_a4424060 = PDF_a4424060(_$("PDI_form4424060"));
- if (PDV_a4424060.length == 0 && PDV_o4424060.length == 0) {
- e = true;
- alert(PDV_l4_4424060);
- if (PDV_def4424060.indexOf("input.pds-votebutton") == -1) {
- _$("pd-vote-button4424060").className = "pds-vote-button"
- }
- } else {
- if (PDV_b4424060 > 0) {
- if (PDF_getCookie4424060(PD_ck_name4424060) == "true") {
- PD_ck4424060 = 1
- } else {
- PDF_setCookie4424060(PD_ck_name4424060)
- }
- }
- c += "&b=" + PDV_b4424060 + "&a=" + PDV_a4424060 + "&o=" + PDV_o4424060 + "&va=" + PDV_va4424060 + "&cookie=" + PD_ck4424060 + "&url=" + escape(location.href) + (d.length > 0 ? "&tags=" + d : "") + (PDV_n4424060.length > 0 ? "&n=" + PDV_n4424060 : "")
- }
- }
- if (!e) {
- var a = document.createElement("SCRIPT");
- a.charset = "utf-8";
- a.src = c;
- getHead().appendChild(a)
- }
- }
- function PDF_getTags4424060() {
- if (typeof pd_tags == "undefined") {
- return ""
- }
- var a = "";
- for (var b in pd_tags) {
- a += PDF_urlEncode4424060(b) + ":" + PDF_urlEncode4424060(pd_tags[b]) + ";"
- }
- return a.slice(0, -1)
- }
- function PDF_urlEncode4424060(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_rand4424060(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_loadStyleSheet4424060() {
- var a = document.createElement("style");
- a.setAttribute("type", "text/css");
- a.setAttribute("id", "poll_style4424060");
- if (a.styleSheet) {
- a.styleSheet.cssText = PDV_def4424060
- } else {
- a.appendChild(document.createTextNode(PDV_def4424060))
- }
- getHead().appendChild(a)
- }
- function PDV_go4424060() {
- if (is_secure()) {
- PDV_def4424060 = PDV_def4424060.replace(/http:\/\/i.polldaddy/g, "https://polldaddy");
- PDV_def4424060 = PDV_def4424060.replace(/http:\/\/s3.wordpress/g, "https://s-ssl.wordpress")
- }
- if (!_$("poll_style4424060")) {
- PDF_loadStyleSheet4424060()
- }
- if (typeof load_audioLibrary_4424060 == "function" && typeof PDV_audio_4424060 !== "undefined" && PDV_audio_4424060 > 0) {
- load_audioLibrary_4424060()
- }
- if (!_$("PDI_container4424060")) {
- document.write('<a name="pd_a_4424060" style="display: inline; padding: 0px; margin: 0px;"></a><div class="PDS_Poll" id="PDI_container4424060"></div>')
- }
- if (typeof supercookie !== "undefined" && typeof sc !== "object") {
- sc = new supercookie()
- }
- PDV_html4424060 += '<img src="' + (is_secure() ? "https://secure" : "http://pixel") + '.quantserve.com/pixel?a.1=p-18-mFEk4J448M&a.2=p-ab3gTb8xb3dLg&labels.1=type.polldaddy.poll" style="display: none;" border="0" height="1" width="1" alt="Quantcast"/>';
- _$("PDI_container4424060").innerHTML = PDV_html4424060;
- if (PDV_POLLRAND4424060) {
- AA4424060 = PDF_rand4424060(AA4424060)
- }
- y4424060 = "";
- for (x4424060 = 0; x4424060 < AA4424060.length; x4424060++) {
- y4424060 = y4424060 + AA4424060[x4424060]
- }
- _$("pds-answer4424060").innerHTML = y4424060;
- share4424060()
- }
- function PDF_setCookie4424060(f) {
- var c = "/";
- var o = "";
- var b = "";
- var d = 0;
- if (typeof (PDV_expire4424060) !== "undefined") {
- d = parseInt(PDV_expire4424060)
- }
- 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_version4424060 !== "undefined") {
- f += (PDV_version4424060 > 0 ? "_" + PDV_version4424060 : "")
- }
- PDF_log4424060("Cookie Name: " + f);
- if (typeof sc == "object" && typeof sc.set == "function") {
- PDF_log4424060("SET supercookie");
- sc.set(f, escape(d))
- } else {
- PDF_log4424060("SET standard cookie");
- document.cookie = f + "=" + escape(d) + ((d) ? ";expires=" + a.toGMTString() : "") + ((c) ? ";path=" + c : "") + ((o) ? ";domain=" + o : "") + ((b) ? ";secure" : "")
- }
- }
- function PDF_getCookie4424060(f) {
- var a = "";
- var b = "";
- var c = "";
- if (typeof PDV_version4424060 !== "undefined") {
- f += (PDV_version4424060 > 0 ? "_" + PDV_version4424060 : "")
- }
- PDF_log4424060("Cookie Name: " + f);
- if (typeof sc == "object" && typeof sc.get == "function") {
- PDF_log4424060("GET supercookie");
- c = sc.get(f)
- } else {
- PDF_log4424060("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_log4424060("Cookie Value: " + c);
- if (c == "true") {
- return c
- } else {
- var e = new Date();
- c = parseInt(c);
- PDF_log4424060("Time: " + e.getTime());
- if (c > e.getTime()) {
- return "true"
- }
- }
- return null
- }
- function PDF_callback4424060() {
- if (typeof pd_callback == "function") {
- pd_callback()
- } else {
- if (typeof pd_callback_4424060 == "function") {
- pd_callback_4424060()
- }
- }
- }
- function share4424060() {
- if (typeof PDV_share4424060 != "undefined") {
- if (PDV_share4424060 == 1) {
- a2a_linkname = "Poll: " + PDV_POLL_q4424060;
- a2a_linkurl = document.location + "#pd_a_4424060";
- a2a_track_links = "custom";
- a2a_track_links_key = document.location + "#pd_a_4424060";
- 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_4424060(a) {
- var b = document.createElement("DIV");
- b.innerHTML = a;
- if (b.innerText !== undefined) {
- return b.innerText
- }
- return b.textContent
- }
- function PDF_log4424060(a) {
- if (typeof (_debug) !== "undefined" && _debug) {
- if (typeof (console) !== "undefined" && console != null) {
- console.log(a)
- }
- }
- }
- if (pollClosed4424060 == false) {
- PDV_go4424060()
- } else {
- share4424060()
- };
Advertisement
Add Comment
Please, Sign In to add comment