Break Barriers, Build Wealth: Start a New Tradition with Real Estate

view original post

.

December 15, 2024

From Grand Market and Nine-Night to rice and peas on Sundays and soup on Saturday afternoons, traditions bring us together and shape our identity. However, alongside these existing traditions, there is still room to start new ones, especially the ones focused on breaking barriers and building wealth. Investing in real estate is one of the most impactful steps you can take to break the cycle of intergenerational poverty. It is a tradition worth creating and passing down. For many Jamaicans, homeownership remains a top symbol of independence and financial success. More than just a roof over your head, owning real estate provides emotional security, financial stability, and serves as a long-term financial asset that can transform your family’s future.

The desire to own property isn’t unique to Jamaicans; it’s a universal aspiration. In March 2022, a survey published by leading financial services company, Bankrate, revealed that 74 per cent of Americans ranked homeownership as the number one measure of prosperity, even more important than a career (60 per cent) or a college education (35 per cent). Meanwhile, the Associated Press in the US and World Report earlier this year indicated that the homeownership rate in China is about 90 per cent, much higher than in many Western countries, with many urban Chinese families tending to buy multiple properties as investments. Furthermore, homeownership is also a deeply rooted part of most European countries, with up to 96 per cent of their young people taught that it’s important and a good investment, according to Statistica.com. This global perspective highlights a common truth: owning real estate is more than just a milestone—it’s a pathway to financial stability and generational wealth. So, why not create a new tradition for your family?

Sadly, for many Jamaicans, home ownership remains a distant dream. Adverse economic conditions, rising cost of living and lack of affordable housing prevent many from saving enough to even consider purchasing a home. This perpetuates the cycle of lack, creating financial instability across generations. Inflation has pushed property prices further out of reach of the average person’s budget, making it increasingly difficult for aspiring homeowners to secure affordable home financing to enter the market. Even those who manage to save enough for a deposit face intense competition for properties, particularly in the middle-income bracket, where demand often exceeds the supply of affordable homes. This often means that the dream of homeownership is delayed, leaving many feelings discouraged and uncertain about their ability to achieve this goal. If not that, then they find that their price bracket doesn’t align with the area they wish to live in. Despite these obstacles, real estate remains an effective way to start a new family tradition centred on investing and building lasting wealth. By leveraging the right strategies, such as investing in real estate funds or starting small, individuals can lay the foundation, establish this tradition and break barriers to wealth creation.

Strategies for Building Wealth Through Real Estate

Though cost is a factor, one of the biggest barriers to home ownership in Jamaica is the lack of a concrete plan. However, with proper planning, homeownership can become a reality. It is also important to start early to build wealth through real estate. Property values in Jamaica tend to appreciate rapidly, making real estate one of the most reliable investments. Yet, many people pass up viable opportunities, holding out for their “dream” home — one they sadly can’t afford right now. Consider starting small and entering the market where you can, as waiting oftentimes increases the cost of ownership. Buy a property in an ‘up-and-coming’ location, if you cannot afford your desired location. It will appreciate and you can sell it later to buy in your desired location. This will help you to establish a strong foundation for long-term financial growth.

What if Traditional Property Investment Isn’t an Option For You Right Now?

While home ownership is an asset to building wealth, as Taneisha Mullings-Smith – Senior Wealth Advisor, NCB Capital Markets Limited highlighted at the recently held ‘Using Real Estate to Build Wealth’ webinar, not everyone has the capital to purchase and manage individual properties for investment. High initial costs, ongoing maintenance, or tenant management can make direct property ownership overwhelming.

An alternative wealth-creation strategy is investing in Real Estate Funds. They offer a lower minimum investment entry point into the market, growth potential, and consistent income stream from dividend and capital gains on the initial investment amount due to real estate’s appreciating value. These funds pool money from multiple investors to purchase and manage properties, giving you a share of the returns without the need for direct property ownership. One such option is the NCB CAP Real Estate Fund, which allows you to start your real estate investment journey with as little as J$20,000. Through the “Season for More” promotion, you can begin building your wealth before the year ends and take steps toward financial security and legacy creation.

This approach not only provides a practical way to begin building wealth but can also help you accumulate the funds needed to eventually purchase your property. By reinvesting dividends and capital gains, you can grow your capital over time, making the goal of wealth creation and home ownership more attainable.

Bottom Line

Overall, building a new tradition of wealth through real estate begins with taking the first step early. The sooner you invest, the more time your property or the properties in your fund have to appreciate in value. And the good news? You don’t need millions to begin — start with what you have and gradually build your portfolio over time. Treat real estate investing like any other financial goal by developing a strategic roadmap that outlines each step towards property ownership, whether it’s through direct property acquisition or funds. Real estate funds, like NCB CAP Real Estate Fund, provide an excellent starting point with lower capital requirements, making property investment more accessible. With careful planning, you can create a financial legacy that helps future generations navigate challenges, such as the rising cost of living or limited housing options.

Ready to take the first step to building new family traditions with real estate ownership? Speak with an NCB Capital Markets wealth advisor today to find out more about the real estate fund and to design an investment plan tailored to your goals. Investing in real estate isn’t just about owning property — it’s about laying the foundation for generational wealth and financial security.

Kimberley Martin – Assistant Vice-President, Corporate Solutions, NCB Capital Markets Limited


December 15, 2024

KINGSTON, Jamaica — The usually whimsical and exciting office holiday pixie exchange can be a source of trauma for some people who have not had the be…

December 15, 2024

WASHINGTON, United States (CMC) — A new report by the Pan American Health Organization (PAHO) has underscored the need to prioritise primary health ca…

December 15, 2024

There are many different aspects of Christmas that make the season wonderful: family, food, gifts, parties, decorations et al. But the most special pa…

December 14, 2024

ST ELIZABETH, Jamaica — Kingston College got their 11th hold on the ISSA Olivier Shield — their ninth outright hold — on Saturday, beating daCosta …

December 14, 2024

KINGSTON, Jamaica — Isaiah Laing, head of Supreme Promotions and the charitable organisation, Supreme Foundation, brought Yuletide cheer to over 70 st…

December 14, 2024

KINGSTON, Jamaica — A businessman of Farewell Avenue in St Andrew was arrested after he was caught with an illegal firearm and ammunition during a tar…

December 14, 2024

KINGSTON, Jamaica — A labourer of Oakland Avenue, Kingston has been charged with unauthorised possession of ammunition following a seizure in the pari…

December 14, 2024

KINGSTON, Jamaica — Love is a beautiful thing, but dancehall songs about love are relatively rare notions in today’s music marketplace. That’s why the…

‘).appendTo(‘.footer:first’);
$(”).appendTo(‘.footer .overlay’);
$(‘.footer .overlay’).css({
‘position’: ‘fixed’,
‘display’: ‘flex’,
‘inset’: ‘0px’,
‘background’: ‘rgba(0, 0, 0, 0.5)’,
‘z-index’: ‘9999’,
‘align-items’: ‘center’,
‘justify-content’: ‘center’,
‘height’: ‘100vh’,
‘width’: ‘100vw’
});
$(‘.footer .overlay .iframe-wrapper’).css({
‘position’: ‘relative’,
‘overflow’: ‘hidden’,
});
if ($(window).width() <= 1000 && $(window).width() < $(window).height()) {
$(‘.footer .overlay .iframe-wrapper’).css({
‘width’: ‘80%’,
‘padding-top’: ‘50%’
});
} else {
$(‘.footer .overlay .iframe-wrapper’).css({
‘width’: ‘50%’,
‘padding-top’: ‘30%’
});
}
var video_href = $(this).attr(‘ta_videolink’);
if (typeof video_href !== ‘undefined’ && video_href !== ”) {
var iframe = document.createElement(‘iframe’);
iframe.src = video_href;
iframe.setAttribute(‘allow’, ‘autoplay’);
var parentElement = document.querySelector(‘.footer .overlay .iframe-wrapper’);
parentElement.appendChild(iframe);
}
$(‘.footer .overlay .iframe-wrapper iframe’).css({
‘background’: ‘rgb(255, 255, 255)’,
‘box-shadow’: ‘black 0px 0px 10px 0px’,
‘position’: ‘absolute’,
‘inset’: ‘0px’,
‘width’: ‘100%’,
‘height’: ‘100%’,
‘padding’: ’20px’
});
$(‘

×

‘).appendTo(‘.footer .overlay .iframe-wrapper’);
$(‘.footer .overlay .iframe-wrapper .overlay_close’).css({
‘position’: ‘absolute’,
‘top’: ‘0’,
‘right’: ‘0’,
‘z-index’: ‘999’,
‘font-size’: ’24px’,
‘cursor’: ‘pointer’,
‘text-align’: ‘center’,
‘display’: ‘flex’,
‘align-items’: ‘center’,
‘justify-content’: ‘center’,
‘height’: ’24px’,
‘width’: ’24px’,
‘color’: ‘black’,
‘font-weight’: ‘700’,
‘transition’: ‘0.3s ease’,
‘opacity’: ‘0.5’,
});
$(‘.footer .overlay .iframe-wrapper .overlay_close’).hover(function() {
$(this).css({
‘opacity’: ‘1’,
});
}, function() {
$(this).css({
‘opacity’: ‘0.5’,
});
});

