(function(){ var ExoLoader = window['aq8ZmHLGN3S7EQ']; var exoNbRequestId = 0; ExoLoader.pushResponseData({"zones":{"native_ad":[{"id":0,"data":{"layout":{"widgetHeaderContentHtml":"Powered By <\/span><\/a>","branding_logo":0,"branding_logo_hover":1,"itemsPerRow":1,"itemsPerCol":1,"font_family":"Arial, Helvetica, Verdana, sans-serif","header_font_size":"12px","header_font_color":"#999999","widget_background_color":"inherit","widget_width":"","minimum_width_for_full_sized_layout":"450px","item_height":"300px","item_padding":"1px","image_height":"250px","image_width":"300px","text_margin_top":"0.5px","text_margin_bottom":"0.5px","text_margin_left":"0px","text_margin_right":"0px","title_font_size":"16px","title_font_color":"#000000","title_font_weight":"normal","title_decoration":"none","title_hover_color":"#0000FF","title_hover_font_weight":"normal","title_hover_decoration":"none","description_font_size":"14px","description_font_color":"#555555","description_font_weight":"normal","description_decoration":"none","description_hover_color":"#0055FF","description_hover_font_weight":"normal","description_hover_decoration":"none","open_in_new_window":1,"mobile_layout_enabled":1,"header_is_on_top":1,"header_text_align":"right","title_enabled":0,"description_enabled":0,"image_border_size":null,"image_border_color":null,"text_align":"left","customcss_enabled":0,"customcss":"","header_enabled":0,"item_spacing_on_each_side":"0.5px","text_position":"bottom","text_box_size":"90px","widget_height":"","brand_enabled":"0","brand_font_size":"11px","brand_font_color":"#555555","brand_font_weight":"normal","brand_decoration":"none","publisherAdType":"native-recommendation"},"data":[{"image":2,"url":"bWFpbi5keW5zcnZiYWEuY29tL2NsaWNrLnBocD9kYXRhPUlId3pOVFEzTmpVeGZIeG9kSFJ3Y3lVelFTVXlSaVV5Um05ckxuaDRlQ1V5Um5CdmNIVnNZWElsTWtZbE0wWmhaRjl6ZFdJbE0wUXhNREY4Zkh3d2ZId3hOVGN3TVRjeU1UUTFmSEJ2Y200dGVIaDRMWFpwWkdWdmN5NWpiMjE4TVRrMUxqRXlNeTR5TWpBdU1qSTFmSHd6TnpnM01qUXlOWHd6TXpBNE9UZzRmRFV3T0h4OE5ERjhNbnd6ZkRCOE1IeDhmREY4TUh4OGZERTFPVEU1Zkh3eGZEQjhmREY4TkRJM09UbDhOekl6TlRsOElIeDhNWHd3ZkRCOE1Id3dmREI4TUh3d2ZIQm9jRjh6TGpWOGZEQjhPRGg4ZkRCOE1IdzNOM3d3ZkU5TGZHSTNNMk15WlRCa05UUTJPVFkyWVdKaVpHTTNNV0ZrTlRSa05EYzROalF4","title":"What happens next?","description":"Click to watch full video!","original_url":"https:\/\/ok.xxx\/popular\/?ad_sub=101","image_position":"50% 50%"}]}}]},"request_id":0,"link_prefix":"\/myvids\/nb\/thephpfile.php?L5Vokp=","banner_prefix":"\/myvids\/nb\/thephpfile.php?wWE=","images":["OzsSNxEfSmp8IhIsMCA1Sw4iOzIGBFZZQgELA35AACdVNxNhFxpSPCUBCx94URUkCkEAKzQtUHl1fW4DCDxhMAhfAgVVAQZWZAMLdAJmUHpCWwZkdl4%3D","OzsSNxEfSmp8IhIsMCA1Sw4iOzIGBFZZQgELA35AACdVNxNhFxpSPCUBCx94URUkCkIYKiU0FGM0JzEZWjliNQgLBgFeUgcIZwRadgE0VXVEXQRldlBcQWNfTCU%3D","OztOd1dZSXx8NQUscS80VglpbTRcW1AAX1pXCGlSCCIBN1B%2BFF5WYiQLAEhhXEl0VUEaNTQtXnkgezBcXz9gZAkPBABbBlNXMAQKdwJlXy9HDQMwJ1s%3D"]}); (function(){try{var idzone=null;var randomizedRefMap={};var pattern=/\.(exo-native[a-zA-Z\-_]+)/g;var NBLoader=ExoLoader;var layoutImageFields=["branding_logo","branding_logo_hover"];if(typeof NBLoader!=="undefined"&&NBLoader!==null){var zonesData=NBLoader.getAdData(exoNbRequestId,"native_ad");for(var i=0;i-1){domain=url.split("/")[2]}else{domain=url.split("/")[0]}domain=domain.split(":")[0];return domain}function generateBrandingArea(widgetHeaderContentHtml){var elBranding=document.createElement("div");elBranding.className=NBLoader.getRandomizedReference("exo-native-widget-header",randomizedRefMap);elBranding.innerHTML=widgetHeaderContentHtml;return elBranding}function nativeAdsCalculated(layout){var formatsCalculated=[];formatsCalculated["textBoxWidth"]=0;formatsCalculated["textBoxHeight"]=0;formatsCalculated["textPaddingLeft"]=0;formatsCalculated["widgetWidth"]=parseInt(layout["widget_width"]);formatsCalculated["widgetHeight"]=parseInt(layout["widget_height"]);formatsCalculated["imgWidth"]=parseInt(layout["image_width"]);formatsCalculated["imgHeight"]=parseInt(layout["image_height"]);textPosition=layout["text_position"];itemPadding=parseInt(layout["item_padding"]);nativeFormat=parseInt(layout["format"]);textBoxSize=parseInt(layout["text_box_size"]);textEnabled=layout["title_enabled"]===1||layout["description_enabled"]===1||layout["brand_enabled"]==1;addBranding=layout["header_enabled"]?21:0;formatsCalculated["itemWidth"]=formatsCalculated["imgWidth"];formatsCalculated["itemHeight"]=formatsCalculated["imgHeight"];if(textEnabled){formatsCalculated["textBoxWidth"]=textPosition==="bottom"?formatsCalculated["imgWidth"]:textBoxSize;formatsCalculated["textBoxHeight"]=textPosition==="right"?formatsCalculated["imgHeight"]:textBoxSize;if(textPosition==="right"){formatsCalculated["itemWidth"]=formatsCalculated["imgWidth"]+textBoxSize+6*(layout["itemsPerRow"]-1);formatsCalculated["textPaddingLeft"]=5}else{formatsCalculated["itemHeight"]=formatsCalculated["imgHeight"]+textBoxSize+6*(layout["itemsPerCol"]-1)}}formatsCalculated["widgetWidthMin"]=formatsCalculated["itemWidth"]*layout["itemsPerRow"]+itemPadding*(layout["itemsPerRow"]-1);formatsCalculated["widgetHeightMin"]=formatsCalculated["itemHeight"]*layout["itemsPerCol"]+itemPadding*(layout["itemsPerCol"]-1)+addBranding;if(formatsCalculated["widgetWidth"]==0||isNaN(formatsCalculated["widgetWidth"])){formatsCalculated["widgetWidth"]=formatsCalculated["widgetWidthMin"]}if(formatsCalculated["widgetHeight"]==0||isNaN(formatsCalculated["widgetHeight"])){formatsCalculated["widgetHeight"]=formatsCalculated["widgetHeightMin"]}formatsCalculated["horizontalMargin"]=(formatsCalculated["widgetWidth"]-(formatsCalculated["itemWidth"]*layout["itemsPerRow"]+itemPadding*(layout["itemsPerRow"]-1)))/(layout["itemsPerRow"]+1);formatsCalculated["verticalMargin"]=(formatsCalculated["widgetHeight"]-addBranding-(formatsCalculated["itemHeight"]*layout["itemsPerCol"]+itemPadding*(layout["itemsPerCol"]-1)))/(layout["itemsPerCol"]+1);formatsCalculated["internalHorizontalPadding"]=itemPadding+formatsCalculated["horizontalMargin"];formatsCalculated["internalVerticalPadding"]=itemPadding+formatsCalculated["verticalMargin"];for(var index in formatsCalculated){if(isNaN(formatsCalculated[index])){layout[index]=""}else{layout[index]=formatsCalculated[index]+"px"}}return layout}})(); })();