Wards of the State shine in 2023 PEP exam - Jamaica Observer (2024)

').appendTo('#pages_slot-17'); jQuery('#pages_slot-17 article .news_img a').on('click', function () { var youtube_video_href = jQuery(this).attr('ta_href'); if (typeof youtube_video_href !== 'undefined' && youtube_video_href !== '') { var iframe = document.createElement('iframe'); iframe.className = 'youtube_video_iframe'; iframe.src = youtube_video_href + '?autoplay=1'; iframe.setAttribute('allow', 'autoplay'); var parentElement = document.querySelector('#pages_slot-17 .click_youtube_video'); parentElement.appendChild(iframe); } jQuery('html').css({ "overflow": "hidden", "width": "auto" }); jQuery('body').css({ "overflow": "hidden" }); jQuery('#pages_slot-17 .click_youtube_video').show(); }); jQuery('#pages_slot-17 article .news_intro a').on('click', function () { var youtube_video_href = $(this).attr('ta_href'); if (typeof youtube_video_href !== 'undefined' && youtube_video_href !== '') { var iframe = document.createElement('iframe'); iframe.className = 'youtube_video_iframe'; iframe.src = youtube_video_href + '?autoplay=1'; iframe.setAttribute('allow', 'autoplay'); var parentElement = document.querySelector('#pages_slot-17 .click_youtube_video'); parentElement.appendChild(iframe); } jQuery('html').css({ "overflow": "hidden", "width": "auto" }); jQuery('body').css({ "overflow": "hidden" }); jQuery('#pages_slot-17 .click_youtube_video').show(); }); jQuery('.click_youtube_video').on("click", function () { jQuery('#pages_slot-17 .click_youtube_video .youtube_video_iframe').remove(); jQuery('html').css({ "overflow": "visible" }); jQuery('body').css({ "overflow": "visible" }); jQuery('#pages_slot-17 .click_youtube_video').hide(); }); })(jQuery); }}function pages_slot_17_change_position_pc() { youtube_images = jQuery('#pages_slot-17 article img'); for (i = 0; i < youtube_images.length; i++) { rendered_size = youtube_images[i].offsetWidth; img_src = youtube_images[i].src; if (img_src.match('mqdefault.jpg') != null) { if (rendered_size < 320) { } else if (rendered_size > 321 && rendered_size < 480) { img_src = img_src.replace('mqdefault.jpg', "hqdefault.jpg"); } else if (rendered_size > 481 && rendered_size < 640) { img_src = img_src.replace('mqdefault.jpg', "sddefault.jpg"); } else { img_src = img_src.replace('mqdefault.jpg', "maxresdefault.jpg"); } youtube_images[i].src = img_src; } }}

').appendTo('#pages_slot-19'); jQuery('#pages_slot-19 article .news_img a').on('click', function () { var youtube_video_href = jQuery(this).attr('ta_href'); if (typeof youtube_video_href !== 'undefined' && youtube_video_href !== '') { var iframe = document.createElement('iframe'); iframe.className = 'youtube_video_iframe'; iframe.src = youtube_video_href + '?autoplay=1'; iframe.setAttribute('allow', 'autoplay'); var parentElement = document.querySelector('#pages_slot-19 .click_youtube_video'); parentElement.appendChild(iframe); } jQuery('html').css({ "overflow": "hidden", "width": "auto" }); jQuery('body').css({ "overflow": "hidden" }); jQuery('#pages_slot-19 .click_youtube_video').show(); }); jQuery('#pages_slot-19 article .news_intro a').on('click', function () { var youtube_video_href = $(this).attr('ta_href'); if (typeof youtube_video_href !== 'undefined' && youtube_video_href !== '') { var iframe = document.createElement('iframe'); iframe.className = 'youtube_video_iframe'; iframe.src = youtube_video_href + '?autoplay=1'; iframe.setAttribute('allow', 'autoplay'); var parentElement = document.querySelector('#pages_slot-19 .click_youtube_video'); parentElement.appendChild(iframe); } jQuery('html').css({ "overflow": "hidden", "width": "auto" }); jQuery('body').css({ "overflow": "hidden" }); jQuery('#pages_slot-19 .click_youtube_video').show(); }); jQuery('.click_youtube_video').on("click", function () { jQuery('#pages_slot-19 .click_youtube_video .youtube_video_iframe').remove(); jQuery('html').css({ "overflow": "visible" }); jQuery('body').css({ "overflow": "visible" }); jQuery('#pages_slot-19 .click_youtube_video').hide(); }); })(jQuery); }}function pages_slot_19_change_position_pc() { youtube_images = jQuery('#pages_slot-19 article img'); for (i = 0; i < youtube_images.length; i++) { rendered_size = youtube_images[i].offsetWidth; img_src = youtube_images[i].src; if (img_src.match('mqdefault.jpg') != null) { if (rendered_size < 320) { } else if (rendered_size > 321 && rendered_size < 480) { img_src = img_src.replace('mqdefault.jpg', "hqdefault.jpg"); } else if (rendered_size > 481 && rendered_size < 640) { img_src = img_src.replace('mqdefault.jpg', "sddefault.jpg"); } else { img_src = img_src.replace('mqdefault.jpg', "maxresdefault.jpg"); } youtube_images[i].src = img_src; } }}

