var anext = new Array(); var rnext = new Array(); function next_obj(article_id,title,link,date){ this.article_id=article_id; this.link=link; this.title=title; this.date=date; } function get_next_article_link_embedded(jsID,jsType) { var nextList = anext; var nextString = ''; if (jsType=="review") { nextList = rnext; if (nextList[jsID] == null) { nextList = anext; } } if (nextList[jsID] != null) { var obj = nextList[jsID]; var link = obj.link; var title= obj.title; var nextString = ''+ title +'' } return nextString } function get_next_article_link(jsID,jsType) { var nextList = anext; var nextString = ''; var defaultName = 'firstIdanext'; if (jsType=="review") { nextList = rnext; defaultName = 'firstIdrnext' if (nextList[jsID] == null) { nextList = anext; } } if (nextList[jsID] != null) { var obj = nextList[jsID]; } else { var did = eval(defaultName); var obj = nextList[did]; } var link = obj.link; var title= obj.title; var nextString = 'Next Gallery'; return nextString } var anext = new Array(); var firstIdanext = '20205733'; anext["20205733"] = new next_obj('20234839','24 TV characters who turn you off','/ew/gallery/0,,20234839,00.html','10/21/2008 04:00PM'); anext["20234839"] = new next_obj('20187007','20 scariest movies of all time','/ew/gallery/0,,20187007,00.html','01/08/2009 04:00PM'); anext["20187007"] = new next_obj('20186843','21 worst comic-book movies','/ew/gallery/0,,20186843,00.html','04/29/2009 05:00PM'); anext["20186843"] = new next_obj('20266883','26 TV faves canceled too fast','/ew/gallery/0,,20266883,00.html','03/19/2009 08:00PM'); anext["20266883"] = new next_obj('20293033','40 bad romantic comedies (part 2)','/ew/gallery/0,,20293033,00.html','07/22/2009 01:00PM'); anext["20293033"] = new next_obj('20280044','TV weddings: Impressed by the dress?','/ew/gallery/0,,20280044,00.html','05/19/2009 05:00PM'); anext["20280044"] = new next_obj('20216992','21 sexiest TV scenes: Your picks!','/ew/gallery/0,,20216992,00.html','08/05/2008 02:40PM'); anext["20216992"] = new next_obj('20015295','\'DWTS\': Why I\'m a \'Dancing\' fool','/ew/gallery/0,,20015295,00.html','03/16/2007 05:00PM'); anext["20015295"] = new next_obj('20286110','Lady Gaga: 12 outrageous outfits','/ew/gallery/0,,20286110,00.html','06/18/2009 04:00PM'); anext["20286110"] = new next_obj('20202933','Patrick Swayze: 23 key roles','/ew/gallery/0,,20202933,00.html','05/28/2008 07:00PM'); anext["20202933"] = new next_obj('20281343','14 classic Jay Leno moments','/ew/gallery/0,,20281343,00.html','09/08/2009 01:00PM'); anext["20281343"] = new next_obj('20223762','MTV VMAs: 25 good/bad/ugly moments','/ew/gallery/0,,20223762,00.html','09/05/2008 01:00PM'); anext["20223762"] = new next_obj('20290197','Sci-fi Hotties \'09: The Men','/ew/gallery/0,,20290197,00.html','07/08/2009 07:00PM'); anext["20290197"] = new next_obj('20269451','\'Inglourious Basterds\' lipstick? I want it!','/ew/gallery/0,,20269451,00.html','08/10/2009 05:00PM'); anext["20269451"] = new next_obj('20300467','20 fall movies: A geek\'s guide','/ew/gallery/0,,20300467,00.html','08/26/2009 11:25AM'); anext["20300467"] = new next_obj('20301937','Laura Leighton is a Must on \'\'Melrose\'\'','/ew/gallery/0,,20301937,00.html','09/02/2009 10:35AM'); anext["20301937"] = new next_obj('20301257','Emmy snub? Vote \'em an EWwy!','/ew/gallery/0,,20301257,00.html','08/28/2009 05:00PM'); anext["20301257"] = new next_obj('20280345','\'New Moon\': Meet the Volturi','/ew/gallery/0,,20280345,00.html','05/22/2009 10:00AM'); anext["20280345"] = new next_obj('20300293','20 best/worst horror villains','/ew/gallery/0,,20300293,00.html','08/25/2009 02:00PM'); anext["20300293"] = new next_obj('20214228','\'Project Runway\': 17 hot designs (and 7 hot messes)','/ew/gallery/0,,20214228,00.html','08/26/2009 04:00PM'); anext["20214228"] = new next_obj('20300307','Hotties \'09: YOUR top 25','/ew/gallery/0,,20300307,00.html','08/25/2009 03:00PM'); anext["20300307"] = new next_obj('20300133','15 far-out movie hippies','/ew/gallery/0,,20300133,00.html','08/24/2009 05:00PM'); anext["20300133"] = new next_obj('20300004','10 album covers you hate','/ew/gallery/0,,20300004,00.html','08/24/2009 11:00AM'); anext["20300004"] = new next_obj('20299738','Stephen King: 20 reliable rentals','/ew/gallery/0,,20299738,00.html','08/21/2009 02:00PM'); anext["20299738"] = new next_obj('20299735','12 \'Did you see it?!\' TV moments','/ew/gallery/0,,20299735,00.html','08/21/2009 02:00PM'); anext["20299735"] = new next_obj('20298703','\'Psych\' tops Reader\'s Choice Must List!','/ew/gallery/0,,20298703,00.html','08/18/2009 02:00PM'); anext["20298703"] = new next_obj('20299517','25 manliest movies ever made','/ew/gallery/0,,20299517,00.html','08/20/2009 05:00PM'); anext["20299517"] = new next_obj('20297318','15 best TV shows for foodies','/ew/gallery/0,,20297318,00.html','08/11/2009 03:00PM'); anext["20297318"] = new next_obj('20233140','\'Runway\': 13 unforgettable designs','/ew/gallery/0,,20233140,00.html','08/14/2009 08:00PM'); anext["20233140"] = new next_obj('20205733','28 TV castmates who click','/ew/gallery/0,,20205733,00.html','06/10/2008 06:00PM');