// rotatin banners var href = 'http://www.latinosinlondon.com/'; var settings = { 'force_size': 0, // if set to 1 all banners will be resized to the width and height in the next to settings 'img_width': 480, // width to resize all banners to, only takes effect if above is 1 'img_height': 80, // height to resize all banners to, only takes effect if above is 1 'refresh_time': 5000, // the seconds between refreshs of the banners - use 0 to disable 'refresh_max': 100, // maximum number of refreshs on each page load 'duplicate_banners': 0, // keep as 0 to make sure the same banner won't show on the same page. 'location_prefix': 'adLocation-', // The prefix of the IDs which wraps the banners - this div is generated dynamically. 'location_class': 'swb', // A class to add to all which wrap the banners, 'window': '_blank', // Window to open links in, _self = current, _blank = new. Use _top if in a frame! 'default_ad_loc': 'default' // The default adLocation. This is assigned to any banners not given an adLocation } /**Banners**/ var banners = [new banner('Sabor Pop-up (The flavour of latin america) : 17 June ', 'http://www.sabor.co.uk/pop-ups/flavours-latin-hornsey-town-hall/', 'banners/right/S1-01.png', '18/06/2017', 'right'), new banner('Andres Cepeda in London : 25 April', 'https://www.wblive.co.uk/events', 'banners/header/17554462101543441963816062067076341801444847n.jpg', '26/04/2017', 'header'), new banner('UK University Fair 2013 : Sat. 9 March [Free]', 'http://www.ukunifair.co.uk/', 'banners/right/express 99x120(final)(1).jpg', '10/03/2013', 'right'), new banner(' CASA Latin American Theatre Festival (Sept - Oct)', 'http://bit.ly/CASA17Int', 'banners/right/Latinos in London Great Actress-215x435px.jpg', '31/10/2017', 'right'), new banner('The Economist | Latin America', 'http://www.economist.com/topics/latin-america', 'banners/footer/10209739977478495188.gif', '01/07/2017', 'footer'), new banner('The Golden Dream (La Jaula de Oro) : From 27th June [UK Cinemas]', 'http://www.thegoldendream.co.uk', 'banners/header/TheGoldenDream480x100.jpg', '16/07/2014', 'header'), new banner('benitos hat', 'http://www.benitos-hat.com/', 'banners/left/cccc.png', '31/07/2016', 'left'), new banner('Bear Grylls seeks Latin American participants for new series ', 'http://www.latinosinlondon.com/magazine_view.php?id=217', 'banners/header/beartop.jpg', '18/08/2014', 'header'), new banner('BUY TICKETS TO SEE: Bomba Estereo in Concert : 1 July + Watch worldcup @ Coronet #ElephantandCastle', 'http://www.aracataca.co.uk/', 'banners/header/Bomba-Mundial Latinos Banner.jpg', '13/07/2014', 'header'), new banner('ABN TV UK sky channel 235, proudly presents Second chance', 'http://www.abntv.co.uk/', 'banners/header/Second-Chance-480X100.jpg', '10/05/2015', 'header'), new banner('Support local music!', 'http://www.latinosinlondon.com/events.php', 'banners/right/18527c6aa12324628d71f4f7f520e0e2.jpg', '31/08/2019', 'right'), new banner('Buena vista Social Club : Adios Tour London - 5 April 2015', 'http://www.latinosinlondon.com/events_view.php?id=1132', 'banners/left/BuenaVistaSocialClub.JPG', '05/04/2015', 'left'), new banner('We are celebrating 10 years and counting!!', 'http://www.latinosinlondon.com/events.php', 'banners/right/10-year-anniversary-logo.jpeg', '31/12/2017', 'right'), new banner('Enrique Iglesias + Demi Lovato in Concert: 28 November', 'http://www.latinosinlondon.com/events_view.php?id=1136', 'banners/header/8267396504221558471.gif', '30/06/2014', 'header'), new banner('Find us on Facebook and get your daily updates', 'http://www.facebook.com/latinosinlondonltd', 'banners/header/6ca62ad8122eb36f9acf32f20f6ab4d0x.jpg', '31/08/2019', 'header'), new banner('Frontera Festival : 28 May - BUY TICKETS HERE', 'https://www5.shocklogic.com/scripts/jmevent/Registration.asp?Client_Id=%27FRONTERA%27&Project_Id=%27F010506%27&System_Id=2&Form_Id=&Language_Code', 'banners/header/bannercrowd.jpg', '29/05/2016', 'header'), new banner('Los Fabulosos Cadillacs in London : 14 July - BOOK NOW CLICK HERE', 'http://www.comono.co.uk/live/los-fabulosos-cadillacs/', 'banners/right/losfab-shepherds-bushwf2.jpg', '15/07/2017', 'right'), new banner('BUY TICKETS : Jose Feliciano in Concert : 30 Oct- 1 Nov. London', 'http://www.soundcraftltd.com/jose-feliciano/4585958529', 'banners/header/JF110414 Y.jpg', '12/10/2014', 'header'), new banner('Celebrate the Year of Mexico in the United Kingdom ', 'http://www.latinosinlondon.com/events_view.php?id=1477', 'banners/header/2015yeardual.jpg', '15/01/2016', 'header'), new banner('Rodrigo & Gabriela in London - 21 March 2015', 'http://www.latinosinlondon.com/video_view.php?id=432', 'banners/left/104583787632362237079252072085814057440682n.jpg', '21/03/2015', 'left'), new banner('Colombia Indepen\'Dance\' Day Party : 19 July', 'http://www.latinosinlondon.com/events_view.php?id=745', 'banners/right/1001468649409398420738262454858n.jpg', '21/07/2013', 'right'), new banner('Direct from Colombia! Fonseca in Concert : Friday 20 June - CLICK HERE TO BUY TICKETS HERE', 'https://globalmix.ticketabc.com/events/fonseca/', 'banners/header/fonsecabannerlil1.jpg', '22/06/2014', 'header'), new banner('Comida Fest : 8 - 9 July, 2017', 'http://comidafest.com', 'banners/header/Screen Shot 2017-07-04 at 22.43.57.png', '31/10/2017', 'header'), new banner('Open iTunes to download and subscribe to podcasts.', 'https://itunes.apple.com/gb/podcast/latinos-in-londons-radio-podcast/id506334016?mt=2', 'banners/header/decadeofitunesbanner0.png', '21/02/2018', 'header'), new banner('STAND UP COMEDY | Piter Albeiro \'Por primera vez\' in London : 7 June', 'https://www5.shocklogic.com/scripts/jmevent/Registration.asp?Client_Id=%27latinpr%27&Project_Id=%27PiterAlb%27&System_Id=2&User_Id=armandolatinpr&A=&Language_Code=', 'banners/header/PITERLIL-16.png', '08/06/2015', 'header'), new banner('FC Barcelona V AS Roma : 5th August on SKY 235 - Freeview 252', 'https://www.facebook.com/ABNTelevision', 'banners/right/BarcelonaFootballMatchA5Flyer2.png', '31/08/2015', 'right'), new banner('kbm Training & Recruitment - Join us!', 'http://www.kbmtr.co.uk/index.php', 'banners/right/banner english.png', '19/12/2015', 'right'), new banner('I am an Immigrant', 'http://', 'banners/left/paddingtonposter2-687x1024.jpg', '20/05/2018', 'left'), new banner('7 January Grand finale \'La Patrona\' on @ABNTelevision SKY Channel 235 - Don\'t miss!', 'http://www.abntv.co.uk/', 'banners/right/LaPatrona-215X435.jpg', '09/01/2015', 'right'), new banner('Whitgift School is launching Ruta Hispana! Find out more.. CLICK HERE', 'http://www.whitgift.co.uk/academic.aspx?SubCatID=35&PageID=543', 'banners/header/RUTA-HISPANA.gif', '18/12/2015', 'header'), new banner('rolling stones : ole ole ole', 'http://www.latinosinlondon.com/video_view.php?id=502', 'banners/header/5pj76f.jpg', '30/06/2017', 'header'), new banner('Ever dreamed of volunteering in LatinAmerica? Apply to Progressio ICS.', 'http://www.progressio.org.uk/ics', 'banners/header/Progressio Top Centre Banner.jpg', '14/07/2014', 'header'), new banner('Sidestepper in Concert : 17 July ', 'http://www.soundcrashmusic.com/sidestepper/', 'banners/right/cc9f5ab0-fc53-4091-b3c5-eb6461c285fe.jpg', '24/05/2016', 'right'), new banner('Know the UK N.1 Hair online shop : BRAZILIAN HAIR PRODUCTS: www.brazilianhairproductsonline.com | INOAR professional UK Authorized dealer.', 'http://www.brazilianhairproductsonline.com ', 'banners/right/bhplatinos.jpg', '01/11/2015', 'right'), new banner('wahaca', 'http://www.wahaca.co.uk', 'banners/header/logoWahaca.jpg', '10/10/2013', 'header'), new banner('Chilli Fiesta : 9 - 11 August [West Dean Chichester] BOOK TICKETS', 'http://www.westdean.org.uk/EventTicketBooking/Buy%20Weekend%20Event%20Tickets%20On-Line.aspx', 'banners/right/Latinos-Chilliadvert96dpi.jpg', '19/08/2013', 'right'), new banner('oldelpaso', 'http://www.oldelpaso.co.uk/', 'banners/header/oldelpaso1.jpg', '06/10/2013', 'header'), new banner(' Our campaign seeks to challenge the negative rhetoric against immigrants', 'http://www.iamanimmigrant.net/', 'banners/left/immigrantposter1.jpg', '31/01/2016', 'left'), new banner('Bear Grylls seeks Latin American participants for new series', 'http://www.latinosinlondon.com/magazine_view.php?id=217', 'banners/right/BG Flyer D(1).jpg', '18/08/2014', 'right'), new banner('Alexis & Ospina T-shirts @ Arsenal Shop', 'http://arsenaldirect.arsenal.com/puma/icat/pumakit?utm_source=arsenal&utm_medium=tallbanner&utm_campaign=kitlaunch', 'banners/right/6545876306264115641.gif', '31/01/2019', 'right'), new banner('Visit Latin America!', 'http://www.latinosinlondon.com', 'banners/right/keep-calm-and-visit-latin-america.png', '01/11/2015', 'right'), new banner('Find your courses at City of Westminster College', 'http://www.cwc.ac.uk/Courses/Pages/default.aspx', 'banners/header/561218887299745498.jpg', '31/08/2015', 'header'), new banner('Aracataca events in London', 'http://www.aracataca.co.uk/events', 'banners/right/473844837324149936131698575775n.jpg', '19/08/2013', 'right'), new banner('Subscribe to our newsletter', 'https://www.facebook.com/LatinosInLondonLtd/app/100265896690345/?ref=page_internal', 'banners/header/Sign Up-4.jpg', '31/03/2019', 'header'), new banner('tesco', 'http://www.tesco.com/groceries/Product/Search/Default.aspx?searchBox=latin&newSort=true&search.x=0&search.y=0&search=Search', 'banners/right/tesco.jpg', '31/07/2015', 'right'), new banner(' 22 Jul 2017 : Hola! London feat Juan Luis Guerra, Juanes, David Bisbal & Sebastián Yatra.', ' http://www.theo2.co.uk/events/detail/hola-london', 'banners/right/Hola!LASS200x2001-2.jpg', '05/05/2017', 'right'), new banner('7 January Grand finale \'La Patrona\' on @ABNTelevision SKY Channel 235 - Don\'t miss!', 'http://www.abntv.co.uk/', 'banners/header/LaPatrona-480X100.jpg', '08/01/2015', 'header'), new banner('Lokandes CD Out Now!', 'http://latinosinlondon.bandcamp.com/album/lokandes-positive-energy', 'banners/left/lilokandes.jpg', '30/11/2018', 'left'), new banner('BUY TICKETS: Quantic + Renegade Brass Band : 25 September', 'http://www.soundcrashmusic.com/quantic-renegade-brass-band/', 'banners/right/Quanticartwork(1).png', '16/08/2015', 'right'), new banner('ABN TV UK sky channel 235, proudly presents What life took from me : Everyday 7pm - Freeview 252', 'http://www.abntv.co.uk/', 'banners/header/468X60whatlifetook.png', '09/10/2015', 'header'), new banner('Rubicon Fruit Juices 2', 'http://as.com', 'banners/left/vv - Copy.png', '02/08/2013', 'left'), new banner('Los Fabulosos Cadillacs in London : 14 July - BOOK NOW CLICK HERE', 'http://www.comono.co.uk/live/los-fabulosos-cadillacs/', 'banners/header/lfctop.gif', '15/07/2017', 'header'), new banner('Frontera Festival : 28 May - BUY TICKETS HERE', 'https://www5.shocklogic.com/scripts/jmevent/Registration.asp?Client_Id=%27FRONTERA%27&Project_Id=%27F010506%27&System_Id=2&Form_Id=&Language_Code', 'banners/right/frontera londonv4 sin texto.jpg', '29/05/2016', 'right'), new banner('Latin Amercan Organic Coffee', 'http://www.waitrose.com/shop/DisplayProductFlyout?productId=413771', 'banners/right/PERCOL.png', '01/11/2015', 'right'), new banner('Fiesta Worldcup 2018 : 14 June - 15 July ', 'http://www.latinosinlondon.com/events_view.php?id=1820', 'banners/right/FANDIRTYHARRY-03.png', '31/07/2018', 'right'), new banner('Colores de Colombia : Saturday 18 October - BUY TICKETS', 'https://www.ticketabc.com/events/coloresdecolombia/', 'banners/header/10516746101527474629300973582087096020407744n.jpg', '19/10/2014', 'header'), new banner('Christmas Carnaval del Pueblo : 22 December @ The Coronet [BUY TICKETS HERE]', ' http://coronettheatre.co.uk/events/2675/ ', 'banners/right/cdp 58215n.jpg', '23/12/2013', 'right'), new banner('Direct from Colombia: Piter Albeiro \"Stand up comedy\" : 4 June', 'http://www.latinmusicproductions.net/#!tickets-/cyfh', 'banners/right/image3.JPG', '05/06/2016', 'right'), new banner('Advertise with us. Click here for more info.', 'http://www.latinosinlondon.com/advertising.php', 'banners/header/3069584orig.jpg', '31/05/2020', 'header'), new banner('Want to volunteer in a team alongside local communities in El Salvador, Honduras and Nicaragua? Find out more and apply now', 'http://www.progressio.org.uk/ics', 'banners/header/Progressio Top Centre Banner.jpg', '22/04/2014', 'header'), new banner('Register to vote : Until 22 May, 11:59pm', 'https://www.gov.uk/register-to-vote', 'banners/header/7148-web-banner-950x200-registertovote-2017-landing-page.jpg', '23/05/2017', 'header'), new banner('14 July - Get ready! Coming soon to ABN is the exclusive series premiere of #LaPatrona ', 'http://www.abntv.co.uk/', 'banners/header/LaPatrona-480X100(1).jpg', '10/08/2014', 'header'), new banner('Whitgift School, an independent day and boarding school for boys in south London, is launching Ruta Hispana, a tailor-made Spanish syllabus, designed for pupils who are native, or near-native, speakers of Spanish. ', 'http://www.whitgift.co.uk/academic.aspx?SubCatID=35&PageID=543', 'banners/right/RutaHispana-verticalbanner(1).jpg', '18/12/2015', 'right'), new banner('Hola London - Latin music fest : 22 July BUY TICKETS NOW', 'http://www.theo2.co.uk/events/detail/hola-london?cid=THEO2_Internal_HolaLondon_Social_Organic_100417', 'banners/header/Screen Shot 2017-05-04 at 00.19.07.png', '19/05/2017', 'header'), new banner('adidas', 'http://www.adidas.co.uk/', 'banners/right/hytg.png', '17/01/2013', 'right'), new banner('ABN TV UK sky channel 235, proudly presents Second chance', 'http://www.abntv.co.uk/', 'banners/right/SecondChance-215X435.jpg', '10/05/2015', 'right'), new banner('Friday, 16 June #SalsaFest London, UK : Javier Vasquez + Angelica Lopez & DJs', 'http://www.tinyurl.com/LONDONCALISTYLE', 'banners/right/A6Flyer2JavierVasquez-01.png', '17/06/2017', 'right'), new banner('cambridge uni Latin America', 'http://www.latinosinlondon.com', 'banners/footer/latin-am7w940h198v31.jpg', '09/12/2018', 'footer'), new banner('santa maria', 'http://www.santamariadelsur.co.uk', 'banners/header/santa mariahhh.jpg', '30/10/2013', 'header'), new banner('Andres Cepeda in London : 25 April, 2017', 'http://store.unionchapel.org.uk/events/25-apr-17-andres-cepeda-union-chapel/', 'banners/right/PosterA3CepedaLondon-01.jpeg', '26/04/2017', 'right'), new banner('We are celebrating 10 years and counting!!', 'http://www.latinosinlondon.com/events.php', 'banners/header/Ribbon10Years.jpg.opt588x163o00s588x163.jpeg', '31/05/2017', 'header'), new banner('Advertise with us. Click here for more info.', 'http://www.latinosinlondon.com/advertising.php', 'banners/footer/bannerPromote.png', '31/12/2016', 'footer'), new banner('Salsa Fest : Javier Vasquez + Angelica Lopez + DJs : 16 June', 'http://www.tinyurl.com/LONDONCALISTYLE', 'banners/header/Screen Shot 2017-06-10 at 13.13.56.png', '17/06/2017', 'header'), new banner('The Official Website of the 2014 FIFA World Cup Brazil™', 'http://www.fifa.com/worldcup/matches/index.html', 'banners/right/poster620x8001664190a.jpg', '13/07/2014', 'right'), new banner('Rubicon Fruit Juices', 'http://www.rubiconexotic.com/', 'banners/right/vv.png', '13/07/2013', 'right'), new banner('Carnaval Latino Brixton 2015 : 26 September', 'http://www.latinosinlondon.com/events_view.php?id=1494', 'banners/header/carnavallatino15.png', '28/09/2015', 'header'), new banner('London Tropical Vibes w/ Conjunto Sabroso : 2nd February / 2013', 'http://www.interculturalliance.org.uk/london-tropical-vibes2/', 'banners/right/LTV 1.jpg', '03/02/2013', 'right'), new banner('nandos', 'http://www.nandos.co.uk', 'banners/header/nandos3.jpg', '31/07/2013', 'header'), new banner('If you´d like #Lechona for #Christmas we are taking orders for another week! #ColombianFoodLondon ', 'https://www.facebook.com/marlonskitchen', 'banners/right/CWIJ7eWsAALZhx.jpglarge.jpg', '20/12/2015', 'right'), new banner('BA to Latin America', 'http://www.britishairways.com/travel/south-america-holidays/public/en_gb', 'banners/footer/british airways.jpg', '31/07/2018', 'footer'), new banner('NuLL', 'NuLL','NuLL','NuLL', 'NuLL') ] /////////////////////////////////////////////////////////////////////////////////// var used=0;var location_counter=0;var refresh_counter=1;var map=new Array();function banner(a,b,c,d,e){this.name=a;this.url=b;this.image=c;this.date=d;this.active=1;this.oid=0;if(e!=''){this.loc=e}else{this.loc=settings.default_ad_loc}}function show_banners(a){location_counter=location_counter+1;if(a!=''&&a!=undefined){map[location_counter]=a}else{map[location_counter]=settings.default_ad_loc}var b='
';document.write(b);display_banners(location_counter)}function display_banners(a){var b=new Array();if(a==''||!a||a<0){return}var c=banners.length;if((c==used)&&settings.duplicate_banners==0){return}for(i=0;i<(banners.length);i++){banners[i].oid=i;if((banners[i].loc==map[a])&&(banners[i].active==1)){b.push(banners[i])}}var d=Math.floor(Math.random()*b.length);var e=b[d];var f=(settings.force_size==1)?' width="'+settings.img_width+'" height="'+settings.img_height+'"':'';var g=''+e.name+'';var h=new Date();var j=e.date;j=j.split('/',3);var k=new Date();k.setFullYear(parseInt(j[2]),parseInt(j[1])-1,parseInt(j[0]));if((h