$(‘.footer .overlay’).show();
$(document).mouseup(“click”, function(e){
var container = $(“.overlay iframe”);
if(!container.is(e.target) && container.has(e.target).length === 0){
$(‘.footer .overlay iframe’).remove();
$(‘.footer .overlay .overlay_close’).remove();
$(‘.footer .overlay style’).remove();
$(‘.footer .overlay’).remove();
}
});
}
});
}
function posts_slot_3_category_position(){
//if the page is using body main_tmpl (and not fallback)
if(jQuery(“body”)[0].className.match(/main_tmpl/)!=null){

post_slot = jQuery(“#posts_slot-3”)[0];
category_position_value = post_slot.querySelector(“[variable-pc]”).innerHTML.match(/–category-position-js.+?;/)[0];
category_position_value = category_position_value.replace(/s/g,””);
category_position_value = category_position_value.replace(/^.+?:/g,””);
category_position_value = category_position_value.replace(/;/g,””);
if(category_position_value==”follow-order-content”){

}
else if(category_position_value==”onimage-bottom-right”){
articles = post_slot.querySelectorAll(‘article’);

for(i=0;i div”);
myquery[0].style.height=””;
myquery[0].children[0].style.height=””;
myquery[0].children[0].style.display=””;
myquery[0].children[0].style.flexDirection = “”;
//myquery[0].children[0].style.alignItems = “center”;
//post_slot.parentElement.style.alignItems=”stretch”;

//CHANGE STYLE
post_slot.parentElement.parentElement.parentElement.style.alignItems=”stretch”;
if(getComputedStyle(post_slot.parentElement.parentElement)[‘display’] != ‘none’){
post_slot.parentElement.parentElement.style.display=”flex”;
}
post_slot.parentElement.parentElement.style.flexDirection = “column”;
//post_slot.parentElement.parentElement.style.alignItems = “center”;
post_slot.parentElement.style.height=”100%”;
post_slot.style.height=”100%”;
myquery=jQuery(“#posts_slot-3 > div”);
myquery[0].style.height=”100%”;
myquery[0].children[0].style.height=”100%”;
myquery[0].children[0].style.display=”flex”;
myquery[0].children[0].style.flexDirection = “column”;
//myquery[0].children[0].style.alignItems = “center”;

articles = post_slot.querySelectorAll(‘article’);

for(i=0;i= 600){
article_clickable = post_slot.querySelector(“[variable-pc]”).innerHTML.match(/–article-clickable-js.+?;/)[0];
article_clickable = article_clickable.replace(/s/g,””);
article_clickable = article_clickable.replace(/^.+?:/g,””);
article_clickable = article_clickable.replace(/;/g,””);
} else {
article_clickable = post_slot.querySelector(“[variable-mobile]”).innerHTML.match(/–article-clickable-js.+?;/)[0];
article_clickable = article_clickable.replace(/s/g,””);
article_clickable = article_clickable.replace(/^.+?:/g,””);
article_clickable = article_clickable.replace(/;/g,””);
}

if (article_clickable == “active”){
for(i=0;i 20 && i<20){
if(space_available < space_occupied){
new_title = title.substr(0,title.length – 6) + ‘…’;
myarticle.querySelectorAll(‘.title a’)[0].innerHTML = new_title;
posts_slot_3_fit_title(myarticle,i);
}
else{
return true;
}
}
}
function posts_slot_3_fit_body(){

if (typeof document.getElementById(“posts_slot-3”).getElementsByClassName(“template_2115_homepage_trio_pizpalu_3”) !== ‘undefined’) {
for(k=0;(k

‘).appendTo(‘.footer:first’);
$(”).appendTo(‘.footer .overlay’);
$(‘.footer .overlay’).css({
‘position’: ‘fixed’,
‘display’: ‘flex’,
‘inset’: ‘0px’,
‘background’: ‘rgba(0, 0, 0, 0.5)’,
‘z-index’: ‘9999’,
‘align-items’: ‘center’,
‘justify-content’: ‘center’,
‘height’: ‘100vh’,
‘width’: ‘100vw’
});
$(‘.footer .overlay .iframe-wrapper’).css({
‘position’: ‘relative’,
‘overflow’: ‘hidden’,
});
if ($(window).width() <= 1000 && $(window).width() < $(window).height()) {
$(‘.footer .overlay .iframe-wrapper’).css({
‘width’: ‘80%’,
‘padding-top’: ‘50%’
});
} else {
$(‘.footer .overlay .iframe-wrapper’).css({
‘width’: ‘50%’,
‘padding-top’: ‘30%’
});
}
var video_href = $(this).attr(‘ta_videolink’);
if (typeof video_href !== ‘undefined’ && video_href !== ”) {
var iframe = document.createElement(‘iframe’);
iframe.src = video_href;
iframe.setAttribute(‘allow’, ‘autoplay’);
var parentElement = document.querySelector(‘.footer .overlay .iframe-wrapper’);
parentElement.appendChild(iframe);
}
$(‘.footer .overlay .iframe-wrapper iframe’).css({
‘background’: ‘rgb(255, 255, 255)’,
‘box-shadow’: ‘black 0px 0px 10px 0px’,
‘position’: ‘absolute’,
‘inset’: ‘0px’,
‘width’: ‘100%’,
‘height’: ‘100%’,
‘padding’: ’20px’
});
$(‘

×

‘).appendTo(‘.footer .overlay .iframe-wrapper’);
$(‘.footer .overlay .iframe-wrapper .overlay_close’).css({
‘position’: ‘absolute’,
‘top’: ‘0’,
‘right’: ‘0’,
‘z-index’: ‘999’,
‘font-size’: ’24px’,
‘cursor’: ‘pointer’,
‘text-align’: ‘center’,
‘display’: ‘flex’,
‘align-items’: ‘center’,
‘justify-content’: ‘center’,
‘height’: ’24px’,
‘width’: ’24px’,
‘color’: ‘black’,
‘font-weight’: ‘700’,
‘transition’: ‘0.3s ease’,
‘opacity’: ‘0.5’,
});
$(‘.footer .overlay .iframe-wrapper .overlay_close’).hover(function() {
$(this).css({
‘opacity’: ‘1’,
});
}, function() {
$(this).css({
‘opacity’: ‘0.5’,
});
});

$(‘.footer .overlay’).show();
$(document).mouseup(“click”, function(e){
var container = $(“.overlay iframe”);
if(!container.is(e.target) && container.has(e.target).length === 0){
$(‘.footer .overlay iframe’).remove();
$(‘.footer .overlay .overlay_close’).remove();
$(‘.footer .overlay style’).remove();
$(‘.footer .overlay’).remove();
}
});
}
});
}

function posts_slot_3_tablet_style(){
(function($) {
if($(“body”)[0].className.match(/main_tmpl/)!=null){
post_slot = $(“#posts_slot-3”)[0];

tablet_style_value = post_slot.querySelector(“[variable-pc]”).innerHTML.match(/–tablet-style-js.+?;/)[0];
tablet_style_value = tablet_style_value.replace(/s/g,””);
tablet_style_value = tablet_style_value.replace(/^.+?:/g,””);
tablet_style_value = tablet_style_value.replace(/;/g,””);

if (tablet_style_value != null){
if (tablet_style_value == “pc”){
// To do nothing
} else if (tablet_style_value == “mobile”){
variable_pc_value = post_slot.querySelector(“[variable-pc]”).innerHTML.match(/min-width.+?;/)[0];
variable_pc_value = variable_pc_value.replace(/s/g,””);
variable_pc_value = variable_pc_value.replace(/^.+?:/g,””);
variable_pc_value = variable_pc_value.replace(/).*/,””);

pc_value = post_slot.querySelector(“[pc]”).innerHTML.match(/min-width.+?;/)[0];
pc_value = pc_value.replace(/s/g,””);
pc_value = pc_value.replace(/^.+?:/g,””);
pc_value = pc_value.replace(/).*/,””);

style_default_pc_value = post_slot.querySelectorAll(“[style_default]”)[0].innerHTML.match(/min-width.+?;/)[0];
style_default_pc_value = style_default_pc_value.replace(/s/g,””);
style_default_pc_value = style_default_pc_value.replace(/^.+?:/g,””);
style_default_pc_value = style_default_pc_value.replace(/).*/,””);

variable_mobile_value = post_slot.querySelector(“[variable-mobile]”).innerHTML.match(/max-width.+?;/)[0];
variable_mobile_value = variable_mobile_value.replace(/s/g,””);
variable_mobile_value = variable_mobile_value.replace(/^.+?:/g,””);
variable_mobile_value = variable_mobile_value.replace(/).*/,””);

mobile_value = post_slot.querySelector(“[mobile]”).innerHTML.match(/max-width.+?;/)[0];
mobile_value = mobile_value.replace(/s/g,””);
mobile_value = mobile_value.replace(/^.+?:/g,””);
mobile_value = mobile_value.replace(/).*/,””);

style_default_mobile_value = post_slot.querySelectorAll(“[style_default]”)[1].innerHTML.match(/max-width.+?;/)[0];
style_default_mobile_value = style_default_mobile_value.replace(/s/g,””);
style_default_mobile_value = style_default_mobile_value.replace(/^.+?:/g,””);
style_default_mobile_value = style_default_mobile_value.replace(/).*/,””);

post_slot.querySelectorAll(“[variable-pc]”)[0].innerHTML = post_slot.querySelectorAll(“[variable-pc]”)[0].innerHTML.replace(variable_pc_value, “900px”);
post_slot.querySelectorAll(“[pc]”)[0].innerHTML = post_slot.querySelectorAll(“[pc]”)[0].innerHTML.replace(pc_value, “900px”);
post_slot.querySelectorAll(“[style_default]”)[0].innerHTML = post_slot.querySelectorAll(“[style_default]”)[0].innerHTML.replace(style_default_pc_value, “900px”);
post_slot.querySelectorAll(“[variable-mobile]”)[0].innerHTML = post_slot.querySelectorAll(“[variable-mobile]”)[0].innerHTML.replace(variable_mobile_value, “899px”);
post_slot.querySelectorAll(“[mobile]”)[0].innerHTML = post_slot.querySelectorAll(“[mobile]”)[0].innerHTML.replace(mobile_value, “899px”);
post_slot.querySelectorAll(“[style_default]”)[1].innerHTML = post_slot.querySelectorAll(“[style_default]”)[1].innerHTML.replace(style_default_mobile_value, “899px”);
}
}
}
})(jQuery);
}

