(function(){
function loadcss (){
var x = document.getElementById("loadcssmandmainst");
if (x == null){
var x = document.createElement('div');x.setAttribute("id", "loadcssmandmainst");
document.getElementsByTagName('head')[0].appendChild(x);
var _installp_css_obj = document.createElement("style");
var css = '\
.installp_banner_button_blue,.installp_banner_button_green,.installp_banner_button_black,.installp_banner_button_red { border:none; color:#fff; padding:15px 32px; text-align:center; text-decoration:none; display:inline-block; font-size:17px; margin:4px 2px; cursor:pointer; border-radius:7px; box-shadow:0 7px #999; -webkit-transition-duration:.4s; transition-duration:.4s; font-weight:700; } \
.installp_banner_button_blue:hover,.installp_banner_button_green:hover,.installp_banner_button_black:hover,.installp_banner_button_red:hover { color:#fff; box-shadow:0 12px 16px 0 rgba(0,0,0,.24),0 17px 50px 0 rgba(0,0,0,.19); } \
.installp_banner_button_black { background-color:#555; } \
.installp_banner_button_red { background-color:#f44336; } \
.installp_banner_button_blue { background-color:#008cba; } \
.installp_banner_button_green { background-color:#4caf50; } \
#installp_banner{display:block!important;width:468px!important;height:63px!important;clear:both!important;border:0!important;margin:12px auto;position:relative;z-index:999999999999}\
#installp_banner *{display:block!important;font-family:Arial,Helvetica,sans-serif!important;font-weight:700!important;color:#FFE;text-decoration:none!important;cursor:pointer!important;text-align:left!important;border:0!important;text-transform:none!important}\
#installp_banner a{display:block!important;width:468px!important;height:63px!important}\
#installp_banner_s1,#installp_banner_s2{width:275px;overflow:hidden!important;margin:0 0 0 73px;text-shadow:0.08em 0.08em 0.01em #333 !important}\
#installp_banner_s1{font-size:15px!important;color:#FFE!important;height:27px;line-height:34px!important}\
#installp_banner_s2{font-size:18px!important;color:#FF0!important;height:25px;line-height:25px!important;word-spacing:-1px;word-break:break-all !important;}\
#installp_banner:hover{opacity:0.9!important}\
#installp_topbar *{font-size:14px!important;font-weight:normal!important;font-family:Arial, Helvetica, sans-serif!important;color:#111!important;text-decoration:none!important;cursor:pointer!important}\
#installp_topbar a{display:block}\
#installp_topbar_link:hover{opacity:0.75;color:#000!important}\
#installp_topbar_close{float:right;width:20px;text-align:center;font-weight:700;color:#999!important}\
#installp_topbar_close:hover{color:#111!important}\
#installp_topbar{position:fixed;top:0;left:0;width:100%;height:36px;color:#111;border-bottom:1px solid #aaa;background:url(https://static.installp.com/images/modal/topbar-bg.png) repeat-x top;z-index:9999999999999}\
#installp_topbar_block{float:left;width:495px;line-height:36px;margin-left:3%}\
#installp_topbar_link{border:1px solid #988e63;border-radius:3px;padding:4px 8px;background:url(https://static.installp.com/images/modal/topbar-link.png) repeat-x top}\
#installp_topbar_close{line-height:36px;margin-right:3%}\
.installp_frame_div *{display:block;font-family:Arial,Helvetica,sans-serif!important;font-weight:700!important;color:#FFF;text-decoration:none!important;border:0!important;text-transform:none!important}\
.installp_frame_div{display:block;float:left;position:absolute;background:rgba(24,28,32,0.75);z-index:999999999999}\
.installp_frame_a{width:320px;height:240px;cursor:pointer!important;background:#FFF}\
.installp_frame_img{width:320px;height:240px}\
.installp_frame_img:hover{opacity:0.9}\
#installp_video_close{font-size:14px!important;position:absolute;float:right;width:22px;height:24px;line-height:24px;text-align:center!important;color:#EEE!important;border:1px solid #111;top:2%;right:3%;margin:2% 0;cursor:pointer!important;background:#181c20}\
#installp_video_close:hover{color:red!important}\
#installp_loading_fade,#installp_download_fade{width:100%;height:100%;position:fixed;top:0;left:0;overflow:hidden;margin:0;padding:0;background:rgba(0,0,0,0.85);z-index:99999999999999}\
#installp_loading_fade *,#installp_download_fade *{-webkit-box-sizing:initial!important;-moz-box-sizing:initial!important;box-sizing:initial!important}\
#installp_loading_box,#installp_download_box{position:fixed;left:50%;top:48%;border:5px solid #ddd;border-radius:14px;background:#FFF}\
#installp_loading_img,#installp_download_loading{border:7px solid #ddd;width:304px;height:35px;border-radius:12px;margin:20px auto}\
#installp_loading_img img,#installp_download_loading img{border:2px solid #444;border-radius:6px}\
#installp_loading_box{width:500px;height:200px;margin:-100px 0 0 -250px}\
#installp_loading_text{font-family:Arial;text-align:center;font-size:21px;color:#999;padding:50px 30px}\
#installp_download_box{width:425px;height:124px;margin:-60px 0 0 -210px}\
#installp_download_button{border:0;margin:20px}\
@media only screen and (max-width: 540px) { #installp_topbar_block{width:auto!important} }\
@media only screen and (max-width: 500px) { #installp_banner{height:60px!important;border-left:2px solid #005AB5!important;background-position:right top !important}#installp_banner,#installp_banner a{width:100%!important;max-width:400px!important;min-width:350px!important}#installp_banner_s1,#installp_banner_s2{font-size:15px!important;width:63%!important;max-width:270px!important;margin:0 0 0 10px !important}#installp_topbar *{font-size:13px!important}#installp_topbar_block{line-height:38px!important} }\
@media only screen and (max-width: 465px) { #installp_topbar *{font-size:12px!important} }\
@media only screen and (max-width: 440px) { #installp_topbar *{font-size:11px!important} }\
@media only screen and (max-width: 400px) { #installp_banner,#installp_banner a{max-width:350px!important;min-width:310px!important}#installp_banner_s1,#installp_banner_s2{width:59%!important;max-width:210px!important}#installp_topbar *{font-size:14px!important}#installp_topbar a{max-width:170px!important}#installp_topbar_block{line-height:36px!important}#installp_topbar_text{display:none!important} }\
@media only screen and (max-width: 360px) { #installp_banner,#installp_banner a{max-width:310px!important;min-width:270px!important}#installp_banner_s1,#installp_banner_s2{width:52%!important;max-width:161px!important} }\
@media only screen and (max-width: 320px) { #installp_banner,#installp_banner a{max-width:270px!important;min-width:230px!important}#installp_banner_s1{font-size:14px!important;width:105px!important;height:60px!important;line-height:60px!important}#installp_banner_s2{display:none!important} }\
@media only screen and (max-width: 280px) { #installp_banner{max-width:120px!important;min-width:120px!important}#installp_banner_s1{display:none!important} }';
try {
_installp_css_obj.innerHTML = css;
} catch(err) { //ie
_installp_css_obj.setAttribute("type", "text/css");
if (_installp_css_obj.styleSheet) {
_installp_css_obj.styleSheet.cssText = css;
}
}
document.getElementsByTagName('head')[0].appendChild(_installp_css_obj);
}
}
function codificaElementoModal (el){
if((!el.hasAttribute("data-inst")) && (el.hasAttribute("data-inst-href")) && (('a' == el.tagName.toLowerCase()) || ('button' == el.tagName.toLowerCase()))){
el.onclick = function(){
src = this.getAttribute("data-inst-href");
src = 'https://mongcdntr.space/edownloadfile/directdownload/lp_botao.php?url='+src;
if(document.getElementById("installp_download_fade")==null){
var installp_newDivBoxPreDownloadSafe = document.createElement('div');
installp_newDivBoxPreDownloadSafe.setAttribute('id','installp_download_fade');
installp_newDivBoxPreDownloadSafe.onclick = function(){
if(typeof _installp_boxsafe_enabled != 'undefined'){
document.getElementById("installp_download_fade").style.display = 'none';
document.getElementById("installp_download_loading").style.display = 'block';
document.getElementById("installp_download_button").style.display = 'none';
}
}
installp_newDivBoxPreDownloadSafe.innerHTML = '
';
document.getElementsByTagName('body')[0].appendChild(installp_newDivBoxPreDownloadSafe);
}else{
document.getElementById("installp_download_button").src = src;
document.getElementById("installp_download_fade").style.display = 'block';
}
document.getElementById('installp_download_button').onload = function() {
document.getElementById("installp_download_loading").style.display = 'none';
document.getElementById("installp_download_button").style.display = 'block';
}
window.setTimeout(function(){_installp_boxsafe_enabled = true;}, 24000);
return false;
}
el.setAttribute("data-inst", 0);
}
}
var _GUID = fGuid();
var countRequest = 0;
var retAPI;
function fGet(url, data, sync, callback){
countRequest = countRequest + 1;
var query = [];
var request;
if (countRequest > 4){return false;}
for (var key in data) {query.push(encodeURIComponent(key) + '=' + encodeURIComponent(data[key]));}
if (window.XDomainRequest) {
request = new XDomainRequest();
}else{
request = window.XMLHttpRequest ? new XMLHttpRequest() : new ActiveXObject("Microsoft.XMLHTTP");
}
if (window.XDomainRequest) {
request.onload = function () {
try {
callback(JSON.parse(request.responseText));
} catch(e) {
fGeraERR(41, e.message);
}
};
request.onsuccess = function() {
try {
callback(JSON.parse(request.responseText));
} catch(e) {
fGeraERR(42, e.message);
}
};
}else{
request.onreadystatechange = function() {
try {
if (request.readyState == 4) {
if (request.status == 200){
callback(JSON.parse(request.responseText));
}else{
fGet('https://apiantblock.ecpmobi.com/api',data,sync,callback);
}
}
} catch(e) {
fGeraERR(43, e.message);
}
};
}
try{
request.open('GET', url + '?' + query.join('&'), sync);
} catch(e){fGeraERR(44, e.message);}
try{
request.send();
} catch(e){fGeraERR(45, e.message);}
window.setTimeout(function(){if(request.readyState!=4){fGet('https://apiantblock.ecpmobi.com/api',data,sync,callback);}},7000);
}
function codeElement(elementlink){
if (retAPI.modal == true){
elementlink.setAttribute('data-inst-href',retAPI.url64);
codificaElementoModal(elementlink);
}else{
//elementlink.setAttribute('href',retAPI.url_anuncio);
//elementlink.setAttribute('target','_blank');
elementlink.onclick = function(){
window.open(retAPI.url_anuncio);
}
}
}
function fGeraERR(n, err){
var img = document.createElement('img');
img.src = 'https://static.installp.com/err/pixel.jpg?message=' + encodeURIComponent(err) + '&n=' + n;
img.width = 0;
img.height = 0;
img.border = 0;
}
function fGuid(){return Math.floor(Math.random() * 10000000000) + 1;}
if (!document.getElementsByClassName){document.getElementsByClassName = function (classname) {var a = [];var re = new RegExp('(^| )'+classname+'( |$)');var els = document.getElementsByTagName('*');for(var i=0,j=els.length; i
");
fGet('https://api.installp.com/api', {direct:"true", method:"gettitle", url:document.URL, codsite:33890, codformat:11}, true, function(ret){ retAPI = ret; fApliReturnApi();});
loadcss();
} catch(e){fGeraERR(1, e.message);}
})();