Wards of the State shine in 2023 PEP exam - Jamaica Observer (7)

Minister of Education and Youth, Fayval Williams (centre), congratulates wards of the State on emerging as top performers in the 2023 Primary Exit Profile (PEP) examinations. Sharing in the celebration are state minister in the Ministry of Education and Youth, Marsha Smith (right), and Child Protection and Family Services Agency Director of Programmes, Dr Warren Thompson. (Photo: JIS)

August 18, 2023

THE Child Protection and Family Services Agency (CPFSA) on Wednesday applauded students in State care who completed the Primary Exit Profile (PEP) and will be matriculating to high school.

The top girl was placed at Bishop Gibson High School in Manchester, while the top boy will be attending Jamaica College in St Andrew.

Speaking during the PEP Workshop and Awards Ceremony at the Jamaica Conference Centre in downtown Kingston, Minister of Education and Youth Fayval Williams noted that 185 students in State care, 75 boys and 110 girls, sat the 2023 PEP exams.

“Of that number, 59 girls and 35 boys received a final score above 210 points and this accounts for about 51 per cent of the total who sat the exam. Of note, there are 10 children, eight girls and two boys, who received a final score above 300 points. The highest score that you can get on PEP is 360, so scoring 300 is awesome,” said Williams.

She underscored that education plays a pivotal role in shaping the lives of children and it is the ministry’s responsibility to ensure that the youngsters receive the best possible provisions and support in this regard.

Williams noted that the CPFSA spends just over $40 million annually on tuition and examination fees for students enrolled in educational institutions up to the tertiary level.

“The Government will continue to enforce our duty to protect and serve our children who are wards of the State. To the parents, caregivers, and educators, your unwavering support has nurtured the seeds of success. Let us be reminded that today is a reflection of the future that we are creating together,” added Williams.

In the meantime, CPFSA Director of Programmes Dr Warren Thompson urged parents and guardians to continue offering love, attention, and guidance to students as they transition to high school.

“They need you to listen to them, now more than ever. They will need positive discipline to guide and correct them when they are wrong, and they need a safe space to share when they are hurt and shaken by their new adolescent worlds,” said Dr Thompson.

He added that there is no rule book for parenting and encouraged parents and guardians to reach out to guidance counsellors, fellow parents, or the CPFSA for support.

Dr Thompson also charged the PEP awardees to remain dedicated as they transition to a new chapter in their educational journey.

“You have put in incredible work to make it this far and we are extremely proud of you. Remind yourselves that you are capable, God is with you, you are enough, you are creative, brave, and kind. Believe in yourselves and you can achieve anything,” Dr Thompson underscored.

Prior to the awards ceremony, concurrent breakout sessions were held on principles of effective parenting.

Another session, dubbed ‘I stepped to PEP’, focused on preparing students for the transition to high school.

– JIS

Wards of the State shine in 2023 PEP exam - Jamaica Observer (8)

Wards of the State shine in 2023 PEP exam - Jamaica Observer (15)

Latest News, Sports

September 13, 2024

MIAMI,United States(AFP)— Lionel Messi is set to return to action with his club Inter Miami on Saturday after spending over two months out with an a...

').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

'); $(`.single_page_block p:nth-of-type(${middleIndex})`).after(taboolaInline); window._taboola = window._taboola || []; _taboola.push({ mode: 'rec-reel-2n5-a', container: 'taboola-mid-article-reco-reel', placement: 'Mid Article Reco Reel', target_type: 'mix' }); } delayedTaboolaMidArticle(); });

HOUSE RULES

  1. We welcome reader comments on the top stories of the day. Some comments may be republished on the website or in the newspaper; email addresses will not be published.
  2. Please understand that comments are moderated and it is not always possible to publish all that have been submitted. We will, however, try to publish comments that are representative of all received.
  3. We ask that comments are civil and free of libellous or hateful material. Also please stick to the topic under discussion.
  4. Please do not write in block capitals since this makes your comment hard to read.
  5. Please don't use the comments to advertise. However, our advertising department can be more than accommodating if emailed: advertising@jamaicaobserver.com.
  6. If readers wish to report offensive comments, suggest a correction or share a story then please email: community@jamaicaobserver.com.
  7. Lastly, read our Terms and Conditions and Privacy Policy

').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

').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

').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