function posts_slot_3_category_position(){
//if the page is using body main_tmpl (and not fallback)
if(jQuery(“body”)[0].className.match(/main_tmpl/)!=null){

post_slot = jQuery(“#posts_slot-3”)[0];
if(window.innerWidth<600){
category_position_value = post_slot.querySelector(“[variable-mobile]”).innerHTML.match(/–category-position-js.+?;/)[0];
}
else{
category_position_value = post_slot.querySelector(“[variable-pc]”).innerHTML.match(/–category-position-js.+?;/)[0];
}
category_position_value = category_position_value.replace(/s/g,””);
category_position_value = category_position_value.replace(/^.+?:/g,””);
category_position_value = category_position_value.replace(/;/g,””);
if(category_position_value==”follow-order-content”){

}
else if(category_position_value==”onimage-bottom-right”){
articles = post_slot.querySelectorAll(‘article’);

for(i=0;i div”);
myquery[0].style.height=””;
myquery[0].children[0].style.height=””;
myquery[0].children[0].style.display=””;
myquery[0].children[0].style.flexDirection = “”;
//myquery[0].children[0].style.alignItems = “center”;
//post_slot.parentElement.style.alignItems=”stretch”;

//CHANGE STYLE
post_slot.parentElement.parentElement.parentElement.style.alignItems=”stretch”;
if(getComputedStyle(post_slot.parentElement.parentElement)[‘display’] != ‘none’){
post_slot.parentElement.parentElement.style.display=”flex”;
}
post_slot.parentElement.parentElement.style.flexDirection = “column”;
//post_slot.parentElement.parentElement.style.alignItems = “center”;
post_slot.parentElement.style.height=”100%”;
post_slot.style.height=”100%”;
myquery=jQuery(“#posts_slot-3 > div”);
myquery[0].style.height=”100%”;
myquery[0].children[0].style.height=”100%”;
myquery[0].children[0].style.display=”flex”;
myquery[0].children[0].style.flexDirection = “column”;
//myquery[0].children[0].style.alignItems = “center”;

articles = post_slot.querySelectorAll(‘article’);

for(i=0;i

/*
const config = { childList: true, subtree: true, attributes: true};

const callback = (mutationList, observer) => {
for (const mutation of mutationList) {
my_ad=mutationList[0][‘addedNodes’][0];
max_height=””;
my_ad.querySelector(“img”).addEventListener(“load”, function() {
max_height=””;
max_height= my_ad.querySelector(“img”).offsetHeight;
if(max_height!=””){
my_ad.style.height=max_height + “px”;
}
max_height=””;
observer.disconnect();
});
}
};
const observer = new MutationObserver(callback);

all_ads_WP=jQuery(“[data-wpas-zoneid]”);
for(i=0;i= 600){
article_clickable = post_slot.querySelector(“[variable-pc]”).innerHTML.match(/–article-clickable-js.+?;/)[0];
article_clickable = article_clickable.replace(/s/g,””);
article_clickable = article_clickable.replace(/^.+?:/g,””);
article_clickable = article_clickable.replace(/;/g,””);
} else {
article_clickable = post_slot.querySelector(“[variable-mobile]”).innerHTML.match(/–article-clickable-js.+?;/)[0];
article_clickable = article_clickable.replace(/s/g,””);
article_clickable = article_clickable.replace(/^.+?:/g,””);
article_clickable = article_clickable.replace(/;/g,””);
}

if (article_clickable == “active”){
for(i=0;i titleandbody_height){
document.getElementById(id).getElementsByClassName(“body”)[0].style.display=”none”;
title_height = parseFloat(getComputedStyle(document.getElementById(id).getElementsByClassName(“title”)[0],null).height);
titleandbody_height = parseFloat(getComputedStyle(document.getElementById(id).getElementsByClassName(“titleandbody”)[0],null).height);
article_height=parseFloat(getComputedStyle(document.getElementById(id),null).height);
}

new_article_height=article_height+(title_height-titleandbody_height);
new_titleandbody_height=titleandbody_height+(title_height-titleandbody_height);

if(title_height > titleandbody_height){

document.getElementById(id).getElementsByClassName(“titleandbody”)[0].style.height=new_titleandbody_height + “px”;
document.getElementById(id).getElementsByClassName(“titleandbody”)[0].style.maxHeight=new_titleandbody_height + “px”;
}
}
}
}
}

return true;
}

function posts_slot_3_fit_body(){

if (typeof document.getElementById(“posts_slot-3”).getElementsByClassName(“template_2085_mob_homepage_trio_adula_3”) !== ‘undefined’) {
for(k=0;(k

December 13, 2024

In a stunning display of determination and heart, Further And Beyond , a six-year-old chestnut horse bred in Jamaica, finished an impressive fourth in…

‘).appendTo(‘.footer:first’);
$(”).appendTo(‘.footer .overlay’);
$(‘.footer .overlay’).css({
‘position’: ‘fixed’,
‘display’: ‘flex’,
‘inset’: ‘0px’,
‘background’: ‘rgba(0, 0, 0, 0.5)’,
‘z-index’: ‘9999’,
‘align-items’: ‘center’,
‘justify-content’: ‘center’,
‘height’: ‘100vh’,
‘width’: ‘100vw’
});
$(‘.footer .overlay .iframe-wrapper’).css({
‘position’: ‘relative’,
‘overflow’: ‘hidden’,
});
if ($(window).width() <= 1000 && $(window).width() < $(window).height()) {
$(‘.footer .overlay .iframe-wrapper’).css({
‘width’: ‘80%’,
‘padding-top’: ‘50%’
});
} else {
$(‘.footer .overlay .iframe-wrapper’).css({
‘width’: ‘50%’,
‘padding-top’: ‘30%’
});
}
var video_href = $(this).attr(‘ta_videolink’);
if (typeof video_href !== ‘undefined’ && video_href !== ”) {
var iframe = document.createElement(‘iframe’);
iframe.src = video_href;
iframe.setAttribute(‘allow’, ‘autoplay’);
var parentElement = document.querySelector(‘.footer .overlay .iframe-wrapper’);
parentElement.appendChild(iframe);
}
$(‘.footer .overlay .iframe-wrapper iframe’).css({
‘background’: ‘rgb(255, 255, 255)’,
‘box-shadow’: ‘black 0px 0px 10px 0px’,
‘position’: ‘absolute’,
‘inset’: ‘0px’,
‘width’: ‘100%’,
‘height’: ‘100%’,
‘padding’: ’20px’
});
$(‘

×

‘).appendTo(‘.footer .overlay .iframe-wrapper’);
$(‘.footer .overlay .iframe-wrapper .overlay_close’).css({
‘position’: ‘absolute’,
‘top’: ‘0’,
‘right’: ‘0’,
‘z-index’: ‘999’,
‘font-size’: ’24px’,
‘cursor’: ‘pointer’,
‘text-align’: ‘center’,
‘display’: ‘flex’,
‘align-items’: ‘center’,
‘justify-content’: ‘center’,
‘height’: ’24px’,
‘width’: ’24px’,
‘color’: ‘black’,
‘font-weight’: ‘700’,
‘transition’: ‘0.3s ease’,
‘opacity’: ‘0.5’,
});
$(‘.footer .overlay .iframe-wrapper .overlay_close’).hover(function() {
$(this).css({
‘opacity’: ‘1’,
});
}, function() {
$(this).css({
‘opacity’: ‘0.5’,
});
});

$(‘.footer .overlay’).show();
$(document).mouseup(“click”, function(e){
var container = $(“.overlay iframe”);
if(!container.is(e.target) && container.has(e.target).length === 0){
$(‘.footer .overlay iframe’).remove();
$(‘.footer .overlay .overlay_close’).remove();
$(‘.footer .overlay style’).remove();
$(‘.footer .overlay’).remove();
}
});
}
});
}

function posts_slot_4_tablet_style(){
(function($) {
if($(“body”)[0].className.match(/main_tmpl/)!=null){
post_slot = $(“#posts_slot-4”)[0];

tablet_style_value = post_slot.querySelector(“[variable-pc]”).innerHTML.match(/–tablet-style-js.+?;/)[0];
tablet_style_value = tablet_style_value.replace(/s/g,””);
tablet_style_value = tablet_style_value.replace(/^.+?:/g,””);
tablet_style_value = tablet_style_value.replace(/;/g,””);

if (tablet_style_value != null){
if (tablet_style_value == “pc”){
// To do nothing
} else if (tablet_style_value == “mobile”){
variable_pc_value = post_slot.querySelector(“[variable-pc]”).innerHTML.match(/min-width.+?;/)[0];
variable_pc_value = variable_pc_value.replace(/s/g,””);
variable_pc_value = variable_pc_value.replace(/^.+?:/g,””);
variable_pc_value = variable_pc_value.replace(/).*/,””);

pc_value = post_slot.querySelector(“[pc]”).innerHTML.match(/min-width.+?;/)[0];
pc_value = pc_value.replace(/s/g,””);
pc_value = pc_value.replace(/^.+?:/g,””);
pc_value = pc_value.replace(/).*/,””);

style_default_pc_value = post_slot.querySelectorAll(“[style_default]”)[0].innerHTML.match(/min-width.+?;/)[0];
style_default_pc_value = style_default_pc_value.replace(/s/g,””);
style_default_pc_value = style_default_pc_value.replace(/^.+?:/g,””);
style_default_pc_value = style_default_pc_value.replace(/).*/,””);

variable_mobile_value = post_slot.querySelector(“[variable-mobile]”).innerHTML.match(/max-width.+?;/)[0];
variable_mobile_value = variable_mobile_value.replace(/s/g,””);
variable_mobile_value = variable_mobile_value.replace(/^.+?:/g,””);
variable_mobile_value = variable_mobile_value.replace(/).*/,””);

mobile_value = post_slot.querySelector(“[mobile]”).innerHTML.match(/max-width.+?;/)[0];
mobile_value = mobile_value.replace(/s/g,””);
mobile_value = mobile_value.replace(/^.+?:/g,””);
mobile_value = mobile_value.replace(/).*/,””);

style_default_mobile_value = post_slot.querySelectorAll(“[style_default]”)[1].innerHTML.match(/max-width.+?;/)[0];
style_default_mobile_value = style_default_mobile_value.replace(/s/g,””);
style_default_mobile_value = style_default_mobile_value.replace(/^.+?:/g,””);
style_default_mobile_value = style_default_mobile_value.replace(/).*/,””);

post_slot.querySelectorAll(“[variable-pc]”)[0].innerHTML = post_slot.querySelectorAll(“[variable-pc]”)[0].innerHTML.replace(variable_pc_value, “900px”);
post_slot.querySelectorAll(“[pc]”)[0].innerHTML = post_slot.querySelectorAll(“[pc]”)[0].innerHTML.replace(pc_value, “900px”);
post_slot.querySelectorAll(“[style_default]”)[0].innerHTML = post_slot.querySelectorAll(“[style_default]”)[0].innerHTML.replace(style_default_pc_value, “900px”);
post_slot.querySelectorAll(“[variable-mobile]”)[0].innerHTML = post_slot.querySelectorAll(“[variable-mobile]”)[0].innerHTML.replace(variable_mobile_value, “899px”);
post_slot.querySelectorAll(“[mobile]”)[0].innerHTML = post_slot.querySelectorAll(“[mobile]”)[0].innerHTML.replace(mobile_value, “899px”);
post_slot.querySelectorAll(“[style_default]”)[1].innerHTML = post_slot.querySelectorAll(“[style_default]”)[1].innerHTML.replace(style_default_mobile_value, “899px”);
}
}
}
})(jQuery);
}

