[ad_1]
وجاء في برقية الملك: «نشكركم على تهنئتكم بمناسبة الذكرى الثامنة لتولينا مقاليد الحكم، سائلين الله العلي القدير أن يوفقنا جميعاً إلى ما فيه خير البلاد والعباد، وأن يديم على بلادنا نعمة الأمن والاستقرار، إنه سميع مجيب»
var securepubads = document.createElement('script'); securepubads.async = true; securepubads.type="text/javascript"; securepubads.src="https://securepubads.g.doubleclick.net/tag/js/gpt.js";
/* var GTM = document.createElement('script'); var contentGTM= document.createTextNode("(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l="+l:"';j.async=true;j.src="https://www.googletagmanager.com/gtm.js?id="+i+dl;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-WC4XJJZ');"); GTM.appendChild(contentGTM); */
var script_facebook = document.createElement('script'); script_facebook.async = true; script_facebook.crossorigin = 'anonymous'; script_facebook.src="https://connect.facebook.net/en_GB/sdk.js#xfbml=1&version=v3.3&appId=1311831502273243&autoLogAppEvents=1";
var effectivemeasure = document.createElement('script'); var contenteffectivemeasure= document.createTextNode("(function(){var em = document.createElement('script');em.type="text/javascript";em.async = true;em.src = ('https:' == document.location.protocol ? 'https://me-ssl' : 'http://me-cdn') + '.effectivemeasure.net/em.js';var s = document.getElementsByTagName('script')[0];s.parentNode.insertBefore(em, s);})();"); effectivemeasure.appendChild(contenteffectivemeasure);
var noscript_effectivemeasure = document.createElement('noscript'); var noscript_img_effectivemeasure = document.createElement('img'); noscript_img_effectivemeasure.setAttribute("alt", "Okaz Effective Measure"); noscript_img_effectivemeasure.setAttribute("style", "position:absolute; left:-5px;"); noscript_img_effectivemeasure.src="https://me.effectivemeasure.net/em_image"; noscript_effectivemeasure.appendChild(noscript_img_effectivemeasure);
var script_addthis = document.createElement('script'); script_addthis.setAttribute("type", "text/javascript"); script_addthis.setAttribute("defer", "defer"); script_addthis.setAttribute("rel", "preconnect"); script_addthis.src = "//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-57d7a6b3b67f6bef";
setTimeout( function(){ // document.getElementsByTagName('HEAD').item(0).appendChild(GTM); document.getElementsByTagName('HEAD').item(0).appendChild(securepubads); document.getElementsByTagName('BODY').item(0).prepend(effectivemeasure); document.getElementsByTagName('BODY').item(0).prepend(noscript_effectivemeasure);
},3000 );
var initiate = 1; function initialize(){ if(initiate==1){ initiate = 0;
document.getElementsByTagName('BODY').item(0).prepend(script_facebook); // stopped by layout team because maybe it's not used // document.getElementsByTagName('BODY').item(0).prepend(script_Twitter);
if($("#lightgallery").length){ $('head').append(''); var lightgallery = document.createElement('script'); lightgallery.async = false; lightgallery.type="text/javascript"; lightgallery.src="https://www.okaz.com.sa/js/lightgallery-all.min.js"; document.getElementsByTagName('HEAD').item(0).appendChild(lightgallery);
setTimeout( function(){ lightGalleryLoad(); },2000 );
function lightGalleryLoad() { $('#lightgallery').lightGallery({ selector: '.itemLightGallery' }); } }
document.head.appendChild(script_addthis);
} }
document.addEventListener("mousemove", initialize); document.addEventListener("scroll", initialize); document.addEventListener("touchstart", initialize);
[ad_2]
Source link