 
	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 = '<a href="' + link +'">'+ title +'</a>'
		
		} 
		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 = '<div class="nextlink"><div class="title" title="Next">Next</div> <div class="link"><a href="' + link +'">'+ title +'</a></div><div style="clear:both;"></div></div>';  return nextString
	}
	

var anext = new Array();
		var firstIdanext = '20175395';
		 anext["20175395"] = new next_obj('20174782','Comics Q&A: Brian K. Vaughan','/ew/article/0,,20036782_20037403_20174782,00.html','01/29/2008 09:00PM');
		 anext["20174782"] = new next_obj('20174762','\'Lost\' (S4): Preseason cheat sheet','/ew/article/0,,20036782_20037403_20174762,00.html','01/29/2008 06:00PM');
		 anext["20174762"] = new next_obj('20172942','\'\'Terminator\'\' recap: Sarah goes on a date','/ew/article/0,,20036782_20037403_20172942,00.html','01/22/2008 08:00AM');
		 anext["20172942"] = new next_obj('20171754','\'\'Terminator\'\' recap: Back to the present','/ew/article/0,,20036782_20037403_20171754,00.html','01/15/2008 01:00AM');
		 anext["20171754"] = new next_obj('20171481','\'\'Terminator\'\' premiere recap: They\'re back','/ew/article/0,,20036782_20037403_20171481,00.html','01/12/2008 08:00PM');
		 anext["20171481"] = new next_obj('20169405','Jeff Jensen\'s life long love of comics','/ew/article/0,,20036782_20037403_20169405,00.html','01/04/2008 12:00PM');
		 anext["20169405"] = new next_obj('20152565','\'\'Heroes\'\': The family ties get more complex','/ew/article/0,,20036782_20037403_20152565,00.html','10/16/2007 08:00AM');
		 anext["20152565"] = new next_obj('20152506','Jack Coleman: The disappearing HRG','/ew/article/0,,20036782_20037403_20152506,00.html','10/15/2007 05:00PM');
		 anext["20152506"] = new next_obj('20151182','Shalim Ortiz: Getting to know this new Hero','/ew/article/0,,20036782_20037403_20151182,00.html','10/08/2007 02:00PM');
		 anext["20151182"] = new next_obj('20150975','Dania Ramirez: Meet half of \'\'Heroes\'\'\' new twin team','/ew/article/0,,20036782_20037403_20150975,00.html','10/05/2007 05:00PM');
		 anext["20150975"] = new next_obj('20142132','\'\'The Hobbit\'\': Is Peter Jackson coming back?','/ew/article/0,,20036782_20037403_20142132,00.html','10/04/2007 01:00PM');
		 anext["20142132"] = new next_obj('20144393','David Anders: A chat with Hiro\'s Hero','/ew/article/0,,20036782_20037403_20144393,00.html','10/04/2007 03:00PM');
		 anext["20144393"] = new next_obj('20058192','\'\'Star Trek: TNG\'\': An oral history','/ew/article/0,,20036782_20037403_20058192,00.html','09/21/2007 04:00PM');
		 anext["20058192"] = new next_obj('20091102','\'\'Heroes\'\': The plot thickens','/ew/article/0,,20036782_20037403_20091102,00.html','10/02/2007 08:00AM');
		 anext["20091102"] = new next_obj('20057995','First Look: \'\'Battlestar Galactica\'\' special episode','/ew/article/0,,20036782_20037403_20057995,00.html','09/20/2007 04:00PM');
		 anext["20057995"] = new next_obj('20058513','The season 2 premiere of \'\'Heroes\'\': Hiro\'s journey','/ew/article/0,,20036782_20037403_20058513,00.html','09/25/2007 08:00AM');
		 anext["20058513"] = new next_obj('20057754','\'\'Star Trek: The Next Generation\'\': The top 10 episodes','/ew/article/0,,20036782_20037403_20057754,00.html','09/19/2007 05:00PM');
		 anext["20057754"] = new next_obj('20057885','\'\'Heroes\'\': Sneak a peek inside season 2','/ew/article/0,,20036782_20037403_20057885,00.html','09/20/2007 04:00PM');
		 anext["20057885"] = new next_obj('20039742','First Look: Check out the new \'\'Flash Gordon\'\'!','/ew/article/0,,20036782_20037403_20039742,00.html','05/22/2007 01:00PM');
		 anext["20039742"] = new next_obj('20037541','Sci-Fi 25: The best since \'82','/ew/article/0,,20036782_20037403_20037541,00.html','12/11/2008 02:00PM');
		 anext["20037541"] = new next_obj('20058002','Meet the new Heroes in season 2','/ew/article/0,,20036782_20037403_20058002,00.html','09/20/2007 05:00PM');
		 anext["20058002"] = new next_obj('20038202','The End of \'\'Lost\'\': Two execs give us the scoop','/ew/article/0,,20036782_20037403_20038202,00.html','05/08/2007 12:00PM');
		 anext["20038202"] = new next_obj('20037536','Behind the scenes at \'\'Heroes\'\'\' shocking season finale','/ew/article/0,,20036782_20037403_20037536,00.html','05/02/2007 01:00PM');
		 anext["20037536"] = new next_obj('20015932','\'\'Galactica\'\' stars talk about the shocking finale!','/ew/article/0,,20036782_20037403_20015932,00.html','03/23/2007 03:35PM');
		 anext["20015932"] = new next_obj('20034310','The Glutton: Are you a sci-fi geek? Know the signs...','/ew/article/0,,20036782_20037403_20034310,00.html','04/10/2007 03:00PM');
		 anext["20034310"] = new next_obj('676217','EW pits sci-fi\'s greatest movies against each other','/ew/article/0,,20036782_20037403_676217,00.html','08/04/2004 01:00PM');
		 anext["676217"] = new next_obj('20016219','Second \'\'X-Files\'\' movie may be back on track','/ew/article/0,,20036782_20037403_20016219,00.html','03/28/2007 12:00PM');
		 anext["20016219"] = new next_obj('1564164','Don\'t touch that \'\'Thing!\'\'','/ew/article/0,,20036782_20037403_1564164,00.html','11/29/2006 02:00PM');
		 anext["1564164"] = new next_obj('20007998','James Cameron talks \'\'Avatar\'\'','/ew/article/0,,20036782_20037403_20007998,00.html','01/10/2007 04:00PM');
		 anext["20007998"] = new next_obj('20012466','Sigourney Weaver talks about her James Cameron reunion','/ew/article/0,,20036782_20037403_20012466,00.html','02/21/2007 03:00PM');
		 anext["20012466"] = new next_obj('20015465','Kurt Russell: \'\'I am Snake Plissken!\'\'','/ew/article/0,,20036782_20037403_20015465,00.html','03/20/2007 03:05PM');
		 anext["20015465"] = new next_obj('20033522','Richard Dawson, awesome action-movie villain!','/ew/article/0,,20036782_20037403_20033522,00.html','04/03/2007 02:00PM');
		 anext["20033522"] = new next_obj('218829','The cast remembers \'\'E.T.\'\'','/ew/article/0,,20036782_20037403_218829,00.html','03/22/2002 07:00PM');
		 anext["218829"] = new next_obj('285332','Sci-Fi\'s Top 100: 1-50','/ew/article/0,,20036782_20037403_285332,00.html','10/16/1998 12:00AM');
		 anext["285332"] = new next_obj('273006','The Matrix','/ew/article/0,,20036782_20037403_273006,00.html','04/09/1999 12:00AM');
		 anext["273006"] = new next_obj('64244','The Matrix','/ew/article/0,,20036782_20037403_64244,00.html','09/21/1999 12:30AM');
		 anext["64244"] = new next_obj('273003','How \'\'The Matrix\'\' made it to the big screen','/ew/article/0,,20036782_20037403_273003,00.html','04/09/1999 12:00AM');
		 anext["273003"] = new next_obj('1537626','\'\'Battlestar Galactica\'\': Inside TV\'s next great cult hit','/ew/article/0,,20036782_20037403_1537626,00.html','09/21/2006 03:00PM');
		 anext["1537626"] = new next_obj('1540545','Battlestar Galactica','/ew/article/0,,20036782_20037403_1540545,00.html','09/29/2006 10:00AM');
		 anext["1540545"] = new next_obj('311946','Blade Runner','/ew/article/0,,20036782_20037403_311946,00.html','10/02/1992 12:00AM');
		 anext["311946"] = new next_obj('274347','Will \'\'X-Files\'\' answer viewers\' questions?','/ew/article/0,,20036782_20037403_274347,00.html','02/05/1999 12:00AM');
		 anext["274347"] = new next_obj('283781','THE X-FILES','/ew/article/0,,20036782_20037403_283781,00.html','06/26/1998 12:00AM');
		 anext["283781"] = new next_obj('335196','Star Trek II: The Wrath of Khan -- The Director\'s Edition','/ew/article/0,,20036782_20037403_335196,00.html','08/13/2002 12:00AM');
		 anext["335196"] = new next_obj('1516008','Brazil','/ew/article/0,,20036782_20037403_1516008,00.html','09/01/2006 10:00AM');
		 anext["1516008"] = new next_obj('219019','E.T. The Extra-Terrestrial','/ew/article/0,,20036782_20037403_219019,00.html','03/21/2002 12:00AM');
		 anext["219019"] = new next_obj('384191','E.T. The Extra Terrestrial: Limited Collector\'s Edition','/ew/article/0,,20036782_20037403_384191,00.html','10/29/2002 12:00AM');
		 anext["384191"] = new next_obj('269349','Star Trek: The Next Generation -- Season 3','/ew/article/0,,20036782_20037403_269349,00.html','07/01/2002 04:00PM');
		 anext["269349"] = new next_obj('309804','Inside \'\'Star Trek: The Next Generation\'\'','/ew/article/0,,20036782_20037403_309804,00.html','03/06/1992 12:00AM');
		 anext["309804"] = new next_obj('302144','\'GENERATION\' EX','/ew/article/0,,20036782_20037403_302144,00.html','05/06/1994 12:00AM');
		 anext["302144"] = new next_obj('312477','Alien','/ew/article/0,,20036782_20037403_312477,00.html','11/20/1992 12:00AM');
		 anext["312477"] = new next_obj('556235','The Alien Quadrilogy','/ew/article/0,,20036782_20037403_556235,00.html','12/09/2003 12:00AM');
		 anext["556235"] = new next_obj('365493','EW readers pick the 13 scariest movies','/ew/article/0,,20036782_20037403_365493,00.html','10/18/2002 06:00PM');
		 anext["365493"] = new next_obj('20037407','A closer look at EW\'s \'\'Heroes\'\' covers','/ew/article/0,,20036782_20037403_20037407,00.html','05/01/2007 04:00PM');
		 anext["20037407"] = new next_obj('20048456','First Look: The \'Lost\' videogame','/ew/article/0,,20036782_20037403_20048456,00.html','07/26/2007 04:00PM');
		 anext["20048456"] = new next_obj('20172942','\'\'Terminator\'\' recap: Sarah goes on a date','/ew/article/0,,20036782_20037403_20172942,00.html','01/22/2008 08:00AM');
		 anext["20172942"] = new next_obj('20175395','\'\'Lost\'\' recap: Who else escaped?','/ew/article/0,,20036782_20037403_20175395,00.html','02/01/2008 12:00AM');
		 