function posts_slot_4_category_position(){
//if the page is using body main_tmpl (and not fallback)
if(jQuery(“body”)[0].className.match(/main_tmpl/)!=null){

post_slot = jQuery(“#posts_slot-4”)[0];
if(window.innerWidth<600){
category_position_value = post_slot.querySelector(“[variable-mobile]”).innerHTML.match(/–category-position-js.+?;/)[0];
}
else{
category_position_value = post_slot.querySelector(“[variable-pc]”).innerHTML.match(/–category-position-js.+?;/)[0];
}
category_position_value = category_position_value.replace(/s/g,””);
category_position_value = category_position_value.replace(/^.+?:/g,””);
category_position_value = category_position_value.replace(/;/g,””);
if(category_position_value==”follow-order-content”){

}
else if(category_position_value==”onimage-bottom-right”){
articles = post_slot.querySelectorAll(‘article’);

for(i=0;i div”);
myquery[0].style.height=””;
myquery[0].children[0].style.height=””;
myquery[0].children[0].style.display=””;
myquery[0].children[0].style.flexDirection = “”;
//myquery[0].children[0].style.alignItems = “center”;
//post_slot.parentElement.style.alignItems=”stretch”;

//CHANGE STYLE
post_slot.parentElement.parentElement.parentElement.style.alignItems=”stretch”;
if(getComputedStyle(post_slot.parentElement.parentElement)[‘display’] != ‘none’){
post_slot.parentElement.parentElement.style.display=”flex”;
}
post_slot.parentElement.parentElement.style.flexDirection = “column”;
//post_slot.parentElement.parentElement.style.alignItems = “center”;
post_slot.parentElement.style.height=”100%”;
post_slot.style.height=”100%”;
myquery=jQuery(“#posts_slot-4 > div”);
myquery[0].style.height=”100%”;
myquery[0].children[0].style.height=”100%”;
myquery[0].children[0].style.display=”flex”;
myquery[0].children[0].style.flexDirection = “column”;
//myquery[0].children[0].style.alignItems = “center”;

articles = post_slot.querySelectorAll(‘article’);

for(i=0;i

/*
const config = { childList: true, subtree: true, attributes: true};

const callback = (mutationList, observer) => {
for (const mutation of mutationList) {
my_ad=mutationList[0][‘addedNodes’][0];
max_height=””;
my_ad.querySelector(“img”).addEventListener(“load”, function() {
max_height=””;
max_height= my_ad.querySelector(“img”).offsetHeight;
if(max_height!=””){
my_ad.style.height=max_height + “px”;
}
max_height=””;
observer.disconnect();
});
}
};
const observer = new MutationObserver(callback);

all_ads_WP=jQuery(“[data-wpas-zoneid]”);
for(i=0;i= 600){
article_clickable = post_slot.querySelector(“[variable-pc]”).innerHTML.match(/–article-clickable-js.+?;/)[0];
article_clickable = article_clickable.replace(/s/g,””);
article_clickable = article_clickable.replace(/^.+?:/g,””);
article_clickable = article_clickable.replace(/;/g,””);
} else {
article_clickable = post_slot.querySelector(“[variable-mobile]”).innerHTML.match(/–article-clickable-js.+?;/)[0];
article_clickable = article_clickable.replace(/s/g,””);
article_clickable = article_clickable.replace(/^.+?:/g,””);
article_clickable = article_clickable.replace(/;/g,””);
}

if (article_clickable == “active”){
for(i=0;i titleandbody_height){
document.getElementById(id).getElementsByClassName(“body”)[0].style.display=”none”;
title_height = parseFloat(getComputedStyle(document.getElementById(id).getElementsByClassName(“title”)[0],null).height);
titleandbody_height = parseFloat(getComputedStyle(document.getElementById(id).getElementsByClassName(“titleandbody”)[0],null).height);
article_height=parseFloat(getComputedStyle(document.getElementById(id),null).height);
}

new_article_height=article_height+(title_height-titleandbody_height);
new_titleandbody_height=titleandbody_height+(title_height-titleandbody_height);

if(title_height > titleandbody_height){

document.getElementById(id).getElementsByClassName(“titleandbody”)[0].style.height=new_titleandbody_height + “px”;
document.getElementById(id).getElementsByClassName(“titleandbody”)[0].style.maxHeight=new_titleandbody_height + “px”;
}
}
}
}
}

return true;
}

function posts_slot_4_fit_body(){

if (typeof document.getElementById(“posts_slot-4”).getElementsByClassName(“template_2086_homepage_single_adula_3”) !== ‘undefined’) {
for(k=0;(k

‘).appendTo(‘.footer:first’);
$(”).appendTo(‘.footer .overlay’);
$(‘.footer .overlay’).css({
‘position’: ‘fixed’,
‘display’: ‘flex’,
‘inset’: ‘0px’,
‘background’: ‘rgba(0, 0, 0, 0.5)’,
‘z-index’: ‘9999’,
‘align-items’: ‘center’,
‘justify-content’: ‘center’,
‘height’: ‘100vh’,
‘width’: ‘100vw’
});
$(‘.footer .overlay .iframe-wrapper’).css({
‘position’: ‘relative’,
‘overflow’: ‘hidden’,
});
if ($(window).width() <= 1000 && $(window).width() < $(window).height()) {
$(‘.footer .overlay .iframe-wrapper’).css({
‘width’: ‘80%’,
‘padding-top’: ‘50%’
});
} else {
$(‘.footer .overlay .iframe-wrapper’).css({
‘width’: ‘50%’,
‘padding-top’: ‘30%’
});
}
var video_href = $(this).attr(‘ta_videolink’);
if (typeof video_href !== ‘undefined’ && video_href !== ”) {
var iframe = document.createElement(‘iframe’);
iframe.src = video_href;
iframe.setAttribute(‘allow’, ‘autoplay’);
var parentElement = document.querySelector(‘.footer .overlay .iframe-wrapper’);
parentElement.appendChild(iframe);
}
$(‘.footer .overlay .iframe-wrapper iframe’).css({
‘background’: ‘rgb(255, 255, 255)’,
‘box-shadow’: ‘black 0px 0px 10px 0px’,
‘position’: ‘absolute’,
‘inset’: ‘0px’,
‘width’: ‘100%’,
‘height’: ‘100%’,
‘padding’: ’20px’
});
$(‘

×

‘).appendTo(‘.footer .overlay .iframe-wrapper’);
$(‘.footer .overlay .iframe-wrapper .overlay_close’).css({
‘position’: ‘absolute’,
‘top’: ‘0’,
‘right’: ‘0’,
‘z-index’: ‘999’,
‘font-size’: ’24px’,
‘cursor’: ‘pointer’,
‘text-align’: ‘center’,
‘display’: ‘flex’,
‘align-items’: ‘center’,
‘justify-content’: ‘center’,
‘height’: ’24px’,
‘width’: ’24px’,
‘color’: ‘black’,
‘font-weight’: ‘700’,
‘transition’: ‘0.3s ease’,
‘opacity’: ‘0.5’,
});
$(‘.footer .overlay .iframe-wrapper .overlay_close’).hover(function() {
$(this).css({
‘opacity’: ‘1’,
});
}, function() {
$(this).css({
‘opacity’: ‘0.5’,
});
});

$(‘.footer .overlay’).show();
$(document).mouseup(“click”, function(e){
var container = $(“.overlay iframe”);
if(!container.is(e.target) && container.has(e.target).length === 0){
$(‘.footer .overlay iframe’).remove();
$(‘.footer .overlay .overlay_close’).remove();
$(‘.footer .overlay style’).remove();
$(‘.footer .overlay’).remove();
}
});
}
});
}

function posts_slot_4_tablet_style(){
(function($) {
if($(“body”)[0].className.match(/main_tmpl/)!=null){
post_slot = $(“#posts_slot-4”)[0];

tablet_style_value = post_slot.querySelector(“[variable-pc]”).innerHTML.match(/–tablet-style-js.+?;/)[0];
tablet_style_value = tablet_style_value.replace(/s/g,””);
tablet_style_value = tablet_style_value.replace(/^.+?:/g,””);
tablet_style_value = tablet_style_value.replace(/;/g,””);

if (tablet_style_value != null){
if (tablet_style_value == “pc”){
// To do nothing
} else if (tablet_style_value == “mobile”){
variable_pc_value = post_slot.querySelector(“[variable-pc]”).innerHTML.match(/min-width.+?;/)[0];
variable_pc_value = variable_pc_value.replace(/s/g,””);
variable_pc_value = variable_pc_value.replace(/^.+?:/g,””);
variable_pc_value = variable_pc_value.replace(/).*/,””);

pc_value = post_slot.querySelector(“[pc]”).innerHTML.match(/min-width.+?;/)[0];
pc_value = pc_value.replace(/s/g,””);
pc_value = pc_value.replace(/^.+?:/g,””);
pc_value = pc_value.replace(/).*/,””);

style_default_pc_value = post_slot.querySelectorAll(“[style_default]”)[0].innerHTML.match(/min-width.+?;/)[0];
style_default_pc_value = style_default_pc_value.replace(/s/g,””);
style_default_pc_value = style_default_pc_value.replace(/^.+?:/g,””);
style_default_pc_value = style_default_pc_value.replace(/).*/,””);

variable_mobile_value = post_slot.querySelector(“[variable-mobile]”).innerHTML.match(/max-width.+?;/)[0];
variable_mobile_value = variable_mobile_value.replace(/s/g,””);
variable_mobile_value = variable_mobile_value.replace(/^.+?:/g,””);
variable_mobile_value = variable_mobile_value.replace(/).*/,””);

mobile_value = post_slot.querySelector(“[mobile]”).innerHTML.match(/max-width.+?;/)[0];
mobile_value = mobile_value.replace(/s/g,””);
mobile_value = mobile_value.replace(/^.+?:/g,””);
mobile_value = mobile_value.replace(/).*/,””);

style_default_mobile_value = post_slot.querySelectorAll(“[style_default]”)[1].innerHTML.match(/max-width.+?;/)[0];
style_default_mobile_value = style_default_mobile_value.replace(/s/g,””);
style_default_mobile_value = style_default_mobile_value.replace(/^.+?:/g,””);
style_default_mobile_value = style_default_mobile_value.replace(/).*/,””);

post_slot.querySelectorAll(“[variable-pc]”)[0].innerHTML = post_slot.querySelectorAll(“[variable-pc]”)[0].innerHTML.replace(variable_pc_value, “900px”);
post_slot.querySelectorAll(“[pc]”)[0].innerHTML = post_slot.querySelectorAll(“[pc]”)[0].innerHTML.replace(pc_value, “900px”);
post_slot.querySelectorAll(“[style_default]”)[0].innerHTML = post_slot.querySelectorAll(“[style_default]”)[0].innerHTML.replace(style_default_pc_value, “900px”);
post_slot.querySelectorAll(“[variable-mobile]”)[0].innerHTML = post_slot.querySelectorAll(“[variable-mobile]”)[0].innerHTML.replace(variable_mobile_value, “899px”);
post_slot.querySelectorAll(“[mobile]”)[0].innerHTML = post_slot.querySelectorAll(“[mobile]”)[0].innerHTML.replace(mobile_value, “899px”);
post_slot.querySelectorAll(“[style_default]”)[1].innerHTML = post_slot.querySelectorAll(“[style_default]”)[1].innerHTML.replace(style_default_mobile_value, “899px”);
}
}
}
})(jQuery);
}

