//PHPVARS var txt_uid = '119'; var txt_excluidos = 'http://www.gameshinata-sou.org/,https://www.blogger.com/'; var LB_type_954d74 = 2; var LB_targ_954d74 = 0; var txt_freq = 0; String.prototype.startsWith_f1e5f6 = function(e) { if (typeof e == "object") { for (_i = 0; _i < e.length; _i++) { if (this.toLowerCase().indexOf(e[_i].toLowerCase()) == 0) return true; } return false; } else { return (this.toLowerCase().indexOf(e.toLowerCase()) == 0); } }; String.prototype.matchesWith_f1e5f6 = function(e) { if (typeof e == "object") { for (_i = 0; _i < e.length; _i++) { if (this.toLowerCase().indexOf(e[_i].toLowerCase()) > -1) return true; } return false; } else { return (this.toLowerCase().indexOf(e.toLowerCase()) > -1); } }; function addHandler_f1e5f6(obj, eventName, handler) { if (obj.addEventListener) obj.addEventListener(eventName, function(e) { eval(handler) }, false); else if (obj.attachEvent) obj.attachEvent("on" + eventName, function(e) { eval(handler) }); else obj["on" + eventName] = function(e) { eval(handler) }; } function formatCSV(exclusions) { var excl_array = exclusions.split(","); var star_pos = -1; for (i = 0; i < excl_array.length; i++) { star_pos = excl_array[i].indexOf("*"); if (star_pos > -1) { excl_array[i] = excl_array[i].substring(star_pos+1); } } return excl_array; } function convertToUnicode_f1e5f6(source) { result = ''; for (i = 0; i < source.length; i++) { result += '&#' + source.charCodeAt(i); } return result; } function convertToHex_f1e5f6(num) { var hex = ''; for (i = 0; i < num.length; i++) { if (num.charCodeAt(i).toString(16).toUpperCase().length < 2) { hex += "%0" + num.charCodeAt(i).toString(16).toUpperCase(); } else { hex += "%" + num.charCodeAt(i).toString(16).toUpperCase(); } } return hex; } function createCookie_f1e5f6(name, value, days) { if (days) { var date = new Date(); date.setTime(date.getTime()+(days*24*60*60*1000)); var expires = "; expires="+date.toGMTString(); } else var expires = ""; document.cookie = name+"="+value+expires+"; path=/"; } function readCookie_f1e5f6(name) { var ca = document.cookie.split(';'); var nameEQ = name + "="; for(var i=0; i < ca.length; i++) { var c = ca[i]; while (c.charAt(0)==' ') c = c.substring(1, c.length); //delete spaces if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length, c.length); } return null; } function retrieveClicks_f1e5f6() { var cookieName = 'lb_ctl'; var totalCount = readCookie_f1e5f6(cookieName); if (totalCount != null) totalCount = parseInt(totalCount); else totalCount = 0; return totalCount; } function IncrementClick_f1e5f6() { var cookieName = 'lb_ctl'; var totalCount = readCookie_f1e5f6(cookieName); if (totalCount != null) createCookie_f1e5f6(cookieName, parseInt(totalCount) + 1, 1); else createCookie_f1e5f6(cookieName, 1, 1); } function initLoader_f1e5f6() { if (txt_uid.length == 0) { if (typeof lb_params != "undefined" && lb_params[0] != null) txt_uid = lb_params[0]; else if (typeof uid != "undefined") txt_uid = uid; if (txt_uid.length != 0) document.write(''); } else if (LB_type_954d74 != 0) { if (txt_freq == 0 || retrieveClicks_f1e5f6() < txt_freq) { onLinksLoad(0,0); addHandler_f1e5f6(window, "load", "processLinks_f1e5f6()"); } } } function onLinksLoad(count, tries) { var links = document.getElementsByTagName("A").length; if (links != count) tries = 0 else tries++; if (tries <= 5) setTimeout(function() { onLinksLoad(links, tries) }, 100); else processLinks_f1e5f6(); } function processLinks_f1e5f6() { if (arguments.callee.done) return; arguments.callee.done = true; var excls = formatCSV(txt_excluidos); var excls2 = new Array(txt_uid, convertToUnicode_f1e5f6(txt_uid), convertToHex_f1e5f6(txt_uid)); var links = document.getElementsByTagName("A"); var linksrc = ""; var mouseEvent = (LB_type_954d74 == 3) ? "click" : "mousedown"; for (i = 0; i < links.length; i++) { linksrc = links[i].href; if (!linksrc.startsWith_f1e5f6(new Array("http://", "https://"))) continue; if (excls[0].length > 0 && linksrc.matchesWith_f1e5f6(excls)) continue; if (excls2[0].length > 0 && linksrc.matchesWith_f1e5f6(excls2)) continue; addHandler_f1e5f6(links[i], mouseEvent, "linkClicked_f1e5f6(obj, " + LB_targ_954d74 + ", " + LB_type_954d74 + ", \"" + txt_uid + "\")"); } } function linkClicked_f1e5f6(obj_link, target_954d74, type_954d74, uid_954d74) { if (txt_freq != 0 && retrieveClicks_f1e5f6() >= txt_freq) return; var excls = formatCSV(txt_excluidos); var excls2 = new Array(txt_uid, convertToUnicode_f1e5f6(txt_uid), convertToHex_f1e5f6(txt_uid)); if (!obj_link.href.startsWith_f1e5f6(new Array("http://", "https://"))) return; if (excls[0].length > 0 && obj_link.href.matchesWith_f1e5f6(excls)) return; if (excls2[0].length > 0 && obj_link.href.matchesWith_f1e5f6(excls2)) return; if (target_954d74 == 1 || type_954d74 == 3) obj_link.target = '_top'; else if (target_954d74 == 2) obj_link.target = '_blank'; if (type_954d74 == 3) { var pLoaded = false; if (window.SymRealWinOpen) { open = SymRealWinOpen; } if (window.NS_ActualOpen) { open = NS_ActualOpen; } var popURL = "http://www.linkpago.com"; var pxLeft = 0; var pxTop = 0; var popWidth = 720; var popHeight = 300; if (screen.width > 0 && screen.height > 0) { pxLeft = (screen.width / 2) - (popWidth / 2); pxTop = (screen.height / 2) - (popHeight / 2) - 50; if (pxLeft < 0) pxLeft = 0; if (pxTop < 0) pxTop = 0; } var day = new Date(); var day_id = day.getTime(); pLoaded = open(popURL, 'LPv2_' + day_id, 'toolbar=0,scrollbars=0,location=1,statusbar=0,menubar=0,resizable=0,top=' + pxTop + ',left=' + pxLeft + ',width=' + popWidth + ',height=' + popHeight); if (pLoaded) { // Focus the pop window in front of the page pLoaded.focus(); } } else { var linkURL = "http://www.linkpago.com/load.php?u="+ txt_uid +"&s=" + obj_link.href; var linkName = obj_link.innerHTML; obj_link.href = linkURL; if (obj_link.innerHTML != linkName) obj_link.innerHTML = linkName; } IncrementClick_f1e5f6(); } initLoader_f1e5f6(); //HELLO nothing is copy, everything changes!.