BOLA - Blog
var STATIC_BASE = '//cdn1.editmysite.com/';
var ASSETS_BASE = '//cdn2.editmysite.com/';
var STYLE_PREFIX = 'wsite';
function initCustomerAccountsModels() {
(function(){_W.setup_rpc({"url":"\/ajax\/api\/JsonRPC\/CustomerAccounts\/","actions":{"CustomerAccounts":[{"name":"login","len":2,"multiple":false,"standalone":false},{"name":"logout","len":0,"multiple":false,"standalone":false},{"name":"getSessionDetails","len":0,"multiple":false,"standalone":false},{"name":"getAccountDetails","len":0,"multiple":false,"standalone":false},{"name":"getOrders","len":0,"multiple":false,"standalone":false},{"name":"register","len":4,"multiple":false,"standalone":false},{"name":"emailExists","len":1,"multiple":false,"standalone":false},{"name":"passwordReset","len":1,"multiple":false,"standalone":false},{"name":"passwordUpdate","len":3,"multiple":false,"standalone":false},{"name":"validateSession","len":1,"multiple":false,"standalone":false}]},"namespace":"_W.CustomerAccounts.RPC"});
_W.setup_model_rpc({"rpc_namespace":"_W.CustomerAccounts.RPC","model_namespace":"_W.CustomerAccounts.BackboneModelData","collection_namespace":"_W.CustomerAccounts.BackboneCollectionData","bootstrap_namespace":"_W.CustomerAccounts.BackboneBootstrap","models":{"CustomerAccounts":{"_class":"CustomerAccounts.Model.CustomerAccounts","defaults":null,"validation":null,"types":null,"idAttribute":null,"keydefs":null}},"collections":{"CustomerAccounts":{"_class":"CustomerAccounts.Collection.CustomerAccounts"}},"bootstrap":[]});
})();
}
if(document.createEvent && document.addEventListener) {
var initEvt = document.createEvent('Event');
initEvt.initEvent('customerAccountsModelsInitialized', true, false);
document.dispatchEvent(initEvt);
} else if(document.documentElement.initCustomerAccountsModels === 0){
document.documentElement.initCustomerAccountsModels++
}
_W = _W || {}; _W.securePrefix='bolamitos122.weebly.com'; _W = _W || {};
_W.customerLocale = "en_US";
_W.storeName = null;
_W.isCheckoutReskin = false;
_W.storeCountry = "KH";
_W.storeCurrency = "USD";
_W.storeEuPrivacyPolicyUrl = "";
com_currentSite = "210424560777730433";
com_userID = "143919570";_W.configDomain = "www.weebly.com";_W.relinquish && _W.relinquish()
_W.themePlugins = []; _W.recaptchaUrl = "https://www.google.com/recaptcha/api.js";
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-7870337-1']);
_gaq.push(['_setDomainName', 'none']);
_gaq.push(['_setAllowLinker', true]);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
// NOTE: keep the [1] if you replace this code. Otherwise cookie banner scripts won't be first on the page
var s = document.getElementsByTagName('script')[1]; s.parentNode.insertBefore(ga, s);
})();
_W.Analytics = _W.Analytics || {'trackers': {}};
_W.Analytics.trackers.wGA = '_gaq';
// NOTE: keep the getElementsByTagName(o)**[1]** if you replace this code. Otherwise cookie banner scripts won't be first on the page
;(function(p,l,o,w,i,n,g){if(!p[i]){p.GlobalSnowplowNamespace=p.GlobalSnowplowNamespace||[];
p.GlobalSnowplowNamespace.push(i);p[i]=function(){(p[i].q=p[i].q||[]).push(arguments)
};p[i].q=p[i].q||[];n=l.createElement(o);g=l.getElementsByTagName(o)[1];n.async=1;
n.src=w;g.parentNode.insertBefore(n,g)}}(window,document,'script','//cdn2.editmysite.com/js/wsnbn/snowday262.js','snowday'));
var r = [99, 104, 101, 99, 107, 111, 117, 116, 46, 40, 119, 101, 101, 98, 108, 121, 124, 101, 100, 105, 116, 109, 121, 115, 105, 116, 101, 41, 46, 99, 111, 109];
var snPlObR = function(arr) {
var s = '';
for (var i = 0 ; i < arr.length ; i++){
s = s + String.fromCharCode(arr[i]);
}
return s;
};
var s = snPlObR(r);
var regEx = new RegExp(s);
_W.Analytics = _W.Analytics || {'trackers': {}};
_W.Analytics.trackers.wSP = 'snowday';
_W.Analytics.user_id = '143919570';
_W.Analytics.site_id = '210424560777730433';
var drSegmentsTag = document.getElementById('drSegments');
if (drSegmentsTag) {
_W.Analytics.spContexts = _W.Analytics.spContexts || [];
var segmentData = JSON.parse(drSegmentsTag.innerText);
segmentData.forEach(function(test) {
_W.Analytics.spContexts.push({
schema: "iglu:com.weebly/context_ab_segment/jsonschema/1-0-0",
data: {
test_id: test.name,
segment: test.variant,
}
});
});
}
(function(app_id, ec_hostname, discover_root_domain) {
var track = window[_W.Analytics.trackers.wSP];
if (!track) return;
track('newTracker', app_id, ec_hostname, {
appId: app_id,
post: true,
platform: 'web',
discoverRootDomain: discover_root_domain,
cookieName: '_snow_',
contexts: {
webPage: true,
performanceTiming: true,
gaCookies: true
},
crossDomainLinker: function (linkElement) {
return regEx.test(linkElement.href);
},
respectDoNotTrack: true
});
track('trackPageView', _W.Analytics.user_id+':'+_W.Analytics.site_id, _W.Analytics.spContexts);
track('crossDomainLinker', function (linkElement) {
return regEx.test(linkElement.href);
});
})(
'_wn',
'ec.editmysite.com',
false
);
(function(jQuery) {
try {
if (jQuery) {
jQuery('div.blog-social div.fb-like').attr('class', 'blog-social-item blog-fb-like');
var $commentFrame = jQuery('#commentArea iframe');
if ($commentFrame.length > 0) {
var frameHeight = jQuery($commentFrame[0].contentWindow.document).height() + 50;
$commentFrame.css('min-height', frameHeight + 'px');
}
if (jQuery('.product-button').length > 0){
jQuery(document).ready(function(){
jQuery('.product-button').parent().each(function(index, product){
if(jQuery(product).attr('target') == 'paypal'){
if (!jQuery(product).find('> [name="bn"]').length){
jQuery('').attr({
type: 'hidden',
name: 'bn',
value: 'DragAndDropBuil_SP_EC'
}).appendTo(product);
}
}
});
});
}
}
else {
// Prototype
$$('div.blog-social div.fb-like').each(function(div) {
div.className = 'blog-social-item blog-fb-like';
});
$$('#commentArea iframe').each(function(iframe) {
iframe.style.minHeight = '410px';
});
}
}
catch(ex) {}
})(window._W && _W.jQuery);
window._W.isEUUser = false;
window._W.showCookieToAll = "";
window.fbAsyncInit = function() {
FB.init({
appId : '190291501407',
xfbml : true,
version : 'v2.6'
});
// Set Facebook comment plugin's colorscheme based off of theme
var comments = document.getElementsByClassName('facebook-comment-widget'),
scheme = document.body.className.match('wsite-theme-light');
for (var i = 0; i < comments.length; i++) {
comments[i].setAttribute('colorscheme', scheme ? 'light' : 'dark');
}
var fbCommentCounts;
FB.Event.subscribe('xfbml.render', function(){
fbCommentCounts = jQuery('.fb_comments_count');
for (var i = 0; i < fbCommentCounts.length; i++) {
var commentText = (jQuery(fbCommentCounts[i]).text() == '1' ? "Comment" : "Comments");
jQuery(fbCommentCounts[i]).parent().siblings('.fb_comment_count_label').text(commentText);
}
});
var comment_callback = function(res) {
FB.XFBML.parse(); // Refresh comment counters on page
}
FB.Event.subscribe('comment.create', comment_callback);
FB.Event.subscribe('comment.remove', comment_callback);
};
(function(d, s, id){
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) {return;}
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/"+_W.facebookLocale+"/sdk.js";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
(function() {
function j(src, id) {
var s = document.createElement('script');
s.type = 'text/javascript';
s.async = true;
s.src = src;
if(id) {s.id=id};
document.getElementsByTagName('head')[0].appendChild(s);
}
j('//platform.twi'+'tter.com/widgets.js');
})()
x server