function posts_slot_4_category_position(){
//if the page is using body main_tmpl (and not fallback)
if(jQuery(“body”)[0].className.match(/main_tmpl/)!=null){

post_slot = jQuery(“#posts_slot-4”)[0];
if(window.innerWidth<600){
category_position_value = post_slot.querySelector(“[variable-mobile]”).innerHTML.match(/–category-position-js.+?;/)[0];
}
else{
category_position_value = post_slot.querySelector(“[variable-pc]”).innerHTML.match(/–category-position-js.+?;/)[0];
}
category_position_value = category_position_value.replace(/s/g,””);
category_position_value = category_position_value.replace(/^.+?:/g,””);
category_position_value = category_position_value.replace(/;/g,””);
if(category_position_value==”follow-order-content”){

}
else if(category_position_value==”onimage-bottom-right”){
articles = post_slot.querySelectorAll(‘article’);

for(i=0;i div”);
myquery[0].style.height=””;
myquery[0].children[0].style.height=””;
myquery[0].children[0].style.display=””;
myquery[0].children[0].style.flexDirection = “”;
//myquery[0].children[0].style.alignItems = “center”;
//post_slot.parentElement.style.alignItems=”stretch”;

//CHANGE STYLE
post_slot.parentElement.parentElement.parentElement.style.alignItems=”stretch”;
if(getComputedStyle(post_slot.parentElement.parentElement)[‘display’] != ‘none’){
post_slot.parentElement.parentElement.style.display=”flex”;
}
post_slot.parentElement.parentElement.style.flexDirection = “column”;
//post_slot.parentElement.parentElement.style.alignItems = “center”;
post_slot.parentElement.style.height=”100%”;
post_slot.style.height=”100%”;
myquery=jQuery(“#posts_slot-4 > div”);
myquery[0].style.height=”100%”;
myquery[0].children[0].style.height=”100%”;
myquery[0].children[0].style.display=”flex”;
myquery[0].children[0].style.flexDirection = “column”;
//myquery[0].children[0].style.alignItems = “center”;

articles = post_slot.querySelectorAll(‘article’);

for(i=0;i

/*
const config = { childList: true, subtree: true, attributes: true};

const callback = (mutationList, observer) => {
for (const mutation of mutationList) {
my_ad=mutationList[0][‘addedNodes’][0];
max_height=””;
my_ad.querySelector(“img”).addEventListener(“load”, function() {
max_height=””;
max_height= my_ad.querySelector(“img”).offsetHeight;
if(max_height!=””){
my_ad.style.height=max_height + “px”;
}
max_height=””;
observer.disconnect();
});
}
};
const observer = new MutationObserver(callback);

all_ads_WP=jQuery(“[data-wpas-zoneid]”);
for(i=0;i= 600){
article_clickable = post_slot.querySelector(“[variable-pc]”).innerHTML.match(/–article-clickable-js.+?;/)[0];
article_clickable = article_clickable.replace(/s/g,””);
article_clickable = article_clickable.replace(/^.+?:/g,””);
article_clickable = article_clickable.replace(/;/g,””);
} else {
article_clickable = post_slot.querySelector(“[variable-mobile]”).innerHTML.match(/–article-clickable-js.+?;/)[0];
article_clickable = article_clickable.replace(/s/g,””);
article_clickable = article_clickable.replace(/^.+?:/g,””);
article_clickable = article_clickable.replace(/;/g,””);
}

if (article_clickable == “active”){
for(i=0;i titleandbody_height){
document.getElementById(id).getElementsByClassName(“body”)[0].style.display=”none”;
title_height = parseFloat(getComputedStyle(document.getElementById(id).getElementsByClassName(“title”)[0],null).height);
titleandbody_height = parseFloat(getComputedStyle(document.getElementById(id).getElementsByClassName(“titleandbody”)[0],null).height);
article_height=parseFloat(getComputedStyle(document.getElementById(id),null).height);
}

new_article_height=article_height+(title_height-titleandbody_height);
new_titleandbody_height=titleandbody_height+(title_height-titleandbody_height);

if(title_height > titleandbody_height){

document.getElementById(id).getElementsByClassName(“titleandbody”)[0].style.height=new_titleandbody_height + “px”;
document.getElementById(id).getElementsByClassName(“titleandbody”)[0].style.maxHeight=new_titleandbody_height + “px”;
}
}
}
}
}

return true;
}

function posts_slot_4_fit_body(){

if (typeof document.getElementById(“posts_slot-4”).getElementsByClassName(“template_2086_mob_homepage_single_adula_3”) !== ‘undefined’) {
for(k=0;(k

Ruddy Allen&nbsp

December 15, 2024

Bootylicious delivered yet another scintillating performance to win the $1.25-million Ahwhofah Sprint Trophy, the feature event on Saturday’s nine-rac…

‘).appendTo(‘.footer:first’);
$(”).appendTo(‘.footer .overlay’);
$(‘.footer .overlay’).css({
‘position’: ‘fixed’,
‘display’: ‘flex’,
‘inset’: ‘0px’,
‘background’: ‘rgba(0, 0, 0, 0.5)’,
‘z-index’: ‘9999’,
‘align-items’: ‘center’,
‘justify-content’: ‘center’,
‘height’: ‘100vh’,
‘width’: ‘100vw’
});
$(‘.footer .overlay .iframe-wrapper’).css({
‘position’: ‘relative’,
‘overflow’: ‘hidden’,
});
if ($(window).width() <= 1000 && $(window).width() < $(window).height()) {
$(‘.footer .overlay .iframe-wrapper’).css({
‘width’: ‘80%’,
‘padding-top’: ‘50%’
});
} else {
$(‘.footer .overlay .iframe-wrapper’).css({
‘width’: ‘50%’,
‘padding-top’: ‘30%’
});
}
var video_href = $(this).attr(‘ta_videolink’);
if (typeof video_href !== ‘undefined’ && video_href !== ”) {
var iframe = document.createElement(‘iframe’);
iframe.src = video_href;
iframe.setAttribute(‘allow’, ‘autoplay’);
var parentElement = document.querySelector(‘.footer .overlay .iframe-wrapper’);
parentElement.appendChild(iframe);
}
$(‘.footer .overlay .iframe-wrapper iframe’).css({
‘background’: ‘rgb(255, 255, 255)’,
‘box-shadow’: ‘black 0px 0px 10px 0px’,
‘position’: ‘absolute’,
‘inset’: ‘0px’,
‘width’: ‘100%’,
‘height’: ‘100%’,
‘padding’: ’20px’
});
$(‘

×

‘).appendTo(‘.footer .overlay .iframe-wrapper’);
$(‘.footer .overlay .iframe-wrapper .overlay_close’).css({
‘position’: ‘absolute’,
‘top’: ‘0’,
‘right’: ‘0’,
‘z-index’: ‘999’,
‘font-size’: ’24px’,
‘cursor’: ‘pointer’,
‘text-align’: ‘center’,
‘display’: ‘flex’,
‘align-items’: ‘center’,
‘justify-content’: ‘center’,
‘height’: ’24px’,
‘width’: ’24px’,
‘color’: ‘black’,
‘font-weight’: ‘700’,
‘transition’: ‘0.3s ease’,
‘opacity’: ‘0.5’,
});
$(‘.footer .overlay .iframe-wrapper .overlay_close’).hover(function() {
$(this).css({
‘opacity’: ‘1’,
});
}, function() {
$(this).css({
‘opacity’: ‘0.5’,
});
});

$(‘.footer .overlay’).show();
$(document).mouseup(“click”, function(e){
var container = $(“.overlay iframe”);
if(!container.is(e.target) && container.has(e.target).length === 0){
$(‘.footer .overlay iframe’).remove();
$(‘.footer .overlay .overlay_close’).remove();
$(‘.footer .overlay style’).remove();
$(‘.footer .overlay’).remove();
}
});
}
});
}

function posts_slot_5_tablet_style(){
(function($) {
if($(“body”)[0].className.match(/main_tmpl/)!=null){
post_slot = $(“#posts_slot-5”)[0];

tablet_style_value = post_slot.querySelector(“[variable-pc]”).innerHTML.match(/–tablet-style-js.+?;/)[0];
tablet_style_value = tablet_style_value.replace(/s/g,””);
tablet_style_value = tablet_style_value.replace(/^.+?:/g,””);
tablet_style_value = tablet_style_value.replace(/;/g,””);

if (tablet_style_value != null){
if (tablet_style_value == “pc”){
// To do nothing
} else if (tablet_style_value == “mobile”){
variable_pc_value = post_slot.querySelector(“[variable-pc]”).innerHTML.match(/min-width.+?;/)[0];
variable_pc_value = variable_pc_value.replace(/s/g,””);
variable_pc_value = variable_pc_value.replace(/^.+?:/g,””);
variable_pc_value = variable_pc_value.replace(/).*/,””);

pc_value = post_slot.querySelector(“[pc]”).innerHTML.match(/min-width.+?;/)[0];
pc_value = pc_value.replace(/s/g,””);
pc_value = pc_value.replace(/^.+?:/g,””);
pc_value = pc_value.replace(/).*/,””);

style_default_pc_value = post_slot.querySelectorAll(“[style_default]”)[0].innerHTML.match(/min-width.+?;/)[0];
style_default_pc_value = style_default_pc_value.replace(/s/g,””);
style_default_pc_value = style_default_pc_value.replace(/^.+?:/g,””);
style_default_pc_value = style_default_pc_value.replace(/).*/,””);

variable_mobile_value = post_slot.querySelector(“[variable-mobile]”).innerHTML.match(/max-width.+?;/)[0];
variable_mobile_value = variable_mobile_value.replace(/s/g,””);
variable_mobile_value = variable_mobile_value.replace(/^.+?:/g,””);
variable_mobile_value = variable_mobile_value.replace(/).*/,””);

mobile_value = post_slot.querySelector(“[mobile]”).innerHTML.match(/max-width.+?;/)[0];
mobile_value = mobile_value.replace(/s/g,””);
mobile_value = mobile_value.replace(/^.+?:/g,””);
mobile_value = mobile_value.replace(/).*/,””);

style_default_mobile_value = post_slot.querySelectorAll(“[style_default]”)[1].innerHTML.match(/max-width.+?;/)[0];
style_default_mobile_value = style_default_mobile_value.replace(/s/g,””);
style_default_mobile_value = style_default_mobile_value.replace(/^.+?:/g,””);
style_default_mobile_value = style_default_mobile_value.replace(/).*/,””);

post_slot.querySelectorAll(“[variable-pc]”)[0].innerHTML = post_slot.querySelectorAll(“[variable-pc]”)[0].innerHTML.replace(variable_pc_value, “900px”);
post_slot.querySelectorAll(“[pc]”)[0].innerHTML = post_slot.querySelectorAll(“[pc]”)[0].innerHTML.replace(pc_value, “900px”);
post_slot.querySelectorAll(“[style_default]”)[0].innerHTML = post_slot.querySelectorAll(“[style_default]”)[0].innerHTML.replace(style_default_pc_value, “900px”);
post_slot.querySelectorAll(“[variable-mobile]”)[0].innerHTML = post_slot.querySelectorAll(“[variable-mobile]”)[0].innerHTML.replace(variable_mobile_value, “899px”);
post_slot.querySelectorAll(“[mobile]”)[0].innerHTML = post_slot.querySelectorAll(“[mobile]”)[0].innerHTML.replace(mobile_value, “899px”);
post_slot.querySelectorAll(“[style_default]”)[1].innerHTML = post_slot.querySelectorAll(“[style_default]”)[1].innerHTML.replace(style_default_mobile_value, “899px”);
}
}
}
})(jQuery);
}