').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_7_tablet_style(){ (function($) { if($("body")[0].className.match(/main_tmpl/)!=null){ post_slot = $("#posts_slot-7")[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_7_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-7")[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-7 > 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_7_fit_body(){ if (typeof document.getElementById("posts_slot-7").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_7_tablet_style(){ (function($) { if($("body")[0].className.match(/main_tmpl/)!=null){ post_slot = $("#posts_slot-7")[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_7_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-7")[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-7 > 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_7_fit_body(){ if (typeof document.getElementById("posts_slot-7").getElementsByClassName("template_2086_mob_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_8_tablet_style(){ (function($) { if($("body")[0].className.match(/main_tmpl/)!=null){ post_slot = $("#posts_slot-8")[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_8_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-8")[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-8 > 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_8_fit_body(){ if (typeof document.getElementById("posts_slot-8").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_8_tablet_style(){ (function($) { if($("body")[0].className.match(/main_tmpl/)!=null){ post_slot = $("#posts_slot-8")[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_8_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-8")[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-8 > 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_8_fit_body(){ if (typeof document.getElementById("posts_slot-8").getElementsByClassName("template_2086_mob_homepage_single_adula_3") !== 'undefined') { for(k=0;(k

Wards of the State shine in 2023 PEP exam - Jamaica Observer (28)

Breaking news from the premier Jamaican newspaper, the Jamaica Observer. Follow Jamaican news online for free and stay informed on what's happening in the Caribbean

Ads

Wards of the State shine in 2023 PEP exam - Jamaica Observer (29)

Jamaica Observer, © All Rights Reserved

Wards of the State shine in 2023 PEP exam - Jamaica Observer (2024)
Top Articles
How much car insurance do you need?
10 Most Green Countries In World In Europe, US Ranks 24 On Environment
Craigslist Niles Ohio
Craigslist Cars And Trucks For Sale By Owner Indianapolis
Craigslist Benton Harbor Michigan
Retro Ride Teardrop
Mikayla Campinos Videos: A Deep Dive Into The Rising Star
What is the surrender charge on life insurance?
R/Afkarena
Studentvue Columbia Heights
DoorDash, Inc. (DASH) Stock Price, Quote & News - Stock Analysis
What is Rumba and How to Dance the Rumba Basic — Duet Dance Studio Chicago | Ballroom Dance in Chicago
Amc Flight Schedule
Echat Fr Review Pc Retailer In Qatar Prestige Pc Providers – Alpha Marine Group
Jinx Chapter 24: Release Date, Spoilers & Where To Read - OtakuKart
Osborn-Checkliste: Ideen finden mit System
St. Petersburg, FL - Bombay. Meet Malia a Pet for Adoption - AdoptaPet.com
MLB power rankings: Red-hot Chicago Cubs power into September, NL wild-card race
Blue Rain Lubbock
Https Paperlesspay Talx Com Boydgaming
Self-Service ATMs: Accessibility, Limits, & Features
Never Give Up Quotes to Keep You Going
European city that's best to visit from the UK by train has amazing beer
Hdmovie2 Sbs
Aspenx2 Newburyport
1773x / >
Phoenixdabarbie
Publix Coral Way And 147
Life Insurance Policies | New York Life
Boneyard Barbers
Panchang 2022 Usa
Movies123.Pick
Etowah County Sheriff Dept
Babylon 2022 Showtimes Near Cinemark Downey And Xd
Tugboat Information
Bella Thorne Bikini Uncensored
Devotion Showtimes Near The Grand 16 - Pier Park
Trivago Myrtle Beach Hotels
Myanswers Com Abc Resources
Paperless Employee/Kiewit Pay Statements
9 oplossingen voor het laptoptouchpad dat niet werkt in Windows - TWCB (NL)
Mytime Maple Grove Hospital
Cpmc Mission Bernal Campus & Orthopedic Institute Photos
Differential Diagnosis
Parent Portal Pat Med
Coffee County Tag Office Douglas Ga
Syrie Funeral Home Obituary
Leland Westerlund
Walmart Front Door Wreaths
Campaign Blacksmith Bench
Where To Find Mega Ring In Pokemon Radical Red
When Is The First Cold Front In Florida 2022
Latest Posts
Article information

Author: Kerri Lueilwitz

Last Updated:

Views: 6310

Rating: 4.7 / 5 (47 voted)

Reviews: 86% of readers found this page helpful

Author information

Name: Kerri Lueilwitz

Birthday: 1992-10-31

Address: Suite 878 3699 Chantelle Roads, Colebury, NC 68599

Phone: +6111989609516

Job: Chief Farming Manager

Hobby: Mycology, Stone skipping, Dowsing, Whittling, Taxidermy, Sand art, Roller skating

Introduction: My name is Kerri Lueilwitz, I am a courageous, gentle, quaint, thankful, outstanding, brave, vast person who loves writing and wants to share my knowledge and understanding with you.