CINXE.COM

Poster Application | World EPA Congress

<!DOCTYPE html> <html lang="en"> <head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>Poster Application | World EPA Congress</title> <link rel="canonical" href="https://www.terrapinn.com/conference/pharma-pricing/Poster-Application.stm" /> <meta name="dc.date" content="2024-11-26" /><meta name="description" content="Poster Application - Europe鈥檚 largest congress in market access, pricing and evidence featuring 300 speakers, multiple streams and over 1000 attendees from pharma, biotech" /><meta name="keywords" content="Poster Application, evidence pricing access pharma biotech " /><meta name="application-name" content="World EPA Congress 2025" /><meta name="msapplication-tooltip" content="5 - 6 March 2025 Amsterdam" /><meta name="msapplication-starturl" content="https://www.terrapinn.com/conference/pharma-pricing/index.stm?pinned=true" /> <meta name="robots" content="INDEX,FOLLOW,NOARCHIVE,NOODP,NOCACHE" /><meta http-equiv="Cache-Control" content="no-store" /><meta name="viewport" content="width=device-width, initial-scale=1" /><meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta name="Version" content="8" /><meta name="Build Template" content="16/MAR/2023" /><meta name="rating" content="General" /><meta name="copyright" content="Copyright MMXXII Terrapinn Holdings Ltd. All rights reserved." /><meta name="Distribution" content="Global" /><meta name="msapplication-window" content="width=1280;height=1024" /> <meta property="fb:app_id" content="545116762267887" /> <meta property="og:title" content="Poster Application | World EPA Congress" /><meta property="og:description" content="Europe鈥檚 largest congress in market access, pricing and evidence featuring 300 speakers, multiple streams and over 1000 attendees from pharma, biotech" /><meta property="og:url" content="https://www.terrapinn.com/conference/pharma-pricing/Poster-Application.stm" /><meta property="og:image" content="https://www.terrapinn.com/conference/pharma-pricing/img/sq_logo.gif" /><meta property="og:site_name" content="World EPA Congress 2025" /><meta id="TerrapinnMetaOffice" name="TerrapinnMetaOffice" content="UK" /><meta id="TerrapinnMetaCommunity" name="TerrapinnMetaCommunity" content="EPA" /><meta property="og:type" content="website" /> <script src="https://cdn-ukwest.onetrust.com/scripttemplates/otSDKStub.js" type="text/javascript" charset="UTF-8" data-domain-script="018e41cd-072c-7be0-a7e6-c200e3ddceb6" ></script> <script type="text/javascript"> function OptanonWrapper() { } </script> <link href="https://www.terrapinn-cdn.com/config/bootstrap/css/bootstrap.min.css" rel="stylesheet" /><link href="https://www.terrapinn-cdn.com/config/inc/font-awesome.min.css" rel="stylesheet" /><link href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/themes/smoothness/jquery-ui.css" rel="stylesheet" /> <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script><script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script> <![endif]--><!-- Latest compiled and minified CSS --> <link rel="stylesheet" type="text/css" href="https://www.terrapinn-cdn.com/config/inc/JS_Slider/flexslider.css" media="all" /><link rel="stylesheet" type="text/css" href="https://www.terrapinn-cdn.com/config/inc/EVT_Responsive3.css?v=7#1" media="all" /><link rel="stylesheet" type="text/css" href="https://www.terrapinn-cdn.com/config/inc/EVT_Responsive_Print1.css?15/12/2014#1" media="print" /><link rel="stylesheet" type="text/css" href="https://www.terrapinn-cdn.com/config/bootstrap/css/animate.css" media="all" /><link rel="shortcut icon" href="/favicon.ico" /> <!-- TEMPLATED --> <script type="text/javascript"> /* <![CDATA[ */ var intDebug = 0; var strServicePath = "/template/live/events.asmx/"; var strRegURL = "/template/Live/Presentations.aspx"; var strProblem_With_Service = "problem with webservice -please try later or contact customer services."; var strCookieName = "TerrapinnPresentation"; var strEventID = "10872"; var strEventHash = "9bc6c65a3067469dc4c117f159c895b474078027"; var strEventURL = "https://www.terrapinn.com/conference/pharma-pricing"; var strTwitterID = "@"; var thisSiteID = 0; var strEventZone = "UTC+1"; var strEventCity = "Amsterdam"; /* ]]> */ </script> <link rel="stylesheet" type="text/css" href="inc/EventStyles.css" media="all" /> <style media="all"> @font-face {font-family: 'Helvetica Now Text'; src: url('https://www.terrapinn-cdn.com/config/bootstrap/fonts/HelveticaNowText/HelveticaNowText-Regular.woff2') format('woff2'), url('https://www.terrapinn-cdn.com/config/bootstrap/fonts/HelveticaNowText/HelveticaNowText-Regular.woff') format('woff'), url('https://www.terrapinn-cdn.com/config/bootstrap/fonts/HelveticaNowText/HelveticaNowText-Regular.ttf') format('truetype'); font-weight:normal;} @font-face {font-family: 'Helvetica Now Text'; src: url('https://www.terrapinn-cdn.com/config/bootstrap/fonts/HelveticaNowText/HelveticaNowText-Bold.woff2') format('woff2'), url('https://www.terrapinn-cdn.com/config/bootstrap/fonts/HelveticaNowText/HelveticaNowText-Bold.woff') format('woff'), url('https://www.terrapinn-cdn.com/config/bootstrap/fonts/HelveticaNowText/HelveticaNowText-Bold.ttf') format('truetype'); font-weight:700;} @font-face {font-family: 'Helvetica Now Text'; src: url('https://www.terrapinn-cdn.com/config/bootstrap/fonts/HelveticaNowText/HelveticaNowText-Black.woff2') format('woff2'), url('https://www.terrapinn-cdn.com/config/bootstrap/fonts/HelveticaNowText/HelveticaNowText-Black.woff') format('woff'), url('https://www.terrapinn-cdn.com/config/bootstrap/fonts/HelveticaNowText/HelveticaNowText-Black.ttf') format('truetype'); font-weight:900;} @media (min-width:768px) {ul#MainMenu li.highlight a {background-color: #005aaa; color: #fff; text-transform:uppercase; border-radius:5px; padding-top:5px;}} h1,h2,h3,h4,body,table,div,span,p,td,a {font-family: 'Helvetica Now Text';} section .bg-white { border:0px; max-width:none; box-shadow:none;} .btn-blue-main {background: #005aaa; color: #fff !important; font-weight:700; text-align:center;text-transform:uppercase; border-radius:20px; display: flex; align-items: center;justify-content: center;padding: 16px; width:100%;} </style> <link href='https://www.terrapinn-cdn.com/config/bootstrap/css/hover.css' rel='stylesheet' type='text/css'> <link rel="stylesheet" type="text/css" href="https://www.terrapinn-cdn.com/config/inc/slider-revolution/revolution/css/settings.css"> <script type="text/javascript"> function setREVStartSize(e){ try{ e.c=jQuery(e.c);var i=jQuery(window).width(),t=9999,r=0,n=0,l=0,f=0,s=0,h=0; if(e.responsiveLevels&&(jQuery.each(e.responsiveLevels,function(e,f){f>i&&(t=r=f,l=e),i>f&&f>r&&(r=f,n=e)}) ,t>r&&(l=n)),f=e.gridheight[l]||e.gridheight[0]||e.gridheight,s=e.gridwidth[l]||e.gridwidth[0]||e.gridwidth,h=i/s,h=h>1?1:h,f=Math.round(h*f), "fullscreen"==e.sliderLayout) {var u=(e.c.width(),jQuery(window).height());if(void 0!=e.fullScreenOffsetContainer) {var c=e.fullScreenOffsetContainer.split(",");if (c) jQuery.each(c,function(e,i) {u=jQuery(i).length>0?u-jQuery(i).outerHeight(!0):u}) ,e.fullScreenOffset.split("%").length>1&&void 0!=e.fullScreenOffset&&e.fullScreenOffset.length>0?u-=jQuery(window).height()*parseInt(e.fullScreenOffset,0)/100:void 0!=e.fullScreenOffset&&e.fullScreenOffset.length>0&&(u-=parseInt(e.fullScreenOffset,0))}f=u} else void 0!=e.minHeight&&f<e.minHeight&&(f=e.minHeight);e.c.closest(".rev_slider_wrapper").css({height:f})} catch(d){console.log("Failure at Presize of Slider:"+d)} } </script> <meta name="Terrapinn-SSL" content="1" /> <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script><script type="text/javascript">window.jQuery || document.write('<script src="https://www.terrapinn-cdn.com/config/inc/jquery.min.js"><\/script>')</script> <script type="text/javascript" src="https://www.terrapinn-cdn.com/config/bootstrap/js/modernizr.js" async></script> <script type="text/javascript"> var dataLayer = dataLayer || []; dataLayer.push({'EventID':'10872'}); dataLayer.push({'OfficePropertyID':'UA-824892-1'}); dataLayer.push({ 'offices':'UK', 'community':'EPA', 'event':'World EPA Congress', 'event_id':'10872', 'event_name':'World EPA Congress 2025', 'event_chain':'10872|10762|10652|10535|10436|10139|9943|9299|8716|7950', 'event_location':'The Netherlands'}); var flgGoogle = 1; var strOID = ''; var strCID = ''; if (document.getElementById('TerrapinnMetaOffice')) { strOID = document.getElementById('TerrapinnMetaOffice').content } if (document.getElementById('TerrapinnMetaCommunity')) { strCID = document.getElementById('TerrapinnMetaCommunity').content } var strPage = ''; if (document.getElementById('TerrapinnMetaPage') && strEventID) { strPage = document.getElementById('TerrapinnMetaPage').content + strEventID } </script> <link rel="stylesheet" type="text/css" href="https://www.terrapinn-cdn.com/config/inc/EVT_Responsive_Core.css?v=1" media="all" /> <!-- Google Tag Manager --> <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-57TD9T');</script> <!-- End Google Tag Manager --> <!-- top tracking --> </head> <body class="GenericPage" id="top"><!-- Google Tag Manager (noscript) --><noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-57TD9T" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript><!-- End Google Tag Manager (noscript) --> <nav class="navbar navbar-default" id="MainNav" role="navigation"> <div id="TopMenu"> <table cellpadding="0" cellspacing="0" style="background:#fff;"> <tr> <td rowspan="2" valign="top" style="width:170px;"> <div> <a id="NonMobileSection" class="navbar-brand" href="index.stm" title="Europe鈥檚 Leading Healthcare Pricing, Access and Evidence Congress"> <img src="https://www.terrapinn-cdn.com/logos/E10872.gif?518" alt="World EPA Congress 2025" style="display:block; padding:5px 0px; "/> </a> <div data-toggle="collapse" data-target="#MainMenu" class="navbar-toggle"> <div class="left"> <button type="button"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> </div> </div> </div> </td> <td valign="top"><div class="vevent"><div class="right StructuredEvent" id="VenueAndDates" style="cursor:pointer;" onclick="javascript:window.location='https://www.terrapinn.com/template/live/add2diary.aspx?e=10872';" title="add to my diary"> <span class="Summary">World EPA Congress 2025<br /></span> <span class="Date dtstart" data-start-utc="2025-03-05T09:00+01:00" data-end-utc="2025-03-06T17:00+01:00"><span class="value-title" title="2025-03-05">5 - 6 March</span></span><span Class="Location"><span Class="Venue"><br />RAI Congress Centre,</span> Amsterdam</span></div></div></td> </tr><tr><td style="vertical-align:bottom;"><div class="navbar-collapse collapse" id="MainMenu"> <div id="menu"> <ul Class="nav navbar-nav" id="MainMenu"> <li class=" dropdown"> <a title="World EPA Congress 2025" href="index.stm">Home</a> </li> <li class=" dropdown"> <a title="Our story" href="our-story.stm">Our story</a> <ul Class="dropdown-menu"> <li class=" dropdown"> <a title="our partners" href="partners.stm">Supporting Partners</a> </li> <li class=" dropdown"> <a title="Gallery" href="photos.stm">Gallery</a> </li> <li class=" dropdown"> <a title="2024 Post-Event Report" href="https://www.terrapinn.com/template/live/go/10872/22722">2024 Post-Event Report</a> </li> <li class=" dropdown"> <a title="CPD Accreditation" href="CPD-Accreditation.stm">CPD Accreditation</a> </li> </ul> </li> <li class=" dropdown"> <a title="Conference" href="Conference.stm">Conference</a> <ul Class="dropdown-menu"> <li class=" dropdown"> <a title="Agenda" href="agenda.stm">Agenda</a> </li> <li class=" dropdown"> <a title="2025 Speakers" href="2025-Speakers.stm">2025 Speakers</a> </li> <li class=" dropdown"> <a title="Apply to speak" href="https://secure.terrapinn.com/v5/edetails.aspx?e=10872">Apply to speak</a> </li> <li class=" dropdown"> <a title="Poster Application" href="Poster-Application.stm">Poster Application</a> </li> </ul> </li> <li class=" dropdown"> <a title="Exhibition" href="Exhibition.stm">Exhibition</a> <ul Class="dropdown-menu"> <li class=" dropdown"> <a title="2025 sponsors &amp; exhibitors" href="2025-sponsors-exhibitors.stm">2025 sponsors &amp; exhibitors</a> </li> <li class=" dropdown"> <a title="Download Prospectus" href="https://www.terrapinn.com/template/live/go/10872/22644">Download Prospectus</a> </li> <li class=" dropdown"> <a title="Sponsor/Exhibit Now" href="https://secure.terrapinn.com/v5/edetails.aspx?e=10872">Sponsor/Exhibit Now</a> </li> <li class=" dropdown"> <a title="Networking" href="networking.stm">Networking</a> </li> </ul> </li> <li class=" dropdown highlight"> <a title="register now for World EPA Congress 2025" href="https://secure.terrapinn.com/V5/step1.aspx?E=10872&p=1" rel="nofollow">Register- offer ends 10 January</a> <ul Class="dropdown-menu"> <li class=" dropdown"> <a title="contact the World EPA Congress 2025 team" href="contact-us.stm">Contact Us</a> </li> <li class=" dropdown"> <a title="Enquiry" href="https://secure.terrapinn.com/v5/edetails.aspx?e=10872">Enquiry</a> </li> <li class=" dropdown"> <a title="Accommodation " href="Accommodation-.stm">Accommodation </a> </li> </ul> </li> </ul> </div> </div></td></tr></table></div></nav> <div class="container-fluid container-content"> <section class="generic"> <div class="bg-white"> <script type="text/javascript" src="https://form.jotform.com/jsform/241211607336346"> </script> </div> </section> <div id="SectionBottom"><div style="background-color:#000; "> <div class="row"> <div class="col-sm-12"> <h2 style="text-align: center; color: #fff; font-size: 38px; text-transform:uppercase;"> <strong> Get Involved&nbsp; </strong> <br /> &nbsp; </h2> <div class="row"> <div class="col-sm-4"> <h4 style="line-height: 1.5; color: #fff; text-align: center;"> <strong> Sponsorship &amp; Exhibition Sales </strong> </h4> <h4 style="line-height: 1.5; color: #fff; text-align: center;"> <br /> David Boore&nbsp; <br /> <a href="mailto:david.boore@terrapinn.com"> <span style="color:#FFFFFF;"> david.boore@terrapinn.com </span> </a> <br /> +44 20 8164 3052 </h4> </div> <div class="col-sm-4"> <h4 style="line-height: 1.5; color: #fff; text-align: center;"> <strong> Conference Production </strong> </h4> <h4 style=" line-height: 1.5; color: rgb(255, 255, 255); text-align: center;"> <br /> George Mullens <br /> <a href="mailto:george.mullens@terrapinn.com"> <span style="color:#FFFFFF;"> george.mullens@terrapinn.com </span> </a> <br /> +44 20 8164 3940 </h4> </div> <div class="col-sm-4"> <h4 style="line-height: 1.5; color: #fff; text-align: center;"> <strong> Marketing Opportunities </strong> </h4> <h4 style="line-height: 1.5; color: #fff; text-align: center;"> <br /> Karen Duncan <br /> <a href="mailto:karen.duncan@terrapinn.com"> <span style="color:#FFFFFF;"> karen.duncan@terrapinn.com </span> </a> </h4> </div> </div> <div class="row flexcontainer"> <div class="flexitem social3"> <a href="https://twitter.com/totalbiopharma" target="_blank"> <img class="img-responsive img-center" src="https://www.terrapinn-cdn.com/config/img/icons/x.png" /> </a> </div> <div class="flexitem social3"> <a href="https://www.linkedin.com/company/world-epa-congress/" target="_blank"> <img class="img-responsive img-center" src="https://www.terrapinn-cdn.com/config/img/icons/linkedin.png" /> </a> </div> <p> &nbsp; </p> </div> </div> </div> </div> <style type="text/css"> .social3 { width:5%; margin:2%; }</style></div> <section class="footer" id="footerBottom"> <div class="row"><div class="col-xs-12"> </div></div> <div class="row"> <div class="col-xs-12 col-sm-4"><h4 class="pull-left">Created by</h4><div class="clearfix"></div><a href="https://www.terrapinn.com" target="_blank" title="Terrapinn Holdings Ltd" rel="nofollow"><img alt="created by Terrapinn Holdings Ltd" src="https://www.terrapinn-cdn.com/img/logo-open.png" title="created by Terrapinn Holdings Ltd" class="pull-left organiserIdentity" /></a></div> <div class="col-xs-12 col-sm-8" id="TerrapinnSustainability"> <a href="https://weareisla.co.uk/" target="_blank" title="isla is a non-profit organisation founded by event professionals and industry leaders focusing on a sustainable future for events."> <img style="float:left;margin-right:25px;" alt="isla" src="https://terrapinn-cdn.com/img/isla-member.png" /> </a> <p style="margin-top:10px;"> Terrapinn is proud to be a member of isla. <br />Working together to build sustainable events </p> <!-- [NETWORKING_PARTNER] --> </div> </div> <div class="row"> <div class="col-sm-push-1 col-sm-10"> <nav class="navbar navbar-default" role="navigation"> <ul class="nav navbar-nav"> <li class="ft_Conduct"><a href="https://www.terrapinn.com/good-conduct-policy" title="Terrapinn's good conduct policy" rel="nofollow">good conduct policy</a></li> <li class="ft_Slavery"><a href="https://www.terrapinn.com/anti-slavery-policy" title="Terrapinn's anti-slavery policy">anti-slavery policy</a></li> <li class="ft_Money"><a href="https://www.terrapinn.com/anti-money-laundering-and-financial-crime-policy" title="Terrapinn's anti-money laundering &amp; financial crime policy">anti-money laundering &amp; financial crime policy</a></li> <div style="clear:both;font-size:0pt;"><br/></div> <li class="ft_ExhibitionRules"><a href="https://www.terrapinn.com/exhibition-terms" title="exhibition rules for sponsors and exhibitors">exhibition rules</a></li> <li class="ft_Diversity"><a href="https://www.terrapinn.com/diversity-inclusion" title="Terrapinn's diversity-inclusion">diversity &amp; inclusion policy</a></li> <li class="ft_Sustainability"><a href="https://www.terrapinn.com/data/Terrapinn-Sustainability-Policy-EXTERNAL.pdf" title="Terrapinn's sustainability policy">sustainability policy</a></li> <li class="ft_Sanctions"><a href="https://www.terrapinn.com/sanctions-policy" title="Terrapinn's sanctions policy">sanctions policy</a></li> <div style="clear:both;font-size:0pt;"><br/></div> <li class="ft_Copyright"><a href="https://www.terrapinn.com/copyright" title="copyright" rel="nofollow">&copy; Terrapinn Holdings Ltd. MMXXIV</a></li> <li class="ft_Privacy"><a href="https://www.terrapinn.com/Legal.aspx?L=P" rel="nofollow" target="_blank" title="our take on your privacy" rel="nofollow">privacy</a></li> <li class="ft_Conditions"><a href="https://www.terrapinn.com/Legal.aspx?L=T" rel="nofollow" target="_blank" title="general terms &amp; conditions" rel="nofollow">general t&amp;c&#39;s</a></li> <li class="ft_Contact"><a href="contact-us.stm" title="contact us" rel="nofollow">contact</a></li> <!-- <li class="ft_Subscription"><a href="https://www.terrapinn.com/media-preferences" title="manage your subscription preferences" rel="nofollow">subscription preferences</a></li> --> <li class="ft_Brochure"><a href="https://www.terrapinn.com/template/live/go.aspx?e=10872" rel="nofollow">brochure</a></li> </ul> </nav> </div> </div> </section> </div> <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jqueryui/1.13.1/jquery-ui.min.js"></script><script type="text/javascript">if (!window.jQuery.ui) { var oHead = document.getElementsByTagName("head")[0]; var oLink = document.createElement("link");oLink.type = "text/css";oLink.rel = "stylesheet";oLink.href = "https://www.terrapinn-cdn.com/config/inc/jquery-ui.css";oHead.insertBefore(oLink,document.getElementsByTagName("link")[0]); document.write('<script type="text/javascript" src="https://www.terrapinn-cdn.com/config/inc/jquery-ui.min.js"><\/script>') } </script> <script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.1.1/js/bootstrap.min.js"></script> <script type="text/javascript"> if(!$.fn.modal) { var oHead = document.getElementsByTagName("head")[0]; var oLink = document.createElement("link"); oLink.type = "text/css";oLink.rel = "stylesheet";oLink.href = "https://www.terrapinn-cdn.com/config/bootstrap/css/bootstrap.min.css";oHead.insertBefore(oLink,document.getElementsByTagName("link")[0]); oLink = document.createElement("link");oLink.type = "text/css";oLink.rel = "stylesheet";oLink.href = "https://www.terrapinn-cdn.com/config/inc/font-awesome.min.css";oHead.insertBefore(oLink,document.getElementsByTagName("link")[0]); document.write('<script src="https://www.terrapinn-cdn.com/config/bootstrap/js/bootstrap.min.js"><\/script>'); } </script> <!-- Include all compiled plugins (below), or include individual files as needed --> <script defer="defer" type="text/javascript" src="https://www.terrapinn-cdn.com/config/bootstrap/js/viewport-units-buggyfill.js"></script> <script defer="defer" type="text/javascript" src="https://www.terrapinn-cdn.com/config/bootstrap/js/countdown.js"></script> <script defer="defer" type="text/javascript" src="https://www.terrapinn-cdn.com/config/bootstrap/js/wow.js"></script> <script defer="defer" type="text/javascript" src="https://www.terrapinn-cdn.com/config/inc/JS_Slider/jquery.flexslider-min.js"></script> <!--[if (lt IE 9) & (!IEMobile)]> <script src="/config/inc/responsive/js/selectivizr-min.js"></script> <![endif]--> <script type="text/javascript"> var intWidth, SMALL_WINDOW = 767, intSliderHeight, intOriginalHeight; var objDistance, myDistance, intWindowWidth, intLogoHeight, flgFixed = 0; var oWow, urlParams = {}; var SliderPresent = 0; var oCal; var $body = $('body'), $navtop = $('#MainNavigation'), offset = $('#FixSocialBar').outerHeight() + $('#MainMenu').outerHeight() ; function SortSliderHeight() { var resizeTimer2; clearTimeout(resizeTimer2); resizeTimer2 = setTimeout(fixSpy, 500); intSliderHeight = $(window).height() - ($('#MainNav').outerHeight() + 2); intOriginalHeight = intSliderHeight; //alert("intSliderHeight: " + intSliderHeight + "\n\n$('div.SliderImg').height(): " + $('div.SliderImg').height()); //alert("$('div.SliderImg').height(): " + $('div.SliderImg').height()); if (intSliderHeight < $('div.SliderImg').height()) { //alert("need to shrink slider back up..."); } else if ($('div.SliderImg').height() < 500) { //check if slider too small...push down if image height less than 400?... //alert("expand it"); var intLargerHeight = $('div.SliderImg').height() + $('div.Slider-Caption').height(); if (intLargerHeight > intSliderHeight) { //alert("too big..."); } else { intSliderHeight = intLargerHeight; } } if (intOriginalHeight!=intSliderHeight) { //change size.. //intSliderHeight = $('div.SliderImg').height(); //alert("Slider-Caption: " + $('div.Slider-Caption').height()); //alert("new height: " + intSliderHeight ); if ($('div.Slider-Caption').height() > intSliderHeight) { //alert("pulling up too far.."); intSliderHeight = $('div.Slider-Caption').height(); } //if smaller window add the mobile header to the slider height.. if (intWindowWidth < SMALL_WINDOW) { //intSliderHeight+=80; } //alert("original height: " + intOriginalHeight + '\n new height: ' + intSliderHeight); $('#MainSlider ul.flex-direction-nav').css("bottom", (intOriginalHeight - intSliderHeight) + "px"); $('#MainSlider').css("height", intSliderHeight + "px"); $('#MainSlider ul').css("height",intSliderHeight + "px"); $('#MainSlider ul li').css("height",intSliderHeight + "px"); } } function SortSliderHeight2(strClass) { if ((typeof Modernizr != 'undefined') && (Modernizr != undefined)) { if (Modernizr && !Modernizr.cssvwunit) { var intSliderHeight = $(window).height() - ($('#MainNav').outerHeight() + 2); $("div." + strClass + " ul li div.item").css({"width":"100%","height":intSliderHeight + "px"}); } } } function SlideAnimate(slider, strClass) { var thisSlide; if (typeof slider === "undefined") { thisSlide = $('.' + strClass + '>ul>li.flex-active-slide'); } else { thisSlide = slider.slides.eq(slider.currentSlide); } $.each($(thisSlide).find('.wow2'), function() { $(this).addClass($(this).attr('AF') + ' animated'); }); } function SlideAnimationStop(slider) { if (typeof slider === "undefined") { $.each($('.' + strClass + '>ul>li').find('.wow2'), function() { SlideStop($(this)); }); } else { $.each(slider.slides.find('.wow2'), function() { SlideStop($(this)); }); } } function SlideStop(wowItem) { if (typeof wowItem.attr('AF') !== "undefined") { wowItem.addClass(wowItem.attr('AF') + ' animated'); } else { wowItem.addClass('animated'); } strClasses = ''; var arrClasses = wowItem.attr('class').split(' '); // remove all acept: row wow2 for ( var i = 0, l = arrClasses.length; i<l; ++i ) { //alert( arrClasses[i] ); if (arrClasses[i]!='row' && arrClasses[i]!="wow2") { strClasses = strClasses + ' ' + arrClasses[i]; //console.log("removing class: " + arrClasses[i]); wowItem.removeClass(arrClasses[i]); } } //temp store these removed classes to add later (the animations).. wowItem.attr('AF',strClasses); } function SliderHeight(strClass) { SliderPresent = 1; var image = new Image(); $(image).load(function () { var intSliderHeight = $(window).height() - ($('#MainNav').outerHeight() + 2); var intHeight = image.height; //var intRatio = $(window).width() / image.width; //alert("Image: " + intHeight + ' x ' + image.width + '\n Viewing portal: ' + intSliderHeight + ' x ' + $(window).width() + '\n Ratio: ' + intRatio); //if (intRatio>1) { intHeight = image.height * ($(window).width() / image.width); } if (intHeight > intSliderHeight) { intHeight = intSliderHeight; } $('head').append('<style>.' + strClass + ' ul li div.item { height:' + intHeight + 'px; }<\/style>'); }); image.onerror = function () { //$('head').append('<style>.' + strClass + ' ul li div.item { height:' + 200 + 'px; }<\/style>'); //fall back to old method SortSliderHeight2(strClass); } image.src = $('.' + strClass + ' ul li div.item').css("background-image").match(/^url\("?(.+?)"?\)$/)[1]; } // function to do the tweaking function fixSpy() { // grab a copy the scrollspy data for the element //alert("fixSpy()"); var data = $body.data('bs.scrollspy'); // if there is data, lets fiddle with the offset value if (data) { // get the current height of the navbar //offset = $navtop.outerHeight(); offset = $("#MainNav").outerHeight(); //alert("offset: " + offset); // adjust the body's padding top to match //$body.css('padding-top', offset); // change the data's offset option to match data.options.offset = offset // now stick it back in the element $body.data('bs.scrollspy', data); // and finally refresh scrollspy $body.scrollspy('refresh'); } } function InitScrollSpecific() { //if (!$('body.GenericPage').length) { return; } // only proceed if a generic page.. myDistance = $(window).scrollTop(); intWindowWidth = $( window ).width(); //alert("InitScrollSpecific()"); if (flgFixed!=1 && myDistance >= objDistance) { // FIX IT! flgFixed = 1; //code fixes window as you scroll down...then unfixes back up.. if (intWindowWidth > SMALL_WINDOW) { //alert("fixing.."); $('body #MainNav').addClass('navbar-fixed-top'); $('body #FixSocialBar').removeClass('navbar-fixed-top'); $('body #NonMobileSection').css("display","none"); $('body').css("padding-top", (intLogoHeight) + 24 + "px"); // 92 (padding of body when section removed) //82 $('body #TopMenu').css("padding-top", "0px"); $('body #MainMenu ul').css("margin-left","15px"); $('body #VenueAndDates').css("display","none"); } } else if (flgFixed==1 && myDistance < (objDistance)) { // UNFIX IT! flgFixed = 0; if (intWindowWidth > SMALL_WINDOW) { //alert("unfixing.."); $('body #MainNav').removeClass('navbar-fixed-top'); $('body #FixSocialBar').addClass('navbar-fixed-top'); $('body #NonMobileSection').css("display","block"); $('body').css("padding-top","0px"); //$('body #TopMenu').css("padding-top", "40px"); $('body #MainNav #MainMenu ul').css("margin-left","0px"); $('body #VenueAndDates').css("display","block"); } } } function countdown() { var count = $('#countdown'); if ($.fn.countdown && count.length) { count.countdown(count.data("date"), function (event) { var $this = $(this); switch (event.type) { case "seconds": case "minutes": case "hours": case "days": case "weeks": case "daysLeft": $this.find('p#' + event.type).html(event.value); break; case "finished": $this.hide(); break; } }); } } function InitWindow() { //alert("init"); //test bootstrap... if ($('#bootstrapCssTest').is(':visible') === true) { //alert("manual load..."); $('<link href="/config/bootstrap/css/bootstrap.css" rel="stylesheet" type="text/css" />').appendTo('head'); } // ensure BIO has no dodgy HTML in it //$('div#SpeakerBio div#AF_SpeakerBio').html($('div#SpeakerBio div#AF_SpeakerBio').text()); //intLogoHeight = $(".navbar-brand img").height(); intLogoHeight = $("#TopMenu #NonMobileSection").height(); objDistance = $("#MainNav").height() + $("#MainMenu").height() - 56; //114 (height of menu from top adjuster) /// 94 CheckContentWidths(); $(window).scroll(function () { InitScrollSpecific(); }); InitScrollSpecific(); // fix body padding (in case navbar size is different than the padding) //$body.css('padding-top', offset); // Enable scrollSpy with correct offset based on height of navbar $body.scrollspy({target: '.navbar-side', offset: offset }); // Now monitor the resize events and make the tweaks var resizeTimer; $(window).resize(function() { clearTimeout(resizeTimer); resizeTimer = setTimeout(fixSpy, 50); }); intSliderHeight = $(window).height() - ($('#MainNav').outerHeight() + 2); intOriginalHeight = intSliderHeight; if ($('#SpkRotator').length) { $('#SpkRotator').flexslider({ animation: "slide", initDelay: 2000, slideshowSpeed: 3500, animationSpeed: 600, easing: "jswing", animationLoop: true, itemWidth: 200, itemMargin: 35, minItems: 1, //maxItems: 8, pauseOnHover: true, controlNav: true, move: 2 //, start: function(slider){ } }); } if ($('#SpnMid').length) { $('#SpnMid').flexslider({ animation: "slide", initDelay: 2000, slideshowSpeed: 3500, easing: "jswing", animationSpeed: 600, animationLoop: true, itemWidth: 220, itemMargin: 15, minItems: 1, //maxItems: 15, pauseOnHover: true, controlNav: true, move: 2 //, start: function(slider){ alert("starting.."); } }); } if (!$(".navbar-toggle").is(":visible")) { $(function() { $(".dropdown").hover(function(){ $(this).addClass('open') }, function(){ $(this).removeClass('open') } ); }); } // check thumbnails... //console.log("check thumbnails...2"); var oImageCheck = setTimeout(CheckImagesLoaded, 1250); } function CheckImagesLoaded() { //console.log("CheckImagesLoaded()"); $('.tmpl_ContactImage').error(function() { console.log("image error found."); $('.tmpl_ContactImage').attr('src','/config/img/icons/noprofile.png'); }); } function DocReady() { //alert("doc ready"); if ($('#Photos').length) { GetPhotos(10,false); } if ($('#Videos').length) { GetVideos(8,false); } $('a.YouTubeVideo').each(function(index) { $(this).html('<iframe height="155" width="310" src="' + $(this).attr("href") + '?&amp;rel=0&amp;modestbranding=1&amp;hd=1&amp;controls=1&amp;frameborder=0&amp;wmode=transparent&autoplay=0" frameborder="0" allowfullscreen="allowfullscreen"></iframe>'); }); //$("a.PlayYouTubeVideo").click(ShowVideo($(this))); pageScroller(); close_toggle(); TidyInternetExplorer(); //hoverOpacity(); } $(document).delegate('*[data-toggle="lightbox"]', 'click', function(event) { event.preventDefault(); $(this).ekkoLightbox(); }); $(window).resize(function () { //alert("resize"); InitWindow(); }); $(window).load(function(){ //alert("(window).load"); CheckUrlSsl(); CheckMyAccount(); // 15/09/2023 to put login button on 2024+ events if ($('#countdown').length) { countdown(); } try { // hide cookie preferences... setTimeout(function(){ $("div.custom-persistent-icon").fadeOut(250) }, 6250); // if ((typeof window.viewportUnitsBuggyfill != 'undefined') && (window.viewportUnitsBuggyfill != undefined)) { window.viewportUnitsBuggyfill.init(); } if (intWidth>767) { oWow = new WOW( { boxClass: 'wow', // animated element css class (default is wow) animateClass: 'animated', // animation css class (default is animated) offset: 10, // distance to the element when triggering the animation (default is 0) mobile: false, // trigger animations on mobile devices (default is true) live: true, // act on asynchronously loaded content (default is true) }); oWow.init(); } else { //reset animation.. $('.wow').css("opacity","1"); $('.wow2').css("opacity","1"); } //# URL params... (function () { var e, a = /\+/g, // Regex for replacing addition symbol with a space r = /([^&=]+)=?([^&]*)/g, d = function (s) { return decodeURIComponent(s.replace(a, " ")); }, q = document.referrer.substring(1); //q = window.location.search.substring(1); while (e = r.exec(q)) urlParams[d(e[1])] = d(e[2]); })(); if ($('#webticker').length) { $('#webticker').css("display", "block"); // reveal ticker on load.. $('#webticker').webTicker({ speed: 50, //pixels per second direction: "left", //if to move left or right moving: true, //weather to start the ticker in a moving or static position startEmpty: false, //weather to start with an empty or full ticker duplicate: true, //if there is less items then visible on the ticker you can duplicate the items to make it continuous rssfrequency: 0, //the frequency of updates in minutes. 0 means do not refresh updatetype: "reset", //how the update would occur options are "reset" or "swap" hoverpause: true //pause the ticker when hovered }); } } catch(err) { } //alert("resize"); //$(window).trigger('resize'); }); $(document).ready(function () { //alert("doc ready"); InitWindow(); DocReady(); RunParallax(); CheckSearchTerms(); ListSearch(); CheckAgendaTimezone(); }) function CheckSearchTerms() { // check if sending search parameters.. var strQ = ""; if ("q" in urlParams) { strQ = urlParams["q"]; } else if ("prev" in urlParams) { strQ = "" } if (strQ != "") { $.ajax({ type: "POST", url: strServicePath + "AddSearchTerm", data: "{Token:'" + strEventHash + "',SearchString:'" + strQ + "',EventID:'" + strEventID + "'}", contentType: "application/json; charset=utf-8", dataType: "json", success: function(msg) { Debug("webservice response: " + msg.d); }, failure: function() { Debug("webservice search term call failed."); } }); } } function CheckUrlSsl() { var strUsesSSL = ($('meta[name=Terrapinn-SSL]').length > 0) ? $('meta[name=Terrapinn-SSL]').attr("content") : '0'; var strProtocol = document.location.protocol; //console.log('CheckUrlSsl(): ' + strUsesSSL); //console.log('SSL? ' + strProtocol); if (strUsesSSL == '1' && strProtocol == 'http:') { try { oScript.onload = function () { LE.init('41584e36-5452-40cb-931e-3227e7150b80'); var strData = "Non SSL: " + window.location.href; LE.log(strData); }; oScript.src = "https://secure.terrapinn.com/config/inc/le.min.js"; document.head.appendChild(oScript); } catch(err) { console.log('LE error: ' + err.message); } console.log('need SSL redirect'); console.log(window.location.href.replace('http://','https://')); window.location = window.location.href.replace('http://','https://'); } } // sort height of mainslider -#### no longer used? function MainMenu() { //alert("MainMenu()"); if ($('#MainSlider').length) { intWindowWidth = $( window ).width(); $('#MainSlider').css("height", intSliderHeight + "px"); $('#MainSlider ul').css("height",intSliderHeight + "px"); $('#MainSlider ul li').css("height",intSliderHeight + "px"); $('#MainSlider').flexslider({ animation: "fade", animationLoop: true, itemWidth: 1200, initDelay: 2000, slideshowSpeed: 3500, animationSpeed: 600, pauseOnHover: false, directionNav: true, controlNav: true //controlsContainer: ".Slider-Nav", ,//start: function(slider){ SortSliderHeight() } }); SortSliderHeight() } } function RunParallax() { // cache the window object $window = $(window); $('section[data-type="background"]').each(function(){ // declare the variable to affect the defined data-type var $scroll = $(this); $(window).scroll(function() { // HTML5 proves useful for helping with creating JS functions! // also, negative value because we're scrolling upwards //var yPos = -($window.scrollTop() / $scroll.data('speed')); //alert($scroll.height()); var yPos = -(($window.scrollTop() - $scroll.offset().top) / $scroll.data('speed')); yPos += -234; //yPos += $scroll.data('offset'); //alert("$scroll.height(): " + $scroll.height()); var coords = '50% '+ yPos + 'px'; // move the background $scroll.css({ backgroundPosition: coords }); }); // end window scroll }); // end section function } function TidyInternetExplorer() { //alert("navigator.userAgent: " + navigator.userAgent); if (navigator.userAgent.match(/Windows NT 6.2; ARM(.+)Touch/)) { var msViewportStyle = document.createElement("style"); msViewportStyle.appendChild( document.createTextNode( "@-ms-viewport{width:device-width}" ) ); document.getElementsByTagName("head")[0]. appendChild(msViewportStyle); } } function pageScroller(){ $("a[data-jumpto]").on("click",function(a){ a.preventDefault(); jumpTo($(this).data("jumpto")) }) } function jumpTo(a){ var pos = $('#MainMenu').outerHeight(); //alert("pos: " + pos); //alert($(a).offset().top); $("html, body").animate({scrollTop:$(a).offset().top - pos},1000); } function hoverOpacity() { $('#MainNav').mouseover(function() { $(this).css({ opacity: 1 }); }); $('#MainNav').mouseout(function() { $(this).css({ opacity: 0.30 }); }); } function CheckContentWidths() { //alert("CheckContentWidths()"); intWidth = $( window ).width(); var intHeaderHeight = $('#MainNav').outerHeight(); if ($("#webtickerHolder").length) { intHeaderHeight = intHeaderHeight + $('#webtickerHolder').outerHeight(); } //alert(intHeaderHeight); //alert("intWidth: " + intWidth); if (intWidth <= SMALL_WINDOW) { //alert("small"); $('#MainNav').addClass('navbar-fixed-top'); //$('#FixSocialBar').removeClass('navbar-fixed-top'); } else { //alert("large"); //$('#FixSocialBar').addClass('navbar-fixed-top'); $('#MainNav').removeClass('navbar-fixed-top'); } // smaller devices, check menu not overlaying... if (SliderPresent==1 && intWidth < 1000 && intWidth >767) { //$("body.HomePage section ").first().css("padding-top", intHeaderHeight + "px"); //$("body.HomePage section section").first().css("margin-top", 30 + "px"); } else if (SliderPresent==1 && intWidth <= 767) { //$("body.HomePage section ").first().css("padding-top", intHeaderHeight + "px"); //$("body.HomePage section section").first().css("margin-top", 10 + "px"); } } function close_toggle() { //alert("$(window).width(): " + $(window).width()); //alert("$(document).width(): " + $(document).width()); if ($(window).width() <= SMALL_WINDOW) { $('#MainMenu .nav a').on('click', function(){ if (!$(this).hasClass("dropdown-toggle")) { $(".navbar-toggle").click(); } }); } else { $('#MainMenu .nav a').off('click'); } } function ListSearch() { if ($('#AttendeeList').length) { var oListOptions = { valueNames: ['Company','Country','Jobtitle'], page:20, plugins: [ListPagination({})] }; var oList = new List('AttendeeList', oListOptions); } } function PrepareCalendar() { var strTitle, strBody, strLocation, strStart, strEnd; strTitle = $('div.StructuredEvent span.Summary').text(); strLocation = $('div.StructuredEvent span.Location').text(); strBody = $('div.StructuredEvent span.Summary').text() + ' - ' + $('a.navbar-brand').attr('title'); strStart = $('div.StructuredEvent span.dtstart').attr('data-start-utc'); strEnd = $('div.StructuredEvent span.dtstart').attr('data-end-utc'); } function ShowVideo(oA) { //alert("ShowVideo()"); var box = $("<div></div>").addClass("darkCover").html('<div class="CloseVideo"><a href="#"><img src="/img/icons/close.png" alt="close video" /></a></div>').click(function () { $(this).fadeOut(); content.fadeOut(); content.html("<div></div>"); return false; }); $("body").prepend(box); box.fadeTo(900, 0.6); var content = $("<div></div>").addClass("darkContent").html('<iframe height="390" width="640" src="' + $(oA).attr("href") + '?&amp;rel=0&amp;modestbranding=1&amp;hd=1&amp;controls=1&amp;frameborder=0&amp;wmode=transparent&autoplay=1" frameborder="0" allowfullscreen="allowfullscreen"></iframe>'); $("body").prepend(content); content.fadeTo("fast", 1); return false; } var strKeyHeader = "Terrapinn-"; function GetData(strKey, intTtl ) { var oEntry = JSON.parse(localStorage.getItem(strKey)||"0"); if (oEntry != "0") { if (oEntry.Ttl && ((parseInt(oEntry.Ttl) + parseInt(oEntry.Now)) < new Date().getTime())) { //cache expired..... } else { return oEntry.Value; } } else { //console.log("GetData(), key NOT found, returning... "); } } function SetData(strKey, oValue, intTtl ) { var oEntry = { Value : oValue, Ttl : intTtl, Now : new Date().getTime() }; var strData = JSON.stringify(oEntry); localStorage.setItem(strKey, strData); } function hashCode(str){ var hash = 0; if (str.length == 0) return hash; for (i = 0; i < str.length; i++) { char = str.charCodeAt(i); hash = ((hash<<5)-hash)+char; hash = hash & hash; // Convert to 32bit integer } return strKeyHeader + hash; } function PurgeOldCache() { let keys = Object.keys(localStorage); for(let strKey of keys) { if (strKey.startsWith(strKeyHeader)) { // read it...and check... var oEntry = JSON.parse(localStorage.getItem(strKey)||"0"); if (oEntry != "0") { if (flgPurgeCache || (oEntry.Ttl && ((parseInt(oEntry.Ttl) + parseInt(oEntry.Now)) < new Date().getTime()))) { //console.log("PurgeOldCache(), data EXPIRED, purging... "); localStorage.removeItem(strKey); } else { //console.log("PurgeOldCache(), cache NOT expired... " + oEntry.Value.length); } } } } } jQuery.browser = {}; (function () { jQuery.browser.msie = false; jQuery.browser.version = 0; if (navigator.userAgent.match(/MSIE ([0-9]+)\./)) { jQuery.browser.msie = true; jQuery.browser.version = RegExp.$1; } })(); function ShowFeed(arrItems, intMaxArticles, strType, flgShowLead, flgShowImage, strColorOverride) { var html = ''; var arrImgs; var intMaxLength = 180; var intMaxTitleLength = 100; var i = 0; var strTitle = arrItems.title; var strDescription = arrItems.description; var strLink = arrItems.link; var strPrecis = ''; var strItemTitle = ''; //console.log('ShowFeed: ' + strType); //console.dir(arrItems); if (strType=='LIST') { //html += '<div class="row BlogTitle"><div class="col-md-12"><h1><a href="' + strLink + '">' + arrItems.title + '</a></h1><h2>' + strDescription + '</h2></div></div>'; html += '<div class="row">'; } else if (strType=='ROTATOR') { html+= '<div class="flex-container"><div id="BlogRotator" class="flexslider"><ul class="slides">' } //console.log('ShowFeed: arrItems.items.length: ' + arrItems.items.length); for(i; i < arrItems.items.length && i < intMaxArticles; i++) { try { var item = arrItems.items[i]; strItemTitle = item.title; if (strItemTitle.length > intMaxTitleLength) { strItemTitle = strItemTitle.substring(0,intMaxTitleLength) + '..'; } //description might be html? try { strPrecis = $(item.description).text(); } catch(err) { strPrecis = item.description; } if (strPrecis.length > intMaxLength) { strPrecis = strPrecis.substring(0,intMaxLength) + '..'; } arrImages = {}; try { if (flgShowImage) { arrImages = $('<div>' + item.description + '</div>').find('img'); } } catch (ex) { } if (strType=='LIST') { if (i!=0) { if ((i) % 2 == 0) { html += '<div class="clearfix visible-sm">&nbsp;</div>'; } if ((i) % 3 == 0) { html += '<div class="clearfix visible-md">&nbsp;</div>'; } if ((i) % 4 == 0) { html += '<div class="clearfix visible-lg">&nbsp;</div>'; } } html += '<div class="col-sm-6 col-md-4 col-lg-3"><div class="BlogContentHolder">'; if (arrImages.length>0) { html += '<div class="BlogContent" style="background:url(\'' + arrImages[0].src + '\');background-repeat: no-repeat;background-size: cover;">' + '<h3><a href="' + item.link + '" target="_blog" title="' + strPrecis + '">'+ strItemTitle + '</a></h3>' + '</div>'; } else { html += '<div class="BlogContent" style="">' + '<h3><a href="' + item.link + '" target="_blog" title="' + strPrecis + '">'+ strItemTitle + '</a></h3>' + '</div>'; } if (flgShowLead) { html += '<div class="BlogPrecis"><p>' + strPrecis + ' <a href="' + item.link + '" target="_blog" title="' + strItemTitle + '">continues</a> &#187;</p></div>'; } html += '</div></div>'; } else if (strType=='ROTATOR') { if (arrImages.length>0) { html += '<li>'; html += '<div class="BlogContent" style="background:url(\'' + arrImages[0].src + '\');background-repeat: no-repeat;background-size: cover;">' + '<h3><a href="' + item.link + '" title="' + strPrecis + '" target="_blog">'+ strItemTitle + '</a></h3>' + '</div>'; if (flgShowLead) { html += '<div class="BlogPrecis"><p>' + strPrecis + ' <a href="' + item.link + '" target="_blog" title="' + strItemTitle + '">continues</a> &#187;</p></div>'; } html+= '</li>'; } else { html += '<li>'; html += '<div class="BlogContent">' + '<h3><a href="' + item.link + '" target="_blog" title="' + strPrecis + '">'+ strItemTitle + '</a></h3>' + '</div>'; if (flgShowLead) { html += '<div class="BlogPrecis"><p>' + strPrecis + ' <a href="' + item.link + '" target="_blog" title="' + strItemTitle + '">continues</a> &#187;</p></div>'; } html += '</li>'; } } } catch(err) { showError(err); //console.log(err.message); } } if (strType=='LIST') { html += '</div>'; } else if (strType=='ROTATOR') { html += '</ul></div></div>'; } if (!flgShowImage) { html += '<style>div#BlogContent div.BlogContent { height:auto!important; }</style>'; } if (strColorOverride!='') { html += '<style>div#BlogContent h3 { background:#' + strColorOverride + '!important; } </style>'; } //console.log('html: ' + html); jQuery('div#BlogContent').append(html); if (strType=='ROTATOR') { $('#BlogRotator').flexslider({ animation: "slide", initDelay: 2000, slideshowSpeed: 3500, easing: "jswing", animationSpeed: 600, animationLoop: true, itemWidth: 320, itemMargin: 15, minItems: 1, //maxItems: 15, pauseOnHover: true, controlNav: true, move: 2 //, start: function(slider){ alert("starting.."); } }); } } function GetFeed(strURL, intMaxArticles, flgIsIntro) { var intCacheTime = 3600000; // 1 hour cache var strHashKey = hashCode(String(window.location)); var arrItems = {}; arrItems = GetData(strHashKey,intCacheTime); if (arrItems && arrItems.length > 0) { ShowFeed(arrItems, intMaxArticles, flgIsIntro); } else { jQuery.getFeed({ url: strURL, success: function(feed) { SetData(strHashKey, feed, intCacheTime); ShowFeed(feed, intMaxArticles, flgIsIntro); } }); } } const monthNames = ["", "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"]; const monthNamesShort = ["", "Jan", "Feb", "Mar", "Apr", "May", "Jun","Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]; var DateTime; var oDate; function CheckAgendaTimezone() { //console.log("CheckAgendaTimezone()"); // testing... //luxon.Settings.now = () => new Date(2020, 6, 8).valueOf(); //luxon.Settings.defaultZoneName = 'America/New_York'; if ( $("div#Agenda").length && $("div#Agenda").hasClass("VirtualEvent") ) { //console.log("dealing with agenda.."); loadExtScript('https://cdn.jsdelivr.net/npm/luxon@1.24.1/build/global/luxon.min.js', function() { return (typeof luxon === 'object'); }, CheckAgendaTimezoneRun); } } function CheckAgendaTimezoneRun() { //console.log("CheckAgendaTimezoneRun()"); // instantiate Luxon... DateTime = luxon.DateTime; var strLocalZone = DateTime.local().zoneName; strLocalZone = strLocalZone.substr(strLocalZone.indexOf('/') + 1, strLocalZone.length - 1); //console.log("Time zone city: " + strLocalZone); //console.log("Event city: " + strEventCity); if (strLocalZone == strEventCity) { return; } // testing... //console.log("local time: " + DateTime.local().toLocaleString(DateTime.TIME_24_SIMPLE)); //console.log("local timezone (browser): " + Intl.DateTimeFormat().resolvedOptions().timeZone) //console.log("local timezone: " + DateTime.local().zoneName); var oTimezone = $('<div id="TimeZoneChanger"><h3>Time zone</h3></div>'); var oHtml = $('<div class="onoffswitch"></div>'); var oBtn = $('<input type="checkbox" name="onoffswitch" class="onoffswitch-checkbox" id="myonoffswitch" tabindex="0" />'); var oLabel = $('<label class="onoffswitch-label" for="myonoffswitch"><span class="onoffswitch-inner" data-before="Local" data-after="Event"></span><span class="onoffswitch-switch"></span></label>'); $(oHtml).append($(oBtn)); $(oHtml).append($(oLabel)); $(oTimezone).append($(oHtml)); // filter version... $('div.AgendaHeader>div').append($(oTimezone)); // older version... $('div#Agenda').prepend($(oTimezone)); //var strLocalZone = DateTime.local().zoneName; //strLocalZone = strLocalZone.substr(strLocalZone.indexOf('/') + 1, strLocalZone.length - 1); $("span.onoffswitch-inner").attr('data-before', strLocalZone); $("span.onoffswitch-inner").attr('data-after', strEventCity); $("#myonoffswitch").change(function () { if ($("#myonoffswitch").is(":checked")) { DoTimezone(); } else { DoTimezoneLocal(); } }); } function DoTimezone() { //console.log("DoTimezone()"); $("div.Time").each(function () { oDate = DateTime.fromISO($(this).attr('data')); $(this).html('<span class="TimeDate">' + monthNamesShort[oDate.month] + ' ' + oDate.day + '</span>' + oDate.toLocaleString(DateTime.TIME_24_SIMPLE)); }); $("div.session>span").each(function () { oDate = DateTime.fromISO($(this).attr('data')); $(this).html('<span class="TimeDate">' + monthNamesShort[oDate.month] + ' ' + oDate.day + '</span>' + oDate.toLocaleString(DateTime.TIME_24_SIMPLE)); }); } function DoTimezoneLocal() { //console.log("DoTimezoneLocal()"); $("div.Time").each(function () { if (strEventZone == 'UTC0') { oDate = DateTime.fromISO($(this).attr('data'), { zone: 'UTC+0' }); } else { oDate = DateTime.fromISO($(this).attr('data'), { zone: strEventZone }); } //oDate = DateTime.fromISO($(this).attr('data'), { zone: strEventZone }); $(this).html('<span class="TimeDate">' + monthNamesShort[oDate.month] + ' ' + oDate.day + '</span>' + oDate.toLocaleString(DateTime.TIME_24_SIMPLE)); }); $("div.session>span").each(function () { if (strEventZone == 'UTC0') { oDate = DateTime.fromISO($(this).attr('data'), { zone: 'UTC+0' }); } else { oDate = DateTime.fromISO($(this).attr('data'), { zone: strEventZone }); } //oDate = DateTime.fromISO($(this).attr('data'), { zone: strEventZone }); $(this).html('<span class="TimeDate">' + monthNamesShort[oDate.month] + ' ' + oDate.day + '</span>' + oDate.toLocaleString(DateTime.TIME_24_SIMPLE)); }); } function loadExtScript(src, test, callback) { var s = document.createElement('script'); s.src = src; document.body.appendChild(s); var callbackTimer = setInterval(function() { var call = false; try { call = test.call(); } catch (e) {} if (call) { clearInterval(callbackTimer); callback.call(); } }, 100); } </script> <!-- youtube / flickr --> <script type="text/javascript"> /* <![CDATA[ */ // load photos from Flickr -either to gallery or rotator... function GetPhotos(intCount, flgGallery) { if (typeof strPhotos === 'undefined') { return; } intCount = (typeof intCount === "undefined") ? 500 : intCount; flgGallery = (typeof flgGallery === "undefined") ? true : flgGallery; $.ajax({ url: 'https://api.flickr.com/services/rest/', data: { format: 'json', method: 'flickr.photosets.getPhotos', api_key: 'b3a6ea9e962408fb6a57e1266989eba2', photoset_id: strPhotos, per_page: intCount, page: 1 }, dataType: 'jsonp', jsonp: 'jsoncallback' }).done(function (result) { var baseUrl; var linksContainer; if (flgGallery) { linksContainer = $('#links') } else { linksContainer = $('#Photos .slides') } $.each(result.photoset.photo, function (index, photo) { baseUrl = 'https://farm' + photo.farm + '.static.flickr.com/' + photo.server + '/' + photo.id + '_' + photo.secret; if (flgGallery) { $('<a/>').append($('<img></img>').prop("src", baseUrl + "_s.jpg")) .prop('href', baseUrl + '_b.jpg') .prop('title', photo.title) .attr('data-gallery', '') .appendTo(linksContainer); } else { //show in rotator.. $('<li/>').append($('<a href="' + baseUrl + '_b.jpg" title="' + photo.title + '" data-toggle="lightbox" data-title="' + photo.title + '"><img src="' + baseUrl + "_m.jpg" + '" alt="' + photo.title + '" /></a>')).appendTo(linksContainer); } }); if (flgGallery) { var links = document.getElementById('links').getElementsByTagName('a'), options = { startSlideshow: true, slideshowInterval: 1800, transitionSpeed: 600, carousel: false, closeOnEscape: true, }, gallery = blueimp.Gallery(links, options); } else { // init slider for photos... $('#Photos').flexslider({ animation: "slide", animationSpeed: 600, slideshow: false, itemWidth: 250, minItems: 1, maxItems: 8, controlNav: false, smoothHeight: false, start: function(slider){ $('body').removeClass('loading'); } }); } }); } function GetVideos(intCount, flgGallery) { var strKey = 'AIzaSyA2lXOFdwO0MoSF3Z0FkKEAlNh0jAtKKrw'; var strBaseURL = 'https://www.googleapis.com/youtube/v3/playlistItems'; var strBaseParams = '?part=contentDetails%2C+snippet&fields=items%2Fsnippet%2Ftitle%2Citems%2Fsnippet%2Fdescription%2Citems%2Fsnippet%2Fthumbnails%2Fmedium%2Furl%2Citems%2FcontentDetails%2FvideoId&key=' + strKey; if (typeof strVideos === 'undefined') { return; } intCount = (typeof intCount === "undefined") ? 50 : intCount; flgGallery = (typeof flgGallery === "undefined") ? true : flgGallery; $.getJSON(strBaseURL + strBaseParams + '&playlistId=' + strVideos + '&maxResults=' + intCount, function(data) { var linksContainer; if (flgGallery) { linksContainer = $('#links') } else { linksContainer = $('#Videos .slides') } for(var i=0; i<data.items.length; i++) { if (flgGallery) { $('<a/>').append($('<img></img>').prop("src", "http://img.youtube.com/vi/" + data.items[i].contentDetails.videoId + "/1.jpg")) .prop('href', 'https://www.youtube.com/watch?v=' + data.items[i].contentDetails.videoId) .prop('title', data.items[i].snippet.title) .prop('type', 'text/html') .attr('data-youtube', data.items[i].contentDetails.videoId) .attr('data-poster', data.items[i].snippet.thumbnails.medium.url) .attr('data-gallery', '') .appendTo(linksContainer); } else { //show in rotator.. $('<li/>').append($('<a class="PlayYouTubeVideo" href="https://www.youtube.com/embed/' + data.items[i].contentDetails.videoId + '" title="' + data.items[i].snippet.title + ' ' + data.items[i].snippet.description + '" onclick="return ShowVideo(this);"><img src="' + data.items[i].snippet.thumbnails.medium.url + '" alt="' + data.items[i].snippet.title + '" /></a>')).appendTo(linksContainer); } } if (flgGallery) { var links = document.getElementById('links').getElementsByTagName('a'), options = { startSlideshow: true, slideshowInterval: 6800, carousel: false, closeOnEscape: true, youTubeVideoIdProperty: 'youtube', youTubePlayerVars: undefined, youTubeClickToPlay: false }, gallery = blueimp.Gallery(links, options); } else { $('#Videos').flexslider({ animation: "slide", animationSpeed: 600, slideshow: false, itemWidth: 250, minItems: 1, maxItems: 8, controlNav: false, start: function(slider){ $('body').removeClass('loading'); } }); } }); } /* ]]> */ </script> <!-- Evt udpates --> <script> var intArchiveMonths = 3; var flgLookupProcessed = false; var submitOnce = 0; var strResponseMsg = ''; var strResponseCS = ''; $(document).ready(function () { if (!$("div#EvtUpdates").length) { return; } $("head").append("<script src=\"https://www.terrapinn-cdn.com/config/inc/le.min.js\" type=\"text/javascript\"></scr" + "ipt>"); $("#btnEvtUpdatesEmail").click(function(){ if (EvtUpdatesValidate()) { EvtUpdatesProcess(); } return false }); debugout($("div.form-inline").width()); strResponseMsg = $("div#EvtUpdates").attr("data-responseMsg"); debugout("strResponseMsg: " + strResponseMsg); strResponseCS = $("div#EvtUpdates").attr("data-responseCS"); debugout("strResponseCS: " + strResponseCS); $("div.form-inline").css("width",$("div.form-inline").width() + 64); $('#elqCustomerGUID').on("ElqLoaded", function( event ) { debugout("EVT, ELQ loaded."); if ($('#txtEvtUpdatesEmail').length) { $('#txtEvtUpdatesEmail').change(function() { //debugout("email changed, calling data lookup based on email: " + $('#txtEvtUpdatesEmail').val()); elqTracker.getData({key: "{64cb133a-2f29-4fba-be03-abfeb3a0cf3a}", lookup: "<C_EmailAddress>" + $('#txtEvtUpdatesEmail').val() + "</C_EmailAddress>", success: function() { EvtUpdatesPopulateForm(false); }}); }); } if ($('#elqCustomerGUID').val() != '') { var guid = $('#elqCustomerGUID').val(); debugout("have guid: " + guid); if ($('#SFDCContactID').length && $('#SFDCContactID').val()=='') { debugout("guid gotten, and SFDCContactID unknown...calling data lookup.."); elqTracker.getData({key: "{466702f1-a0a7-4198-aa3c-6196e5b21656}", lookup: "", success: function() { EvtUpdatesSetElqContent_Cookie($('#elqCustomerGUID').val()); }}); } } elqTracker.getGUID(function(guid) { debugout("[lookup] " + "guid: " + guid); $('#elqCustomerGUID').val(guid); debugout("guid gotten: " + $('#elqCustomerGUID').val() + " calling data lookup.."); if (guid != undefined) { elqTracker.getData({key: "{466702f1-a0a7-4198-aa3c-6196e5b21656}", lookup: "", success: function() { EvtUpdatesSetElqContent_Cookie(guid); }}); } }); }); }); function EvtUpdatesSetElqContent_Cookie(strGUID) { debugout("EvtUpdatesSetElqContent_Cookie('" + strGUID + "')"); if (typeof GetElqContentPersonalizationValue == "function") { //if ($('#V_ElqEmailAddress').length) { $('#V_ElqEmailAddress').val(GetElqContentPersonalizationValue('V_ElqEmailAddress')) } //if ($('#V_ElqLastName').length) { $('#V_ElqLastName').val(GetElqContentPersonalizationValue('V_ElqLastName')) } //if ($('#V_ElqCompanyName').length) { $('#V_ElqCompanyName').val(GetElqContentPersonalizationValue('V_ElqCompanyName')) } if ($('#txtEvtUpdatesEmail').length && $('#txtEvtUpdatesEmail').val()=='') { $('#txtEvtUpdatesEmail').val(GetElqContentPersonalizationValue('V_ElqEmailAddress')) } //var _Title = GetElqContentPersonalizationValue('V_ElqTitle'); //ElqDoUpate('#txtTitle',_Title); //var _Firstname = GetElqContentPersonalizationValue('V_ElqFirstName'); //ElqDoUpate('#txtFirstname',_Firstname); //var _Lastname = GetElqContentPersonalizationValue('V_ElqLastName'); //ElqDoUpate('#txtLastname',_Lastname); //var _Company = GetElqContentPersonalizationValue('V_ElqCompanyName'); //ElqDoUpate('#txtCompany',_Company); //ElqDoUpate('#txtOrganisation',_Company); //var _Email = GetElqContentPersonalizationValue('V_ElqEmailAddress'); //ElqDoUpate('#txtEmail',_Email); //ElqDoUpate('#txtEmailConfirm',_Email); //var _Phone = GetElqContentPersonalizationValue('V_ElqPhoneNumber'); //ElqDoUpate('#txtPhone',_Phone); //ElqDoUpate('#txtTel',_Phone); if ($('#SFDCContactID').val()=='') { debugout("$('#SFDCContactID').val(): " + $('#SFDCContactID').val()); if ($('#txtEvtUpdatesEmail').val() != '') { debugout("calling data lookup based on [EvtUpdatesSetElqContent_Cookie()] : " + $('#txtEvtUpdatesEmail').val()); elqTracker.getData({key: "{64cb133a-2f29-4fba-be03-abfeb3a0cf3a}", lookup: "<C_EmailAddress>" + $('#txtEvtUpdatesEmail').val() + "</C_EmailAddress>", success: function() { EvtUpdatesPopulateForm(true); }}); } } } } function EvtUpdatesPopulateForm(flgIsCookie) { debugout("EvtUpdatesPopulateForm('" + flgIsCookie + "')"); if (typeof GetElqContentPersonalizationValue == "function") { var oHistoryDate = new Date(); oHistoryDate.setMonth(oHistoryDate.getMonth() - intArchiveMonths); var oLastModified; var _LastModified = GetElqContentPersonalizationValue('C_DateModified'); var arrParts = _LastModified.split('/'); if (arrParts.length == 3) { debugout("_LastModified: " + _LastModified + " / " + arrParts[2] + " : " + (arrParts[0]-1) + " : " + arrParts[1]); debugout("oHistoryDate: " + oHistoryDate); oLastModified = new Date(arrParts[2], arrParts[0]-1, arrParts[1]); } if (arrParts.length != 3 || oLastModified > oHistoryDate) { debugout("Elq data valid"); // populate.. if ($('#txtEvtUpdatesFirstname').val() == '') { $('#txtEvtUpdatesFirstname').val(GetElqContentPersonalizationValue('C_FirstName')); } if ($('#txtEvtUpdatesLastname').val() == '') { $('#txtEvtUpdatesLastname').val(GetElqContentPersonalizationValue('C_LastName')); } } else { debugout("Date test failed, not populated"); } //basics.. always update, since a reflection on the email used $('#SFDCContactID').val(GetElqContentPersonalizationValue('SFDCContactID')); $('#SFDCAccountID').val(GetElqContentPersonalizationValue('SFDCAccountID')); debugout("SFDCContactID: " + $('#SFDCContactID').val()); debugout("SFDCAccountID: " + $('#SFDCAccountID').val()); } else { debugout("no ELQ function"); } } function EvtUpdatesValidate() { debugout("EvtUpdatesValidate()"); if (submitOnce == 0) { var oInput; var flgFirstError = true; $("div#EvtUpdates div.form-group").each(function(){ oInput = $(this).find("input"); //debugout(oInput.val()); //debugout("has class? " + oInput.hasClass("inputRequired")); if (oInput.length && oInput.hasClass("inputRequired") && $.trim(oInput.val()) == '') { //error debugout("ERROR. data for input: " + oInput.val()); $(this).removeClass("has-success"); $(this).addClass("has-error"); if (flgFirstError) { oInput.focus(); flgFirstError=false; } } else { $(this).removeClass("has-error"); $(this).addClass("has-success"); } }); } else { flgFirstError = false; } return flgFirstError; } function EvtUpdatesProcess() { debugout("EvtUpdatesProcess()"); var flgOK = true; EvtUpdatesProcessStart(); dataLayer.push({ 'event': 'goalVPV', 'VPV': '/evtUpdates/' }); submitOnce = 1; //var strServicePath = "/template/live/events.asmx/"; var strServicePath = "/template/live/events.asmx/"; //var strData = "{'EID':'" + strEventID + "','Email':'" + $("#txtEvtUpdatesEmail").val() + "','Firstname':'" + $("#txtEvtUpdatesFirstname").val() + "','Lastname':'" + $("#txtEvtUpdatesLastname").val() + "'}"; var strFirstname = ($("#txtEvtUpdatesFirstname").length > 0) ? $("#txtEvtUpdatesFirstname").val() : ''; var strLastname = ($("#txtEvtUpdatesLastname").length > 0) ? $("#txtEvtUpdatesLastname").val() : ''; var strOffice = ($("#TerrapinnMetaOffice").length > 0) ? $("#TerrapinnMetaOffice").attr('content') : ''; //console.log('strOffice: ' + strOffice); var strData = "{'EID':'" + strEventID + "','Email':'" + $("#txtEvtUpdatesEmail").val() + "','Firstname':'" + strFirstname + "','Lastname':'" + strLastname + "','Office':'" + strOffice + "'}"; debugout("strData: " + strData); LE.init('bc9b6f96-0d5d-45d7-87de-253d43edf3e6'); LE.log("Evt updates subscription attempt [" + strEventID + "] [" + window.location + "]"); debugout("LSE evt tracked"); jQuery.ajax({ type: "POST", url: strServicePath + "EventSignup", data: '{"Token":"' + strEventHash + '","EventID":"' + strEventID + '","oParams":"' + strData + '"}', contentType: "application/json; charset=utf-8", dataType: "json", success: function (msg) { debugout("webservice response: " + msg.d); if (msg.d) { //good.. debugout("success"); EvtUpdatesProcessResult(true); } else { //error.. flgOK = false; debugout("apologies, unable to complete this at present"); EvtUpdatesProcessResult(false); } }, failure: function () { flgOK = false debugout("apologies, unable to complete this at present"); EvtUpdatesProcessResult(false); } }); } function EvtUpdatesProcessStart() { debugout("EvtUpdatesProcessStart()"); // hide form.. var intTime = 250; var intCount = 0; $("div#EvtUpdates div.form-group").each(function(i, el){ intCount = intCount+1; setTimeout(function(){ $(el).animate({right: '400px', opacity: '0'}, "slow"); }, intCount * intTime); }); intCount = intCount + 2; setTimeout(function(){ $("div#EvtUpdates div.form-group").css("display","none"); $("div#EvtUpdates div.form-inline").append('<img src="https://secure.terrapinn.com/v5/img/icons/loader.gif" alt="ajax loader icon" id="EvtUpdatesAjaxLoader" />'); }, (intCount * intTime)); } function EvtUpdatesProcessResult(flgResult) { debugout("EvtUpdatesProcessResult() : " + flgResult); // show msg.. var strHtml = ''; if (flgResult) { strHtml = '<h3 style="opacity:0;" id="EvtUpdatesResponseMsg">' + strResponseMsg + '</h3>'; } else { strHtml = '<h3 style="opacity:0;" id="EvtUpdatesResponseMsg">Apologies, at this time we\'re unable to carry out this request. Please try again later or <a href="mailto:' + strResponseCS + '">get in touch</a></h3>'; LE.log("Evt updates subscription FAILS [" + strEventID + "] [" + window.location + "]"); } setTimeout(function(){ $("img#EvtUpdatesAjaxLoader").animate({opacity: '0'}, "fast"); $("div#EvtUpdates div.form-inline").append(strHtml); $("img#EvtUpdatesAjaxLoader").css("display","none"); $("h3#EvtUpdatesResponseMsg").animate({opacity: '1'}, "slow"); }, 2050); } jQuery.fn.hideInput = function() { this.animate({left: '300px', opacity: '0'}, "slow"); return this; }; function debugout(strData) { try { //if (getParameterByName('adrian')=='1') { alert(strData);console.log(strData); } //console.log(strData); // alert(strData); } catch(err) { } } function showError(ex) { //var caller_line = ex.stack.split("\n")[4]; //var index = caller_line.indexOf("at "); //var clean = caller_line.slice(index+2, caller_line.length); console.log(ex); } function getParameterByName(name) { try { name = name.replace(/[\[]/, "\\\[").replace(/[\]]/, "\\\]"); var regexS = "[\\?&]" + name + "=([^&#]*)"; var regex = new RegExp(regexS); var results = regex.exec(window.location.search); if(results == null) return ""; else return decodeURIComponent(results[1].replace(/\+/g, " ")); } catch(err) { console.log(err.message); } } </script> <!-- Wisepops checks --> <script> var intWisepopChecks = 0; $(function () { try { return; window.setTimeout(CheckWiepops, 500); } catch(err) { console.log(err.message); } }); function CheckWiepops() { intWisepopChecks = intWisepopChecks+1; //console.log("intWisepopChecks: " + intWisepopChecks); if (intWisepopChecks>10) { return; } if ($("div#wisepop-main-container").length) { //alert("have wisepops"); _paq.push(['trackEvent', 'Wisepops', 'Shown', '']); $("a.wisepop-building-block-action").click(function() { //alert("wisepops clicked! " + this.href); _paq.push(['trackEvent', 'Wisepops', 'ActionTaken', this.href]); //return false; }); $("div.wisepop-overlay").click(function() { //alert("wisepops cleared!!"); _paq.push(['trackEvent', 'Wisepops', 'Closed', 'overlay']); }); $("a.wisepop-close").click(function() { //alert("wisepops cleared!!"); _paq.push(['trackEvent', 'Wisepops', 'Closed', 'cross']); }); $("div#wisepop-content a[data-action~='close']").click(function() { //alert("wisepops cleared!!"); _paq.push(['trackEvent', 'Wisepops', 'Closed', 'close']); }); } else { window.setTimeout(CheckWiepops, 500); } } function CheckMyAccount() { var evtDate = $("span.dtstart").attr("data-start-utc"); //console.log($("span.dtstart").attr("data-start-utc")); //evtDate = new Date("2023-10-30"); if (intWidth > SMALL_WINDOW) { if (Date.parse(evtDate) >= Date.parse(new Date("2023-12-30"))) { $("div#VenueAndDates").css("text-align","left"); $("div#VenueAndDates").css("padding-left","90px"); $('div#VenueAndDates').append('<div id="NewButtons"><a href="register" id="btnReg" title="get your tickets now" class="btn btn-default">Tickets</a><a href="https://www.terrapinn.com/my-account/" id="btnMyAccount" title="login to your Terrapinn account" class="btn btn-default">Login</a></div>'); } } } function ProcessPanelOrgs(strType,strEIDs) { console.log("ProcessPanelOrgs('" + strType + "','" + strEIDs + "')"); var arrEIDs = strEIDs.split(','); console.dir(arrEIDs); // first cycle through an remove all items not referenced by the EID collection... $("div#" + strType + " ul li div.Spn").each(function( index ) { if (!arrEIDs.includes($(this).attr('data-eventId'))) { $(this).remove(); console.log("removed"); } }); // now re-sort the positions... var intCount = 0; var strHTML = '<li>'; $("div#" + strType + " ul li div.Spn").each(function( index ) { strHTML += '<div class="Spn">' + $(this).html() + '</div>'; intCount ++; if ((intCount % 2) == 0) { strHTML += '</li><li>'; } }); strHTML += '</li>'; $("div#" + strType + " ul").empty(); $("div#" + strType + " ul").append(strHTML); } function ProcessListingOrgs(strType, strEIDs) { console.log("ProcessOrgs('" + strType + "','" + strEIDs + "')"); var arrEIDs = strEIDs.split(','); console.dir(arrEIDs); // first cycle through an remove all items not referenced by the EID collection... $("div#" + strType + " div.Panel").each(function( index ) { //console.log($(this).attr('data-eventId')); if (!arrEIDs.includes($(this).attr('data-eventId'))) { $(this).remove(); //console.log("removed"); } else { //console.log($(this).attr('data-eventId')); } }); // now reprocess alignment... var intCount = 0; var strHTML = '<div class="row Framed">'; $("div#" + strType + " div.Panel").each(function( index ) { //console.log($( this ).clone()).html()); strHTML += '<div class="col-sm-3 Panel">' + $(this).html() + '</div>'; intCount ++; if ((intCount % 4) == 0) { strHTML += '</div><div class="row Framed">'; } }); strHTML += '</div>'; $("div#" + strType).empty(); $("div#" + strType).append(strHTML); } </script> <!-- Captcha --> <script src="/config/inc/tracking/GA_Captcha.js"></script> <script src="/config/inc/tracking/sourcebuster.min.js"></script> <script src="/config/inc/tracking/AF_Attribution.js?v=3"></script> <script defer="defer" type="text/javascript" src="https://www.terrapinn-cdn.com/config/inc/lightbox-master/dist/ekko-lightbox.min.js"></script> <script defer="defer" type="text/javascript" src="https://www.terrapinn-cdn.com/config/inc/eloqua/elqTracker_events.js"></script> <!-- base tracking --> <script data-cfasync="false">(function(W,i,s,e,P,o,p){W['WisePopsObject']=P;W[P]=W[P]||function(){(W[P].q=W[P].q||[]).push(arguments)},W[P].l=1*new Date();o=i.createElement(s),p=i.getElementsByTagName(s)[0];o.defer=1;o.src=e;p.parentNode.insertBefore(o,p)})(window,document,'script','//loader.wisepops.com/get-loader.js?v=1&site=cdJC824935','wisepops');</script> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10