function posts_slot_5_category_position(){
//if the page is using body main_tmpl (and not fallback)
if(jQuery(“body”)[0].className.match(/main_tmpl/)!=null){

post_slot = jQuery(“#posts_slot-5”)[0];
if(window.innerWidth<600){
category_position_value = post_slot.querySelector(“[variable-mobile]”).innerHTML.match(/–category-position-js.+?;/)[0];
}
else{
category_position_value = post_slot.querySelector(“[variable-pc]”).innerHTML.match(/–category-position-js.+?;/)[0];
}
category_position_value = category_position_value.replace(/s/g,””);
category_position_value = category_position_value.replace(/^.+?:/g,””);
category_position_value = category_position_value.replace(/;/g,””);
if(category_position_value==”follow-order-content”){

}
else if(category_position_value==”onimage-bottom-right”){
articles = post_slot.querySelectorAll(‘article’);

for(i=0;i div”);
myquery[0].style.height=””;
myquery[0].children[0].style.height=””;
myquery[0].children[0].style.display=””;
myquery[0].children[0].style.flexDirection = “”;
//myquery[0].children[0].style.alignItems = “center”;
//post_slot.parentElement.style.alignItems=”stretch”;

//CHANGE STYLE
post_slot.parentElement.parentElement.parentElement.style.alignItems=”stretch”;
if(getComputedStyle(post_slot.parentElement.parentElement)[‘display’] != ‘none’){
post_slot.parentElement.parentElement.style.display=”flex”;
}
post_slot.parentElement.parentElement.style.flexDirection = “column”;
//post_slot.parentElement.parentElement.style.alignItems = “center”;
post_slot.parentElement.style.height=”100%”;
post_slot.style.height=”100%”;
myquery=jQuery(“#posts_slot-5 > div”);
myquery[0].style.height=”100%”;
myquery[0].children[0].style.height=”100%”;
myquery[0].children[0].style.display=”flex”;
myquery[0].children[0].style.flexDirection = “column”;
//myquery[0].children[0].style.alignItems = “center”;

articles = post_slot.querySelectorAll(‘article’);

for(i=0;i

/*
const config = { childList: true, subtree: true, attributes: true};

const callback = (mutationList, observer) => {
for (const mutation of mutationList) {
my_ad=mutationList[0][‘addedNodes’][0];
max_height=””;
my_ad.querySelector(“img”).addEventListener(“load”, function() {
max_height=””;
max_height= my_ad.querySelector(“img”).offsetHeight;
if(max_height!=””){
my_ad.style.height=max_height + “px”;
}
max_height=””;
observer.disconnect();
});
}
};
const observer = new MutationObserver(callback);

all_ads_WP=jQuery(“[data-wpas-zoneid]”);
for(i=0;i= 600){
article_clickable = post_slot.querySelector(“[variable-pc]”).innerHTML.match(/–article-clickable-js.+?;/)[0];
article_clickable = article_clickable.replace(/s/g,””);
article_clickable = article_clickable.replace(/^.+?:/g,””);
article_clickable = article_clickable.replace(/;/g,””);
} else {
article_clickable = post_slot.querySelector(“[variable-mobile]”).innerHTML.match(/–article-clickable-js.+?;/)[0];
article_clickable = article_clickable.replace(/s/g,””);
article_clickable = article_clickable.replace(/^.+?:/g,””);
article_clickable = article_clickable.replace(/;/g,””);
}

if (article_clickable == “active”){
for(i=0;i titleandbody_height){
document.getElementById(id).getElementsByClassName(“body”)[0].style.display=”none”;
title_height = parseFloat(getComputedStyle(document.getElementById(id).getElementsByClassName(“title”)[0],null).height);
titleandbody_height = parseFloat(getComputedStyle(document.getElementById(id).getElementsByClassName(“titleandbody”)[0],null).height);
article_height=parseFloat(getComputedStyle(document.getElementById(id),null).height);
}

new_article_height=article_height+(title_height-titleandbody_height);
new_titleandbody_height=titleandbody_height+(title_height-titleandbody_height);

if(title_height > titleandbody_height){

document.getElementById(id).getElementsByClassName(“titleandbody”)[0].style.height=new_titleandbody_height + “px”;
document.getElementById(id).getElementsByClassName(“titleandbody”)[0].style.maxHeight=new_titleandbody_height + “px”;
}
}
}
}
}

return true;
}

function posts_slot_5_fit_body(){

if (typeof document.getElementById(“posts_slot-5”).getElementsByClassName(“template_2086_homepage_single_adula_3”) !== ‘undefined’) {
for(k=0;(k

‘).appendTo(‘.footer:first’);
$(”).appendTo(‘.footer .overlay’);
$(‘.footer .overlay’).css({
‘position’: ‘fixed’,
‘display’: ‘flex’,
‘inset’: ‘0px’,
‘background’: ‘rgba(0, 0, 0, 0.5)’,
‘z-index’: ‘9999’,
‘align-items’: ‘center’,
‘justify-content’: ‘center’,
‘height’: ‘100vh’,
‘width’: ‘100vw’
});
$(‘.footer .overlay .iframe-wrapper’).css({
‘position’: ‘relative’,
‘overflow’: ‘hidden’,
});
if ($(window).width() <= 1000 && $(window).width() < $(window).height()) {
$(‘.footer .overlay .iframe-wrapper’).css({
‘width’: ‘80%’,
‘padding-top’: ‘50%’
});
} else {
$(‘.footer .overlay .iframe-wrapper’).css({
‘width’: ‘50%’,
‘padding-top’: ‘30%’
});
}
var video_href = $(this).attr(‘ta_videolink’);
if (typeof video_href !== ‘undefined’ && video_href !== ”) {
var iframe = document.createElement(‘iframe’);
iframe.src = video_href;
iframe.setAttribute(‘allow’, ‘autoplay’);
var parentElement = document.querySelector(‘.footer .overlay .iframe-wrapper’);
parentElement.appendChild(iframe);
}
$(‘.footer .overlay .iframe-wrapper iframe’).css({
‘background’: ‘rgb(255, 255, 255)’,
‘box-shadow’: ‘black 0px 0px 10px 0px’,
‘position’: ‘absolute’,
‘inset’: ‘0px’,
‘width’: ‘100%’,
‘height’: ‘100%’,
‘padding’: ’20px’
});
$(‘

×

‘).appendTo(‘.footer .overlay .iframe-wrapper’);
$(‘.footer .overlay .iframe-wrapper .overlay_close’).css({
‘position’: ‘absolute’,
‘top’: ‘0’,
‘right’: ‘0’,
‘z-index’: ‘999’,
‘font-size’: ’24px’,
‘cursor’: ‘pointer’,
‘text-align’: ‘center’,
‘display’: ‘flex’,
‘align-items’: ‘center’,
‘justify-content’: ‘center’,
‘height’: ’24px’,
‘width’: ’24px’,
‘color’: ‘black’,
‘font-weight’: ‘700’,
‘transition’: ‘0.3s ease’,
‘opacity’: ‘0.5’,
});
$(‘.footer .overlay .iframe-wrapper .overlay_close’).hover(function() {
$(this).css({
‘opacity’: ‘1’,
});
}, function() {
$(this).css({
‘opacity’: ‘0.5’,
});
});

$(‘.footer .overlay’).show();
$(document).mouseup(“click”, function(e){
var container = $(“.overlay iframe”);
if(!container.is(e.target) && container.has(e.target).length === 0){
$(‘.footer .overlay iframe’).remove();
$(‘.footer .overlay .overlay_close’).remove();
$(‘.footer .overlay style’).remove();
$(‘.footer .overlay’).remove();
}
});
}
});
}

function posts_slot_5_tablet_style(){
(function($) {
if($(“body”)[0].className.match(/main_tmpl/)!=null){
post_slot = $(“#posts_slot-5”)[0];

tablet_style_value = post_slot.querySelector(“[variable-pc]”).innerHTML.match(/–tablet-style-js.+?;/)[0];
tablet_style_value = tablet_style_value.replace(/s/g,””);
tablet_style_value = tablet_style_value.replace(/^.+?:/g,””);
tablet_style_value = tablet_style_value.replace(/;/g,””);

if (tablet_style_value != null){
if (tablet_style_value == “pc”){
// To do nothing
} else if (tablet_style_value == “mobile”){
variable_pc_value = post_slot.querySelector(“[variable-pc]”).innerHTML.match(/min-width.+?;/)[0];
variable_pc_value = variable_pc_value.replace(/s/g,””);
variable_pc_value = variable_pc_value.replace(/^.+?:/g,””);
variable_pc_value = variable_pc_value.replace(/).*/,””);

pc_value = post_slot.querySelector(“[pc]”).innerHTML.match(/min-width.+?;/)[0];
pc_value = pc_value.replace(/s/g,””);
pc_value = pc_value.replace(/^.+?:/g,””);
pc_value = pc_value.replace(/).*/,””);

style_default_pc_value = post_slot.querySelectorAll(“[style_default]”)[0].innerHTML.match(/min-width.+?;/)[0];
style_default_pc_value = style_default_pc_value.replace(/s/g,””);
style_default_pc_value = style_default_pc_value.replace(/^.+?:/g,””);
style_default_pc_value = style_default_pc_value.replace(/).*/,””);

variable_mobile_value = post_slot.querySelector(“[variable-mobile]”).innerHTML.match(/max-width.+?;/)[0];
variable_mobile_value = variable_mobile_value.replace(/s/g,””);
variable_mobile_value = variable_mobile_value.replace(/^.+?:/g,””);
variable_mobile_value = variable_mobile_value.replace(/).*/,””);

mobile_value = post_slot.querySelector(“[mobile]”).innerHTML.match(/max-width.+?;/)[0];
mobile_value = mobile_value.replace(/s/g,””);
mobile_value = mobile_value.replace(/^.+?:/g,””);
mobile_value = mobile_value.replace(/).*/,””);

style_default_mobile_value = post_slot.querySelectorAll(“[style_default]”)[1].innerHTML.match(/max-width.+?;/)[0];
style_default_mobile_value = style_default_mobile_value.replace(/s/g,””);
style_default_mobile_value = style_default_mobile_value.replace(/^.+?:/g,””);
style_default_mobile_value = style_default_mobile_value.replace(/).*/,””);

post_slot.querySelectorAll(“[variable-pc]”)[0].innerHTML = post_slot.querySelectorAll(“[variable-pc]”)[0].innerHTML.replace(variable_pc_value, “900px”);
post_slot.querySelectorAll(“[pc]”)[0].innerHTML = post_slot.querySelectorAll(“[pc]”)[0].innerHTML.replace(pc_value, “900px”);
post_slot.querySelectorAll(“[style_default]”)[0].innerHTML = post_slot.querySelectorAll(“[style_default]”)[0].innerHTML.replace(style_default_pc_value, “900px”);
post_slot.querySelectorAll(“[variable-mobile]”)[0].innerHTML = post_slot.querySelectorAll(“[variable-mobile]”)[0].innerHTML.replace(variable_mobile_value, “899px”);
post_slot.querySelectorAll(“[mobile]”)[0].innerHTML = post_slot.querySelectorAll(“[mobile]”)[0].innerHTML.replace(mobile_value, “899px”);
post_slot.querySelectorAll(“[style_default]”)[1].innerHTML = post_slot.querySelectorAll(“[style_default]”)[1].innerHTML.replace(style_default_mobile_value, “899px”);
}
}
}
})(jQuery);
}

