Search

Video shows Chris Hemsworth, Chris Evans and Robert Downey Jr filming scene from Avengers film in Norwich

PUBLISHED: 13:57 16 June 2014 | UPDATED: 14:03 16 June 2014

Film crew setting up at the SCVA on the UEA campus. Photo: Bill Smith

Film crew setting up at the SCVA on the UEA campus. Photo: Bill Smith

Archant © 2014

An entertainment website has unveiled video footage from the set of Avengers: Age of Ultron being filmed on part of the University of East Anglia campus last week.

The footage on www.cinemablend.com stars Chris Hemsworth as Thor, Chris Evans as Captain America, and Robert Downey Jr. as Tony Stark filming a scene for the next Avengers film.

While film fans were allowed to watch what was happening at the Sainsbury Centre for Visual Arts from a distance, they were ordered to put their mobile phones and cameras away. At one point a student tried to snatch a few photos from a hall of residence window - only for a security guard to pay him a visit and make him delete his photos.

The large “A” sign for the Avengers could be clearly seen on the Sainsbury Centre’s Modern Life Café which had four high performance cars positioned outside.

 

<!-- Article End --> <div id="article-postscript"> <div class="advert mobile tablet mpu"> <div id="ad-slot-mpu-2-tablet-mobile" class="ad-slot-mpu-2 mobile tablet mpu lp_track"></div> </div> </div> <div class="clearfix"></div> </div> </article> <div class="article-keywords"> </div> <div class="article-share bottom"> <div class="utilities clearfix"><!--*** When utilities is used in a gallery article the class of clearfix is not required --> <div class="fbshare-btn"> <!-- commented because depricated<div class="fbshare-count"></div>--> </div> <div class="twittshare-btn"> </div> <div class="gpshare-btn"></div> <div class="redditshare-btn articleBeltShareBtn"></div> <div class="emailShare articleBeltShareBtn"></div> <div class="wa-share articleBeltShareBtn"></div> <div class="sms-share articleBeltShareBtn"></div> <!--<div class="totalshare"></div>--> <div class="share" id="share-bottom"> <a href="#" id="share-trigger-bottom" onclick="return false"> <span class="logo"></span> <span class="text">Share</span> </a> <div id="popover_content_wrapper" style="display: none"> </div> <script type="text/javascript"> if ($('#share-bottom #email-share').length != 0) { $(document).on('click', '#share-bottom #email-share', function() { var element = $('#captcha_container-304773').html() $('#captcha_container-304773-bottom').html(element); $('.popover').hide(); $('#display-send-to-friend-304773-bottom').toggle(); }); } </script> </div> </div> </div> <div id=display-send-to-friend-304773-bottom style="display:none"> <a name="sharinganchor-display-send-to-friend-304773-bottom"></a> <form action="" method="post" class="web-form" id="share-by-email"> <div id="ClientValidationSummary" class="errors hide"></div> <fieldset> <div class="introduction loggedout"> <p><span href="#sharinganchor">Email this article to a friend</span></p> <p>To send a link to this page you must be logged in.</p> </div> </fieldset> </form> </div> <script type="text/javascript"> // Utilities popover javascript functions $(function(){ $('#share-trigger-bottom').popover({ html : true, placement : 'bottom', content:function() { return '<button type="button" id="close" class="close" onclick="$(&quot;#share-trigger-bottom&quot;).popover(&quot;hide&quot;);">&times;</button>'+ $('#popover_content_wrapper').html(); } }); }); </script> <div class="clearfix"></div> <div id="article-bottom"> <div class="OUTBRAIN" data-src="http://www.edp24.co.uk/news/video-shows-chris-hemsworth-chris-evans-and-robert-downey-jr-filming-scene-from-avengers-film-in-norwich-1-3642727" data-widget-id="AR_1" data-ob-template="archant"></div> <script type="text/javascript" async="async" src="https://widgets.outbrain.com/outbrain.js"></script> <!-- Plista Starts Here --> <div data-widget="plista_widget_belowArticle"></div> <!-- Plista Ends Here --> <script type="text/javascript"> var articleImg = ""; var unixMilli = 1402923476000; var articleTime = unixMilli /1000; console.info('Unix time in seconds = '+ articleTime); var str = $( ".stand-first h2:first" ).text(); var shortText = jQuery.trim(str).substring(0, 155).split(" ").slice(0, -1).join(" ") + "..."; if ($('meta[property="og:image"]').length){ articleImg = $('meta[property="og:image"]').attr("content").replace('630', '225'); articleImg = articleImg.replace(":80",""); } else { articleImg = "/polopoly_fs/7.360744.1509358051!/news-icon.jpg"; } if (!window.PLISTA) { window.PLISTA = { publickey: 'b0a5f9a2c981c983ecb33e9c', item: {"objectid": "1.3642727", "title": "Video shows Chris Hemsworth, Chris Evans and Robert Downey Jr filming scene from Avengers film in Norwich", "text": shortText, "url": "http://www.edp24.co.uk:80/1.3642727", "img": articleImg, "category": 'News',"published_at": articleTime } }; (function(){var n='script',d=document,s=d.createElement(n),s0=d.getElementsByTagName(n)[0];s.async='async';s.type='text/javascript';s.src=(d.location.protocol==='https:'?'https:':'http:')+'//static-uk.plista.com/async.js';s0.parentNode.insertBefore(s,s0)}()); } </script> <div class="advert mobile tablet mpu"> <div id="ad-slot-mpu-3-tablet-mobile" class="ad-slot-mpu-3 mobile tablet mpu lp_track"></div> </div> <div> <!-- Lowestoft Journal, Yarmouth Mercury: Element has been placed in all secondary level pages, as these contain bespoke article queues... C Evans 26/06/17 --> <!-- Implementation details at end of element --> <!-- Start Disqus: 7.584324 --> <!-- Comments Status: true and example.CommentsElement { R com.polopoly.cm.ContentId[] parentIds = com.polopoly.cm.ContentId[]; R com.polopoly.cm.VersionInfo versionInfo = com.polopoly.cm.VersionInfo { R static java.lang.String p.beanClass = 'com.polopoly.cm.VersionInfo'; R int version; R long committed; R int createdOnBranch; R java.util.Date versionCreationDate; R java.util.Date versionCommitDate; R com.polopoly.user.server.UserId committedBy; R int previousVersion; R com.polopoly.user.server.UserId createdBy; R static long TIME_NEVER = null; R static java.lang.String p.publicInterfaces = 'com.polopoly.cm.VersionInfo'; R static java.lang.String p.mt = 'com.polopoly.cm.VersionInfo'; R transient java.lang.Object _data; }; R com.polopoly.cm.client.filter.state.ModerationState$State initialModerationState = 'com.polopoly.cm.client.filter.state.ModerationState$State'; R static java.lang.String p.beanClass = 'example.layout.element.comments.LatestCommentsElementPolicy'; RW example.CommentSettings commentSettings = example.CommentSettings { R static java.lang.String p.mt = 'example.content.ContentBasePolicy'; R com.polopoly.cm.ContentId parentId = 'com.polopoly.cm.ContentId'; R com.polopoly.cm.ContentId[] parentIds = com.polopoly.cm.ContentId[]; R com.polopoly.cm.VersionInfo versionInfo = com.polopoly.cm.VersionInfo { R static java.lang.String p.beanClass = 'com.polopoly.cm.VersionInfo'; R int version; R long committed; R int createdOnBranch; R java.util.Date versionCreationDate; R java.util.Date versionCommitDate; R com.polopoly.user.server.UserId committedBy; R int previousVersion; R com.polopoly.user.server.UserId createdBy; R static long TIME_NEVER = null; R static java.lang.String p.publicInterfaces = 'com.polopoly.cm.VersionInfo'; R static java.lang.String p.mt = 'com.polopoly.cm.VersionInfo'; R transient java.lang.Object _data; }; R static java.lang.String p.publicInterfaces = 'com.atex.plugins.baseline.policy.BaselinePolicyModelTypeDescription,example.content.ContentBaseModelTypeDescription'; RW java.lang.String name = 'Comments'; R static java.lang.String p.beanClass = 'example.content.ContentBasePolicy'; R transient java.lang.Object _data = 'example.content.ContentBasePolicy'; R com.polopoly.cm.VersionedContentId contentId = 'com.polopoly.cm.VersionedContentId'; }; R com.polopoly.cm.VersionedContentId contentId = 'com.polopoly.cm.VersionedContentId'; R boolean online = 'false'; R static java.lang.String p.mt = 'example.layout.element.comments.LatestCommentsElementPolicy'; R com.polopoly.cm.ContentId parentId = 'com.polopoly.cm.ContentId'; R static java.lang.String p.publicInterfaces = 'example.content.ContentBaseModelTypeDescription,com.atex.plugins.baseline.policy.BaselinePolicyModelTypeDescription,example.layout.element.comments.CommentsElementModelTypeDescription'; RW java.lang.String name = 'Comments'; R boolean openForComments = 'false'; R transient java.lang.Object _data = 'example.layout.element.comments.LatestCommentsElementPolicy'; RW p.CommentBrowser comments = p.CommentBrowser { }; },ModelStore=com.polopoly.model.ModelStoreInMap --> <div id="comments-disabled"> <a id="comments-anchor"></a> <p>Comments have been disabled on this article.</p> </div> <!-- End Disqus --> <!-- How to implement Disqus element on websites Disqus element is to be placed last in the bottom slot of the Root. Copy this element, and paste it onto the required site. Check bottom slot on all secondary pages to ensure the bottom slot is empty. If not, if possible remove all elements in the bottom slot. However, if sub page specific content is there, (specific queues, for example), place the Disqus element at the end of the bottom slot. Once element has been placed, you will need to go through the root, and each primary and secondary sub pages, and check the "Initial moderation level for comments" status, which is found under Page Options. The "Initial moderation level for comments" status should be set to Closed. Rinse and repeat ヽ(´∇`)ノ Cat - 27/06/2017 --> </div> <script> console.log("article share icons warning: $m.global.archantvariables.SiteName has not been set"); //google analytics for article clicks var sendSocialArticleGoogleAnalytics = function(socialNetwork, sharedUrl){ //turn shared url into just article and id number for google analytics sharedArticle = sharedUrl.split("/")[sharedUrl.split("/").length -1] ga('send', 'event', 'Article social share', 'share on '+ socialNetwork, sharedArticle ); } // detect mobile os var getMobileOperatingSystem = function() { var userAgent = navigator.userAgent || navigator.vendor || window.opera; if( userAgent.match( /iPad/i ) || userAgent.match( /iPhone/i ) || userAgent.match( /iPod/i ) ) { // supports iOS 2.0 and later var v = (navigator.appVersion).match(/OS (\d+)_(\d+)_?(\d+)?/); version = [parseInt(v[1], 10), parseInt(v[2], 10), parseInt(v[3] || 0, 10)]; if (version[0] < 8){ return "ios <8" } else { return "ios =>8" } }else if( userAgent.match( /Android/i ) ){ return 'Android'; }else{ return false; } } jQuery( document ).ready(function () { var articleTitle =""; articleTitle = "Video shows Chris Hemsworth, Chris Evans and Robert Downey Jr filming scene from Avengers film in Norwich"; // get current url var currentURL = 'http://www.edp24.co.uk/news/video-shows-chris-hemsworth-chris-evans-and-robert-downey-jr-filming-scene-from-avengers-film-in-norwich-1-3642727'; var totalShareCount = 0; // define share counter //define utm query strings var FBUtmTeaserQueryStr = encodeURIComponent("?utm_source=Facebook&utm=Social_Icon&utm_campaign=article_teaser_social_icons"); var TwittUtmTeaserQueryStr = encodeURIComponent("?utm_source=Twitter&utm_medium=Social_Icon&utm_campaign=article_teaser_social_icons"); var GPUtmTeaserQueryStr = encodeURIComponent("?utm_source=Google_Plus&utm_medium_medium=Social_Icon&utm_campaign=article_teaser_social_icons"); var FBUtmArticleQueryStr = encodeURIComponent("?utm_source=Facebook&utm_medium=Social_Icon&utm_campaign=in_article_social_icons"); var TwittUtmArticleQueryStr = encodeURIComponent("?utm_source=Twitter&utm_medium=Social_Icon&utm_campaign=in_article_social_icons"); var GPUtmArticleQueryStr = encodeURIComponent("?utm_source=Google_Plus&utm_medium=Social_Icon&utm_campaign=in_article_social_icons"); var redditAtmArticleQueryStr = encodeURIComponent("?utm_source=Reddit&utm_medium=Social_Icon&utm_campaign=in_article_social_icons"); //define urls to retrive share statistics var facebookStatsURL = "https://api.facebook.com/method/links.getStats?urls="+ currentURL +"&format=json" // define test boolean for checking for completion of asynchronous ajax calls var completedFB = false var completedTwitter = false // define share links var facebookPrepend = "https://www.facebook.com/sharer/sharer.php?u="; var twitterPrepend = "https://twitter.com/intent/tweet?url="; var gPlusPrepend = "https://plus.google.com/share?url="; var redditPrepend = "http://www.reddit.com/submit?url=" //render share buttons if (jQuery(".fbshare-btn")[0]){ var fbIcon = '<a target="_blank" onclick="event.preventDefault();window.open(\'' + facebookPrepend + encodeURIComponent(currentURL) + FBUtmArticleQueryStr +'\', \'newwindow\', \'width=600, height=500\'); sendSocialArticleGoogleAnalytics(\'facebook\', \''+currentURL+'\'); return false;" href="#"><img src="/polopoly_fs/7.304791.1499961195!/fb-64.png" alt="Share article from on facebook"/></a>'; jQuery(".fbshare-btn").prepend(fbIcon); } if (jQuery(".twittshare-btn")[0]){ var twittIcon = '<a target="_blank" onclick="event.preventDefault();window.open(\'' + twitterPrepend + encodeURIComponent(currentURL) + TwittUtmArticleQueryStr + '&text=' + encodeURIComponent(articleTitle) + '\', \'newwindow\', \'width=600, height=500\'); sendSocialArticleGoogleAnalytics(\'twitter\', \''+currentURL+'\');return false;" href="#"><img src="/polopoly_fs/7.304791.1499961195!/twitt-64.png" alt="Tweet article from "/></a>'; jQuery(".twittshare-btn").prepend(twittIcon); } if (jQuery(".gpshare-btn")[0]){ var gpIcon = '<a target="_blank" onclick="event.preventDefault();window.open(\'' + gPlusPrepend + encodeURIComponent(currentURL) + GPUtmArticleQueryStr +'\', \'newwindow\', \'width=600, height=500\'); sendSocialArticleGoogleAnalytics(\'Google Plus\', \''+currentURL+'\');return false;" href="#"><img src="/polopoly_fs/7.304791.1499961195!/gplus-64.png" alt="Share article from on Google Plus"/></a>'; jQuery(".gpshare-btn").prepend(gpIcon); } if (jQuery(".redditshare-btn")[0]){ var redditIcon = '<a target="_blank" onclick="event.preventDefault();window.open(\'' + redditPrepend + encodeURIComponent(currentURL) + redditAtmArticleQueryStr +'\', \'newwindow\', \'width=600, height=500\'); sendSocialArticleGoogleAnalytics(\'Reddit\', \''+currentURL+'\');return false;" href="#"><img src="/polopoly_fs/7.304791.1499961195!/reddit-64.png" alt="post article from on reddit"/></a>'; jQuery(".redditshare-btn").prepend(redditIcon); } if (jQuery(".emailShare")[0]){ var emailContent = "mailto:?subject="+encodeURIComponent("Story on ")+"&body="+encodeURIComponent("Article from : "+currentURL) jQuery(".emailShare").append('<a href="'+emailContent+'" onclick="sendSocialArticleGoogleAnalytics(\'E-Mail\', \''+currentURL+'\');"> <img src="/polopoly_fs/7.304791.1499961195!/e-mail-64.png" alt="email article from "/></a>'); } if (jQuery(".wa-share")[0]){ if (getMobileOperatingSystem()){ var whatsAppMessage = encodeURIComponent("Article on http://www.edp24.co.uk "+currentURL) var whatsAppRender = '<a onClick="sendSocialArticleGoogleAnalytics(\'Whatsapp\', \''+currentURL+'\');" href="whatsapp://send?text='+whatsAppMessage+'" class="wa_btn wa_btn_l" ><img src="/polopoly_fs/7.304791.1499961195!/wa-64.png" alt="send article from on Whatsapp"/></a>'; jQuery(".wa-share").append(whatsAppRender); } } if (jQuery(".sms-share")[0]){ var mobileOS = getMobileOperatingSystem(); if (mobileOS){ smsContent = encodeURIComponent("Story from : "+currentURL) if (mobileOS == "Android"){ jQuery(".sms-share").append('<a rel="nofollow" href="sms:?body='+smsContent+'" onclick="sendSocialArticleGoogleAnalytics(\'SMS Android\', \''+currentURL+'\');"><img src="/polopoly_fs/7.304791.1499961195!/sms-64.png" alt="Send article from as text message"/></a>'); } else if (mobileOS == "ios <8"){ jQuery(".sms-share").append('<a rel="nofollow" href="sms:;body='+smsContent+'" onclick="sendSocialArticleGoogleAnalytics(\'SMS IOS\', \''+currentURL+'\');"><img src="/polopoly_fs/7.304791.1499961195!/sms-64.png" alt="Send article from as text message"/></a>'); } else if (mobileOS == "ios =>8"){ jQuery(".sms-share").append('<a rel="nofollow" href="sms:&body='+smsContent+'" onclick="sendSocialArticleGoogleAnalytics(\'SMS IOS\', \''+currentURL+'\');"><img src="/polopoly_fs/7.304791.1499961195!/sms-64.png" alt="Send article from as text message"/></a>'); } else { console.log("unknown mobile device: "+mobileOS) } } } //get facebook share count jQuery.getJSON(facebookStatsURL, function(data) { var fbShareCount = 0; for(i = 0;i< data.length; i++){ fbShareCount = fbShareCount + data[i].share_count; } //render fb shares and add them to totalShareCount if (fbShareCount > 999){ var fbShareCountRender if (fbShareCount > 9999){ fbShareCountRender = Math.floor(fbShareCount/1000); }else{ fbShareCountRender = Math.floor(fbShareCount/100)/10; } fbShareCountRender += "k" jQuery(".fbshare-count").append(fbShareCountRender); }else{ jQuery(".fbshare-count").append(fbShareCount); } totalShareCount = totalShareCount + fbShareCount; completedFB = true }); if ($('.article-share.top').length){ var articleSize = Math.abs($('.article-share.bottom').offset().top - $('.article-share.top').offset().top); var windowHeight = $(window).height(); if (articleSize < (windowHeight/3)*2){ $('.article-share.top').hide(); } } // check if all ajax calls finished every second and then render totalShareCount var renderTotalShare = function(){ setTimeout(function () { if (completedFB){ var totalShareCountRender if (totalShareCount > 999){ totalShareCountRender = Math.floor(totalShareCount/100)/10; totalShareCountRender += "k"; jQuery(".totalshare").append(totalShareCountRender); }else{ jQuery(".totalshare").append(totalShareCount); } }else{renderTotalShare()} }, 1000); }; renderTotalShare(); }); </script> <style> .fbshare-btn img, .twittshare-btn img, .gpshare-btn img, .articleBeltShareBtn img { width: 42px; border-radius: 4px; } /*fix for some themes */ .utilities div { width: initial; } .utilities > .fbshare-btn, .utilities .twittshare-btn, .utilities .gpshare-btn, .utilities .articleBeltShareBtn { padding: 0; border-radius: 4px; -webkit-filter: grayscale(75%); filter: grayscale(75%); margin: 0 4px; } .utilities > .fbshare-btn:hover, .utilities > .twittshare-btn:hover, .utilities > .gpshare-btn:hover, .utilities > .articleBeltShareBtn:hover { -webkit-filter: grayscale(0%); filter: grayscale(0%); } .article-share .utilities a:hover { opacity: 1; } /* counter styles */ .utilities .fbshare-btn { background-color: #3b5998; } .utilities .twittshare-btn { background-color: #4099FF; } .fbshare-count, .twittshare-count{ display: inline-block; color: white; font-weight: bold; font-size: 18px; width: 0; transition: width 1s; overflow: hidden; white-space: nowrap; vertical-align: middle; } .fbshare-count a, .twittshare-count a{ color: white; } .fbshare-count:before { content: "Shares: "; } .twittshare-count:before { content: "Tweets: "; } .fbshare-btn:hover .fbshare-count, .twittshare-btn:hover .twittshare-count { width: 110px; transition: width 1s; display: inline-block; } /*total share*/ .utilities > .totalshare { vertical-align: bottom; height: 42px; padding: 0; font-weight: bold; font-size: 32px; vertical-align: middle; float: right; padding-left: 4px; border-left: 1px solid #ccc; } .totalshare:before { content: "Shares: "; font-size: 14px; } /*general styles*/ .article-share { border-top: 1px solid #ccc; border-bottom: 1px solid #ccc; padding: 10px 0; vertical-align: middle; } .article-share .utilities { padding: 0; } /* stop appering in gallery */ .gallery .article-share{ display: none!important; } /*remove comments button*/ .article-share .utilities .comments { display: none; } /*whatsapp button*/ @media screen and (min-width: 1024px) { .whatsappcontainer { display:none; } } /*mobile tablet styling*/ @media (max-width: 1024px){ .utilities > .totalshare { border-left: 0; } .fbshare-count, .twittshare-count{ font-size: 14px; width: initial; padding-Right: 8px; } .utilities > .fbshare-btn, .utilities .twittshare-btn, .utilities .gpshare-btn, .utilities .articleBeltShareBtn { -webkit-filter: grayscale(0%); filter: grayscale(0%); margin-bottom: 8px; } .fbshare-btn:hover .fbshare-count, .twittshare-btn:hover .twittshare-count { width:initial } } </style> <div class="advert mobile tablet desktop mpu"> <div id="ad-slot-teads-desktop-tablet-mobile" class="ad-slot-teads mobile tablet desktop mpu lp_track"></div> </div> </div> <div class="clearfix"></div> </div> </div></div> <div class="content-b col-md-4"><div class="row"><div class="inner-c col-md-12"> <div> <div> <div class="advert desktop mpu"> <div id="ad-slot-mpu-1-desktop" class="ad-slot-mpu-1 desktop mpu lp_track"></div> </div> <div class="story-list most-read teaser-counter title-underline"> <h2 class="inpage"> Most Read </h2> <div class="small-teaser-item teaser clearfix"> <div class="teaser-title"> <h3> <span class="teaser-label teaser-video">Video:</span> <a href="http://www.edp24.co.uk:80/news/jack-dean-vlogger-wetherspoons-game-norwich-glasshouse-twitter-1-5356746">Norwich vlogger plays ‘The Wetherspoon’s Game’ </a> </h3> <span class="media-icon glyphicon glyphicon-facetime-video"></span> </div> <div class="teaser-image"> <!--[if IE]> <a href="http://www.edp24.co.uk:80/news/jack-dean-vlogger-wetherspoons-game-norwich-glasshouse-twitter-1-5356746" title="Norwich-based YouTuber Jack Dean/JaackMaate. Photo supplied by Jack Dean."> <div style="position:relative;height:0;padding-bottom:56.65%;"> <img alt="Norwich-based YouTuber Jack Dean/JaackMaate. Photo supplied by Jack Dean." class='img-responsive lazyImage' data-srcset="http://images.archant.co.uk/polopoly_fs/1.5357059.1516109875!/image/image.jpg_gen/derivatives/landscape_75/image.jpg 75w, http://images.archant.co.uk/polopoly_fs/1.5357059.1516109875!/image/image.jpg_gen/derivatives/landscape_145/image.jpg 145w, http://images.archant.co.uk/polopoly_fs/1.5357059.1516109875!/image/image.jpg_gen/derivatives/landscape_225/image.jpg 225w, http://images.archant.co.uk/polopoly_fs/1.5357059.1516109875!/image/image.jpg_gen/derivatives/landscape_300/image.jpg 300w, http://images.archant.co.uk/polopoly_fs/1.5357059.1516109875!/image/image.jpg_gen/derivatives/landscape_490/image.jpg 490w, http://images.archant.co.uk/polopoly_fs/1.5357059.1516109875!/image/image.jpg_gen/derivatives/landscape_630/image.jpg 630w " src="" /> </div> </a> <![endif]--> <!--[if !IE]> --> <a href="http://www.edp24.co.uk:80/news/jack-dean-vlogger-wetherspoons-game-norwich-glasshouse-twitter-1-5356746"> <div style="position:relative;height:0;padding-bottom:56.65%;"> <img alt="Norwich-based YouTuber Jack Dean/JaackMaate. Photo supplied by Jack Dean." class='img-responsive lazyImage' data-srcset="http://images.archant.co.uk/polopoly_fs/1.5357059.1516109875!/image/image.jpg_gen/derivatives/landscape_75/image.jpg 75w, http://images.archant.co.uk/polopoly_fs/1.5357059.1516109875!/image/image.jpg_gen/derivatives/landscape_145/image.jpg 145w, http://images.archant.co.uk/polopoly_fs/1.5357059.1516109875!/image/image.jpg_gen/derivatives/landscape_225/image.jpg 225w, http://images.archant.co.uk/polopoly_fs/1.5357059.1516109875!/image/image.jpg_gen/derivatives/landscape_300/image.jpg 300w, http://images.archant.co.uk/polopoly_fs/1.5357059.1516109875!/image/image.jpg_gen/derivatives/landscape_490/image.jpg 490w, http://images.archant.co.uk/polopoly_fs/1.5357059.1516109875!/image/image.jpg_gen/derivatives/landscape_630/image.jpg 630w " src="" /> </div> </a> <!-- <![endif]--> </div> </div> <div class="small-teaser-item teaser clearfix"> <div class="teaser-title"> <h3> <a href="http://www.edp24.co.uk:80/news/health/abbeville-care-home-to-close-1-5357636">‘Unsafe’ care home to close following damning inspection report </a> </h3> </div> <div class="teaser-image"> <!--[if IE]> <a href="http://www.edp24.co.uk:80/news/health/abbeville-care-home-to-close-1-5357636" title="Abbeville Residential Care home on Wellesley Road, Great Yarmouth. Picture: James Bass "> <div style="position:relative;height:0;padding-bottom:67.11%;"> <img alt="Abbeville Residential Care home on Wellesley Road, Great Yarmouth. Picture: James Bass " class='img-responsive lazyImage' data-srcset="http://images.archant.co.uk/polopoly_fs/1.5357634.1516132034!/image/image.jpg_gen/derivatives/landscape_75/image.jpg 75w, http://images.archant.co.uk/polopoly_fs/1.5357634.1516132034!/image/image.jpg_gen/derivatives/landscape_145/image.jpg 145w, http://images.archant.co.uk/polopoly_fs/1.5357634.1516132034!/image/image.jpg_gen/derivatives/landscape_225/image.jpg 225w, http://images.archant.co.uk/polopoly_fs/1.5357634.1516132034!/image/image.jpg_gen/derivatives/landscape_300/image.jpg 300w, http://images.archant.co.uk/polopoly_fs/1.5357634.1516132034!/image/image.jpg_gen/derivatives/landscape_490/image.jpg 490w, http://images.archant.co.uk/polopoly_fs/1.5357634.1516132034!/image/image.jpg_gen/derivatives/landscape_630/image.jpg 630w " src="" /> </div> </a> <![endif]--> <!--[if !IE]> --> <a href="http://www.edp24.co.uk:80/news/health/abbeville-care-home-to-close-1-5357636"> <div style="position:relative;height:0;padding-bottom:67.11%;"> <img alt="Abbeville Residential Care home on Wellesley Road, Great Yarmouth. Picture: James Bass " class='img-responsive lazyImage' data-srcset="http://images.archant.co.uk/polopoly_fs/1.5357634.1516132034!/image/image.jpg_gen/derivatives/landscape_75/image.jpg 75w, http://images.archant.co.uk/polopoly_fs/1.5357634.1516132034!/image/image.jpg_gen/derivatives/landscape_145/image.jpg 145w, http://images.archant.co.uk/polopoly_fs/1.5357634.1516132034!/image/image.jpg_gen/derivatives/landscape_225/image.jpg 225w, http://images.archant.co.uk/polopoly_fs/1.5357634.1516132034!/image/image.jpg_gen/derivatives/landscape_300/image.jpg 300w, http://images.archant.co.uk/polopoly_fs/1.5357634.1516132034!/image/image.jpg_gen/derivatives/landscape_490/image.jpg 490w, http://images.archant.co.uk/polopoly_fs/1.5357634.1516132034!/image/image.jpg_gen/derivatives/landscape_630/image.jpg 630w " src="" /> </div> </a> <!-- <![endif]--> </div> </div> <div class="small-teaser-item teaser clearfix"> <div class="teaser-title"> <h3> <a href="http://www.edp24.co.uk:80/edp-property/165-homes-poringland-objections-south-norfolk-council-1-5356872">Bid for 165 homes in Norfolk village receives more than 120 objections </a> </h3> </div> <div class="teaser-image"> <!--[if IE]> <a href="http://www.edp24.co.uk:80/edp-property/165-homes-poringland-objections-south-norfolk-council-1-5356872" title="The area around Bulgate Lane. Picture: Google"> <div style="position:relative;height:0;padding-bottom:70.92%;"> <img alt="The area around Bulgate Lane. Picture: Google" class='img-responsive lazyImage' data-srcset="http://images.archant.co.uk/polopoly_fs/1.5356871.1516105811!/image/image.jpg_gen/derivatives/landscape_75/image.jpg 75w, http://images.archant.co.uk/polopoly_fs/1.5356871.1516105811!/image/image.jpg_gen/derivatives/landscape_145/image.jpg 145w, http://images.archant.co.uk/polopoly_fs/1.5356871.1516105811!/image/image.jpg_gen/derivatives/landscape_225/image.jpg 225w, http://images.archant.co.uk/polopoly_fs/1.5356871.1516105811!/image/image.jpg_gen/derivatives/landscape_300/image.jpg 300w, http://images.archant.co.uk/polopoly_fs/1.5356871.1516105811!/image/image.jpg_gen/derivatives/landscape_490/image.jpg 490w, http://images.archant.co.uk/polopoly_fs/1.5356871.1516105811!/image/image.jpg_gen/derivatives/landscape_630/image.jpg 630w " src="" /> </div> </a> <![endif]--> <!--[if !IE]> --> <a href="http://www.edp24.co.uk:80/edp-property/165-homes-poringland-objections-south-norfolk-council-1-5356872"> <div style="position:relative;height:0;padding-bottom:70.92%;"> <img alt="The area around Bulgate Lane. Picture: Google" class='img-responsive lazyImage' data-srcset="http://images.archant.co.uk/polopoly_fs/1.5356871.1516105811!/image/image.jpg_gen/derivatives/landscape_75/image.jpg 75w, http://images.archant.co.uk/polopoly_fs/1.5356871.1516105811!/image/image.jpg_gen/derivatives/landscape_145/image.jpg 145w, http://images.archant.co.uk/polopoly_fs/1.5356871.1516105811!/image/image.jpg_gen/derivatives/landscape_225/image.jpg 225w, http://images.archant.co.uk/polopoly_fs/1.5356871.1516105811!/image/image.jpg_gen/derivatives/landscape_300/image.jpg 300w, http://images.archant.co.uk/polopoly_fs/1.5356871.1516105811!/image/image.jpg_gen/derivatives/landscape_490/image.jpg 490w, http://images.archant.co.uk/polopoly_fs/1.5356871.1516105811!/image/image.jpg_gen/derivatives/landscape_630/image.jpg 630w " src="" /> </div> </a> <!-- <![endif]--> </div> </div> <div class="small-teaser-item teaser clearfix"> <div class="teaser-title"> <h3> <a href="http://www.edp24.co.uk:80/sport/norwich-city/canaries-tottenham-maddison-transfer-rumour-1-5356582">Norwich City transfer rumours: Tottenham weigh up bid for £20m-rated James Maddison </a> </h3> </div> <div class="teaser-image"> <!--[if IE]> <a href="http://www.edp24.co.uk:80/sport/norwich-city/canaries-tottenham-maddison-transfer-rumour-1-5356582" title="James Maddison continues to be touted with a big-money move in January. Picture: Paul Chesterton/Focus Images Ltd"> <div style="position:relative;height:0;padding-bottom:71.8%;"> <img alt="James Maddison continues to be touted with a big-money move in January. Picture: Paul Chesterton/Focus Images Ltd" class='img-responsive lazyImage' data-srcset="http://images.archant.co.uk/polopoly_fs/1.5356581.1516099511!/image/image.jpg_gen/derivatives/landscape_75/image.jpg 75w, http://images.archant.co.uk/polopoly_fs/1.5356581.1516099511!/image/image.jpg_gen/derivatives/landscape_145/image.jpg 145w, http://images.archant.co.uk/polopoly_fs/1.5356581.1516099511!/image/image.jpg_gen/derivatives/landscape_225/image.jpg 225w, http://images.archant.co.uk/polopoly_fs/1.5356581.1516099511!/image/image.jpg_gen/derivatives/landscape_300/image.jpg 300w, http://images.archant.co.uk/polopoly_fs/1.5356581.1516099511!/image/image.jpg_gen/derivatives/landscape_490/image.jpg 490w, http://images.archant.co.uk/polopoly_fs/1.5356581.1516099511!/image/image.jpg_gen/derivatives/landscape_630/image.jpg 630w " src="" /> </div> </a> <![endif]--> <!--[if !IE]> --> <a href="http://www.edp24.co.uk:80/sport/norwich-city/canaries-tottenham-maddison-transfer-rumour-1-5356582"> <div style="position:relative;height:0;padding-bottom:71.8%;"> <img alt="James Maddison continues to be touted with a big-money move in January. Picture: Paul Chesterton/Focus Images Ltd" class='img-responsive lazyImage' data-srcset="http://images.archant.co.uk/polopoly_fs/1.5356581.1516099511!/image/image.jpg_gen/derivatives/landscape_75/image.jpg 75w, http://images.archant.co.uk/polopoly_fs/1.5356581.1516099511!/image/image.jpg_gen/derivatives/landscape_145/image.jpg 145w, http://images.archant.co.uk/polopoly_fs/1.5356581.1516099511!/image/image.jpg_gen/derivatives/landscape_225/image.jpg 225w, http://images.archant.co.uk/polopoly_fs/1.5356581.1516099511!/image/image.jpg_gen/derivatives/landscape_300/image.jpg 300w, http://images.archant.co.uk/polopoly_fs/1.5356581.1516099511!/image/image.jpg_gen/derivatives/landscape_490/image.jpg 490w, http://images.archant.co.uk/polopoly_fs/1.5356581.1516099511!/image/image.jpg_gen/derivatives/landscape_630/image.jpg 630w " src="" /> </div> </a> <!-- <![endif]--> </div> </div> <div class="small-teaser-item teaser clearfix"> <div class="teaser-title"> <h3> <a href="http://www.edp24.co.uk:80/news/crime/beccles-baseball-bat-attack-1-5357777">Terrifying baseball bat attack on teen prompts call for more police </a> </h3> </div> <div class="teaser-image"> <!--[if IE]> <a href="http://www.edp24.co.uk:80/news/crime/beccles-baseball-bat-attack-1-5357777" title="Banham Road, Beccles. Picture: Nick Butcher"> <div style="position:relative;height:0;padding-bottom:67.7%;"> <img alt="Banham Road, Beccles. Picture: Nick Butcher" class='img-responsive lazyImage' data-srcset="http://images.archant.co.uk/polopoly_fs/1.5357774.1516129134!/image/image.jpg_gen/derivatives/landscape_75/image.jpg 75w, http://images.archant.co.uk/polopoly_fs/1.5357774.1516129134!/image/image.jpg_gen/derivatives/landscape_145/image.jpg 145w, http://images.archant.co.uk/polopoly_fs/1.5357774.1516129134!/image/image.jpg_gen/derivatives/landscape_225/image.jpg 225w, http://images.archant.co.uk/polopoly_fs/1.5357774.1516129134!/image/image.jpg_gen/derivatives/landscape_300/image.jpg 300w, http://images.archant.co.uk/polopoly_fs/1.5357774.1516129134!/image/image.jpg_gen/derivatives/landscape_490/image.jpg 490w, http://images.archant.co.uk/polopoly_fs/1.5357774.1516129134!/image/image.jpg_gen/derivatives/landscape_630/image.jpg 630w " src="" /> </div> </a> <![endif]--> <!--[if !IE]> --> <a href="http://www.edp24.co.uk:80/news/crime/beccles-baseball-bat-attack-1-5357777"> <div style="position:relative;height:0;padding-bottom:67.7%;"> <img alt="Banham Road, Beccles. Picture: Nick Butcher" class='img-responsive lazyImage' data-srcset="http://images.archant.co.uk/polopoly_fs/1.5357774.1516129134!/image/image.jpg_gen/derivatives/landscape_75/image.jpg 75w, http://images.archant.co.uk/polopoly_fs/1.5357774.1516129134!/image/image.jpg_gen/derivatives/landscape_145/image.jpg 145w, http://images.archant.co.uk/polopoly_fs/1.5357774.1516129134!/image/image.jpg_gen/derivatives/landscape_225/image.jpg 225w, http://images.archant.co.uk/polopoly_fs/1.5357774.1516129134!/image/image.jpg_gen/derivatives/landscape_300/image.jpg 300w, http://images.archant.co.uk/polopoly_fs/1.5357774.1516129134!/image/image.jpg_gen/derivatives/landscape_490/image.jpg 490w, http://images.archant.co.uk/polopoly_fs/1.5357774.1516129134!/image/image.jpg_gen/derivatives/landscape_630/image.jpg 630w " src="" /> </div> </a> <!-- <![endif]--> </div> </div> </div> <div class="subscription-widget"> <h4>Newsletter Sign Up</h4> <form class="subscription-widget__form" action="" method="post"> <input type="hidden" name="action" value="subscribe"/> <input type="hidden" name="submitted" value="none" id="subscription"/> <input type="hidden" name="relatedProduct" value=2 /> <div class="multiple-newsletters"> <p>Sign up to the following newsletters:</p> <div class="checkbox"> <label> <input type="checkbox" value="43" name="relatedPublication1" checked> EDP Business </label> </div> <div class="checkbox"> <label> <input type="checkbox" value="46" name="relatedPublication2" checked> Eastern Daily Press </label> </div> </div> <div class="form-group"> <label for="subscriber-email">Email Address*</label> <input type="email" class="form-control" id="subscriber-email" placeholder="Email" name="email" required> </div> <div class="form-group"> <label for="subscriber-name">Name*</label> <input type="text" class="form-control" id="subscriber-name" placeholder="Name" name="name" required> </div> <div class="checkbox"> <label> <input type="checkbox" value="1" name="electronicMarketingArchant"> Keep me up to date on special promotions, products and services from Archant Community Media Limited </label> </div> <div class="checkbox"> <label> <input type="checkbox" value="1" name ="electronicMarketingThirdParty"> I am happy for you to pass my information onto carefully selected third parties so they can send me information about their products and services </label> </div> <div class="checkbox sub-terms-cond"> <label> <input type="checkbox" value="1" name ="termsCond" tabindex="-1" checked="checked"> Please agree to the terms and conditions </label> </div> <div class="col-sm-10 text-right">Sign up to receive our regular email newsletter</div> <button type="submit" class="btn btn-default col-sm-2 subscription-widget__submit">Join</button> </form> </div> <script type="text/javascript"> //As this widget contains two "required" input fields, the shopping basket functionality on services pages wouldn't submit its post request. //This quick fix removes the newsletter widget when it appears on a services page or aspx page. $(function(){ var urlPrefix = window.location.hostname; var urlPreResult = /^services/.test(urlPrefix); var urlPath = window.location.pathname; var urlPathResult = /aspx/.test(urlPath); if(urlPreResult || urlPathResult){ $('.subscription-widget').remove(); } }); </script> <script type="text/javascript"> window.setTimeout(function(){ $('.sub-terms-cond input:checkbox').removeAttr("checked"); }, 3000); $(".subscription-widget__submit").click(function(e) { var multipleCheckboxes = $('.multiple-newsletters input:checkbox').is(':checked'); var termsCheckbox = $('.sub-terms-cond input:checkbox').is(':checked'); function validateEmail(email) { var re = /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/; return re.test(email); } var userEmail = document.getElementById('subscriber-email').value; var validEmail = validateEmail(userEmail); if(!multipleCheckboxes){ alert('Please select one of the newsletters to sign up to'); e.preventDefault(); } else if(!validEmail){ alert('Please provide a valid email address'); e.preventDefault(); } else if(termsCheckbox){ document.getElementById('subscription').value = 'false'; } else{ document.getElementById('subscription').value = 'true'; } }); </script> <style type="text/css"> #drive24-widget { margin: 0; width: 100%; font-family: Arial, Helvetica, sans-serif; position: relative; border-bottom: 1px solid #999; overflow: hidden; padding: 0 0 15px 0; margin: 10px 0px 20px 0px; } #drive24-widget h2 { margin: 0px 0px 15px 0px; height: 33px; line-height: 33px; text-indent: 10px; font-size: 16px; font-weight: normal; color: #263333; text-shadow: 1px 1px #fff; border: 1px solid #999; background: #e5e5e5; /* Old browsers */ background: -ms-linear-gradient(top, #e5e5e5 0%, #f2f2f2 100%); /* IE10+ */ background: linear-gradient(to bottom, #e5e5e5 0%, #f2f2f2 100%); /* W3C */ } #drive24-widget #motors-logo { position: absolute; top: 1px; right: 1px; } #mot-UsedCarSearch-logo { display: none; } #drive24-widget label { width: 20%; padding: 0px 5px 0px 0px; float: left; display: block; height: 26px; line-height: 26px; text-align: right; margin: 0px 0px 10px 0px; color: #727272; font-size: 12px; } #drive24-widget select, #mot-UsedCarSearch-location { width: 79%; float: left; display: block; padding: 3px; height: 26px; margin: 0px 0px 10px 0px; border: 1px solid #acacac; border-radius: 3px; } #mot-UsedCarSearch-location { width: 34%; height: 20px; } #mot-UsedCarSearch-search { float: left; margin: 0px 0px 0px 45px; border: 1px solid #161616; padding: 3px 14px; border-radius: 3px; color: #fff; font-weight: bold; text-shadow: 1px 1px 0px #000; background: #767676; /* Old browsers */ background: -ms-linear-gradient(top, #767676 0%, #343434 100%); /* IE10+ */ background: linear-gradient(to bottom, #767676 0%, #343434 100%); /* W3C */ } </style> <script type="text/javascript"> /* Development version Compile before deployment~~~ */ var motorsWidget = (function(w, d) { "use strict"; var options = {}; // trim a string function trim(str) { if (str) { var str = str.replace(/^\s\s*/, ''), ws = /\s/, i = str.length; while (ws.test(str.charAt(--i))); return str.slice(0, i + 1); } } // ie doesn't like (this) being passed through the json object out of context, which is fair enough function ieFixEvent() { var e, el; if (!e) { e = w.event; } if (e.target) { el = e.target; } else if (e.srcElement) { el = e.srcElement; } if (el.nodeType === 3) { el = el.parentNode; } return el; } // grab namespace out of generated IDs // TODO: remove harcoded references to panel name function getNs(el) { var elNs, retVal = false; if (el && el.id) { elNs = el.id.split('-'); elNs.pop(); retVal = elNs.join('-'); } return retVal; } // validate a specified field with a regex from the set in options.config.validate values function validate(el, method, compareTo) { var valid, compareEl, val1, val2, returnVal; if (!el.tagName) { el = ieFixEvent(); } if (method === 'withinbound') { compareEl = d.getElementById(getNs(el) + '-' + compareTo); val1 = parseInt(el.options[el.selectedIndex].value, 10); val2 = parseInt(compareEl.options[compareEl.selectedIndex].value, 10); if (!isNaN(val1 * val2)) { if (compareTo === 'maxprice' && val1 > val2) { el.value = compareEl.options[(compareEl.selectedIndex - 1 >= 0) ? compareEl.selectedIndex - 1 : compareEl.selectedIndex].value; alert('Minimum price must be lower than the maximum price'); } else if (compareTo === 'minprice' && val1 < val2) { el.value = compareEl.options[(compareEl.selectedIndex + 1 <= compareEl.options.length) ? compareEl.selectedIndex + 1 : compareEl.selectedIndex].value; alert('Maximum price must be greater than minimum price'); } } return false; } else { var valid = options.config.validate[method].test(trim(el.value)); if (!valid) { if (el.className.indexOf("invalid") < 1) el.className += " invalid"; } else { el.className = trim(el.className.replace(/\binvalid\b/g, '')); } return valid; } } // get search criteria and populate options.search var getCriteria = function(el) { var nodeList, panelNode, field, fieldEl, errorEl, val = false, fail = false, i; options.search = {}; if (!el.tagName) el = ieFixEvent(); panelNode = el.parentNode; options.search.type = panelNode.id.split(options.config.nameSpace)[1]; nodeList = panelNode.childNodes; for (i = 0; i < nodeList.length; i++) { fieldEl = nodeList[i]; errorEl = d.getElementById(fieldEl.id + '-error'); if (fieldEl.nodeType !== 3) { if (fieldEl.className.indexOf('invalid') > -1) { fieldEl.focus(); if (fieldEl.title) { if (!errorEl) { errorEl = d.createElement('span'); errorEl.setAttribute('id', fieldEl.id + '-error'); errorEl.className = 'error'; if (fieldEl.nextSibling) { fieldEl.parentNode.insertBefore(errorEl, fieldEl.nextSibling); } else { fieldEl.parentNode.appendChild(errorEl); } errorEl.innerHTML = fieldEl.title; } else { errorEl.style.display = 'block'; } } fail = true; } else { if (errorEl) errorEl.style.display = 'none'; } if (fieldEl.tagName == "SELECT") { val = fieldEl.options[fieldEl.selectedIndex].value; } else if (fieldEl.tagName == "INPUT" && fieldEl.type !== "button") { val = fieldEl.value; } if (val) options.search[fieldEl.id.split(el.parentNode.id + '-')[1]] = val; //.replace(/\s/g,'%20'); val = false; } } if (!fail) { buildForm(); } } function getModels() { var el = document.getElementById(options.config.nameSpace + 'UsedCarSearch-make'), targ = document.getElementById(options.config.nameSpace + 'UsedCarSearch-model'), i = el.selectedIndex, opt = el.options, val = opt[i].value; if (val === 'Any') { targ.innerHTML = '<option value="Any">Any</option>'; } else { targ.innerHTML = ""; targ.options[0] = new Option('Any', 'Any'); var models; for (var x = 0; x < carData.MakeData.length; x++) { if (carData.MakeData[x].Name === val) { models = carData.MakeData[x].Models; break; } } if (models) { for (var a = 0; a < models.length; a++) { targ.options[a + 1] = new Option(models[a].Name, models[a].Name); } } } } function getMakes() { var make, el = d.getElementById(options.config.nameSpace + 'UsedCarSearch-make'), count = 1; if (carData && carData.MakeData && el) { el.innerHTML = ""; el.options[0] = new Option('Any', 'Any'); for (var i = 0; i < carData.MakeData.length; i++) { el.options[i + 1] = new Option(carData.MakeData[i].Name, carData.MakeData[i].Name); } } } options = { "config": { "makesURL": "https://www.drive24.co.uk/Ajax/AllMakesModels.ashx", "drive24URL": "https://www.drive24.co.uk/search/Widget", "logoImagePath": false, "referrer": (function() { var pHost = w.location.host + '/', pUrl = w.location.href.split('?')[0], pRef; if (pHost !== pUrl && w.location.host !== pUrl) { pRef = pUrl.split(pHost)[1]; if (pRef) pRef = pHost + pRef.substr(0, pRef.indexOf('/') + 1); } return ((pRef) ? pRef : w.location.host); }()), "nameSpace": "mot-", "showTabs": true, "showLabels": true, "wrapperId": "motorsPanel", "baseAnchor": null, "eventMethod": (function() { var r = "onevent"; if (w.addEventListener) { r = "addEventListener"; } else if (w.attachEvent) { r = "attachEvent"; } return r; }()), "tabCache": [], "panelCache": [], "validate": { "pcode": /(GIR 0AA|[A-PR-UWYZ]([0-9][0-9A-HJKPS-UW]?|[A-HK-Y][0-9][0-9ABEHMNPRV-Y]?) {0,1}[0-9][ABD-HJLNP-UW-Z]{2})/i } }, "structure": { "Used Car Search": { "logo": { "type": "div", "value": "logo", "elClass": "logo" }, "tag": { "type": "h2", "value": "Find a used car" }, "make": { "type": "select", "label": "Make", "event": [{ "type": "onchange", "fn": function() { getModels() } }] }, "model": { "type": "select", "label": "Model" }, "location": { "type": "text", "label": "Postcode", "title": "Please enter your full postcode", "elClass": "postcode invalid", "event": [{ "type": "onkeyup", "fn": function() { validate(this, 'pcode') } }] }, "search": { "type": "button", "value": "Search", "event": [{ "type": "onclick", "fn": function() { getCriteria(this) } }] } } } }; // bind an event function eventBind(el, evt, fn) { if (!el) { el = w; } if (evt === "onload") { el.onreadystatechange = function() { if (!this.readyState || this.readyState == "loaded" || this.readyState == 'complete') { fn(); } }; } switch (options.config.eventMethod) { case "addEventListener": el.addEventListener(evt.replace(/on/, ''), fn, false); break; case "attachEvent": el.attachEvent(evt, fn); break; default: switch (evt) { case "onkeyup": el.onkeyup = fn; break; case "onload": el.onload = fn; break; default: el.onclick = fn; break; } } } // extend an object function extend(obj, extObj) { var a; for (a in extObj) { if (extObj.hasOwnProperty(a)) { if (extObj[a] && (typeof extObj[a] === 'object') && !(extObj[a] instanceof Array)) { extend(obj[a], extObj[a]); } else { obj[a] = extObj[a]; } } } a = null; return obj; } // append a script tag to the document function getJsonp(url, fn) { var scriptTag = d.createElement('script'); scriptTag.setAttribute('src', url); if (fn) { eventBind(scriptTag, "onload", fn); } d.body.appendChild(scriptTag); } // tab click functionality function tabClick(el) { var elId, tab, panel, i; if (!el.tagName) { el = ieFixEvent(); if (el.tagName !== 'LI') el = el.parentNode; } elId = el.id.split(options.config.nameSpace + 'tab-')[1]; // do tabs for (i = 0; i < options.config.tabCache.length; i++) { tab = options.config.tabCache[i]; if (tab.className.indexOf('active') > -1) tab.className = trim(tab.className.replace(/\bactive\b/g, '')); } el.className += " active"; // do panel for (i = 0; i < options.config.panelCache.length; i++) { panel = options.config.panelCache[i]; if (panel.className.indexOf('active') > -1) panel.className = trim(panel.className.replace(/\bactive\b/g, '')); } d.getElementById(options.config.nameSpace + elId).className += " active"; } function formatTerm(term) { return term.replace(/\s/g, '').toLowerCase() } // build URL containing search params function buildURL() { var opt = options.search; var make = ""; var model = ""; var url = options.config.drive24URL //omit model from query if its set to any if (typeof opt.model === 'string' && opt.model !== "Any") { model = '/' + formatTerm(opt.model); } if (typeof opt.make === 'string' && opt.make !== "Any") { url += (formatTerm(opt.make) + model); } url += ('?location=' + opt.location); url += ('&referring_site=' + options.config.referrer); return url; } function buildForm() { var opt = options.search; var make = null; var model = []; var url = options.config.drive24URL; var location = opt.location; var makeModels = []; if (typeof opt.make === 'string' && opt.make !== "Any") { make = opt.make; if (typeof opt.model === 'string' && opt.model !== "Any") { model = [opt.model]; } makeModels = [{ Models: model, Trims: [], Make: make }]; }; var searchParameters = { "Type": 1, "ExcludeUnlisted": true, "FacetMinCount": -1, "SearchSortOptions": "0", "CurrentPage": 1, "PageSize": 15, "PostCode": location, "Distance": "1000", "SortOrder": "0", "AdvertType": "*", "SoldStatusType": "both", "MakeModels": makeModels, "MinPrice": "-1", "MaxPrice": "-1", "BodyStyles": [], "Age": "-1", "Mileage": "-1", "Transmissions": [], "FuelTypes": [], "Colours": [], "TopSpeed": "*", "Power": "*", "Acceleration": "*", "FuelType": null, "Transmission": null, "InsuranceGroup": "*", "TowingBrakedMax": "*", "TowingUnbrakedMax": "*", "FuelEfficiency": "*", "AnnualTax": "*", "CO2Emission": "*", "EngineSize": "*", "Doors": [], "Seats": [], "SafetyRatings": [], "Features": [], "Keywords": [], "Location": null, "IsReduced": false, "IsRecentlyAdded": false, "DealerId": 0, "RouteKey": null }; var form = document.createElement('form'); form.setAttribute('method', 'POST'); form.setAttribute('action', url); form.setAttribute('target', '_blank') var field = document.createElement('input'); field.setAttribute('type', 'hidden'); field.setAttribute('name', 'searchParameters'); field.setAttribute('value', JSON.stringify(searchParameters)); form.appendChild(field); document.body.appendChild(form); form.submit(); } // create inputs as specified in options.structure function buildInput(targEl, fieldName, fieldObj) { var fieldHtml, labelHtml, i = 0, fieldId = targEl.id + '-' + fieldName; fieldHtml = d.getElementById(fieldId); if (!fieldHtml) { // if field does not already exist create it if (fieldObj.type == "select") { // selectbox fieldHtml = d.createElement('select'); fieldHtml.options[0] = new Option('Any', 'Any'); if (fieldObj.value) { for (; i < fieldObj.value.length; i++) { if (fieldObj.value[i] !== 'undefined') fieldHtml.options[i + 1] = new Option(((fieldObj.transform) ? fieldObj.transform.replace(/{{value}}/g, fieldObj.value[i]) : fieldObj.value[i]), fieldObj.value[i]); } } } else if (fieldName == "tag") { // insert a plain html tag targEl.innerHTML += '<' + fieldObj.type + '>' + fieldObj.value + '</' + fieldObj.type + '>'; return false; } else if (fieldName == "logo") { // insert a plain html tag fieldHtml = d.createElement('div'); //if (fieldObj.value) fieldHtml.setAttribute('value', fieldObj.value); // fieldHtml.setAttribute('src', options.config.logoImagePath); } else { // generic input tag, type specified in config json fieldHtml = d.createElement('input'); fieldHtml.setAttribute('type', fieldObj.type); if (fieldObj.value) fieldHtml.setAttribute('value', fieldObj.value); } if (fieldObj.elClass) fieldHtml.className = fieldObj.elClass; if (fieldObj.title) fieldHtml.setAttribute('title', fieldObj.title); fieldHtml.setAttribute('id', fieldId); targEl.appendChild(fieldHtml); if (options.config.showLabels && fieldObj.label) { // if labels are enabled create them labelHtml = d.createElement('label'); labelHtml.setAttribute('for', fieldId); targEl.insertBefore(labelHtml, fieldHtml); labelHtml.innerHTML = fieldObj.label; } } if (fieldObj.event) { // bind element events for (i = 0; i < fieldObj.event.length; i++) { eventBind(fieldHtml, fieldObj.event[i].type, fieldObj.event[i].fn); } } } // create a divs for each search-type as specified in options.structure function buildPanel() { var panel, field, panelEl, panelId, obj = options.structure; for (panel in obj) { if (obj.hasOwnProperty(panel)) { panelId = options.config.nameSpace + panel.replace(/\W/g, ''); panelEl = d.getElementById(panelId); if (!panelEl) { panelEl = d.createElement('div'); panelEl.setAttribute('id', panelId); panelEl.className = 'panel'; options.config.baseAnchor.appendChild(panelEl); } for (field in obj[panel]) { if (obj[panel].hasOwnProperty(field)) { buildInput(panelEl, field, obj[panel][field]); } } options.config.panelCache.push(panelEl); } } options.config.panelCache[0].className += ' active'; } // build the tabbed interface function buildTabs() { var tabHtml, tabEl, tabId, tab, obj = options.structure, objItem, objCount = 0; for (objItem in obj) { if (obj.hasOwnProperty(objItem)) objCount++; } if (objCount < 2) return false; options.config.baseAnchor.innerHTML += ''; options.config.baseAnchor.innerHTML += '<ul id="' + options.config.nameSpace + 'tabs"></ul>'; tabEl = d.getElementById(options.config.nameSpace + 'tabs'); for (objItem in obj) { tabId = options.config.nameSpace + 'tab-' + objItem.replace(/\W/g, ''); tab = d.getElementById(tabId); if (!tab) { tab = d.createElement('li'); tab.setAttribute('id', tabId); tabEl.appendChild(tab); tab.innerHTML = '<a href="#motors_search">' + objItem + '</a>'; } eventBind(tab, 'onclick', function() { tabClick(this) }); options.config.tabCache.push(tab); } options.config.tabCache[0].className += ' active'; } // setup the panel function initMotorsPanel() { options.config.baseAnchor = (function() { var ret = false, el = d.getElementById(options.config.wrapperId); if (el) ret = el; return ret; }()); if (options.config.baseAnchor) { if (options.config.showTabs) buildTabs(); buildPanel(); } getJsonp(options.config.makesURL, getMakes); }; // import options overrides if present if (typeof motorsOverride === 'object') extend(options, motorsOverride); // init onload eventBind(w, "onload", initMotorsPanel); // expose internal methods (to hook it into your analytics) return { search: options.search } }(this, document)); </script> <form id="drive24-widget" runat="server"> <img id="motors-logo" class="logo" src="/polopoly_fs/7.693182.1515583748!/drive24-logo.png" alt=""> <div id="motorsPanel"></div> </form> <div class="advert desktop mpu"> <div id="ad-slot-mpu-2-desktop" class="ad-slot-mpu-2 desktop mpu lp_track"></div> </div> <div class="story-list "> <h2 class="inpage"> Latest from the EDP </h2> <div class="small-teaser-item teaser clearfix"> <div class="teaser-title"> <h3> <a href="http://www.edp24.co.uk:80/news/health/abbeville-care-home-to-close-1-5357636">‘Unsafe’ care home to close following damning inspection report </a> </h3> </div> <div class="teaser-image"> <!--[if IE]> <a href="http://www.edp24.co.uk:80/news/health/abbeville-care-home-to-close-1-5357636" title="Abbeville Residential Care home on Wellesley Road, Great Yarmouth. Picture: James Bass "> <div style="position:relative;height:0;padding-bottom:67.11%;"> <img alt="Abbeville Residential Care home on Wellesley Road, Great Yarmouth. Picture: James Bass " class='img-responsive lazyImage' data-srcset="http://images.archant.co.uk/polopoly_fs/1.5357634.1516132034!/image/image.jpg_gen/derivatives/landscape_75/image.jpg 75w, http://images.archant.co.uk/polopoly_fs/1.5357634.1516132034!/image/image.jpg_gen/derivatives/landscape_145/image.jpg 145w, http://images.archant.co.uk/polopoly_fs/1.5357634.1516132034!/image/image.jpg_gen/derivatives/landscape_225/image.jpg 225w, http://images.archant.co.uk/polopoly_fs/1.5357634.1516132034!/image/image.jpg_gen/derivatives/landscape_300/image.jpg 300w, http://images.archant.co.uk/polopoly_fs/1.5357634.1516132034!/image/image.jpg_gen/derivatives/landscape_490/image.jpg 490w, http://images.archant.co.uk/polopoly_fs/1.5357634.1516132034!/image/image.jpg_gen/derivatives/landscape_630/image.jpg 630w " src="" /> </div> </a> <![endif]--> <!--[if !IE]> --> <a href="http://www.edp24.co.uk:80/news/health/abbeville-care-home-to-close-1-5357636"> <div style="position:relative;height:0;padding-bottom:67.11%;"> <img alt="Abbeville Residential Care home on Wellesley Road, Great Yarmouth. Picture: James Bass " class='img-responsive lazyImage' data-srcset="http://images.archant.co.uk/polopoly_fs/1.5357634.1516132034!/image/image.jpg_gen/derivatives/landscape_75/image.jpg 75w, http://images.archant.co.uk/polopoly_fs/1.5357634.1516132034!/image/image.jpg_gen/derivatives/landscape_145/image.jpg 145w, http://images.archant.co.uk/polopoly_fs/1.5357634.1516132034!/image/image.jpg_gen/derivatives/landscape_225/image.jpg 225w, http://images.archant.co.uk/polopoly_fs/1.5357634.1516132034!/image/image.jpg_gen/derivatives/landscape_300/image.jpg 300w, http://images.archant.co.uk/polopoly_fs/1.5357634.1516132034!/image/image.jpg_gen/derivatives/landscape_490/image.jpg 490w, http://images.archant.co.uk/polopoly_fs/1.5357634.1516132034!/image/image.jpg_gen/derivatives/landscape_630/image.jpg 630w " src="" /> </div> </a> <!-- <![endif]--> </div> </div> <div class="small-teaser-item teaser clearfix"> <div class="teaser-title"> <h3> <a href="http://www.edp24.co.uk:80/edp-property/165-homes-poringland-objections-south-norfolk-council-1-5356872">Bid for 165 homes in Norfolk village receives more than 120 objections </a> </h3> </div> <div class="teaser-image"> <!--[if IE]> <a href="http://www.edp24.co.uk:80/edp-property/165-homes-poringland-objections-south-norfolk-council-1-5356872" title="The area around Bulgate Lane. Picture: Google"> <div style="position:relative;height:0;padding-bottom:70.92%;"> <img alt="The area around Bulgate Lane. Picture: Google" class='img-responsive lazyImage' data-srcset="http://images.archant.co.uk/polopoly_fs/1.5356871.1516105811!/image/image.jpg_gen/derivatives/landscape_75/image.jpg 75w, http://images.archant.co.uk/polopoly_fs/1.5356871.1516105811!/image/image.jpg_gen/derivatives/landscape_145/image.jpg 145w, http://images.archant.co.uk/polopoly_fs/1.5356871.1516105811!/image/image.jpg_gen/derivatives/landscape_225/image.jpg 225w, http://images.archant.co.uk/polopoly_fs/1.5356871.1516105811!/image/image.jpg_gen/derivatives/landscape_300/image.jpg 300w, http://images.archant.co.uk/polopoly_fs/1.5356871.1516105811!/image/image.jpg_gen/derivatives/landscape_490/image.jpg 490w, http://images.archant.co.uk/polopoly_fs/1.5356871.1516105811!/image/image.jpg_gen/derivatives/landscape_630/image.jpg 630w " src="" /> </div> </a> <![endif]--> <!--[if !IE]> --> <a href="http://www.edp24.co.uk:80/edp-property/165-homes-poringland-objections-south-norfolk-council-1-5356872"> <div style="position:relative;height:0;padding-bottom:70.92%;"> <img alt="The area around Bulgate Lane. Picture: Google" class='img-responsive lazyImage' data-srcset="http://images.archant.co.uk/polopoly_fs/1.5356871.1516105811!/image/image.jpg_gen/derivatives/landscape_75/image.jpg 75w, http://images.archant.co.uk/polopoly_fs/1.5356871.1516105811!/image/image.jpg_gen/derivatives/landscape_145/image.jpg 145w, http://images.archant.co.uk/polopoly_fs/1.5356871.1516105811!/image/image.jpg_gen/derivatives/landscape_225/image.jpg 225w, http://images.archant.co.uk/polopoly_fs/1.5356871.1516105811!/image/image.jpg_gen/derivatives/landscape_300/image.jpg 300w, http://images.archant.co.uk/polopoly_fs/1.5356871.1516105811!/image/image.jpg_gen/derivatives/landscape_490/image.jpg 490w, http://images.archant.co.uk/polopoly_fs/1.5356871.1516105811!/image/image.jpg_gen/derivatives/landscape_630/image.jpg 630w " src="" /> </div> </a> <!-- <![endif]--> </div> </div> <div class="small-teaser-item teaser clearfix"> <div class="teaser-title"> <h3> <a href="http://www.edp24.co.uk:80/news/crime/beccles-baseball-bat-attack-1-5357777">Terrifying baseball bat attack on teen prompts call for more police </a> </h3> </div> <div class="teaser-image"> <!--[if IE]> <a href="http://www.edp24.co.uk:80/news/crime/beccles-baseball-bat-attack-1-5357777" title="Banham Road, Beccles. Picture: Nick Butcher"> <div style="position:relative;height:0;padding-bottom:67.7%;"> <img alt="Banham Road, Beccles. Picture: Nick Butcher" class='img-responsive lazyImage' data-srcset="http://images.archant.co.uk/polopoly_fs/1.5357774.1516129134!/image/image.jpg_gen/derivatives/landscape_75/image.jpg 75w, http://images.archant.co.uk/polopoly_fs/1.5357774.1516129134!/image/image.jpg_gen/derivatives/landscape_145/image.jpg 145w, http://images.archant.co.uk/polopoly_fs/1.5357774.1516129134!/image/image.jpg_gen/derivatives/landscape_225/image.jpg 225w, http://images.archant.co.uk/polopoly_fs/1.5357774.1516129134!/image/image.jpg_gen/derivatives/landscape_300/image.jpg 300w, http://images.archant.co.uk/polopoly_fs/1.5357774.1516129134!/image/image.jpg_gen/derivatives/landscape_490/image.jpg 490w, http://images.archant.co.uk/polopoly_fs/1.5357774.1516129134!/image/image.jpg_gen/derivatives/landscape_630/image.jpg 630w " src="" /> </div> </a> <![endif]--> <!--[if !IE]> --> <a href="http://www.edp24.co.uk:80/news/crime/beccles-baseball-bat-attack-1-5357777"> <div style="position:relative;height:0;padding-bottom:67.7%;"> <img alt="Banham Road, Beccles. Picture: Nick Butcher" class='img-responsive lazyImage' data-srcset="http://images.archant.co.uk/polopoly_fs/1.5357774.1516129134!/image/image.jpg_gen/derivatives/landscape_75/image.jpg 75w, http://images.archant.co.uk/polopoly_fs/1.5357774.1516129134!/image/image.jpg_gen/derivatives/landscape_145/image.jpg 145w, http://images.archant.co.uk/polopoly_fs/1.5357774.1516129134!/image/image.jpg_gen/derivatives/landscape_225/image.jpg 225w, http://images.archant.co.uk/polopoly_fs/1.5357774.1516129134!/image/image.jpg_gen/derivatives/landscape_300/image.jpg 300w, http://images.archant.co.uk/polopoly_fs/1.5357774.1516129134!/image/image.jpg_gen/derivatives/landscape_490/image.jpg 490w, http://images.archant.co.uk/polopoly_fs/1.5357774.1516129134!/image/image.jpg_gen/derivatives/landscape_630/image.jpg 630w " src="" /> </div> </a> <!-- <![endif]--> </div> </div> <div class="small-teaser-item teaser clearfix"> <div class="teaser-title"> <h3> <a href="http://www.edp24.co.uk:80/news/lane-closed-after-a47-crash-near-hopton-1-5357759">One lane closed on A47 after two-vehicle crash near Hopton </a> </h3> </div> <div class="teaser-image"> <!--[if IE]> <a href="http://www.edp24.co.uk:80/news/lane-closed-after-a47-crash-near-hopton-1-5357759" title="Two-vehicle crash on the A47 between Hopton and Gorleston. Photo: Norfolk police"> <div style="position:relative;height:0;padding-bottom:69.28%;"> <img alt="Two-vehicle crash on the A47 between Hopton and Gorleston. Photo: Norfolk police" class='img-responsive lazyImage' data-srcset="http://images.archant.co.uk/polopoly_fs/1.5357756.1516127414!/image/image.jpg_gen/derivatives/landscape_75/image.jpg 75w, http://images.archant.co.uk/polopoly_fs/1.5357756.1516127414!/image/image.jpg_gen/derivatives/landscape_145/image.jpg 145w, http://images.archant.co.uk/polopoly_fs/1.5357756.1516127414!/image/image.jpg_gen/derivatives/landscape_225/image.jpg 225w, http://images.archant.co.uk/polopoly_fs/1.5357756.1516127414!/image/image.jpg_gen/derivatives/landscape_300/image.jpg 300w, http://images.archant.co.uk/polopoly_fs/1.5357756.1516127414!/image/image.jpg_gen/derivatives/landscape_490/image.jpg 490w, http://images.archant.co.uk/polopoly_fs/1.5357756.1516127414!/image/image.jpg_gen/derivatives/landscape_630/image.jpg 630w " src="" /> </div> </a> <![endif]--> <!--[if !IE]> --> <a href="http://www.edp24.co.uk:80/news/lane-closed-after-a47-crash-near-hopton-1-5357759"> <div style="position:relative;height:0;padding-bottom:69.28%;"> <img alt="Two-vehicle crash on the A47 between Hopton and Gorleston. Photo: Norfolk police" class='img-responsive lazyImage' data-srcset="http://images.archant.co.uk/polopoly_fs/1.5357756.1516127414!/image/image.jpg_gen/derivatives/landscape_75/image.jpg 75w, http://images.archant.co.uk/polopoly_fs/1.5357756.1516127414!/image/image.jpg_gen/derivatives/landscape_145/image.jpg 145w, http://images.archant.co.uk/polopoly_fs/1.5357756.1516127414!/image/image.jpg_gen/derivatives/landscape_225/image.jpg 225w, http://images.archant.co.uk/polopoly_fs/1.5357756.1516127414!/image/image.jpg_gen/derivatives/landscape_300/image.jpg 300w, http://images.archant.co.uk/polopoly_fs/1.5357756.1516127414!/image/image.jpg_gen/derivatives/landscape_490/image.jpg 490w, http://images.archant.co.uk/polopoly_fs/1.5357756.1516127414!/image/image.jpg_gen/derivatives/landscape_630/image.jpg 630w " src="" /> </div> </a> <!-- <![endif]--> </div> </div> <div class="small-teaser-item teaser clearfix"> <div class="teaser-title"> <h3> <span class="teaser-label teaser-video">Video:</span> <a href="http://www.edp24.co.uk:80/sport/norwich-city/canaries-morris-and-godfrey-shrewsbury-town-west-ham-fa-cup-defeat-1-5357927">FA Cup dream is over for Ben Godfrey and Carlton Morris after plucky West Ham extra-time defeat </a> </h3> </div> <div class="teaser-image"> <!--[if IE]> <a href="http://www.edp24.co.uk:80/sport/norwich-city/canaries-morris-and-godfrey-shrewsbury-town-west-ham-fa-cup-defeat-1-5357927" title="Ben Godfrey bowed out of the FA Cup with Shrewsbury Town at West Ham on Tuesday night. Picture: Paul Chesterton/Focus Images"> <div style="position:relative;height:0;padding-bottom:71.8%;"> <img alt="Ben Godfrey bowed out of the FA Cup with Shrewsbury Town at West Ham on Tuesday night. Picture: Paul Chesterton/Focus Images" class='img-responsive lazyImage' data-srcset="http://images.archant.co.uk/polopoly_fs/1.5349424.1516155796!/image/image.jpg_gen/derivatives/landscape_75/image.jpg 75w, http://images.archant.co.uk/polopoly_fs/1.5349424.1516155796!/image/image.jpg_gen/derivatives/landscape_145/image.jpg 145w, http://images.archant.co.uk/polopoly_fs/1.5349424.1516155796!/image/image.jpg_gen/derivatives/landscape_225/image.jpg 225w, http://images.archant.co.uk/polopoly_fs/1.5349424.1516155796!/image/image.jpg_gen/derivatives/landscape_300/image.jpg 300w, http://images.archant.co.uk/polopoly_fs/1.5349424.1516155796!/image/image.jpg_gen/derivatives/landscape_490/image.jpg 490w, http://images.archant.co.uk/polopoly_fs/1.5349424.1516155796!/image/image.jpg_gen/derivatives/landscape_630/image.jpg 630w " src="" /> </div> </a> <![endif]--> <!--[if !IE]> --> <a href="http://www.edp24.co.uk:80/sport/norwich-city/canaries-morris-and-godfrey-shrewsbury-town-west-ham-fa-cup-defeat-1-5357927"> <div style="position:relative;height:0;padding-bottom:71.8%;"> <img alt="Ben Godfrey bowed out of the FA Cup with Shrewsbury Town at West Ham on Tuesday night. Picture: Paul Chesterton/Focus Images" class='img-responsive lazyImage' data-srcset="http://images.archant.co.uk/polopoly_fs/1.5349424.1516155796!/image/image.jpg_gen/derivatives/landscape_75/image.jpg 75w, http://images.archant.co.uk/polopoly_fs/1.5349424.1516155796!/image/image.jpg_gen/derivatives/landscape_145/image.jpg 145w, http://images.archant.co.uk/polopoly_fs/1.5349424.1516155796!/image/image.jpg_gen/derivatives/landscape_225/image.jpg 225w, http://images.archant.co.uk/polopoly_fs/1.5349424.1516155796!/image/image.jpg_gen/derivatives/landscape_300/image.jpg 300w, http://images.archant.co.uk/polopoly_fs/1.5349424.1516155796!/image/image.jpg_gen/derivatives/landscape_490/image.jpg 490w, http://images.archant.co.uk/polopoly_fs/1.5349424.1516155796!/image/image.jpg_gen/derivatives/landscape_630/image.jpg 630w " src="" /> </div> </a> <!-- <![endif]--> </div> </div> </div> <div class="advert desktop mpu"> <div id="ad-slot-mpu-3-desktop" class="ad-slot-mpu-3 desktop mpu lp_track"></div> </div> <div> <div class="jobs24-header"> <a href="http://www.jobs24.co.uk" target="_blank"><img src="/polopoly_fs/7.373406.1494253462!/jobs24Logo.gif" alt="" /></a> </div> <div data-lazy-widget><!-- <link rel='stylesheet' type='text/css' href='http://services.london24.com/london/matchwork/css/carousel-v2.css?01a'><div class='hotjobs-heading'><span>HOT</span> JOBS</div><div id='myCarousel' class='carousel slide j24' data-ride='carousel'><div class='carousel-inner' role='listbox'><div class='item active'><div class='container'><div class='carousel-caption'><img class='0-slide' src='http://static.matchwork.com/company/logo/UK/1735274_logo_small.jpg' alt='slide'><h1>Care Workers</h1><p>Great Yarmouth</p><p><a class='btn btn-lg btn-primary' onClick="ga('send', 'event', { eventCategory: 'Jobs24-widget', eventAction: 'Hot Jobs', eventLabel: 'http://www.jobs24.co.uk/SearchResults/ShowJob.aspx?jobId=329726538', eventValue: 1});" href='http://www.jobs24.co.uk/SearchResults/ShowJob.aspx?jobId=329726538' role='button' target='_blank'>Job details</a></p></div></div></div><div class='item 1'><div class='container'><div class='carousel-caption'><img class='1-slide' src='http://static.matchwork.com/company/logo/UK/1735274_logo_small.jpg' alt='slide'><h1>Care Workers</h1><p>Great Yarmouth</p><p><a class='btn btn-lg btn-primary' onClick="ga('send', 'event', { eventCategory: 'Jobs24-widget', eventAction: 'Hot Jobs', eventLabel: 'http://www.jobs24.co.uk/SearchResults/ShowJob.aspx?jobId=329726538', eventValue: 1});" href='http://www.jobs24.co.uk/SearchResults/ShowJob.aspx?jobId=329726538' role='button' target='_blank'>Job details</a></p></div></div></div><div class='item 2'><div class='container'><div class='carousel-caption'><img class='2-slide' src='http://static.matchwork.com/company/logo/UK/1724069_logo_small.jpg' alt='slide'><h1>Carpenter/Exhibition Fitter</h1><p>Norfolk</p><p><a class='btn btn-lg btn-primary' onClick="ga('send', 'event', { eventCategory: 'Jobs24-widget', eventAction: 'Hot Jobs', eventLabel: 'http://www.jobs24.co.uk/SearchResults/ShowJob.aspx?jobId=329731478', eventValue: 1});" href='http://www.jobs24.co.uk/SearchResults/ShowJob.aspx?jobId=329731478' role='button' target='_blank'>Job details</a></p></div></div></div><div class='item 3'><div class='container'><div class='carousel-caption'><img class='3-slide' src='http://static.matchwork.com/company/logo/UK/1604943_logo_small.gif' alt='slide'><h1>Personal Assistant</h1><p>Norwich</p><p><a class='btn btn-lg btn-primary' onClick="ga('send', 'event', { eventCategory: 'Jobs24-widget', eventAction: 'Hot Jobs', eventLabel: 'http://www.jobs24.co.uk/SearchResults/ShowJob.aspx?jobId=329731879', eventValue: 1});" href='http://www.jobs24.co.uk/SearchResults/ShowJob.aspx?jobId=329731879' role='button' target='_blank'>Job details</a></p></div></div></div><div class='item 4'><div class='container'><div class='carousel-caption'><img class='4-slide' src='http://static.matchwork.com/company/logo/UK/2804667_logo_small.jpg' alt='slide'><h1>Hospitality Opportunities/ Recruitment Open Day</h1><p>Great Yarmouth</p><p><a class='btn btn-lg btn-primary' onClick="ga('send', 'event', { eventCategory: 'Jobs24-widget', eventAction: 'Hot Jobs', eventLabel: 'http://www.jobs24.co.uk/SearchResults/ShowJob.aspx?jobId=329732046', eventValue: 1});" href='http://www.jobs24.co.uk/SearchResults/ShowJob.aspx?jobId=329732046' role='button' target='_blank'>Job details</a></p></div></div></div><div class='item 5'><div class='container'><div class='carousel-caption'><img class='5-slide' src='http://static.matchwork.com/company/category-logo/jobs24/102.png' alt='slide'><h1>Administrator</h1><p>Watton</p><p><a class='btn btn-lg btn-primary' onClick="ga('send', 'event', { eventCategory: 'Jobs24-widget', eventAction: 'Hot Jobs', eventLabel: 'http://www.jobs24.co.uk/SearchResults/ShowJob.aspx?jobId=329732048', eventValue: 1});" href='http://www.jobs24.co.uk/SearchResults/ShowJob.aspx?jobId=329732048' role='button' target='_blank'>Job details</a></p></div></div></div><div class='item 6'><div class='container'><div class='carousel-caption'><img class='6-slide' src='http://static.matchwork.com/company/logo/UK/3063534_logo_small.jpg' alt='slide'><h1>Executive Manager</h1><p>Norfolk</p><p><a class='btn btn-lg btn-primary' onClick="ga('send', 'event', { eventCategory: 'Jobs24-widget', eventAction: 'Hot Jobs', eventLabel: 'http://www.jobs24.co.uk/SearchResults/ShowJob.aspx?jobId=329732178', eventValue: 1});" href='http://www.jobs24.co.uk/SearchResults/ShowJob.aspx?jobId=329732178' role='button' target='_blank'>Job details</a></p></div></div></div><div class='item 7'><div class='container'><div class='carousel-caption'><img class='7-slide' src='http://static.matchwork.com/company/category-logo/jobs24/101.png' alt='slide'><h1>Office Vacancy</h1><p>Beccles</p><p><a class='btn btn-lg btn-primary' onClick="ga('send', 'event', { eventCategory: 'Jobs24-widget', eventAction: 'Hot Jobs', eventLabel: 'http://www.jobs24.co.uk/SearchResults/ShowJob.aspx?jobId=329732555', eventValue: 1});" href='http://www.jobs24.co.uk/SearchResults/ShowJob.aspx?jobId=329732555' role='button' target='_blank'>Job details</a></p></div></div></div><div class='item 8'><div class='container'><div class='carousel-caption'><img class='8-slide' src='http://static.matchwork.com/company/logo/UK/1733606_logo_small.gif' alt='slide'><h1>Finance Assistant</h1><p>Norwich</p><p><a class='btn btn-lg btn-primary' onClick="ga('send', 'event', { eventCategory: 'Jobs24-widget', eventAction: 'Hot Jobs', eventLabel: 'http://www.jobs24.co.uk/SearchResults/ShowJob.aspx?jobId=329732557', eventValue: 1});" href='http://www.jobs24.co.uk/SearchResults/ShowJob.aspx?jobId=329732557' role='button' target='_blank'>Job details</a></p></div></div></div><div class='item 9'><div class='container'><div class='carousel-caption'><img class='9-slide' src='http://static.matchwork.com/company/logo/UK/1849129_logo_small.jpg' alt='slide'><h1>Bus Driver</h1><p>Norwich</p><p><a class='btn btn-lg btn-primary' onClick="ga('send', 'event', { eventCategory: 'Jobs24-widget', eventAction: 'Hot Jobs', eventLabel: 'http://www.jobs24.co.uk/SearchResults/ShowJob.aspx?jobId=329732601', eventValue: 1});" href='http://www.jobs24.co.uk/SearchResults/ShowJob.aspx?jobId=329732601' role='button' target='_blank'>Job details</a></p></div></div></div><div class='item 10'><div class='container'><div class='carousel-caption'><img class='10-slide' src='http://static.matchwork.com/company/logo/UK/1849129_logo_small.jpg' alt='slide'><h1>Part Time Library Assistant</h1><p>Norwich</p><p><a class='btn btn-lg btn-primary' onClick="ga('send', 'event', { eventCategory: 'Jobs24-widget', eventAction: 'Hot Jobs', eventLabel: 'http://www.jobs24.co.uk/SearchResults/ShowJob.aspx?jobId=329732603', eventValue: 1});" href='http://www.jobs24.co.uk/SearchResults/ShowJob.aspx?jobId=329732603' role='button' target='_blank'>Job details</a></p></div></div></div><div class='item 11'><div class='container'><div class='carousel-caption'><img class='11-slide' src='http://static.matchwork.com/company/logo/UK/1604943_logo_small.gif' alt='slide'><h1>Female Carer</h1><p>Norwich</p><p><a class='btn btn-lg btn-primary' onClick="ga('send', 'event', { eventCategory: 'Jobs24-widget', eventAction: 'Hot Jobs', eventLabel: 'http://www.jobs24.co.uk/SearchResults/ShowJob.aspx?jobId=329732705', eventValue: 1});" href='http://www.jobs24.co.uk/SearchResults/ShowJob.aspx?jobId=329732705' role='button' target='_blank'>Job details</a></p></div></div></div><div class='item 12'><div class='container'><div class='carousel-caption'><img class='12-slide' src='http://static.matchwork.com/company/logo/UK/1850168_logo_small.jpg' alt='slide'><h1>HGV2 RORO SKIP LORRY DRIVER</h1><p>Norwich</p><p><a class='btn btn-lg btn-primary' onClick="ga('send', 'event', { eventCategory: 'Jobs24-widget', eventAction: 'Hot Jobs', eventLabel: 'http://www.jobs24.co.uk/SearchResults/ShowJob.aspx?jobId=329733148', eventValue: 1});" href='http://www.jobs24.co.uk/SearchResults/ShowJob.aspx?jobId=329733148' role='button' target='_blank'>Job details</a></p></div></div></div><div class='item 13'><div class='container'><div class='carousel-caption'><img class='13-slide' src='http://static.matchwork.com/company/logo/UK/1850168_logo_small.jpg' alt='slide'><h1>HGV2 DRIVERS</h1><p>Norwich</p><p><a class='btn btn-lg btn-primary' onClick="ga('send', 'event', { eventCategory: 'Jobs24-widget', eventAction: 'Hot Jobs', eventLabel: 'http://www.jobs24.co.uk/SearchResults/ShowJob.aspx?jobId=329733167', eventValue: 1});" href='http://www.jobs24.co.uk/SearchResults/ShowJob.aspx?jobId=329733167' role='button' target='_blank'>Job details</a></p></div></div></div><div class='item 14'><div class='container'><div class='carousel-caption'><img class='14-slide' src='http://static.matchwork.com/company/logo/UK/1850168_logo_small.jpg' alt='slide'><h1>DRIVERS MATES</h1><p>Norwich</p><p><a class='btn btn-lg btn-primary' onClick="ga('send', 'event', { eventCategory: 'Jobs24-widget', eventAction: 'Hot Jobs', eventLabel: 'http://www.jobs24.co.uk/SearchResults/ShowJob.aspx?jobId=329733169', eventValue: 1});" href='http://www.jobs24.co.uk/SearchResults/ShowJob.aspx?jobId=329733169' role='button' target='_blank'>Job details</a></p></div></div></div><div class='item 15'><div class='container'><div class='carousel-caption'><img class='15-slide' src='http://static.matchwork.com/company/logo/UK/1850168_logo_small.jpg' alt='slide'><h1>OFFICE JUNIOR</h1><p>Norwich</p><p><a class='btn btn-lg btn-primary' onClick="ga('send', 'event', { eventCategory: 'Jobs24-widget', eventAction: 'Hot Jobs', eventLabel: 'http://www.jobs24.co.uk/SearchResults/ShowJob.aspx?jobId=329733173', eventValue: 1});" href='http://www.jobs24.co.uk/SearchResults/ShowJob.aspx?jobId=329733173' role='button' target='_blank'>Job details</a></p></div></div></div><div class='item 16'><div class='container'><div class='carousel-caption'><img class='16-slide' src='http://static.matchwork.com/company/logo/UK/1850168_logo_small.jpg' alt='slide'><h1>WAREHOUSE OPERATIVES</h1><p>Norwich</p><p><a class='btn btn-lg btn-primary' onClick="ga('send', 'event', { eventCategory: 'Jobs24-widget', eventAction: 'Hot Jobs', eventLabel: 'http://www.jobs24.co.uk/SearchResults/ShowJob.aspx?jobId=329733177', eventValue: 1});" href='http://www.jobs24.co.uk/SearchResults/ShowJob.aspx?jobId=329733177' role='button' target='_blank'>Job details</a></p></div></div></div><div class='item 17'><div class='container'><div class='carousel-caption'><img class='17-slide' src='http://static.matchwork.com/company/logo/UK/1604943_logo_small.gif' alt='slide'><h1>Personal Assistant/ Companions</h1><p>Norfolk</p><p><a class='btn btn-lg btn-primary' onClick="ga('send', 'event', { eventCategory: 'Jobs24-widget', eventAction: 'Hot Jobs', eventLabel: 'http://www.jobs24.co.uk/SearchResults/ShowJob.aspx?jobId=329733972', eventValue: 1});" href='http://www.jobs24.co.uk/SearchResults/ShowJob.aspx?jobId=329733972' role='button' target='_blank'>Job details</a></p></div></div></div><div class='item 18'><div class='container'><div class='carousel-caption'><img class='18-slide' src='http://static.matchwork.com/company/category-logo/jobs24/102.png' alt='slide'><h1>Full time Will Drafter</h1><p>Norwich</p><p><a class='btn btn-lg btn-primary' onClick="ga('send', 'event', { eventCategory: 'Jobs24-widget', eventAction: 'Hot Jobs', eventLabel: 'http://www.jobs24.co.uk/SearchResults/ShowJob.aspx?jobId=329735265', eventValue: 1});" href='http://www.jobs24.co.uk/SearchResults/ShowJob.aspx?jobId=329735265' role='button' target='_blank'>Job details</a></p></div></div></div><div class='item 19'><div class='container'><div class='carousel-caption'><img class='19-slide' src='http://static.matchwork.com/company/logo/UK/1604943_logo_small.gif' alt='slide'><h1>PA</h1><p>Cromer</p><p><a class='btn btn-lg btn-primary' onClick="ga('send', 'event', { eventCategory: 'Jobs24-widget', eventAction: 'Hot Jobs', eventLabel: 'http://www.jobs24.co.uk/SearchResults/ShowJob.aspx?jobId=329737417', eventValue: 1});" href='http://www.jobs24.co.uk/SearchResults/ShowJob.aspx?jobId=329737417' role='button' target='_blank'>Job details</a></p></div></div></div><div class='item 20'><div class='container'><div class='carousel-caption'><img class='20-slide' src='http://static.matchwork.com/company/logo/UK/9321020101027105229_Customer_logo.gif' alt='slide'><h1>Electronics Development Technician</h1><p>Norfolk</p><p><a class='btn btn-lg btn-primary' onClick="ga('send', 'event', { eventCategory: 'Jobs24-widget', eventAction: 'Hot Jobs', eventLabel: 'http://www.jobs24.co.uk/SearchResults/ShowJob.aspx?jobId=329737935', eventValue: 1});" href='http://www.jobs24.co.uk/SearchResults/ShowJob.aspx?jobId=329737935' role='button' target='_blank'>Job details</a></p></div></div></div><div class='item 21'><div class='container'><div class='carousel-caption'><img class='21-slide' src='http://static.matchwork.com/company/logo/UK/9321020101027105229_Customer_logo.gif' alt='slide'><h1>Offshore Survey Technician</h1><p>Norfolk</p><p><a class='btn btn-lg btn-primary' onClick="ga('send', 'event', { eventCategory: 'Jobs24-widget', eventAction: 'Hot Jobs', eventLabel: 'http://www.jobs24.co.uk/SearchResults/ShowJob.aspx?jobId=329737936', eventValue: 1});" href='http://www.jobs24.co.uk/SearchResults/ShowJob.aspx?jobId=329737936' role='button' target='_blank'>Job details</a></p></div></div></div><div class='item 22'><div class='container'><div class='carousel-caption'><img class='22-slide' src='http://static.matchwork.com/company/logo/UK/12620020101012022924_Customer_logo.gif' alt='slide'><h1>Qualified Plumbers</h1><p>Norfolk</p><p><a class='btn btn-lg btn-primary' onClick="ga('send', 'event', { eventCategory: 'Jobs24-widget', eventAction: 'Hot Jobs', eventLabel: 'http://www.jobs24.co.uk/SearchResults/ShowJob.aspx?jobId=329738225', eventValue: 1});" href='http://www.jobs24.co.uk/SearchResults/ShowJob.aspx?jobId=329738225' role='button' target='_blank'>Job details</a></p></div></div></div><div class='item 23'><div class='container'><div class='carousel-caption'><img class='23-slide' src='http://static.matchwork.com/company/category-logo/jobs24/101.png' alt='slide'><h1>Fundraising Officer</h1><p>Norfolk</p><p><a class='btn btn-lg btn-primary' onClick="ga('send', 'event', { eventCategory: 'Jobs24-widget', eventAction: 'Hot Jobs', eventLabel: 'http://www.jobs24.co.uk/SearchResults/ShowJob.aspx?jobId=329738226', eventValue: 1});" href='http://www.jobs24.co.uk/SearchResults/ShowJob.aspx?jobId=329738226' role='button' target='_blank'>Job details</a></p></div></div></div><div class='item 24'><div class='container'><div class='carousel-caption'><img class='24-slide' src='http://static.matchwork.com/company/logo/UK/1957448_logo_small.jpg' alt='slide'><h1>Community Nursing Vacancies</h1><p>Norwich</p><p><a class='btn btn-lg btn-primary' onClick="ga('send', 'event', { eventCategory: 'Jobs24-widget', eventAction: 'Hot Jobs', eventLabel: 'http://www.jobs24.co.uk/SearchResults/ShowJob.aspx?jobId=329738227', eventValue: 1});" href='http://www.jobs24.co.uk/SearchResults/ShowJob.aspx?jobId=329738227' role='button' target='_blank'>Job details</a></p></div></div></div><div class='item 25'><div class='container'><div class='carousel-caption'><img class='25-slide' src='http://static.matchwork.com/company/category-logo/jobs24/123.png' alt='slide'><h1>Care Support Worker</h1><p>Norwich</p><p><a class='btn btn-lg btn-primary' onClick="ga('send', 'event', { eventCategory: 'Jobs24-widget', eventAction: 'Hot Jobs', eventLabel: 'http://www.jobs24.co.uk/SearchResults/ShowJob.aspx?jobId=329738258', eventValue: 1});" href='http://www.jobs24.co.uk/SearchResults/ShowJob.aspx?jobId=329738258' role='button' target='_blank'>Job details</a></p></div></div></div><div class='item 26'><div class='container'><div class='carousel-caption'><img class='26-slide' src='http://static.matchwork.com/company/category-logo/jobs24/109.png' alt='slide'><h1>Skilled Window Fitter / Carpenter</h1><p>Norwich</p><p><a class='btn btn-lg btn-primary' onClick="ga('send', 'event', { eventCategory: 'Jobs24-widget', eventAction: 'Hot Jobs', eventLabel: 'http://www.jobs24.co.uk/SearchResults/ShowJob.aspx?jobId=329738259', eventValue: 1});" href='http://www.jobs24.co.uk/SearchResults/ShowJob.aspx?jobId=329738259' role='button' target='_blank'>Job details</a></p></div></div></div><div class='item 27'><div class='container'><div class='carousel-caption'><img class='27-slide' src='http://static.matchwork.com/company/logo/UK/1612127_logo_small.gif' alt='slide'><h1>Motor Insurance Sales / Customer Services</h1><p>Diss</p><p><a class='btn btn-lg btn-primary' onClick="ga('send', 'event', { eventCategory: 'Jobs24-widget', eventAction: 'Hot Jobs', eventLabel: 'http://www.jobs24.co.uk/SearchResults/ShowJob.aspx?jobId=329738260', eventValue: 1});" href='http://www.jobs24.co.uk/SearchResults/ShowJob.aspx?jobId=329738260' role='button' target='_blank'>Job details</a></p></div></div></div><div class='item 28'><div class='container'><div class='carousel-caption'><img class='28-slide' src='http://static.matchwork.com/company/category-logo/jobs24/123.png' alt='slide'><h1>Night Carer</h1><p>Norwich</p><p><a class='btn btn-lg btn-primary' onClick="ga('send', 'event', { eventCategory: 'Jobs24-widget', eventAction: 'Hot Jobs', eventLabel: 'http://www.jobs24.co.uk/SearchResults/ShowJob.aspx?jobId=329738264', eventValue: 1});" href='http://www.jobs24.co.uk/SearchResults/ShowJob.aspx?jobId=329738264' role='button' target='_blank'>Job details</a></p></div></div></div><div class='item 29'><div class='container'><div class='carousel-caption'><img class='29-slide' src='http://static.matchwork.com/company/category-logo/jobs24/123.png' alt='slide'><h1>Pharmacy Dispensing Assistant</h1><p>Lowestoft</p><p><a class='btn btn-lg btn-primary' onClick="ga('send', 'event', { eventCategory: 'Jobs24-widget', eventAction: 'Hot Jobs', eventLabel: 'http://www.jobs24.co.uk/SearchResults/ShowJob.aspx?jobId=329738366', eventValue: 1});" href='http://www.jobs24.co.uk/SearchResults/ShowJob.aspx?jobId=329738366' role='button' target='_blank'>Job details</a></p></div></div></div></div><a class='left carousel-control' href='#myCarousel' role='button' data-slide='prev'><span class='glyphicon glyphicon-chevron-left' aria-hidden='true'></span><span class='sr-only'>Previous</span></a><a class='right carousel-control' href='#myCarousel' role='button' data-slide='next'><span class='glyphicon glyphicon-chevron-right' aria-hidden='true'></span><span class='sr-only'>Next</span></a></div> --></div> <!-- .jobs24Widget --> <div id="jobs24Widget" class="widget jobs24 searchForm hotJobs callout"> <a id="j24-show-hide" href="#"><h4>Show Job Lists</h4></a> <div id="jobs24-results-cat" class="do-not-show"> </div> <form name="searchForm" method="post" action="" onsubmit="return encodeAndSendSearchFormValues('keywordInput', 'searchValueInput', 'searchForm');" id="searchForm"> <div class="form-group"> <label for="text">Keywords:</label> <input name="keywordInput" type="text" maxlength="75" id="keywordInput" class="hint ui-autocomplete-input hintShown" placeholder="e.g. Sales Manager" autocomplete="off" role="textbox" aria-autocomplete="list" aria-haspopup="true"> </div> <div class="form-group"> <label for="text">Location:</label> <input name="searchValueInput" type="text" maxlength="75" id="searchValueInput" class="hint hintShown ui-autocomplete-input" placeholder="e.g. Norfolk" autocomplete="off" role="textbox" aria-autocomplete="list" aria-haspopup="true"> </div> <button id="searchSend" type="submit" class="btn btn-default">Search</button> </form> <script type="text/javascript"> (function(jQuery) { /** * Category Links * * Form: jobs24CategoryLinks **/ jQuery(function() { //Category Links var count = 0; var categoryLinks = jobs24CategoryLinks['links']; for (var key in categoryLinks) { if (categoryLinks.hasOwnProperty(key)) { if (count == 0) { jQuery("#jobs24-results-cat").append("<p class='hot-job-item'><a href='" + jobs24CategoryLinks['links'][key] + jobs24CategoryLinks['county']['Norfolk']['main_link'] + "' target='_blank'>" + key + " in Norfolk</a></p>"); } else { jQuery("#jobs24-results-cat").append("<p class='hot-job-item'><a href='" + jobs24CategoryLinks['links'][key] + jobs24CategoryLinks['county']['Norfolk']['category_link'] + "' target='_blank'>" + key + " in Norfolk</a></p>"); } } count++; } }); jQuery('#j24-show-hide').on('click', function(event){ event.preventDefault(); jQuery( "#jobs24-results-cat" ).toggleClass( 'do-not-show' ); }); })(jQuery); /** * Search - has to be base64 encorded with paricular argument order * **/ function encodeAndSendSearchFormValues(keywords, searchTerms, form) { // build the query string var keywordInput = jQuery('#' + keywords).val(), searchInput = jQuery('#' + searchTerms).val(), string = "v0.1|PS:10|CR:Freetext:" + keywordInput + "|CR:area:" + searchInput + "|v0.1"; // encode the string var stringBase64 = Base64.encode(string), searchQuery = "http://www.jobs24.co.uk/SearchResults.aspx?query=" + stringBase64; // Change the forms action to the base64String jQuery('#' + form).attr('action', searchQuery); // Send the form return true; } // http://jsfiddle.net/gabrieleromanato/qaght/ var Base64 = { _keyStr: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", encode: function(input) { var output = ""; var chr1, chr2, chr3, enc1, enc2, enc3, enc4; var i = 0; input = Base64._utf8_encode(input); while (i < input.length) { chr1 = input.charCodeAt(i++); chr2 = input.charCodeAt(i++); chr3 = input.charCodeAt(i++); enc1 = chr1 >> 2; enc2 = ((chr1 & 3) << 4) | (chr2 >> 4); enc3 = ((chr2 & 15) << 2) | (chr3 >> 6); enc4 = chr3 & 63; if (isNaN(chr2)) { enc3 = enc4 = 64; } else if (isNaN(chr3)) { enc4 = 64; } output = output + this._keyStr.charAt(enc1) + this._keyStr.charAt(enc2) + this._keyStr.charAt(enc3) + this._keyStr.charAt(enc4); } return output; }, _utf8_encode: function(string) { string = string.replace(/\r\n/g, "\n"); var utftext = ""; for (var n = 0; n < string.length; n++) { var c = string.charCodeAt(n); if (c < 128) { utftext += String.fromCharCode(c); } else if ((c > 127) && (c < 2048)) { utftext += String.fromCharCode((c >> 6) | 192); utftext += String.fromCharCode((c & 63) | 128); } else { utftext += String.fromCharCode((c >> 12) | 224); utftext += String.fromCharCode(((c >> 6) & 63) | 128); utftext += String.fromCharCode((c & 63) | 128); } } return utftext; } } function capitalizeFirstLetter(string) { return string.charAt(0).toUpperCase() + string.slice(1); } /** * Category Object * **/ var jobs24CategoryLinks = { 'links': { 'Jobs': 'http://www.jobs24.co.uk/', 'Education & Teaching jobs': 'http://www.jobs24.co.uk/jobs/education-and-teaching/', 'Admin, Secretarial & PA jobs': 'http://www.jobs24.co.uk/jobs/admin-secretarial-pa/', 'Transport & Delivery jobs': 'http://www.jobs24.co.uk/jobs/admin-secretarial-pa/', 'Medical & Carers jobs': 'http://www.jobs24.co.uk/jobs/medical-and-carers/', 'Mechanical & Engineering jobs': 'http://www.jobs24.co.uk/jobs/mechanical-engineering/', 'Construction jobs': 'http://www.jobs24.co.uk/jobs/construction/', 'Accounting & Finance jobs': 'http://www.jobs24.co.uk/jobs/accounting-and-finance/', 'Management & Business jobs': 'http://www.jobs24.co.uk/jobs/management-and-business/', 'Hospitality & Catering': 'http://www.jobs24.co.uk/jobs/hospitality-and-catering/', }, 'county': { 'uk': { 'category_link': 'england-jobs', 'main_link': '' }, 'Norfolk': { 'category_link': 'norfolk-jobs', 'main_link': 'jobs-norfolk' }, 'Suffolk': { 'category_link': 'suffolk-jobs', 'main_link': 'jobs-suffolk' }, 'Hertfordshire': { 'category_link': 'hertfordshire-jobs', 'main_link': 'jobs-herts' }, 'Cambridgeshire': { 'category_link': 'cambridgeshire-jobs', 'main_link': 'jobs-cambs' }, 'North London': { 'category_link': 'north-london-jobs', 'main_link': 'jobs-north-london' }, 'Essex': { 'category_link': 'essex-jobs', 'main_link': 'jobs-east-london-essex' }, 'Kent': { 'category_link': 'kent-jobs', 'main_link': 'jobs-kent' }, 'East London': { 'category_link': 'east-london-jobs', 'main_link': 'jobs-docklands' }, 'London': { 'category_link': 'london-jobs', 'main_link': 'jobs-london' }, 'North Devon': { 'category_link': 'north-devon-jobs', 'main_link': 'jobs-north-devon' }, 'East Devon': { 'category_link': 'east-devon-jobs', 'main_link': 'jobs-east-devon' }, 'Somerset': { 'category_link': 'somerset-jobs', 'main_link': 'jobs-somerset' }, }, }; </script> <style type="text/css"> #jobs24Widget { display: inline-block; width: 100%; margin-bottom: 20px; } .jobs24-header { width: 100%; border-bottom: 2px solid #31B166; padding-bottom: 4px; margin-bottom: 10px; } #jobs24-results, #jobs24-results-cat { display: inline-block; width: 100%; margin-bottom: 10px; } #jobs24-results-cat{ opacity: 1; max-height: 500px; -webkit-transition: all 500ms; -moz-transition: all 500ms; -o-transition: all 500ms; transition: all 500ms; } #jobs24-results-cat.do-not-show{ opacity: 0; max-height: 0px; overflow: hidden; } #j24-show-hide h4, #jobs24-results-cat h4 { margin: 0; font-weight: bold; font-size: 14px; font-family: 'Open Sans', Arial, Helvertica, sans-serif; } #j24-show-hide h4{ color:#333; } .hot-job-item { padding: 5px 0 5px 0; border-bottom: 1px solid #ccc; margin: 0px; } .hot-job-item a { color: #31B166; font-size: 12px; } #keywordInput, #searchValueInput { display: inherit; width: 100%; margin-bottom: 10px; } #searchSend { float: right; background-color: #31B166; color: #fff; } #searchSend:hover { background-color: #158443; } </style> </div> <!-- /.jobs24Wdiget --> </div> <div class="weather-feeds weather-widget"> <div class="forcast partly-cloudy"> <div class="weather-image"> <img src="http://www.edp24.co.uk:80/media/images/smallWeather/mustardTv/9.png" alt="Partly Cloudy" /> </div> <p class="weather-description">Partly Cloudy</p> <p class="weather-max-temp threshold-under">max temp: <span>4<span>&deg;C</span></span></p> <p class="weather-min-temp threshold-under">min temp: <span>1<span>&deg;C</span></span></p> <p class="weather-link"> <a href="/home/edp-weather-element-7-229190">Five-day forecast</a> </p> </div> </div> <script type="text/javascript"> function get_cookie(cookie_name) { var results = document.cookie.match('(^|;) ?' + cookie_name + '=([^;]*)(;|$)'); if (results) return (results[2]); else return null; } $(document).ready(function () { if (get_cookie("sessionKey") != null) { $. getJSON('/ajax?action=loginStatus', loadPostCode); } }); function loadPostCode(json) { if (json.loginStatus.postCode != null) { var url = "http://www.edp24.co.uk:80/home/edp-weather-element-7-229190?ot=archant.PopupPageLayout.ot&contentonly=true&ajax=true&style=flexible&postcode=" + json.loginStatus.postCode; $. get(url, replaceWeatherHtml); } } function replaceWeatherHtml(html) { $('.weather-feeds').before(html).remove(); } </script> <a href="http://weatherquest.co.uk/data_sets/podcast/norfolk.mp3">Listen to the latest weather forecast</a> <div class="advert desktop mpu"> <div id="ad-slot-mpu-4-desktop" class="ad-slot-mpu-4 desktop mpu lp_track"></div> </div> <div data-lazy-widget><!-- <style> .transformSupp img { -webkit-transform: rotateY(-8deg)!important; transform: rotateY(-8deg)!important; width: 116px!important; display: block; margin-left: 9px; } .transformsuppTwo img { margin-top: -7px; transform: rotateY(-9deg)!important; webkit-transform: rotateY(-13deg)!important; } .transform.transformsuppThree img { width: 120px; margin-left: 7px; -webkit-transform: rotateY(-8deg); } </style> <div class="digital-edition"> <h3 class="inpage">Digital Edition</h3> <div class="digital-edition-inner"> <div class="transform"> <img src="http://edition.pagesuite-professional.co.uk/get_image.aspx?w=200&pbid=b72a365b-70b3-4db1-aeda-a711ef540610&d=201292113" width="100" alt="cover"> </div> <p>Enjoy the EDP<br> digital edition </p> <a href="https://www.subscriptionsave.co.uk/dnews" class="btn" target="_blank">Subscribe</a> </div> </div> --> </div> <!-- Start Planning Finder Widget HTML Element ID 7.267267 --> <div class="propertyWidget"> <style> .propertyWidget iframe{ width:100% !important; } </style> <div id="pfWidget" style="margin: 10px 0;"></div> <script type="text/javascript"> var pfWidget = {lat:52.612699,lng:0.748936,postcode:'NR1 1RE',name:'Norwich'}; pfWidget['height'] = 650; pfWidget['zoom'] = 20; pfWidget['radius'] = 100; pfWidget['id'] = 'unique_string_identifier'; </script> <script type="text/javascript" src="http://www.planningfinder.co.uk/widget/big.js"></script> </div> <!-- End Planning Finder Widget HTML Element ID 7.267267 --> </div> <div> <div class="columnist"> <div class="info"> <div class="mugshot"> <img alt="EDP News" src="/polopoly_fs/7.229134.1426290799!/edp-news.png" /> </div> <h2><a href="/opinion/news">News Opinion</a></h2> <a href="/opinion/news">View all EDP Columnists</a> </div> </div> <div class="story-list maintain-style"> <div class="small-teaser-item teaser clearfix"> <div class="teaser-title"> <h3> <span class="teaser-label teaser-opinion">Opinion:</span> <a href="http://www.edp24.co.uk:80/features/edp-leaders-residents-concerns-dereham-1-5357401">Residents’ concerns must be listened to </a> </h3> </div> <div class="teaser-image"> <!--[if IE]> <a href="http://www.edp24.co.uk:80/features/edp-leaders-residents-concerns-dereham-1-5357401" title="The Westfield Lane railway bridge in Dereham. Picture: Ian Burt"> <div style="position:relative;height:0;padding-bottom:67.5%;"> <img alt="The Westfield Lane railway bridge in Dereham. Picture: Ian Burt" class='img-responsive lazyImage' data-srcset="http://images.archant.co.uk/polopoly_fs/1.5357400.1516118439!/image/image.jpg_gen/derivatives/landscape_75/image.jpg 75w, http://images.archant.co.uk/polopoly_fs/1.5357400.1516118439!/image/image.jpg_gen/derivatives/landscape_145/image.jpg 145w, http://images.archant.co.uk/polopoly_fs/1.5357400.1516118439!/image/image.jpg_gen/derivatives/landscape_225/image.jpg 225w, http://images.archant.co.uk/polopoly_fs/1.5357400.1516118439!/image/image.jpg_gen/derivatives/landscape_300/image.jpg 300w, http://images.archant.co.uk/polopoly_fs/1.5357400.1516118439!/image/image.jpg_gen/derivatives/landscape_490/image.jpg 490w, http://images.archant.co.uk/polopoly_fs/1.5357400.1516118439!/image/image.jpg_gen/derivatives/landscape_630/image.jpg 630w " src="" /> </div> </a> <![endif]--> <!--[if !IE]> --> <a href="http://www.edp24.co.uk:80/features/edp-leaders-residents-concerns-dereham-1-5357401"> <div style="position:relative;height:0;padding-bottom:67.5%;"> <img alt="The Westfield Lane railway bridge in Dereham. Picture: Ian Burt" class='img-responsive lazyImage' data-srcset="http://images.archant.co.uk/polopoly_fs/1.5357400.1516118439!/image/image.jpg_gen/derivatives/landscape_75/image.jpg 75w, http://images.archant.co.uk/polopoly_fs/1.5357400.1516118439!/image/image.jpg_gen/derivatives/landscape_145/image.jpg 145w, http://images.archant.co.uk/polopoly_fs/1.5357400.1516118439!/image/image.jpg_gen/derivatives/landscape_225/image.jpg 225w, http://images.archant.co.uk/polopoly_fs/1.5357400.1516118439!/image/image.jpg_gen/derivatives/landscape_300/image.jpg 300w, http://images.archant.co.uk/polopoly_fs/1.5357400.1516118439!/image/image.jpg_gen/derivatives/landscape_490/image.jpg 490w, http://images.archant.co.uk/polopoly_fs/1.5357400.1516118439!/image/image.jpg_gen/derivatives/landscape_630/image.jpg 630w " src="" /> </div> </a> <!-- <![endif]--> </div> </div> <div class="small-teaser-item teaser clearfix"> <div class="teaser-title"> <h3> <a href="http://www.edp24.co.uk:80/features/m-s-marks-and-spencer-cauliflower-sharon-griffiths-1-5352083">Why we need to stop laughing at ‘cauliflower steaks’ </a> </h3> </div> <div class="teaser-image"> <!--[if IE]> <a href="http://www.edp24.co.uk:80/features/m-s-marks-and-spencer-cauliflower-sharon-griffiths-1-5352083" title="Cauliflower: If we're too bone idle to buy one and slice it up ourselves, then it's no wonder that a supermarket will do it for us - and charge a premium. Picture: Thinkstock"> <div style="position:relative;height:0;padding-bottom:71.7%;"> <img alt="Cauliflower: If we're too bone idle to buy one and slice it up ourselves, then it's no wonder that a supermarket will do it for us - and charge a premium. Picture: Thinkstock" class='img-responsive lazyImage' data-srcset="http://images.archant.co.uk/polopoly_fs/1.5352081.1515741675!/image/image.jpg_gen/derivatives/landscape_75/image.jpg 75w, http://images.archant.co.uk/polopoly_fs/1.5352081.1515741675!/image/image.jpg_gen/derivatives/landscape_145/image.jpg 145w, http://images.archant.co.uk/polopoly_fs/1.5352081.1515741675!/image/image.jpg_gen/derivatives/landscape_225/image.jpg 225w, http://images.archant.co.uk/polopoly_fs/1.5352081.1515741675!/image/image.jpg_gen/derivatives/landscape_300/image.jpg 300w, http://images.archant.co.uk/polopoly_fs/1.5352081.1515741675!/image/image.jpg_gen/derivatives/landscape_490/image.jpg 490w, http://images.archant.co.uk/polopoly_fs/1.5352081.1515741675!/image/image.jpg_gen/derivatives/landscape_630/image.jpg 630w " src="" /> </div> </a> <![endif]--> <!--[if !IE]> --> <a href="http://www.edp24.co.uk:80/features/m-s-marks-and-spencer-cauliflower-sharon-griffiths-1-5352083"> <div style="position:relative;height:0;padding-bottom:71.7%;"> <img alt="Cauliflower: If we're too bone idle to buy one and slice it up ourselves, then it's no wonder that a supermarket will do it for us - and charge a premium. Picture: Thinkstock" class='img-responsive lazyImage' data-srcset="http://images.archant.co.uk/polopoly_fs/1.5352081.1515741675!/image/image.jpg_gen/derivatives/landscape_75/image.jpg 75w, http://images.archant.co.uk/polopoly_fs/1.5352081.1515741675!/image/image.jpg_gen/derivatives/landscape_145/image.jpg 145w, http://images.archant.co.uk/polopoly_fs/1.5352081.1515741675!/image/image.jpg_gen/derivatives/landscape_225/image.jpg 225w, http://images.archant.co.uk/polopoly_fs/1.5352081.1515741675!/image/image.jpg_gen/derivatives/landscape_300/image.jpg 300w, http://images.archant.co.uk/polopoly_fs/1.5352081.1515741675!/image/image.jpg_gen/derivatives/landscape_490/image.jpg 490w, http://images.archant.co.uk/polopoly_fs/1.5352081.1515741675!/image/image.jpg_gen/derivatives/landscape_630/image.jpg 630w " src="" /> </div> </a> <!-- <![endif]--> </div> </div> <div class="small-teaser-item teaser clearfix"> <div class="teaser-title"> <h3> <span class="teaser-label teaser-sponsored">Ad Feature:</span> <a href="http://www.edp24.co.uk:80/edp-property/the-legal-lowdown-on-sharing-the-family-home-after-divorce-1-5355991">Divorce: What happens to the family home? </a> </h3> </div> <div class="teaser-image"> <!--[if IE]> <a href="http://www.edp24.co.uk:80/edp-property/the-legal-lowdown-on-sharing-the-family-home-after-divorce-1-5355991" title="How big a slice of the family house do you get after divorce?"> <div style="position:relative;height:0;padding-bottom:71.98%;"> <img alt="How big a slice of the family house do you get after divorce?" class='img-responsive lazyImage' data-srcset="http://images.archant.co.uk/polopoly_fs/1.5355989.1516036408!/image/image.jpg_gen/derivatives/landscape_75/image.jpg 75w, http://images.archant.co.uk/polopoly_fs/1.5355989.1516036408!/image/image.jpg_gen/derivatives/landscape_145/image.jpg 145w, http://images.archant.co.uk/polopoly_fs/1.5355989.1516036408!/image/image.jpg_gen/derivatives/landscape_225/image.jpg 225w, http://images.archant.co.uk/polopoly_fs/1.5355989.1516036408!/image/image.jpg_gen/derivatives/landscape_300/image.jpg 300w, http://images.archant.co.uk/polopoly_fs/1.5355989.1516036408!/image/image.jpg_gen/derivatives/landscape_490/image.jpg 490w, http://images.archant.co.uk/polopoly_fs/1.5355989.1516036408!/image/image.jpg_gen/derivatives/landscape_630/image.jpg 630w " src="" /> </div> </a> <![endif]--> <!--[if !IE]> --> <a href="http://www.edp24.co.uk:80/edp-property/the-legal-lowdown-on-sharing-the-family-home-after-divorce-1-5355991"> <div style="position:relative;height:0;padding-bottom:71.98%;"> <img alt="How big a slice of the family house do you get after divorce?" class='img-responsive lazyImage' data-srcset="http://images.archant.co.uk/polopoly_fs/1.5355989.1516036408!/image/image.jpg_gen/derivatives/landscape_75/image.jpg 75w, http://images.archant.co.uk/polopoly_fs/1.5355989.1516036408!/image/image.jpg_gen/derivatives/landscape_145/image.jpg 145w, http://images.archant.co.uk/polopoly_fs/1.5355989.1516036408!/image/image.jpg_gen/derivatives/landscape_225/image.jpg 225w, http://images.archant.co.uk/polopoly_fs/1.5355989.1516036408!/image/image.jpg_gen/derivatives/landscape_300/image.jpg 300w, http://images.archant.co.uk/polopoly_fs/1.5355989.1516036408!/image/image.jpg_gen/derivatives/landscape_490/image.jpg 490w, http://images.archant.co.uk/polopoly_fs/1.5355989.1516036408!/image/image.jpg_gen/derivatives/landscape_630/image.jpg 630w " src="" /> </div> </a> <!-- <![endif]--> </div> </div> <div class="small-teaser-item teaser clearfix"> <div class="teaser-title"> <h3> <span class="teaser-label teaser-sponsored">Ad Feature:</span> <a href="http://www.edp24.co.uk:80/edp-property/the-tax-implication-of-legal-ownership-versus-beneficial-ownership-1-5355933">Do you own something legally or beneficially? </a> </h3> </div> <div class="teaser-image"> <!--[if IE]> <a href="http://www.edp24.co.uk:80/edp-property/the-tax-implication-of-legal-ownership-versus-beneficial-ownership-1-5355933" title="Legal versus beneficial ownership - do you know the difference?"> <div style="position:relative;height:0;padding-bottom:72.07%;"> <img alt="Legal versus beneficial ownership - do you know the difference?" class='img-responsive lazyImage' data-srcset="http://images.archant.co.uk/polopoly_fs/1.5355929.1516035141!/image/image.jpg_gen/derivatives/landscape_75/image.jpg 75w, http://images.archant.co.uk/polopoly_fs/1.5355929.1516035141!/image/image.jpg_gen/derivatives/landscape_145/image.jpg 145w, http://images.archant.co.uk/polopoly_fs/1.5355929.1516035141!/image/image.jpg_gen/derivatives/landscape_225/image.jpg 225w, http://images.archant.co.uk/polopoly_fs/1.5355929.1516035141!/image/image.jpg_gen/derivatives/landscape_300/image.jpg 300w, http://images.archant.co.uk/polopoly_fs/1.5355929.1516035141!/image/image.jpg_gen/derivatives/landscape_490/image.jpg 490w, http://images.archant.co.uk/polopoly_fs/1.5355929.1516035141!/image/image.jpg_gen/derivatives/landscape_630/image.jpg 630w " src="" /> </div> </a> <![endif]--> <!--[if !IE]> --> <a href="http://www.edp24.co.uk:80/edp-property/the-tax-implication-of-legal-ownership-versus-beneficial-ownership-1-5355933"> <div style="position:relative;height:0;padding-bottom:72.07%;"> <img alt="Legal versus beneficial ownership - do you know the difference?" class='img-responsive lazyImage' data-srcset="http://images.archant.co.uk/polopoly_fs/1.5355929.1516035141!/image/image.jpg_gen/derivatives/landscape_75/image.jpg 75w, http://images.archant.co.uk/polopoly_fs/1.5355929.1516035141!/image/image.jpg_gen/derivatives/landscape_145/image.jpg 145w, http://images.archant.co.uk/polopoly_fs/1.5355929.1516035141!/image/image.jpg_gen/derivatives/landscape_225/image.jpg 225w, http://images.archant.co.uk/polopoly_fs/1.5355929.1516035141!/image/image.jpg_gen/derivatives/landscape_300/image.jpg 300w, http://images.archant.co.uk/polopoly_fs/1.5355929.1516035141!/image/image.jpg_gen/derivatives/landscape_490/image.jpg 490w, http://images.archant.co.uk/polopoly_fs/1.5355929.1516035141!/image/image.jpg_gen/derivatives/landscape_630/image.jpg 630w " src="" /> </div> </a> <!-- <![endif]--> </div> </div> <div class="small-teaser-item teaser clearfix"> <div class="teaser-title"> <h3> <span class="teaser-label teaser-sponsored">Ad Feature:</span> <a href="http://www.edp24.co.uk:80/edp-property/bennett-homes-tells-you-why-buy-a-new-home-in-2018-1-5355897">Step onto the property ladder in 2018 </a> </h3> </div> <div class="teaser-image"> <!--[if IE]> <a href="http://www.edp24.co.uk:80/edp-property/bennett-homes-tells-you-why-buy-a-new-home-in-2018-1-5355897" title="A typical living room by Bennett Homes"> <div style="position:relative;height:0;padding-bottom:71.9%;"> <img alt="A typical living room by Bennett Homes" class='img-responsive lazyImage' data-srcset="http://images.archant.co.uk/polopoly_fs/1.5355895.1516033802!/image/image.jpg_gen/derivatives/landscape_75/image.jpg 75w, http://images.archant.co.uk/polopoly_fs/1.5355895.1516033802!/image/image.jpg_gen/derivatives/landscape_145/image.jpg 145w, http://images.archant.co.uk/polopoly_fs/1.5355895.1516033802!/image/image.jpg_gen/derivatives/landscape_225/image.jpg 225w, http://images.archant.co.uk/polopoly_fs/1.5355895.1516033802!/image/image.jpg_gen/derivatives/landscape_300/image.jpg 300w, http://images.archant.co.uk/polopoly_fs/1.5355895.1516033802!/image/image.jpg_gen/derivatives/landscape_490/image.jpg 490w, http://images.archant.co.uk/polopoly_fs/1.5355895.1516033802!/image/image.jpg_gen/derivatives/landscape_630/image.jpg 630w " src="" /> </div> </a> <![endif]--> <!--[if !IE]> --> <a href="http://www.edp24.co.uk:80/edp-property/bennett-homes-tells-you-why-buy-a-new-home-in-2018-1-5355897"> <div style="position:relative;height:0;padding-bottom:71.9%;"> <img alt="A typical living room by Bennett Homes" class='img-responsive lazyImage' data-srcset="http://images.archant.co.uk/polopoly_fs/1.5355895.1516033802!/image/image.jpg_gen/derivatives/landscape_75/image.jpg 75w, http://images.archant.co.uk/polopoly_fs/1.5355895.1516033802!/image/image.jpg_gen/derivatives/landscape_145/image.jpg 145w, http://images.archant.co.uk/polopoly_fs/1.5355895.1516033802!/image/image.jpg_gen/derivatives/landscape_225/image.jpg 225w, http://images.archant.co.uk/polopoly_fs/1.5355895.1516033802!/image/image.jpg_gen/derivatives/landscape_300/image.jpg 300w, http://images.archant.co.uk/polopoly_fs/1.5355895.1516033802!/image/image.jpg_gen/derivatives/landscape_490/image.jpg 490w, http://images.archant.co.uk/polopoly_fs/1.5355895.1516033802!/image/image.jpg_gen/derivatives/landscape_630/image.jpg 630w " src="" /> </div> </a> <!-- <![endif]--> </div> </div> </div> </div> <div> <div class="advert desktop mpu"> <div id="ad-slot-mpu-5-desktop" class="ad-slot-mpu-5 desktop mpu lp_track"></div> </div> <div class="advert mobile mpu"> <div id="ad-slot-mpu-5-mobile" class="ad-slot-mpu-5 mobile mpu lp_track"></div> </div> <div class="advert tablet mpu"> <div id="ad-slot-mpu-5-tablet" class="ad-slot-mpu-5 tablet mpu lp_track"></div> </div> </div> </div> </div></div></div> </div> </div> <!-- Start LegacyAppFragment name="Footer" --> <footer> <div> <script type="text/javascript"> // author var $author = $("meta[name='author']").attr("content"); if ($author == undefined) { $author = "Unknown"; } // keywords var $keywordsobj = $("meta[name='keywords']").attr("content"); if ($keywordsobj == undefined) { $keywordsobj = ""; } /* CONFIGURATION START */ var _ain = { id: "1599", url: 'http://www.edp24.co.uk/news/video-shows-chris-hemsworth-chris-evans-and-robert-downey-jr-filming-scene-from-avengers-film-in-norwich-1-3642727', postid: "1.3642727", maincontent: "article", title: "Video shows Chris Hemsworth, Chris Evans and Robert Downey Jr filming scene from Avengers film in Norwich", pubdate: "2014-06-16 14:03", authors: $author, sections: "News", tags: $keywordsobj, comments: "" }; /* CONFIGURATION END */ (function (d, s) { var sf = d.createElement(s); sf.type = 'text/javascript'; sf.async = true; sf.src = (('https:' == d.location.protocol) ? 'https://d7d3cf2e81d293050033-3dfc0615b0fd7b49143049256703bfce.ssl.cf1.rackcdn.com' : 'http://t.contentinsights.com')+'/stf.js'; var t = d.getElementsByTagName(s)[0]; t.parentNode.insertBefore(sf, t); })(document, 'script'); </script> <div id="footer"> <!-- <img src="/polopoly_fs/7.229200.1513174259!/house.jpg" alt=""/> <img src="/polopoly_fs/7.229200.1513174259!/job.jpg" alt=""/> <img src="/polopoly_fs/7.229200.1513174259!/localBusiness.png" alt=""/> <img src="/polopoly_fs/7.229200.1513174259!/photos.jpg" alt=""/> <img src="/polopoly_fs/7.229200.1513174259!/car.jpg" alt=""/> <img src="/polopoly_fs/7.229200.1513174259!/smallAdsSell.png" alt=""/> <img src="/polopoly_fs/7.229200.1513174259!/smallAdsBuy.png" alt=""/> --> <script type="text/javascript"> var mt; jQuery(document).bind('ready', function(){ setTimeout(function(){ mt = new MultiTabs('footer-tabs'); }, 1000); jQuery('#footer-tabs li').on('click', function(){ if(jQuery(this).data('tab-id') != 'more-from-us' && jQuery(this).find('a').length == 0){ var theTab = this; //var url = '/'+jQuery(this).data('content-id')+'?ot=archant.AjaxPageLayout.ot'; var url = jQuery(this).data('html-url'); jQuery.ajax(url, { data:null, type:'GET', dataType:'html', success:function(data){ jQuery('#footer-tabs .tab-content.'+jQuery(theTab).data('tab-id')).empty().append(data); } }) } }); }); </script> <div id="footer-tabs" class="tab-wrap multiline-tabs top"> <ul> <li data-tab-id="more-from-us">More from Us</li> <li data-tab-id="contact-us" data-html-url="/polopoly_fs/7.229200.1513174259!/contact_us_29_08_17.html">Contact Us</li> </ul> <ul> <li data-tab-id="send-a-story" data-html-url="/polopoly_fs/7.229200.1513174259!/send-a-story.html">Send a Story</li> <li data-tab-id="advertise"><a href="/home/advertise-with-us">Advertise with Us</a></li> </ul> <ul> <li data-tab-id="e-edition"><a href="/home/e-edition">E-Edition</a></li> <li data-tab-id="subscribe"><a href="/home/e-edition">Subscribe with Us</a></li> <li data-tab-id="buy-and-sell" data-html-url="/polopoly_fs/7.229200.1513174259!/buy-and-sell.html">Buy and Sell</li> </ul> <div class="middle"> <div class="tab-content contact-us" data-tab-id="contact-us"></div> <div class="tab-content send-a-story" data-tab-id="send-a-story"></div> <div class="tab-content advertise" data-tab-id="advertise"></div> <div class="tab-content e-edition" data-tab-id="e-edition"></div> <div class="tab-content subscribe" data-tab-id="subscribe"></div> <div class="tab-content buy-and-sell" data-tab-id="buy-and-sell"></div> <div class="tab-content current more-from-us" data-tab-id="more-from-us"> <h4 class="inpage"><a href="#">More Great Content</a></h4> <ul> <li><a href="http://www.homes24.co.uk/norfolk" target="_blank">Homes24</a></li> <li><a href="http://www.jobs24.co.uk/jobs-norfolk" target="_blank">Jobs24</a></li> <li><a href="http://www.drive24.co.uk/used/cars/norfolk" target="_blank">Drive24</a></li> <li><a href="http://www.edp24.mydate24.co.uk/" target="_blank">Local Dating</a></li> <li><a href="http://archantnorfolk.newsprints.co.uk " target="_blank">Buy Photos</a></li> <li><a href="http://www.familynotices24.co.uk/edp " target="_blank">Family Notices</a></li> </ul> <ul> <li><a href="http://www.smallads24.co.uk/norfolk/edp" target="_blank">Classifieds</a></li> <li><a href="http://www.bridemagazine.co.uk/norfolk/" target="_blank">EDP Weddings</a></li> <li><a href="http://www.localsearch24.co.uk/Norfolk/" target="_blank">Localsearch<span>24</span></a></li> <li><a href="http://services.edp24.co.uk/shop/edp24/shopping/readertravel/">Reader Travel</a></li> <li><a href="http://www.edpcottages.co.uk/" target="_blank">EDP Cottages</a></li> <li><a href="http://www.letstalk24.co.uk/" target="_blank">Let's Talk</a></li> </ul> <ul> <li><a href="http://www.buyamag.co.uk/Leisure-Magazines/The-Pink-Un-magazine/PINK6" target="_blank">The PinkUn Magazine</a></li> <li><a href="http://www.theneweuropean.co.uk" target="_blank">The New European</a></li> </ul> <div class="mags"> <a href="https://www.subscriptionsave.co.uk/Magazines/Regional-Magazines/EDP-Norfolk" target="_blank"><img src="http://edition.pagesuite-professional.co.uk/get_image.aspx?w=300&pbid=cd6e334d-8cae-4761-9e3a-4d23407c790a" /></a> <a href="https://www.subscriptionsave.co.uk/Magazines/Regional-Magazines/Let-s-Talk" target="_blank"><img src="http://edition.pagesuite-professional.co.uk/get_image.aspx?w=300&pbid=70042110-d7c2-4159-812d-75a1506e2bca" /></a> <a href="https://www.subscriptionsave.co.uk/dnews" target="_blank"><img src="http://edition.pagesuite-professional.co.uk/get_image.aspx?w=500&pbid=b72a365b-70b3-4db1-aeda-a711ef540610&d=201292113" /></a> </div> </div> </div> </div> <div class="bottom"> <div class="column"> <h4 class="inpage">News</h4> <ul> <li><a href="/news/crime">Crime</a></li> <li><a href="/news/politics">Politics</a></li> <li><a href="/news/health">Health</a></li> <li><a href="/news/education">Education</a></li> <li><a href="/news/environment">Environment</a></li> <li><a href="/news/obituaries">Obituaries</a></li> <li><a href="/news/weather">Weather</a></li> </ul> </div> <div class="column"> <h4 class="inpage">Sport</h4> <ul> <li><a href="/sport/norwich-city">Norwich City</a></li> <li><a href="/sport/columnists">Columnists</a></li> <li><a href="/sport/lowestoft-town">Lowestoft Town FC</a></li> <li><a href="/sport/kings-lynn-town">Kings Lynn FC</a></li> <li><a href="/sport/cricket">Cricket</a></li> <li><a href="/sport/kings-lynn-stars">Kings Lynn Stars</a></li> <li><a href="http://www.pinkun.com" target="_blank" class="ext-link">Pink 'Un</a></li> </ul> </div> <div class="column"> <h4 class="inpage">Business</h4> <ul> <li><a href="/business/business-news">Business News</a></li> <li><a href="/business/farming">Farming</a></li> <li><a href="/business/opinion">Opinion</a></li> <li><a href="/business/top100">Top100</a></li> </ul> </div> <div class="column"> <h4 class="inpage">What's On</h4> <ul> <li><a href="/going-out/search-listings">Search Listings</a></li> <li><a href="/going-out/submit-listing">Submit Listing</a></li> <li><a href="/topic/Tag/Food%20Reviews">Eating Out or Eating In</a></li> <li><a href="/going-out/music">Music</a></li> <li><a href="/going-out/comedy">Comedy</a></li> <li><a href="/going-out/theatre">Theatre</a></li> <li><a href="/going-out/art-exhibitions">Art &amp; Exhibitions</a></li> <li><a href="/going-out/days-out">Days Out</a></li> </ul> </div> <div class="column"> <h4 class="inpage">Useful links</h4> <ul> <li><a href="/home/contact-us">Contact Us</a></li> <li><a href="/home/independent-press-standards-organisation">How to Complain</a></li> <li><a href="/7.135">Terms and Conditions</a></li> <li><a href="/7.23464">Cookie Policy</a></li> <li><a href="http://www.archant.co.uk/articles/archant-community-media-limited-rights-holder-char/" target="_blank">Contributor's charter</a></li> </ul> </div> </div> <div class="copyright"> <span>&copy; 2018</span> Archant Community Media Ltd </div> </div> <div class="advert desktop leaderboard"> <div id="ad-slot-wp-desktop" class="ad-slot-wp desktop leaderboard lp_track"></div> </div> <div class="advert desktop mpu"> <div id="ad-slot-float-desktop" class="ad-slot-float desktop mpu lp_track"></div> </div> <div class="advert mobile mpu"> <div id="ad-slot-float-mobile" class="ad-slot-float mobile mpu lp_track"></div> </div> <!-- Start Generic OnScroll tag: Archant, element 7.419091 --> <script src="//tags.onscroll.com/a1b570b2-06bf-4444-bf55-165fb16c7657/tag.min.js" async defer></script> <!-- End Generic OnScroll tag: Archant --> <div> <!-- Start "Generic JICREG Intercept Surveys HTML Element", ID 7.733539 --> <!-- End "Generic JICREG Intercept Surveys HTML Element", ID 7.733539 --> </div> </div> </footer> <!-- End LegacyAppFragment name="Footer" --> <script type="text/javascript"> function loadLogin(json) { if (json.loginStatus.loggedIn) { $('#featurebar_login').empty().append( '<a href="/logout?referrer=http://www.edp24.co.uk:80/news/video-shows-chris-hemsworth-chris-evans-and-robert-downey-jr-filming-scene-from-avengers-film-in-norwich-1-3642727?action=logout" rel="nofollow">Log out</a>'); $('#register').remove(); } else { $('#featurebar_login').empty().append( '<a href="http://www.edp24.co.uk:80/news/video-shows-chris-hemsworth-chris-evans-and-robert-downey-jr-filming-scene-from-avengers-film-in-norwich-1-3642727?action=login" rel="nofollow"><img src="http://www.edp24.co.uk:80/media/images/google small.png"><img src="http://www.edp24.co.uk:80/media/images/facebook small.png"><img src="http://www.edp24.co.uk:80/media/images/yahoo small.png"><img src="http://www.edp24.co.uk:80/media/images/windows small.png"></a><a href="http://www.edp24.co.uk:80/news/video-shows-chris-hemsworth-chris-evans-and-robert-downey-jr-filming-scene-from-avengers-film-in-norwich-1-3642727?action=login" rel="nofollow">Log in</a>'); } if (typeof loadCommentsDynamic === 'function') loadCommentsDynamic(json); if (typeof loadEmailDynamic === 'function') loadEmailDynamic(json); if (typeof loadCompetitionDynamic === 'function') loadCompetitionDynamic(json); } $(document).ready(function() { if ((get_cookie("sessionKey") == null) && (get_cookie("rememberMe") == null) ) { loadLogin({loginStatus:{loggedIn:false}}); } else { $.getJSON('/ajax?action=loginStatus', loadLogin); } function get_cookie(cookie_name) { var results = document.cookie.match ('(^|;) ?' + cookie_name + '=([^;]*)(;|$)'); if (results) return (results[2]); else return null; } if (get_cookie("cookiesAcknowledged") == null) { $('body').prepend('<div id="cookielaw"><div class="row"><div class="col-sm-8 col-md-8"><p>This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. <a href="/7.87126">Find out more about cookies here</a>.</p></div><div class="col-sm-4 col-md-4"><a id="cookie-continue" class="label label-success" href="#">Accept cookies</a></div></div></div>'); window.setTimeout(function() { $('#cookielaw').fadeIn('fast'); }, 1000); $('#cookie-continue').click(function() { $('#cookielaw').fadeOut('fast'); var theDate = new Date(); var oneYearLater = new Date(theDate.getTime() + (1000*3600*24*365)); var expiryDate = oneYearLater.toGMTString(); document.cookie = "cookiesAcknowledged=yes; expires="+expiryDate+"; path=/;"; return false; }); } }); </script> </div> <!-- Start LegacyAppFragment name="FooterScripts" --> <div class="js"> <!-- jQuery and JS libraries --> <!-- Theme Element file from 'EDP | Theme v2.1', VersionedContentId(7.228688.1513689758) - debugging mode enabled --> <script type="text/javascript" src="http://www.edp24.co.uk:80/theme/7.228688.1513689758/jsfoot?debug=true"></script> <!-- scripts --> <div id="fb-root"></div> <script>(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/en_GB/all.js#xfbml=1&appId=247899041895181"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));</script> <!--*** This script sets up Google +1 button ***--> <script type="text/javascript"> (function() { var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true; po.src = 'https://apis.google.com/js/plusone.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s); })(); </script> <!--*** This script sets up Twitter button ***--> <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script> <!-- Start Footer Scripts from Site Config --> <!-- Side Wide Footer Scripts --> <!-- Quantcast Tag --> <script> qcdata = {} || qcdata; (function(){ var elem = document.createElement('script'); elem.src = (document.location.protocol == "https:" ? "https://secure" : "http://pixel") + ".quantserve.com/aquant.js?a=p-YX7x3E8QMpsVE"; elem.async = true; elem.type = "text/javascript"; var scpt = document.getElementsByTagName('script')[0]; scpt.parentNode.insertBefore(elem,scpt); }()); var qcdata = {qacct: 'p-YX7x3E8QMpsVE', uid: 'USER-ID-HERE'}; </script> <noscript> <img src="//pixel.quantserve.com/pixel/p-YX7x3E8QMpsVE.gif?labels=" style="display: none;" border="0" height="1" width="1" alt="Quantcast"/> </noscript> <!-- End Quantcast Tag --> <!-- Quick fix for lazy loading caching issues --> <script src="http://services.london24.com/london/generic/js/jquery.lazyloadxt.script.min.js" charset="utf-8"></script> <script src="http://services.london24.com/london/generic/js/jquery.lazyloadxt.extra.min.js" charset="utf-8"></script> <script src="http://services.london24.com/london/generic/js/jquery.lazyloadxt.srcset.js" charset="utf-8"></script> <script src="http://services.london24.com/london/vanilla/js/jquery.lazyloadxt.widget.js" charset="utf-8"></script> <!-- Start Generic Grapeshot Tag --> <script type="text/javascript"> if(typeof gs_channels === 'undefined'){ var gs_channels="DEFAULT"; var gsurl=window.location!=window.top.location?document.referrer:window.location; var stripQS = gsurl.toString().split("?",1); document.write('<scr'+'ipt type="text/javascript" src="http://mediaforce.grapeshot.co.uk/archant/channels.cgi?url='+encodeURIComponent(stripQS)+'"></scr'+'ipt>'); } </script> <!-- End Generic Grapeshot Tag --> <!-- Start Boost Script --> <script> if($('.content-b .row .inner-c').length && ($.lazyLoadXT !== undefined)){ $('.content-b .row .inner-c').last().append('<div data-lazy-widget><!--<var id="ownlocal" class="boost-widget"></var><script>showBoost()<\/script>--></div>'); var boostTag = '<script id="ownlocal-script" data-active="businesses" src="http://local.edp24.co.uk:80/embed.js?h=050&min_featured_level=0&category=all&subcategory=all&days_ago=30"></scr'+'ipt>'; showBoost = function(){ postscribe($('.boost-widget'), boostTag); } } else { console.error('Boost widget: code has run, but widget not displayed. Either the specified DOM elements do not exist on this page, or LazyXT is not being read. Check the code in 1.4277433.'); } </script> <!-- End Boost Script --> <!-- Start LegacyAppFragment name="Statistics" --> <script language="JavaScript" type="text/javascript" src="http://www.edp24.co.uk:80/polopoly_fs/1.4277433.1516125744!/VisitorAPI.js"></script> <script language="JavaScript" type="text/javascript" src="http://www.edp24.co.uk:80/polopoly_fs/1.4277433.1516125744!/AppMeasurement.js"></script> <script> //initialize AppMeasurement var s_account="archantedp24" var s=s_gi(s_account) /******** VISITOR ID SERVICE CONFIG - REQUIRES VisitorAPI.js ********/ s.visitor=Visitor.getInstance("2C000C3A53DA83BF0A490D4D@AdobeOrg") /************************** CONFIG SECTION **************************/ /* You may add or alter any code config here. */ /* Link Tracking Config */ s.trackDownloadLinks=true s.trackExternalLinks=true s.trackInlineStats=true s.linkDownloadFileTypes="exe,zip,wav,mp3,mov,mpg,avi,wmv,pdf,doc,docx,xls,xlsx,ppt,pptx" s.linkInternalFilters="javascript:" //optional: add your internal domain here s.linkLeaveQueryString=false s.linkTrackVars="None" s.linkTrackEvents="None" /* uncomment below to use doPlugins */ /* s.usePlugins=true function s_doPlugins(s) { // use implementation plug-ins that are defined below // in this section. For example, if you copied the append // list plug-in code below, you could call: // s.events=s.apl(s.events,"event1",",",1); s.prop32=s.getDaysSinceLastVisit(Cookie_Name); s.prop33=s.getNewRepeat(30,'s_getNewRepeat'); } s.doPlugins=s_doPlugins */ /* WARNING: Changing any of the below variables will cause drastic changes to how your visitor data is collected. Changes should only be made when instructed to do so by your account manager.*/ s.trackingServer="archant.d3.sc.omtrdc.net" s.trackingServerSecure="archant.d3.sc.omtrdc.net" /************************** PLUGINS SECTION *************************/ // copy and paste implementation plug-ins here - See "Implementation Plug-ins" @ // https://marketing.adobe.com/resources/help/en_US/sc/implement/#Implementation_Plugins // Plug-ins can then be used in the s_doPlugins(s) function above /* * Plugin: Days since last Visit 1.1 - capture time from last visit */ s.getDaysSinceLastVisit=new Function("c","" +"var s=this,e=new Date(),es=new Date(),cval,cval_s,cval_ss,ct=e.getT" +"ime(),day=24*60*60*1000,f1,f2,f3,f4,f5;e.setTime(ct+3*365*day);es.s" +"etTime(ct+30*60*1000);f0='Cookies Not Supported';f1='First Visit';f" +"2='More than 30 days';f3='More than 7 days';f4='Less than 7 days';f" +"5='Less than 1 day';cval=s.c_r(c);if(cval.length==0){s.c_w(c,ct,e);" +"s.c_w(c+'_s',f1,es);}else{var d=ct-cval;if(d>30*60*1000){if(d>30*da" +"y){s.c_w(c,ct,e);s.c_w(c+'_s',f2,es);}else if(d<30*day+1 && d>7*day" +"){s.c_w(c,ct,e);s.c_w(c+'_s',f3,es);}else if(d<7*day+1 && d>day){s." +"c_w(c,ct,e);s.c_w(c+'_s',f4,es);}else if(d<day+1){s.c_w(c,ct,e);s.c" +"_w(c+'_s',f5,es);}}else{s.c_w(c,ct,e);cval_ss=s.c_r(c+'_s');s.c_w(c" +"+'_s',cval_ss,es);}}cval_s=s.c_r(c+'_s');if(cval_s.length==0) retur" +"n f0;else if(cval_s!=f1&&cval_s!=f2&&cval_s!=f3&&cval_s!=f4&&cval_s" +"!=f5) return '';else return cval_s;"); /* * Plugin: getNewRepeat 1.2 - Returns whether user is new or repeat */ s.getNewRepeat=new Function("d","cn","" +"var s=this,e=new Date(),cval,sval,ct=e.getTime();d=d?d:30;cn=cn?cn:" +"'s_nr';e.setTime(ct+d*24*60*60*1000);cval=s.c_r(cn);if(cval.length=" +"=0){s.c_w(cn,ct+'-New',e);return'New';}sval=s.split(cval,'-');if(ct" +"-sval[0]<30*60*1000&&sval[1]=='New'){s.c_w(cn,ct+'-New',e);return'N" +"ew';}else{s.c_w(cn,ct+'-Repeat',e);return'Repeat';}"); /* * Utility Function: split v1.5 (JS 1.0 compatible) */ s.split=new Function("l","d","" +"var i,x=0,a=new Array;while(l){i=l.indexOf(d);i=i>-1?i:l.length;a[x" +"++]=l.substring(0,i);l=l.substring(i+d.length);}return a"); /****************************** MODULES *****************************/ // copy and paste implementation modules (Media, Integrate) here // AppMeasurement_Module_Media.js - Media Module, included in AppMeasurement zip // AppMeasurement_Module_Integrate.js - Integrate Module, included in AppMeasurement zip /* ============== DO NOT ALTER ANYTHING BELOW THIS LINE ! =============== */ </script> <script language="JavaScript" type="text/javascript"> /* You may give each page an identifying name, server, and channel on the next lines. */ s.pageName="Video shows Chris Hemsworth, Chris Evans and Robert Downey Jr filming scene from Avengers film in Norwich" s.server="http://www.edp24.co.uk" s.channel="News" s.pageType="" s.pageURL="" s.prop1="Media:Choice" s.prop2="http://www.edp24.co.uk/1.3642727" s.prop3="" s.prop4="Category.General.Media.NewsSocial" s.prop5="" s.prop6="" s.prop7="" s.prop9="Canonical" s.eVar10="16/06/2014" s.eVar12="06/2014" s.eVar16="No" s.eVar17="No" s.eVar18="No" s.eVar19="No" s.eVar20="No" s.eVar21="No" s.prop20="Eastern Daily Press" s.prop40="" s.prop49="1.3642727" s.hier1="News" s.hier2="Article" s.linkInternalFilters="javascript:,http://www.edp24.co.uk" /* Conversion Variables */ s.campaign=":::" s.state="" s.zip="" s.events="" s.products="" s.purchaseID="" s.eVar1="" s.eVar2="" s.eVar3="" s.eVar4="" s.eVar5="" var s_code=s.t();if(s_code)document.write(s_code) </script> <!-- End LegacyAppFragment name="Statistics" --> <!-- End Footer Scripts from Site Config --> </div> <!-- End LegacyAppFragment name="FooterScripts" --> <!-- Start LegacyAppFragment name="AdvertScripts" v1.01 --> <!-- Start Lotame Scripts --> <script src="http://tags.crwdcntrl.net/c/4781/cc.js?ns=_cc4781" id="LOTCC_4781"></script> <script> _cc4781.bcp(); </script> <script type="text/javascript"> var cc_client_id= 4299; document.write('<scr'+'ipt type="text/javascript" src="http://ad.crwdcntrl.net/5/c='+cc_client_id.toString()+'/pe=y/callback=processauds"></scr'+'ipt>'); var adtechCCvals = ""; function processauds(adtechccauds) { if (typeof(adtechccauds) != 'undefined'){ for (var cci = 0; cci < adtechccauds.Profile.Audiences.Audience.length;cci++){ if (cci > 0) adtechCCvals += ":"; adtechCCvals +=adtechccauds.Profile.Audiences.Audience[cci].abbr; } } } var cc_client_id= 7659; document.write('<scr'+'ipt type="text/javascript" src="http://ad.crwdcntrl.net/5/c='+cc_client_id.toString()+'/pe=y/callback=processaudsTwo"></scr'+'ipt>'); function processaudsTwo(adtechccauds) { if (typeof(adtechccauds) != 'undefined'){ for (var cci = 0; cci < adtechccauds.Profile.Audiences.Audience.length;cci++){ adtechCCvals += ":"; adtechCCvals +=adtechccauds.Profile.Audiences.Audience[cci].abbr; } } } console.info('Lotame: adtechCCvals = ' + adtechCCvals); </script> <!-- End Lotame Scripts --> <!-- Start Amazon Ad setup Scripts --> <script type='text/javascript' src='http://c.amazon-adsystem.com/aax2/amzn_ads.js'></script> <script type='text/javascript'> try { amznads.getAds('3147'); } catch(e) { /*ignore*/ } </script> <!-- End Amazon Ad setup Scripts --> <!-- Start PostScribe Scripts for advert delivery --> <script type="text/javascript" src="http://www.edp24.co.uk:80/media/js/htmlParser.js"></script> <script type="text/javascript" src="http://www.edp24.co.uk:80/media/js/postscribe112.js"></script> <!-- End PostScribe Scripts for advert delivery --> <script type="text/javascript"> /* Start Pagewide Ad Functions - set up pagewide variables for Ad Tags */ /* Remove loader image from ad placements */ function removeLoader() { $('.advert').addClass('advert-autosize'); }; console.info(" "); console.info("Ad tags: setting up pagewide variables for Advert tags..."); /* Set up page-specific advert variables */ /* Check for Login Status */ var strKvaction = ""; console.info('PII: Checked for presence of user login details in request URL. kvaction string set = '); /* Amazon Ads */ var amznkvstring = ""; var tokens = amznads.getTokens("3x2"); if (tokens.length > 0) { for (var i = 0; i < tokens.length; i++) { if (i > 0) amznkvstring += ":"; amznkvstring += tokens[i]; } } console.info('Amazon Ads: amznkvstring string set = ' + amznkvstring); /* Adgroup ID */ if (window.adgroupid == undefined) { window.adgroupid = Math.round(Math.random() * 9999); console.info("Ad tags: window.adgroupid set = " + parseInt(window.adgroupid)); } /* Grapeshot channels: set to 'NONE' if not used here */ if(typeof gs_channels === 'undefined') { gs_channels = "NONE"; /*gs_channels = "beach,video,music";*/ console.info("Grapeshot: gs_channels undefined. Set to the default = " + parseInt(gs_channels)); } else { console.info("Grapeshot: gs_channels set = " + gs_channels); } /* Segment Key Value */ if(typeof segQS === 'undefined') { segKeyValue = ""; console.info("Ad tags: segKeyValue set = null " + segKeyValue); } else { segKeyValue = "kvrsi="+segQS.slice(0,-1)+";" console.info("Ad tags: segKeyValue set = " + segKeyValue); } /* Window display size: used by advert delivery scripts to ensure the correct aliases and Advert Placement IDs are used. */ var displayType; // Small (s), Medium (m) or Large (l) var displayWidth = window.innerWidth; console.info("Device: displayWidth = " + displayWidth); /* Set breakpoint variables */ var breakPointSm = 320; var breakPointMd = 728; var breakpointLg = 1024; var advertPlacementId = 0; if(displayWidth >= breakpointLg || displayWidth == undefined){ displayType = "l"; console.info("Device: Desktop view"); advertPlacementId = 6246191; } else if (displayWidth >= breakPointMd && displayWidth < breakpointLg){ displayType = "m"; console.info("Device: Tablet view"); advertPlacementId = 6246189; } else if (displayWidth < breakPointMd){ displayType = "s"; console.info("Device: Mobile view"); advertPlacementId = 6246190; } else { console.info("Device: window.innerWidth = 'other', so setting to default Desktop view"); displayType = "l"; advertPlacementId = 6246191; } console.info("Ad tags: Advert Placement ID set = " + advertPlacementId); /* End Pagewide Ad Functions */ console.info("Ad tags: finished setting up pagewide variables for Advert tags."); console.info(" "); $(document).ready(function() { /* Start individual Advert Delivery Scripts */ /* Start advert page delivery script for Advert Element "EDP | News Non-sticky Leaderboard Tablet Mobile", CMS ID 7.679428 */ (function(){ var adTechSubDomain = ""; var adDeliveryTargetID = ""; var adDeliveryTargetClass = ""; var adAlias = ""; var adUrl = ""; var adTag = ""; /* Determine Display type, choose suitable AdTech subdomain, alias and target classes/ID for container */ if(displayType == "m") { adDeliveryTargetID = ".tablet.ad-slot-lb"; adTechSubDomain = "a"; adAlias = "edpnewslb1_tablet"; } if(displayType == "s") { adDeliveryTargetID = ".mobile.ad-slot-lb"; adTechSubDomain = "a"; adAlias = "edphomelb2_mobile"; } /* * Create Ad Tag * * 'adUrl' and 'adTag' are separate variables because different delivery methods require different 'versions' of the tag. * This must be done client-side as server cannot access screen width etc. in order to select the correct aliases and placement IDs. */ adUrl = "http://" + adTechSubDomain + ".adtech.de/addyn/3.0/1482.1/" + advertPlacementId + "/0/-1/ADTECH;cookie=info;loc=100;target=_blank;key=" + gs_channels + "+2_21707+1_3642727+Media+Choice;" + segKeyValue + "kvsection=News;" + strKvaction + "grp=" + window.adgroupid + ";alias=" + adAlias + ";KVabbr=" + window.adtechCCvals + ";misc=" + Math.round(Math.random() * 9999); adTag = "<scr"+"ipt language=\"javascript1.1\" src=\"http://" + adTechSubDomain + ".adtech.de/addyn/3.0/1482.1/" + advertPlacementId + "/0/-1/ADTECH;cookie=info;loc=100;target=_blank;key=" + gs_channels + "+2_21707+1_3642727+Media+Choice;" + segKeyValue + "kvsection=News;" + strKvaction + "grp=" + window.adgroupid + ";alias=" + adAlias + ";KVabbr=" + window.adtechCCvals + ";misc=" + Math.round(Math.random() * 9999) + "\"></scri"+"pt>"; /* Check target Ad Slot Position Div exists. If so, deliver Ad Tag to slot */ if($(adDeliveryTargetID).length){ /* Postscribe */ postscribe($(adDeliveryTargetID), adTag); removeLoader(); } else { console.info('Advert Element \'EDP | News Non-sticky Leaderboard Tablet Mobile\', CMS ID 7.679428 is looking for a Div element on the page with class ad-slot-lb, but no such Div can be found on the page. Check that the Ad Slot Position elements have been set up correctly, and that the Target Div IDs match.'); } })(); /* End advert page delivery script for the following Ad Aliases: $desktopAlias edpnewslb1_tablet edphomelb2_mobile */ /* Start advert page delivery script for Advert Element "EDP | News Sticky Leaderboard Desktop", CMS ID 7.679426 */ (function(){ var adTechSubDomain = ""; var adDeliveryTargetID = ""; var adDeliveryTargetClass = ""; var adAlias = ""; var adUrl = ""; var adTag = ""; /* Determine Display type, choose suitable AdTech subdomain, alias and target classes/ID for container */ if((displayType == "l")) { adDeliveryTargetID = ".desktop.ad-slot-lb"; adTechSubDomain = "adserver"; adAlias = "edpnewslb1_display"; } /* * Create Ad Tag * * 'adUrl' and 'adTag' are separate variables because different delivery methods require different 'versions' of the tag. * This must be done client-side as server cannot access screen width etc. in order to select the correct aliases and placement IDs. */ adUrl = "http://" + adTechSubDomain + ".adtech.de/addyn/3.0/1482.1/" + advertPlacementId + "/0/-1/ADTECH;cookie=info;loc=100;target=_blank;key=" + gs_channels + "+2_21707+1_3642727+Media+Choice;" + segKeyValue + "kvsection=News;" + strKvaction + "grp=" + window.adgroupid + ";alias=" + adAlias + ";KVabbr=" + window.adtechCCvals + ";misc=" + Math.round(Math.random() * 9999); adTag = "<scr"+"ipt language=\"javascript1.1\" src=\"http://" + adTechSubDomain + ".adtech.de/addyn/3.0/1482.1/" + advertPlacementId + "/0/-1/ADTECH;cookie=info;loc=100;target=_blank;key=" + gs_channels + "+2_21707+1_3642727+Media+Choice;" + segKeyValue + "kvsection=News;" + strKvaction + "grp=" + window.adgroupid + ";alias=" + adAlias + ";KVabbr=" + window.adtechCCvals + ";misc=" + Math.round(Math.random() * 9999) + "\"></scri"+"pt>"; /* Check target Ad Slot Position Div exists. If so, deliver Ad Tag to slot */ if($(adDeliveryTargetID).length){ /* Sticky */ postscribe($(adDeliveryTargetID), adTag); if($(adDeliveryTargetID).parent.length && typeof ScrollMagic !== 'undefined'){ $(adDeliveryTargetID).parent().wrap( "<div class='sticky-leaderboard'>" ); var advertOffset = $('.sticky-leaderboard').offset().top; var headerHeight = $('.header-content').height(); var advertHeight = $('.sticky-leaderboard').outerHeight(); var displacement = headerHeight - advertOffset - advertHeight; var controller = new ScrollMagic.Controller(); var scene1 = new ScrollMagic.Scene({ triggerHook: -1, reverse: true, duration: displacement, triggerElement: '.sticky-leaderboard' }) .setPin(".sticky-leaderboard", {pushFollowers: false}) .addTo(controller); } else { console.info('Advert Element \'EDP | News Sticky Leaderboard Desktop\', CMS ID 7.679426 has been set to Sticky. This requires the ScrollMagic library, but it cannot be found. Check that it is present in the site Javascript libraries. Falling back to using PostScribe.'); postscribe($(adDeliveryTargetID), adTag); } removeLoader(); } else { console.info('Advert Element \'EDP | News Sticky Leaderboard Desktop\', CMS ID 7.679426 is looking for a Div element on the page with class ad-slot-lb, but no such Div can be found on the page. Check that the Ad Slot Position elements have been set up correctly, and that the Target Div IDs match.'); } })(); /* End advert page delivery script for the following Ad Aliases: edpnewslb1_display $tabletAlias $mobileAlias */ /* Start advert page delivery script for Advert Element "EDP | News MPU 1 PostScribe", CMS ID 7.679432 */ (function(){ var adTechSubDomain = ""; var adDeliveryTargetID = ""; var adDeliveryTargetClass = ""; var adAlias = ""; var adUrl = ""; var adTag = ""; /* Determine Display type, choose suitable AdTech subdomain, alias and target classes/ID for container */ if((displayType == "l")) { adDeliveryTargetID = ".desktop.ad-slot-mpu-1"; adTechSubDomain = "adserver"; adAlias = "edpnewsmpu1_display"; } if(displayType == "m") { adDeliveryTargetID = ".tablet.ad-slot-mpu-1"; adTechSubDomain = "a"; adAlias = "edpnewsmpu1_tablet"; } if(displayType == "s") { adDeliveryTargetID = ".mobile.ad-slot-mpu-1"; adTechSubDomain = "a"; adAlias = "edpnewsmpu1_mobile"; } /* * Create Ad Tag * * 'adUrl' and 'adTag' are separate variables because different delivery methods require different 'versions' of the tag. * This must be done client-side as server cannot access screen width etc. in order to select the correct aliases and placement IDs. */ adUrl = "http://" + adTechSubDomain + ".adtech.de/addyn/3.0/1482.1/" + advertPlacementId + "/0/-1/ADTECH;cookie=info;loc=100;target=_blank;key=" + gs_channels + "+2_21707+1_3642727+Media+Choice;" + segKeyValue + "kvsection=News;" + strKvaction + "grp=" + window.adgroupid + ";alias=" + adAlias + ";KVabbr=" + window.adtechCCvals + ";misc=" + Math.round(Math.random() * 9999); adTag = "<scr"+"ipt language=\"javascript1.1\" src=\"http://" + adTechSubDomain + ".adtech.de/addyn/3.0/1482.1/" + advertPlacementId + "/0/-1/ADTECH;cookie=info;loc=100;target=_blank;key=" + gs_channels + "+2_21707+1_3642727+Media+Choice;" + segKeyValue + "kvsection=News;" + strKvaction + "grp=" + window.adgroupid + ";alias=" + adAlias + ";KVabbr=" + window.adtechCCvals + ";misc=" + Math.round(Math.random() * 9999) + "\"></scri"+"pt>"; /* Check target Ad Slot Position Div exists. If so, deliver Ad Tag to slot */ if($(adDeliveryTargetID).length){ /* Postscribe */ postscribe($(adDeliveryTargetID), adTag); removeLoader(); } else { console.info('Advert Element \'EDP | News MPU 1 PostScribe\', CMS ID 7.679432 is looking for a Div element on the page with class ad-slot-mpu-1, but no such Div can be found on the page. Check that the Ad Slot Position elements have been set up correctly, and that the Target Div IDs match.'); } })(); /* End advert page delivery script for the following Ad Aliases: edpnewsmpu1_display edpnewsmpu1_tablet edpnewsmpu1_mobile */ /* Start advert page delivery script for Advert Element "EDP | News MPU 2", CMS ID 7.679433 */ (function(){ var adTechSubDomain = ""; var adDeliveryTargetID = ""; var adDeliveryTargetClass = ""; var adAlias = ""; var adUrl = ""; var adTag = ""; /* Determine Display type, choose suitable AdTech subdomain, alias and target classes/ID for container */ if((displayType == "l")) { adDeliveryTargetID = ".desktop.ad-slot-mpu-2"; adTechSubDomain = "adserver"; adAlias = "edpnewsmpu2_display"; } if(displayType == "m") { adDeliveryTargetID = ".tablet.ad-slot-mpu-2"; adTechSubDomain = "a"; adAlias = "edpnewsmpu2_tablet"; } if(displayType == "s") { adDeliveryTargetID = ".mobile.ad-slot-mpu-2"; adTechSubDomain = "a"; adAlias = "edpnewsmpu2_mobile"; } /* * Create Ad Tag * * 'adUrl' and 'adTag' are separate variables because different delivery methods require different 'versions' of the tag. * This must be done client-side as server cannot access screen width etc. in order to select the correct aliases and placement IDs. */ adUrl = "http://" + adTechSubDomain + ".adtech.de/addyn/3.0/1482.1/" + advertPlacementId + "/0/-1/ADTECH;cookie=info;loc=100;target=_blank;key=" + gs_channels + "+2_21707+1_3642727+Media+Choice;" + segKeyValue + "kvsection=News;" + strKvaction + "grp=" + window.adgroupid + ";alias=" + adAlias + ";KVabbr=" + window.adtechCCvals + ";misc=" + Math.round(Math.random() * 9999); adTag = "<scr"+"ipt language=\"javascript1.1\" src=\"http://" + adTechSubDomain + ".adtech.de/addyn/3.0/1482.1/" + advertPlacementId + "/0/-1/ADTECH;cookie=info;loc=100;target=_blank;key=" + gs_channels + "+2_21707+1_3642727+Media+Choice;" + segKeyValue + "kvsection=News;" + strKvaction + "grp=" + window.adgroupid + ";alias=" + adAlias + ";KVabbr=" + window.adtechCCvals + ";misc=" + Math.round(Math.random() * 9999) + "\"></scri"+"pt>"; /* Check target Ad Slot Position Div exists. If so, deliver Ad Tag to slot */ if($(adDeliveryTargetID).length){ /* Lazy Loading - the 'Lazy Widget' div contains an Ad-specific function call to Postscribe the ad when it becomes 'visible' */ if($.lazyLoadXT !== undefined){ $(adDeliveryTargetID).append('<div data-lazy-widget><!--<script>ShowAd7_679433()<\/script>--></div>'); ShowAd7_679433 = function(){ postscribe($(adDeliveryTargetID), adTag); } } else { console.info('Advert Element \'EDP | News MPU 2\', CMS ID 7.679433 has been set to use Lazy Loading. This requires the LazyXT libraries, but these cannot be found. Check that they are present in the site Javascript libraries. Falling back to using PostScribe.'); postscribe($(adDeliveryTargetID), adTag); } removeLoader(); } else { console.info('Advert Element \'EDP | News MPU 2\', CMS ID 7.679433 is looking for a Div element on the page with class ad-slot-mpu-2, but no such Div can be found on the page. Check that the Ad Slot Position elements have been set up correctly, and that the Target Div IDs match.'); } })(); /* End advert page delivery script for the following Ad Aliases: edpnewsmpu2_display edpnewsmpu2_tablet edpnewsmpu2_mobile */ /* Start advert page delivery script for Advert Element "EDP | News MPU 3", CMS ID 7.679434 */ (function(){ var adTechSubDomain = ""; var adDeliveryTargetID = ""; var adDeliveryTargetClass = ""; var adAlias = ""; var adUrl = ""; var adTag = ""; /* Determine Display type, choose suitable AdTech subdomain, alias and target classes/ID for container */ if((displayType == "l")) { adDeliveryTargetID = ".desktop.ad-slot-mpu-3"; adTechSubDomain = "adserver"; adAlias = "edpnewsmpu3_display"; } if(displayType == "m") { adDeliveryTargetID = ".tablet.ad-slot-mpu-3"; adTechSubDomain = "a"; adAlias = "edpnewsmpu3_tablet"; } if(displayType == "s") { adDeliveryTargetID = ".mobile.ad-slot-mpu-3"; adTechSubDomain = "a"; adAlias = "edpnewsmpu3_mobile"; } /* * Create Ad Tag * * 'adUrl' and 'adTag' are separate variables because different delivery methods require different 'versions' of the tag. * This must be done client-side as server cannot access screen width etc. in order to select the correct aliases and placement IDs. */ adUrl = "http://" + adTechSubDomain + ".adtech.de/addyn/3.0/1482.1/" + advertPlacementId + "/0/-1/ADTECH;cookie=info;loc=100;target=_blank;key=" + gs_channels + "+2_21707+1_3642727+Media+Choice;" + segKeyValue + "kvsection=News;" + strKvaction + "grp=" + window.adgroupid + ";alias=" + adAlias + ";KVabbr=" + window.adtechCCvals + ";misc=" + Math.round(Math.random() * 9999); adTag = "<scr"+"ipt language=\"javascript1.1\" src=\"http://" + adTechSubDomain + ".adtech.de/addyn/3.0/1482.1/" + advertPlacementId + "/0/-1/ADTECH;cookie=info;loc=100;target=_blank;key=" + gs_channels + "+2_21707+1_3642727+Media+Choice;" + segKeyValue + "kvsection=News;" + strKvaction + "grp=" + window.adgroupid + ";alias=" + adAlias + ";KVabbr=" + window.adtechCCvals + ";misc=" + Math.round(Math.random() * 9999) + "\"></scri"+"pt>"; /* Check target Ad Slot Position Div exists. If so, deliver Ad Tag to slot */ if($(adDeliveryTargetID).length){ /* Lazy Loading - the 'Lazy Widget' div contains an Ad-specific function call to Postscribe the ad when it becomes 'visible' */ if($.lazyLoadXT !== undefined){ $(adDeliveryTargetID).append('<div data-lazy-widget><!--<script>ShowAd7_679434()<\/script>--></div>'); ShowAd7_679434 = function(){ postscribe($(adDeliveryTargetID), adTag); } } else { console.info('Advert Element \'EDP | News MPU 3\', CMS ID 7.679434 has been set to use Lazy Loading. This requires the LazyXT libraries, but these cannot be found. Check that they are present in the site Javascript libraries. Falling back to using PostScribe.'); postscribe($(adDeliveryTargetID), adTag); } removeLoader(); } else { console.info('Advert Element \'EDP | News MPU 3\', CMS ID 7.679434 is looking for a Div element on the page with class ad-slot-mpu-3, but no such Div can be found on the page. Check that the Ad Slot Position elements have been set up correctly, and that the Target Div IDs match.'); } })(); /* End advert page delivery script for the following Ad Aliases: edpnewsmpu3_display edpnewsmpu3_tablet edpnewsmpu3_mobile */ /* Start advert page delivery script for Advert Element "EDP | News MPU 4", CMS ID 7.679436 */ (function(){ var adTechSubDomain = ""; var adDeliveryTargetID = ""; var adDeliveryTargetClass = ""; var adAlias = ""; var adUrl = ""; var adTag = ""; /* Determine Display type, choose suitable AdTech subdomain, alias and target classes/ID for container */ if((displayType == "l")) { adDeliveryTargetID = ".desktop.ad-slot-mpu-4"; adTechSubDomain = "adserver"; adAlias = "edpnewsmpu4_display"; } if(displayType == "m") { adDeliveryTargetID = ".tablet.ad-slot-mpu-4"; adTechSubDomain = "a"; adAlias = "edpnewsmpu4_tablet"; } if(displayType == "s") { adDeliveryTargetID = ".mobile.ad-slot-mpu-4"; adTechSubDomain = "a"; adAlias = "edpnewsmpu4_mobile"; } /* * Create Ad Tag * * 'adUrl' and 'adTag' are separate variables because different delivery methods require different 'versions' of the tag. * This must be done client-side as server cannot access screen width etc. in order to select the correct aliases and placement IDs. */ adUrl = "http://" + adTechSubDomain + ".adtech.de/addyn/3.0/1482.1/" + advertPlacementId + "/0/-1/ADTECH;cookie=info;loc=100;target=_blank;key=" + gs_channels + "+2_21707+1_3642727+Media+Choice;" + segKeyValue + "kvsection=News;" + strKvaction + "grp=" + window.adgroupid + ";alias=" + adAlias + ";KVabbr=" + window.adtechCCvals + ";misc=" + Math.round(Math.random() * 9999); adTag = "<scr"+"ipt language=\"javascript1.1\" src=\"http://" + adTechSubDomain + ".adtech.de/addyn/3.0/1482.1/" + advertPlacementId + "/0/-1/ADTECH;cookie=info;loc=100;target=_blank;key=" + gs_channels + "+2_21707+1_3642727+Media+Choice;" + segKeyValue + "kvsection=News;" + strKvaction + "grp=" + window.adgroupid + ";alias=" + adAlias + ";KVabbr=" + window.adtechCCvals + ";misc=" + Math.round(Math.random() * 9999) + "\"></scri"+"pt>"; /* Check target Ad Slot Position Div exists. If so, deliver Ad Tag to slot */ if($(adDeliveryTargetID).length){ /* Lazy Loading - the 'Lazy Widget' div contains an Ad-specific function call to Postscribe the ad when it becomes 'visible' */ if($.lazyLoadXT !== undefined){ $(adDeliveryTargetID).append('<div data-lazy-widget><!--<script>ShowAd7_679436()<\/script>--></div>'); ShowAd7_679436 = function(){ postscribe($(adDeliveryTargetID), adTag); } } else { console.info('Advert Element \'EDP | News MPU 4\', CMS ID 7.679436 has been set to use Lazy Loading. This requires the LazyXT libraries, but these cannot be found. Check that they are present in the site Javascript libraries. Falling back to using PostScribe.'); postscribe($(adDeliveryTargetID), adTag); } removeLoader(); } else { console.info('Advert Element \'EDP | News MPU 4\', CMS ID 7.679436 is looking for a Div element on the page with class ad-slot-mpu-4, but no such Div can be found on the page. Check that the Ad Slot Position elements have been set up correctly, and that the Target Div IDs match.'); } })(); /* End advert page delivery script for the following Ad Aliases: edpnewsmpu4_display edpnewsmpu4_tablet edpnewsmpu4_mobile */ /* Start advert page delivery script for Advert Element "EDP | News MPU 5", CMS ID 7.679437 */ (function(){ var adTechSubDomain = ""; var adDeliveryTargetID = ""; var adDeliveryTargetClass = ""; var adAlias = ""; var adUrl = ""; var adTag = ""; /* Determine Display type, choose suitable AdTech subdomain, alias and target classes/ID for container */ if((displayType == "l")) { adDeliveryTargetID = ".desktop.ad-slot-mpu-5"; adTechSubDomain = "adserver"; adAlias = "edpnewsmpu5_display"; } if(displayType == "m") { adDeliveryTargetID = ".tablet.ad-slot-mpu-5"; adTechSubDomain = "a"; adAlias = "edpnewsmpu5_tablet"; } if(displayType == "s") { adDeliveryTargetID = ".mobile.ad-slot-mpu-5"; adTechSubDomain = "a"; adAlias = "edpnewsmpu5_mobile"; } /* * Create Ad Tag * * 'adUrl' and 'adTag' are separate variables because different delivery methods require different 'versions' of the tag. * This must be done client-side as server cannot access screen width etc. in order to select the correct aliases and placement IDs. */ adUrl = "http://" + adTechSubDomain + ".adtech.de/addyn/3.0/1482.1/" + advertPlacementId + "/0/-1/ADTECH;cookie=info;loc=100;target=_blank;key=" + gs_channels + "+2_21707+1_3642727+Media+Choice;" + segKeyValue + "kvsection=News;" + strKvaction + "grp=" + window.adgroupid + ";alias=" + adAlias + ";KVabbr=" + window.adtechCCvals + ";misc=" + Math.round(Math.random() * 9999); adTag = "<scr"+"ipt language=\"javascript1.1\" src=\"http://" + adTechSubDomain + ".adtech.de/addyn/3.0/1482.1/" + advertPlacementId + "/0/-1/ADTECH;cookie=info;loc=100;target=_blank;key=" + gs_channels + "+2_21707+1_3642727+Media+Choice;" + segKeyValue + "kvsection=News;" + strKvaction + "grp=" + window.adgroupid + ";alias=" + adAlias + ";KVabbr=" + window.adtechCCvals + ";misc=" + Math.round(Math.random() * 9999) + "\"></scri"+"pt>"; /* Check target Ad Slot Position Div exists. If so, deliver Ad Tag to slot */ if($(adDeliveryTargetID).length){ /* Lazy Loading - the 'Lazy Widget' div contains an Ad-specific function call to Postscribe the ad when it becomes 'visible' */ if($.lazyLoadXT !== undefined){ $(adDeliveryTargetID).append('<div data-lazy-widget><!--<script>ShowAd7_679437()<\/script>--></div>'); ShowAd7_679437 = function(){ postscribe($(adDeliveryTargetID), adTag); } } else { console.info('Advert Element \'EDP | News MPU 5\', CMS ID 7.679437 has been set to use Lazy Loading. This requires the LazyXT libraries, but these cannot be found. Check that they are present in the site Javascript libraries. Falling back to using PostScribe.'); postscribe($(adDeliveryTargetID), adTag); } removeLoader(); } else { console.info('Advert Element \'EDP | News MPU 5\', CMS ID 7.679437 is looking for a Div element on the page with class ad-slot-mpu-5, but no such Div can be found on the page. Check that the Ad Slot Position elements have been set up correctly, and that the Target Div IDs match.'); } })(); /* End advert page delivery script for the following Ad Aliases: edpnewsmpu5_display edpnewsmpu5_tablet edpnewsmpu5_mobile */ /* Start advert page delivery script for Advert Element "EDP | News Floating Desktop Footer Ad", CMS ID 7.679424 */ (function(){ var adTechSubDomain = ""; var adDeliveryTargetID = ""; var adDeliveryTargetClass = ""; var adAlias = ""; var adUrl = ""; var adTag = ""; /* Determine Display type, choose suitable AdTech subdomain, alias and target classes/ID for container */ if((displayType == "l")) { adDeliveryTargetID = ".desktop.ad-slot-float"; adTechSubDomain = "adserver"; adAlias = "edpnewsfloat_display"; } /* * Create Ad Tag * * 'adUrl' and 'adTag' are separate variables because different delivery methods require different 'versions' of the tag. * This must be done client-side as server cannot access screen width etc. in order to select the correct aliases and placement IDs. */ adUrl = "http://" + adTechSubDomain + ".adtech.de/addyn/3.0/1482.1/" + advertPlacementId + "/0/-1/ADTECH;cookie=info;loc=100;target=_blank;key=" + gs_channels + "+2_21707+1_3642727+Media+Choice;" + segKeyValue + "kvsection=News;" + strKvaction + "grp=" + window.adgroupid + ";alias=" + adAlias + ";KVabbr=" + window.adtechCCvals + ";misc=" + Math.round(Math.random() * 9999); adTag = "<scr"+"ipt language=\"javascript1.1\" src=\"http://" + adTechSubDomain + ".adtech.de/addyn/3.0/1482.1/" + advertPlacementId + "/0/-1/ADTECH;cookie=info;loc=100;target=_blank;key=" + gs_channels + "+2_21707+1_3642727+Media+Choice;" + segKeyValue + "kvsection=News;" + strKvaction + "grp=" + window.adgroupid + ";alias=" + adAlias + ";KVabbr=" + window.adtechCCvals + ";misc=" + Math.round(Math.random() * 9999) + "\"></scri"+"pt>"; /* Check target Ad Slot Position Div exists. If so, deliver Ad Tag to slot */ if($(adDeliveryTargetID).length){ /* Postscribe */ postscribe($(adDeliveryTargetID), adTag); removeLoader(); } else { console.info('Advert Element \'EDP | News Floating Desktop Footer Ad\', CMS ID 7.679424 is looking for a Div element on the page with class ad-slot-float, but no such Div can be found on the page. Check that the Ad Slot Position elements have been set up correctly, and that the Target Div IDs match.'); } })(); /* End advert page delivery script for the following Ad Aliases: edpnewsfloat_display $tabletAlias $mobileAlias */ /* Start advert page delivery script for Advert Element "EDP | News Floating Mobile Footer Ad", CMS ID 7.679427 */ (function(){ var adTechSubDomain = ""; var adDeliveryTargetID = ""; var adDeliveryTargetClass = ""; var adAlias = ""; var adUrl = ""; var adTag = ""; /* Determine Display type, choose suitable AdTech subdomain, alias and target classes/ID for container */ if(displayType == "s") { adDeliveryTargetID = ".mobile.ad-slot-float-mobile"; adTechSubDomain = "a"; adAlias = "edpnewslb1_mobile"; } /* * Create Ad Tag * * 'adUrl' and 'adTag' are separate variables because different delivery methods require different 'versions' of the tag. * This must be done client-side as server cannot access screen width etc. in order to select the correct aliases and placement IDs. */ adUrl = "http://" + adTechSubDomain + ".adtech.de/addyn/3.0/1482.1/" + advertPlacementId + "/0/-1/ADTECH;cookie=info;loc=100;target=_blank;key=" + gs_channels + "+2_21707+1_3642727+Media+Choice;" + segKeyValue + "kvsection=News;" + strKvaction + "grp=" + window.adgroupid + ";alias=" + adAlias + ";KVabbr=" + window.adtechCCvals + ";misc=" + Math.round(Math.random() * 9999); adTag = "<scr"+"ipt language=\"javascript1.1\" src=\"http://" + adTechSubDomain + ".adtech.de/addyn/3.0/1482.1/" + advertPlacementId + "/0/-1/ADTECH;cookie=info;loc=100;target=_blank;key=" + gs_channels + "+2_21707+1_3642727+Media+Choice;" + segKeyValue + "kvsection=News;" + strKvaction + "grp=" + window.adgroupid + ";alias=" + adAlias + ";KVabbr=" + window.adtechCCvals + ";misc=" + Math.round(Math.random() * 9999) + "\"></scri"+"pt>"; /* Check target Ad Slot Position Div exists. If so, deliver Ad Tag to slot */ if($(adDeliveryTargetID).length){ /* Postscribe */ postscribe($(adDeliveryTargetID), adTag); removeLoader(); } else { console.info('Advert Element \'EDP | News Floating Mobile Footer Ad\', CMS ID 7.679427 is looking for a Div element on the page with class ad-slot-float-mobile, but no such Div can be found on the page. Check that the Ad Slot Position elements have been set up correctly, and that the Target Div IDs match.'); } })(); /* End advert page delivery script for the following Ad Aliases: $desktopAlias $tabletAlias edpnewslb1_mobile */ /* Start advert page delivery script for Advert Element "EDP | News Teads", CMS ID 7.679423 */ (function(){ var adTechSubDomain = ""; var adDeliveryTargetID = ""; var adDeliveryTargetClass = ""; var adAlias = ""; var adUrl = ""; var adTag = ""; /* Determine Display type, choose suitable AdTech subdomain, alias and target classes/ID for container */ if((displayType == "l")) { adDeliveryTargetID = ".desktop.ad-slot-teads"; adTechSubDomain = "adserver"; adAlias = "2x1-teadsedp24news"; } if(displayType == "m") { adDeliveryTargetID = ".tablet.ad-slot-teads"; adTechSubDomain = "a"; adAlias = "2x1-teadsedp24news"; } if(displayType == "s") { adDeliveryTargetID = ".mobile.ad-slot-teads"; adTechSubDomain = "a"; adAlias = "2x1-teadsedp24news"; } /* * Create Ad Tag * * 'adUrl' and 'adTag' are separate variables because different delivery methods require different 'versions' of the tag. * This must be done client-side as server cannot access screen width etc. in order to select the correct aliases and placement IDs. */ adUrl = "http://" + adTechSubDomain + ".adtech.de/addyn/3.0/1482.1/" + advertPlacementId + "/0/-1/ADTECH;cookie=info;loc=100;target=_blank;key=" + gs_channels + "+2_21707+1_3642727+Media+Choice;" + segKeyValue + "kvsection=News;" + strKvaction + "grp=" + window.adgroupid + ";alias=" + adAlias + ";KVabbr=" + window.adtechCCvals + ";misc=" + Math.round(Math.random() * 9999); adTag = "<scr"+"ipt language=\"javascript1.1\" src=\"http://" + adTechSubDomain + ".adtech.de/addyn/3.0/1482.1/" + advertPlacementId + "/0/-1/ADTECH;cookie=info;loc=100;target=_blank;key=" + gs_channels + "+2_21707+1_3642727+Media+Choice;" + segKeyValue + "kvsection=News;" + strKvaction + "grp=" + window.adgroupid + ";alias=" + adAlias + ";KVabbr=" + window.adtechCCvals + ";misc=" + Math.round(Math.random() * 9999) + "\"></scri"+"pt>"; /* Check target Ad Slot Position Div exists. If so, deliver Ad Tag to slot */ if($(adDeliveryTargetID).length){ /* Postscribe */ postscribe($(adDeliveryTargetID), adTag); removeLoader(); } else { console.info('Advert Element \'EDP | News Teads\', CMS ID 7.679423 is looking for a Div element on the page with class ad-slot-teads, but no such Div can be found on the page. Check that the Ad Slot Position elements have been set up correctly, and that the Target Div IDs match.'); } })(); /* End advert page delivery script for the following Ad Aliases: 2x1-teadsedp24news 2x1-teadsedp24news 2x1-teadsedp24news */ /* Start advert page delivery script for Advert Element "EDP | News Wallpaper", CMS ID 7.679439 */ (function(){ var adTechSubDomain = ""; var adDeliveryTargetID = ""; var adDeliveryTargetClass = ""; var adAlias = ""; var adUrl = ""; var adTag = ""; /* Determine Display type, choose suitable AdTech subdomain, alias and target classes/ID for container */ if((displayType == "l")) { adDeliveryTargetID = ".desktop.ad-slot-wp"; adTechSubDomain = "adserver"; adAlias = "edpnewswpaper_display"; } /* * Create Ad Tag * * 'adUrl' and 'adTag' are separate variables because different delivery methods require different 'versions' of the tag. * This must be done client-side as server cannot access screen width etc. in order to select the correct aliases and placement IDs. */ adUrl = "http://" + adTechSubDomain + ".adtech.de/addyn/3.0/1482.1/" + advertPlacementId + "/0/-1/ADTECH;cookie=info;loc=100;target=_blank;key=" + gs_channels + "+2_21707+1_3642727+Media+Choice;" + segKeyValue + "kvsection=News;" + strKvaction + "grp=" + window.adgroupid + ";alias=" + adAlias + ";KVabbr=" + window.adtechCCvals + ";misc=" + Math.round(Math.random() * 9999); adTag = "<scr"+"ipt language=\"javascript1.1\" src=\"http://" + adTechSubDomain + ".adtech.de/addyn/3.0/1482.1/" + advertPlacementId + "/0/-1/ADTECH;cookie=info;loc=100;target=_blank;key=" + gs_channels + "+2_21707+1_3642727+Media+Choice;" + segKeyValue + "kvsection=News;" + strKvaction + "grp=" + window.adgroupid + ";alias=" + adAlias + ";KVabbr=" + window.adtechCCvals + ";misc=" + Math.round(Math.random() * 9999) + "\"></scri"+"pt>"; /* Check target Ad Slot Position Div exists. If so, deliver Ad Tag to slot */ if($(adDeliveryTargetID).length){ /* Postscribe */ postscribe($(adDeliveryTargetID), adTag); removeLoader(); } else { console.info('Advert Element \'EDP | News Wallpaper\', CMS ID 7.679439 is looking for a Div element on the page with class ad-slot-wp, but no such Div can be found on the page. Check that the Ad Slot Position elements have been set up correctly, and that the Target Div IDs match.'); } })(); /* End advert page delivery script for the following Ad Aliases: edpnewswpaper_display $tabletAlias $mobileAlias */ /* End individual Advert Delivery Scripts */ /* LazyXT: initialise for Lazy Loading adverts. The value is set on a per-page basis in the Adverts tab in the CMS. If it's not set, then it will default to 500px */ console.info("LazyXT: initialising. Offset = " + 600); $.lazyLoadXT.edgeY = 600; }); </script> <noscript> <a href="http://adserver.adtech.de/adlink/3.0/1482.1/5203284/0/-1/ADTECH;loc=300;key=2_21707+1_3642727+Media+Choice;kvsection=News" target="_blank"> <img src="http://adserver.adtech.de/adserv/3.0/1482.1/5203284/0/-1/ADTECH;cookie=info;loc=300;key=2_21707+1_3642727+Media+Choice" border="0"> </a> <a href="http://adserver.adtech.de/adlink/3.0/1482.1/5203284/0/-1/ADTECH;loc=300;key=2_21707+1_3642727+Media+Choice;kvsection=News" target="_blank"> <img src="http://adserver.adtech.de/adserv/3.0/1482.1/5203284/0/-1/ADTECH;cookie=info;loc=300;key=2_21707+1_3642727+Media+Choice" border="0"> </a> <a href="http://adserver.adtech.de/adlink/3.0/1482.1/5203284/0/-1/ADTECH;loc=300;key=2_21707+1_3642727+Media+Choice;kvsection=News" target="_blank"> <img src="http://adserver.adtech.de/adserv/3.0/1482.1/5203284/0/-1/ADTECH;cookie=info;loc=300;key=2_21707+1_3642727+Media+Choice" border="0"> </a> <a href="http://adserver.adtech.de/adlink/3.0/1482.1/5203284/0/-1/ADTECH;loc=300;key=2_21707+1_3642727+Media+Choice;kvsection=News" target="_blank"> <img src="http://adserver.adtech.de/adserv/3.0/1482.1/5203284/0/-1/ADTECH;cookie=info;loc=300;key=2_21707+1_3642727+Media+Choice" border="0"> </a> <a href="http://adserver.adtech.de/adlink/3.0/1482.1/5203284/0/-1/ADTECH;loc=300;key=2_21707+1_3642727+Media+Choice;kvsection=News" target="_blank"> <img src="http://adserver.adtech.de/adserv/3.0/1482.1/5203284/0/-1/ADTECH;cookie=info;loc=300;key=2_21707+1_3642727+Media+Choice" border="0"> </a> <a href="http://adserver.adtech.de/adlink/3.0/1482.1/5203284/0/-1/ADTECH;loc=300;key=2_21707+1_3642727+Media+Choice;kvsection=News" target="_blank"> <img src="http://adserver.adtech.de/adserv/3.0/1482.1/5203284/0/-1/ADTECH;cookie=info;loc=300;key=2_21707+1_3642727+Media+Choice" border="0"> </a> <a href="http://adserver.adtech.de/adlink/3.0/1482.1/5203284/0/-1/ADTECH;loc=300;key=2_21707+1_3642727+Media+Choice;kvsection=News" target="_blank"> <img src="http://adserver.adtech.de/adserv/3.0/1482.1/5203284/0/-1/ADTECH;cookie=info;loc=300;key=2_21707+1_3642727+Media+Choice" border="0"> </a> <a href="http://adserver.adtech.de/adlink/3.0/1482.1/5203284/0/-1/ADTECH;loc=300;key=2_21707+1_3642727+Media+Choice;kvsection=News" target="_blank"> <img src="http://adserver.adtech.de/adserv/3.0/1482.1/5203284/0/-1/ADTECH;cookie=info;loc=300;key=2_21707+1_3642727+Media+Choice" border="0"> </a> <a href="http://adserver.adtech.de/adlink/3.0/1482.1/5203284/0/-1/ADTECH;loc=300;key=2_21707+1_3642727+Media+Choice;kvsection=News" target="_blank"> <img src="http://adserver.adtech.de/adserv/3.0/1482.1/5203284/0/-1/ADTECH;cookie=info;loc=300;key=2_21707+1_3642727+Media+Choice" border="0"> </a> <a href="http://adserver.adtech.de/adlink/3.0/1482.1/5203284/0/-1/ADTECH;loc=300;key=2_21707+1_3642727+Media+Choice;kvsection=News" target="_blank"> <img src="http://adserver.adtech.de/adserv/3.0/1482.1/5203284/0/-1/ADTECH;cookie=info;loc=300;key=2_21707+1_3642727+Media+Choice" border="0"> </a> <a href="http://adserver.adtech.de/adlink/3.0/1482.1/5203284/0/-1/ADTECH;loc=300;key=2_21707+1_3642727+Media+Choice;kvsection=News" target="_blank"> <img src="http://adserver.adtech.de/adserv/3.0/1482.1/5203284/0/-1/ADTECH;cookie=info;loc=300;key=2_21707+1_3642727+Media+Choice" border="0"> </a> </noscript> <!-- End LegacyAppFragment name="AdvertScripts" --> </body> </html>