function posts_slot_5_category_position(){
//if the page is using body main_tmpl (and not fallback)
if(jQuery(“body”)[0].className.match(/main_tmpl/)!=null){

post_slot = jQuery(“#posts_slot-5”)[0];
if(window.innerWidth<600){
category_position_value = post_slot.querySelector(“[variable-mobile]”).innerHTML.match(/–category-position-js.+?;/)[0];
}
else{
category_position_value = post_slot.querySelector(“[variable-pc]”).innerHTML.match(/–category-position-js.+?;/)[0];
}
category_position_value = category_position_value.replace(/s/g,””);
category_position_value = category_position_value.replace(/^.+?:/g,””);
category_position_value = category_position_value.replace(/;/g,””);
if(category_position_value==”follow-order-content”){

}
else if(category_position_value==”onimage-bottom-right”){
articles = post_slot.querySelectorAll(‘article’);

for(i=0;i div”);
myquery[0].style.height=””;
myquery[0].children[0].style.height=””;
myquery[0].children[0].style.display=””;
myquery[0].children[0].style.flexDirection = “”;
//myquery[0].children[0].style.alignItems = “center”;
//post_slot.parentElement.style.alignItems=”stretch”;

//CHANGE STYLE
post_slot.parentElement.parentElement.parentElement.style.alignItems=”stretch”;
if(getComputedStyle(post_slot.parentElement.parentElement)[‘display’] != ‘none’){
post_slot.parentElement.parentElement.style.display=”flex”;
}
post_slot.parentElement.parentElement.style.flexDirection = “column”;
//post_slot.parentElement.parentElement.style.alignItems = “center”;
post_slot.parentElement.style.height=”100%”;
post_slot.style.height=”100%”;
myquery=jQuery(“#posts_slot-5 > div”);
myquery[0].style.height=”100%”;
myquery[0].children[0].style.height=”100%”;
myquery[0].children[0].style.display=”flex”;
myquery[0].children[0].style.flexDirection = “column”;
//myquery[0].children[0].style.alignItems = “center”;

articles = post_slot.querySelectorAll(‘article’);

for(i=0;i

/*
const config = { childList: true, subtree: true, attributes: true};

const callback = (mutationList, observer) => {
for (const mutation of mutationList) {
my_ad=mutationList[0][‘addedNodes’][0];
max_height=””;
my_ad.querySelector(“img”).addEventListener(“load”, function() {
max_height=””;
max_height= my_ad.querySelector(“img”).offsetHeight;
if(max_height!=””){
my_ad.style.height=max_height + “px”;
}
max_height=””;
observer.disconnect();
});
}
};
const observer = new MutationObserver(callback);

all_ads_WP=jQuery(“[data-wpas-zoneid]”);
for(i=0;i= 600){
article_clickable = post_slot.querySelector(“[variable-pc]”).innerHTML.match(/–article-clickable-js.+?;/)[0];
article_clickable = article_clickable.replace(/s/g,””);
article_clickable = article_clickable.replace(/^.+?:/g,””);
article_clickable = article_clickable.replace(/;/g,””);
} else {
article_clickable = post_slot.querySelector(“[variable-mobile]”).innerHTML.match(/–article-clickable-js.+?;/)[0];
article_clickable = article_clickable.replace(/s/g,””);
article_clickable = article_clickable.replace(/^.+?:/g,””);
article_clickable = article_clickable.replace(/;/g,””);
}

if (article_clickable == “active”){
for(i=0;i titleandbody_height){
document.getElementById(id).getElementsByClassName(“body”)[0].style.display=”none”;
title_height = parseFloat(getComputedStyle(document.getElementById(id).getElementsByClassName(“title”)[0],null).height);
titleandbody_height = parseFloat(getComputedStyle(document.getElementById(id).getElementsByClassName(“titleandbody”)[0],null).height);
article_height=parseFloat(getComputedStyle(document.getElementById(id),null).height);
}

new_article_height=article_height+(title_height-titleandbody_height);
new_titleandbody_height=titleandbody_height+(title_height-titleandbody_height);

if(title_height > titleandbody_height){

document.getElementById(id).getElementsByClassName(“titleandbody”)[0].style.height=new_titleandbody_height + “px”;
document.getElementById(id).getElementsByClassName(“titleandbody”)[0].style.maxHeight=new_titleandbody_height + “px”;
}
}
}
}
}

return true;
}

function posts_slot_5_fit_body(){

if (typeof document.getElementById(“posts_slot-5”).getElementsByClassName(“template_2086_mob_homepage_single_adula_3”) !== ‘undefined’) {
for(k=0;(k

BY RUDDY ALLEN Staff reporter ruddya@jamaicaobserver.com&nbsp

December 13, 2024

Atlantic Convoy, owned by Solomon Sharpe, etched his name in the record books on Saturday, December 7, 2024, winning the second staging of the $3-mill…

‘).appendTo(‘.footer:first’);
$(”).appendTo(‘.footer .overlay’);
$(‘.footer .overlay’).css({
‘position’: ‘fixed’,
‘display’: ‘flex’,
‘inset’: ‘0px’,
‘background’: ‘rgba(0, 0, 0, 0.5)’,
‘z-index’: ‘9999’,
‘align-items’: ‘center’,
‘justify-content’: ‘center’,
‘height’: ‘100vh’,
‘width’: ‘100vw’
});
$(‘.footer .overlay .iframe-wrapper’).css({
‘position’: ‘relative’,
‘overflow’: ‘hidden’,
});
if ($(window).width() <= 1000 && $(window).width() < $(window).height()) {
$(‘.footer .overlay .iframe-wrapper’).css({
‘width’: ‘80%’,
‘padding-top’: ‘50%’
});
} else {
$(‘.footer .overlay .iframe-wrapper’).css({
‘width’: ‘50%’,
‘padding-top’: ‘30%’
});
}
var video_href = $(this).attr(‘ta_videolink’);
if (typeof video_href !== ‘undefined’ && video_href !== ”) {
var iframe = document.createElement(‘iframe’);
iframe.src = video_href;
iframe.setAttribute(‘allow’, ‘autoplay’);
var parentElement = document.querySelector(‘.footer .overlay .iframe-wrapper’);
parentElement.appendChild(iframe);
}
$(‘.footer .overlay .iframe-wrapper iframe’).css({
‘background’: ‘rgb(255, 255, 255)’,
‘box-shadow’: ‘black 0px 0px 10px 0px’,
‘position’: ‘absolute’,
‘inset’: ‘0px’,
‘width’: ‘100%’,
‘height’: ‘100%’,
‘padding’: ’20px’
});
$(‘

×

‘).appendTo(‘.footer .overlay .iframe-wrapper’);
$(‘.footer .overlay .iframe-wrapper .overlay_close’).css({
‘position’: ‘absolute’,
‘top’: ‘0’,
‘right’: ‘0’,
‘z-index’: ‘999’,
‘font-size’: ’24px’,
‘cursor’: ‘pointer’,
‘text-align’: ‘center’,
‘display’: ‘flex’,
‘align-items’: ‘center’,
‘justify-content’: ‘center’,
‘height’: ’24px’,
‘width’: ’24px’,
‘color’: ‘black’,
‘font-weight’: ‘700’,
‘transition’: ‘0.3s ease’,
‘opacity’: ‘0.5’,
});
$(‘.footer .overlay .iframe-wrapper .overlay_close’).hover(function() {
$(this).css({
‘opacity’: ‘1’,
});
}, function() {
$(this).css({
‘opacity’: ‘0.5’,
});
});

$(‘.footer .overlay’).show();
$(document).mouseup(“click”, function(e){
var container = $(“.overlay iframe”);
if(!container.is(e.target) && container.has(e.target).length === 0){
$(‘.footer .overlay iframe’).remove();
$(‘.footer .overlay .overlay_close’).remove();
$(‘.footer .overlay style’).remove();
$(‘.footer .overlay’).remove();
}
});
}
});
}

function posts_slot_6_tablet_style(){
(function($) {
if($(“body”)[0].className.match(/main_tmpl/)!=null){
post_slot = $(“#posts_slot-6”)[0];

tablet_style_value = post_slot.querySelector(“[variable-pc]”).innerHTML.match(/–tablet-style-js.+?;/)[0];
tablet_style_value = tablet_style_value.replace(/s/g,””);
tablet_style_value = tablet_style_value.replace(/^.+?:/g,””);
tablet_style_value = tablet_style_value.replace(/;/g,””);

if (tablet_style_value != null){
if (tablet_style_value == “pc”){
// To do nothing
} else if (tablet_style_value == “mobile”){
variable_pc_value = post_slot.querySelector(“[variable-pc]”).innerHTML.match(/min-width.+?;/)[0];
variable_pc_value = variable_pc_value.replace(/s/g,””);
variable_pc_value = variable_pc_value.replace(/^.+?:/g,””);
variable_pc_value = variable_pc_value.replace(/).*/,””);

pc_value = post_slot.querySelector(“[pc]”).innerHTML.match(/min-width.+?;/)[0];
pc_value = pc_value.replace(/s/g,””);
pc_value = pc_value.replace(/^.+?:/g,””);
pc_value = pc_value.replace(/).*/,””);

style_default_pc_value = post_slot.querySelectorAll(“[style_default]”)[0].innerHTML.match(/min-width.+?;/)[0];
style_default_pc_value = style_default_pc_value.replace(/s/g,””);
style_default_pc_value = style_default_pc_value.replace(/^.+?:/g,””);
style_default_pc_value = style_default_pc_value.replace(/).*/,””);

variable_mobile_value = post_slot.querySelector(“[variable-mobile]”).innerHTML.match(/max-width.+?;/)[0];
variable_mobile_value = variable_mobile_value.replace(/s/g,””);
variable_mobile_value = variable_mobile_value.replace(/^.+?:/g,””);
variable_mobile_value = variable_mobile_value.replace(/).*/,””);

mobile_value = post_slot.querySelector(“[mobile]”).innerHTML.match(/max-width.+?;/)[0];
mobile_value = mobile_value.replace(/s/g,””);
mobile_value = mobile_value.replace(/^.+?:/g,””);
mobile_value = mobile_value.replace(/).*/,””);

style_default_mobile_value = post_slot.querySelectorAll(“[style_default]”)[1].innerHTML.match(/max-width.+?;/)[0];
style_default_mobile_value = style_default_mobile_value.replace(/s/g,””);
style_default_mobile_value = style_default_mobile_value.replace(/^.+?:/g,””);
style_default_mobile_value = style_default_mobile_value.replace(/).*/,””);

post_slot.querySelectorAll(“[variable-pc]”)[0].innerHTML = post_slot.querySelectorAll(“[variable-pc]”)[0].innerHTML.replace(variable_pc_value, “900px”);
post_slot.querySelectorAll(“[pc]”)[0].innerHTML = post_slot.querySelectorAll(“[pc]”)[0].innerHTML.replace(pc_value, “900px”);
post_slot.querySelectorAll(“[style_default]”)[0].innerHTML = post_slot.querySelectorAll(“[style_default]”)[0].innerHTML.replace(style_default_pc_value, “900px”);
post_slot.querySelectorAll(“[variable-mobile]”)[0].innerHTML = post_slot.querySelectorAll(“[variable-mobile]”)[0].innerHTML.replace(variable_mobile_value, “899px”);
post_slot.querySelectorAll(“[mobile]”)[0].innerHTML = post_slot.querySelectorAll(“[mobile]”)[0].innerHTML.replace(mobile_value, “899px”);
post_slot.querySelectorAll(“[style_default]”)[1].innerHTML = post_slot.querySelectorAll(“[style_default]”)[1].innerHTML.replace(style_default_mobile_value, “899px”);
}
}
}
})(jQuery);
}

function posts_slot_6_category_position(){
//if the page is using body main_tmpl (and not fallback)
if(jQuery(“body”)[0].className.match(/main_tmpl/)!=null){

post_slot = jQuery(“#posts_slot-6”)[0];
if(window.innerWidth<600){
category_position_value = post_slot.querySelector(“[variable-mobile]”).innerHTML.match(/–category-position-js.+?;/)[0];
}
else{
category_position_value = post_slot.querySelector(“[variable-pc]”).innerHTML.match(/–category-position-js.+?;/)[0];
}
category_position_value = category_position_value.replace(/s/g,””);
category_position_value = category_position_value.replace(/^.+?:/g,””);
category_position_value = category_position_value.replace(/;/g,””);
if(category_position_value==”follow-order-content”){

}
else if(category_position_value==”onimage-bottom-right”){
articles = post_slot.querySelectorAll(‘article’);

for(i=0;i div”);
myquery[0].style.height=””;
myquery[0].children[0].style.height=””;
myquery[0].children[0].style.display=””;
myquery[0].children[0].style.flexDirection = “”;
//myquery[0].children[0].style.alignItems = “center”;
//post_slot.parentElement.style.alignItems=”stretch”;

//CHANGE STYLE
post_slot.parentElement.parentElement.parentElement.style.alignItems=”stretch”;
if(getComputedStyle(post_slot.parentElement.parentElement)[‘display’] != ‘none’){
post_slot.parentElement.parentElement.style.display=”flex”;
}
post_slot.parentElement.parentElement.style.flexDirection = “column”;
//post_slot.parentElement.parentElement.style.alignItems = “center”;
post_slot.parentElement.style.height=”100%”;
post_slot.style.height=”100%”;
myquery=jQuery(“#posts_slot-6 > div”);
myquery[0].style.height=”100%”;
myquery[0].children[0].style.height=”100%”;
myquery[0].children[0].style.display=”flex”;
myquery[0].children[0].style.flexDirection = “column”;
//myquery[0].children[0].style.alignItems = “center”;

articles = post_slot.querySelectorAll(‘article’);

for(i=0;i

/*
const config = { childList: true, subtree: true, attributes: true};

const callback = (mutationList, observer) => {
for (const mutation of mutationList) {
my_ad=mutationList[0][‘addedNodes’][0];
max_height=””;
my_ad.querySelector(“img”).addEventListener(“load”, function() {
max_height=””;
max_height= my_ad.querySelector(“img”).offsetHeight;
if(max_height!=””){
my_ad.style.height=max_height + “px”;
}
max_height=””;
observer.disconnect();
});
}
};
const observer = new MutationObserver(callback);

all_ads_WP=jQuery(“[data-wpas-zoneid]”);
for(i=0;i= 600){
article_clickable = post_slot.querySelector(“[variable-pc]”).innerHTML.match(/–article-clickable-js.+?;/)[0];
article_clickable = article_clickable.replace(/s/g,””);
article_clickable = article_clickable.replace(/^.+?:/g,””);
article_clickable = article_clickable.replace(/;/g,””);
} else {
article_clickable = post_slot.querySelector(“[variable-mobile]”).innerHTML.match(/–article-clickable-js.+?;/)[0];
article_clickable = article_clickable.replace(/s/g,””);
article_clickable = article_clickable.replace(/^.+?:/g,””);
article_clickable = article_clickable.replace(/;/g,””);
}

if (article_clickable == “active”){
for(i=0;i titleandbody_height){
document.getElementById(id).getElementsByClassName(“body”)[0].style.display=”none”;
title_height = parseFloat(getComputedStyle(document.getElementById(id).getElementsByClassName(“title”)[0],null).height);
titleandbody_height = parseFloat(getComputedStyle(document.getElementById(id).getElementsByClassName(“titleandbody”)[0],null).height);
article_height=parseFloat(getComputedStyle(document.getElementById(id),null).height);
}

new_article_height=article_height+(title_height-titleandbody_height);
new_titleandbody_height=titleandbody_height+(title_height-titleandbody_height);

if(title_height > titleandbody_height){

document.getElementById(id).getElementsByClassName(“titleandbody”)[0].style.height=new_titleandbody_height + “px”;
document.getElementById(id).getElementsByClassName(“titleandbody”)[0].style.maxHeight=new_titleandbody_height + “px”;
}
}
}
}
}

return true;
}

function posts_slot_6_fit_body(){

if (typeof document.getElementById(“posts_slot-6”).getElementsByClassName(“template_2086_homepage_single_adula_3”) !== ‘undefined’) {
for(k=0;(k

‘).appendTo(‘.footer:first’);
$(”).appendTo(‘.footer .overlay’);
$(‘.footer .overlay’).css({
‘position’: ‘fixed’,
‘display’: ‘flex’,
‘inset’: ‘0px’,
‘background’: ‘rgba(0, 0, 0, 0.5)’,
‘z-index’: ‘9999’,
‘align-items’: ‘center’,
‘justify-content’: ‘center’,
‘height’: ‘100vh’,
‘width’: ‘100vw’
});
$(‘.footer .overlay .iframe-wrapper’).css({
‘position’: ‘relative’,
‘overflow’: ‘hidden’,
});
if ($(window).width() <= 1000 && $(window).width() < $(window).height()) {
$(‘.footer .overlay .iframe-wrapper’).css({
‘width’: ‘80%’,
‘padding-top’: ‘50%’
});
} else {
$(‘.footer .overlay .iframe-wrapper’).css({
‘width’: ‘50%’,
‘padding-top’: ‘30%’
});
}
var video_href = $(this).attr(‘ta_videolink’);
if (typeof video_href !== ‘undefined’ && video_href !== ”) {
var iframe = document.createElement(‘iframe’);
iframe.src = video_href;
iframe.setAttribute(‘allow’, ‘autoplay’);
var parentElement = document.querySelector(‘.footer .overlay .iframe-wrapper’);
parentElement.appendChild(iframe);
}
$(‘.footer .overlay .iframe-wrapper iframe’).css({
‘background’: ‘rgb(255, 255, 255)’,
‘box-shadow’: ‘black 0px 0px 10px 0px’,
‘position’: ‘absolute’,
‘inset’: ‘0px’,
‘width’: ‘100%’,
‘height’: ‘100%’,
‘padding’: ’20px’
});
$(‘

×

‘).appendTo(‘.footer .overlay .iframe-wrapper’);
$(‘.footer .overlay .iframe-wrapper .overlay_close’).css({
‘position’: ‘absolute’,
‘top’: ‘0’,
‘right’: ‘0’,
‘z-index’: ‘999’,
‘font-size’: ’24px’,
‘cursor’: ‘pointer’,
‘text-align’: ‘center’,
‘display’: ‘flex’,
‘align-items’: ‘center’,
‘justify-content’: ‘center’,
‘height’: ’24px’,
‘width’: ’24px’,
‘color’: ‘black’,
‘font-weight’: ‘700’,
‘transition’: ‘0.3s ease’,
‘opacity’: ‘0.5’,
});
$(‘.footer .overlay .iframe-wrapper .overlay_close’).hover(function() {
$(this).css({
‘opacity’: ‘1’,
});
}, function() {
$(this).css({
‘opacity’: ‘0.5’,
});
});

$(‘.footer .overlay’).show();
$(document).mouseup(“click”, function(e){
var container = $(“.overlay iframe”);
if(!container.is(e.target) && container.has(e.target).length === 0){
$(‘.footer .overlay iframe’).remove();
$(‘.footer .overlay .overlay_close’).remove();
$(‘.footer .overlay style’).remove();
$(‘.footer .overlay’).remove();
}
});
}
});
}

function posts_slot_6_tablet_style(){
(function($) {
if($(“body”)[0].className.match(/main_tmpl/)!=null){
post_slot = $(“#posts_slot-6”)[0];

tablet_style_value = post_slot.querySelector(“[variable-pc]”).innerHTML.match(/–tablet-style-js.+?;/)[0];
tablet_style_value = tablet_style_value.replace(/s/g,””);
tablet_style_value = tablet_style_value.replace(/^.+?:/g,””);
tablet_style_value = tablet_style_value.replace(/;/g,””);

if (tablet_style_value != null){
if (tablet_style_value == “pc”){
// To do nothing
} else if (tablet_style_value == “mobile”){
variable_pc_value = post_slot.querySelector(“[variable-pc]”).innerHTML.match(/min-width.+?;/)[0];
variable_pc_value = variable_pc_value.replace(/s/g,””);
variable_pc_value = variable_pc_value.replace(/^.+?:/g,””);
variable_pc_value = variable_pc_value.replace(/).*/,””);

pc_value = post_slot.querySelector(“[pc]”).innerHTML.match(/min-width.+?;/)[0];
pc_value = pc_value.replace(/s/g,””);
pc_value = pc_value.replace(/^.+?:/g,””);
pc_value = pc_value.replace(/).*/,””);

style_default_pc_value = post_slot.querySelectorAll(“[style_default]”)[0].innerHTML.match(/min-width.+?;/)[0];
style_default_pc_value = style_default_pc_value.replace(/s/g,””);
style_default_pc_value = style_default_pc_value.replace(/^.+?:/g,””);
style_default_pc_value = style_default_pc_value.replace(/).*/,””);

variable_mobile_value = post_slot.querySelector(“[variable-mobile]”).innerHTML.match(/max-width.+?;/)[0];
variable_mobile_value = variable_mobile_value.replace(/s/g,””);
variable_mobile_value = variable_mobile_value.replace(/^.+?:/g,””);
variable_mobile_value = variable_mobile_value.replace(/).*/,””);

mobile_value = post_slot.querySelector(“[mobile]”).innerHTML.match(/max-width.+?;/)[0];
mobile_value = mobile_value.replace(/s/g,””);
mobile_value = mobile_value.replace(/^.+?:/g,””);
mobile_value = mobile_value.replace(/).*/,””);

style_default_mobile_value = post_slot.querySelectorAll(“[style_default]”)[1].innerHTML.match(/max-width.+?;/)[0];
style_default_mobile_value = style_default_mobile_value.replace(/s/g,””);
style_default_mobile_value = style_default_mobile_value.replace(/^.+?:/g,””);
style_default_mobile_value = style_default_mobile_value.replace(/).*/,””);

post_slot.querySelectorAll(“[variable-pc]”)[0].innerHTML = post_slot.querySelectorAll(“[variable-pc]”)[0].innerHTML.replace(variable_pc_value, “900px”);
post_slot.querySelectorAll(“[pc]”)[0].innerHTML = post_slot.querySelectorAll(“[pc]”)[0].innerHTML.replace(pc_value, “900px”);
post_slot.querySelectorAll(“[style_default]”)[0].innerHTML = post_slot.querySelectorAll(“[style_default]”)[0].innerHTML.replace(style_default_pc_value, “900px”);
post_slot.querySelectorAll(“[variable-mobile]”)[0].innerHTML = post_slot.querySelectorAll(“[variable-mobile]”)[0].innerHTML.replace(variable_mobile_value, “899px”);
post_slot.querySelectorAll(“[mobile]”)[0].innerHTML = post_slot.querySelectorAll(“[mobile]”)[0].innerHTML.replace(mobile_value, “899px”);
post_slot.querySelectorAll(“[style_default]”)[1].innerHTML = post_slot.querySelectorAll(“[style_default]”)[1].innerHTML.replace(style_default_mobile_value, “899px”);
}
}
}
})(jQuery);
}

function posts_slot_6_category_position(){
//if the page is using body main_tmpl (and not fallback)
if(jQuery(“body”)[0].className.match(/main_tmpl/)!=null){

post_slot = jQuery(“#posts_slot-6”)[0];
if(window.innerWidth<600){
category_position_value = post_slot.querySelector(“[variable-mobile]”).innerHTML.match(/–category-position-js.+?;/)[0];
}
else{
category_position_value = post_slot.querySelector(“[variable-pc]”).innerHTML.match(/–category-position-js.+?;/)[0];
}
category_position_value = category_position_value.replace(/s/g,””);
category_position_value = category_position_value.replace(/^.+?:/g,””);
category_position_value = category_position_value.replace(/;/g,””);
if(category_position_value==”follow-order-content”){

}
else if(category_position_value==”onimage-bottom-right”){
articles = post_slot.querySelectorAll(‘article’);

for(i=0;i div”);
myquery[0].style.height=””;
myquery[0].children[0].style.height=””;
myquery[0].children[0].style.display=””;
myquery[0].children[0].style.flexDirection = “”;
//myquery[0].children[0].style.alignItems = “center”;
//post_slot.parentElement.style.alignItems=”stretch”;

//CHANGE STYLE
post_slot.parentElement.parentElement.parentElement.style.alignItems=”stretch”;
if(getComputedStyle(post_slot.parentElement.parentElement)[‘display’] != ‘none’){
post_slot.parentElement.parentElement.style.display=”flex”;
}
post_slot.parentElement.parentElement.style.flexDirection = “column”;
//post_slot.parentElement.parentElement.style.alignItems = “center”;
post_slot.parentElement.style.height=”100%”;
post_slot.style.height=”100%”;
myquery=jQuery(“#posts_slot-6 > div”);
myquery[0].style.height=”100%”;
myquery[0].children[0].style.height=”100%”;
myquery[0].children[0].style.display=”flex”;
myquery[0].children[0].style.flexDirection = “column”;
//myquery[0].children[0].style.alignItems = “center”;

articles = post_slot.querySelectorAll(‘article’);

for(i=0;i

/*
const config = { childList: true, subtree: true, attributes: true};

const callback = (mutationList, observer) => {
for (const mutation of mutationList) {
my_ad=mutationList[0][‘addedNodes’][0];
max_height=””;
my_ad.querySelector(“img”).addEventListener(“load”, function() {
max_height=””;
max_height= my_ad.querySelector(“img”).offsetHeight;
if(max_height!=””){
my_ad.style.height=max_height + “px”;
}
max_height=””;
observer.disconnect();
});
}
};
const observer = new MutationObserver(callback);

all_ads_WP=jQuery(“[data-wpas-zoneid]”);
for(i=0;i= 600){
article_clickable = post_slot.querySelector(“[variable-pc]”).innerHTML.match(/–article-clickable-js.+?;/)[0];
article_clickable = article_clickable.replace(/s/g,””);
article_clickable = article_clickable.replace(/^.+?:/g,””);
article_clickable = article_clickable.replace(/;/g,””);
} else {
article_clickable = post_slot.querySelector(“[variable-mobile]”).innerHTML.match(/–article-clickable-js.+?;/)[0];
article_clickable = article_clickable.replace(/s/g,””);
article_clickable = article_clickable.replace(/^.+?:/g,””);
article_clickable = article_clickable.replace(/;/g,””);
}

if (article_clickable == “active”){
for(i=0;i titleandbody_height){
document.getElementById(id).getElementsByClassName(“body”)[0].style.display=”none”;
title_height = parseFloat(getComputedStyle(document.getElementById(id).getElementsByClassName(“title”)[0],null).height);
titleandbody_height = parseFloat(getComputedStyle(document.getElementById(id).getElementsByClassName(“titleandbody”)[0],null).height);
article_height=parseFloat(getComputedStyle(document.getElementById(id),null).height);
}

new_article_height=article_height+(title_height-titleandbody_height);
new_titleandbody_height=titleandbody_height+(title_height-titleandbody_height);

if(title_height > titleandbody_height){

document.getElementById(id).getElementsByClassName(“titleandbody”)[0].style.height=new_titleandbody_height + “px”;
document.getElementById(id).getElementsByClassName(“titleandbody”)[0].style.maxHeight=new_titleandbody_height + “px”;
}
}
}
}
}

return true;
}

function posts_slot_6_fit_body(){

if (typeof document.getElementById(“posts_slot-6”).getElementsByClassName(“template_2086_mob_homepage_single_adula_3”) !== ‘undefined’) {
for(k=0;(k