 
	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 = '20154130';
		 anext["20154130"] = new next_obj('20154057','\'\'Pushing Daisies\'\': Chuck cheats, a little','/ew/article/0,,20054547_20055147_20154057,00.html','10/25/2007 10:00AM');
		 anext["20154057"] = new next_obj('20154024','\'\'Private Practice\'\': Addison can\'t be alone','/ew/article/0,,20054547_20055147_20154024,00.html','10/25/2007 08:00AM');
		 anext["20154024"] = new next_obj('20153937','\'\'Gossip Girl\'\' producer on straying from the books','/ew/article/0,,20054547_20055147_20153937,00.html','10/24/2007 04:00PM');
		 anext["20153937"] = new next_obj('20152746','Exclusive: \'\'CSI\'\' star Fox explains why she quit','/ew/article/0,,20054547_20055147_20152746,00.html','10/16/2007 07:00PM');
		 anext["20152746"] = new next_obj('20058081','The premiere of \'\'Survivor: China\'\': Early favorites','/ew/article/0,,20054547_20055147_20058081,00.html','09/21/2007 09:10AM');
		 anext["20058081"] = new next_obj('20057585','\'\'Heroes\'\' report card: We grade each season 1 episode','/ew/article/0,,20054547_20055147_20057585,00.html','09/18/2007 05:00PM');
		 anext["20057585"] = new next_obj('20057813','\'\'Top Model\'\' season premiere: Tyra\'s new low','/ew/article/0,,20054547_20055147_20057813,00.html','09/20/2007 11:00AM');
		 anext["20057813"] = new next_obj('20057789','The \'\'Kid Nation\'\' premiere: Greed is good','/ew/article/0,,20054547_20055147_20057789,00.html','09/20/2007 08:00AM');
		 anext["20057789"] = new next_obj('20057844','\'\'Top Chef\'\': Hung and Casey step up','/ew/article/0,,20054547_20055147_20057844,00.html','09/20/2007 01:00PM');
		 anext["20057844"] = new next_obj('20057512','Meet \'\'Beauty\'\'\'s first female \'\'geek\'\'','/ew/article/0,,20054547_20055147_20057512,00.html','09/18/2007 10:00AM');
		 anext["20057512"] = new next_obj('20057496','\'\'Weeds\'\': Mary-Kate Olsen plays naughty','/ew/article/0,,20054547_20055147_20057496,00.html','09/18/2007 07:00AM');
		 anext["20057496"] = new next_obj('20057511','\'\'The Hills\'\': Heidi confronts Lauren and Jason','/ew/article/0,,20054547_20055147_20057511,00.html','09/18/2007 10:25AM');
		 anext["20057511"] = new next_obj('20055521','\'\'Tell Me You Love Me\'\': More than sexual','/ew/article/0,,20054547_20055147_20055521,00.html','09/10/2007 12:00AM');
		 anext["20055521"] = new next_obj('20055095','Kate Walsh\'s \'\'Private Practice\'\': What to expect','/ew/article/0,,20054547_20055147_20055095,00.html','09/07/2007 10:00AM');
		 anext["20055095"] = new next_obj('20052938','Kristen Bell: \'\'I love nerds\'\'','/ew/article/0,,20054547_20055147_20052938,00.html','08/22/2007 05:00PM');
		 anext["20052938"] = new next_obj('20051877','A chat with the \'\'Kid Nation\'\' pioneers','/ew/article/0,,20054547_20055147_20051877,00.html','08/15/2007 03:00PM');
		 anext["20051877"] = new next_obj('20049808','Isaiah Washington: Inside his \'Bionic Woman\' deal','/ew/article/0,,20054547_20055147_20049808,00.html','08/02/2007 08:55PM');
		 anext["20049808"] = new next_obj('20047671','Fox execs: \'\'24\'\' doesn\'t need fixing','/ew/article/0,,20054547_20055147_20047671,00.html','07/22/2007 04:20PM');
		 anext["20047671"] = new next_obj('20048160','Serious questions for \'\'Cavemen\'\'','/ew/article/0,,20054547_20055147_20048160,00.html','07/25/2007 10:00PM');
		 anext["20048160"] = new next_obj('20047582','The CW starts fresh in season 2','/ew/article/0,,20054547_20055147_20047582,00.html','07/20/2007 04:45PM');
		 anext["20047582"] = new next_obj('20044586','Catching up with Robert Sean Leonard','/ew/article/0,,20054547_20055147_20044586,00.html','07/03/2007 08:00PM');
		 anext["20044586"] = new next_obj('20047149','New twist for Kutcher\'s \'\'Geek\'\'','/ew/article/0,,20054547_20055147_20047149,00.html','07/18/2007 07:50PM');
		 anext["20047149"] = new next_obj('20048543','Steady pulse for \'\'Grey\'s\'\' spinoff?','/ew/article/0,,20054547_20055147_20048543,00.html','07/27/2007 07:00AM');
		 anext["20048543"] = new next_obj('20046741','NBC shakes up its lineup','/ew/article/0,,20054547_20055147_20046741,00.html','07/17/2007 06:25AM');
		 anext["20046741"] = new next_obj('20057887','Fall TV steel cage!','/ew/article/0,,20054547_20055147_20057887,00.html','09/20/2007 04:40PM');
		 anext["20057887"] = new next_obj('20154130','\'\'America\'s Next Top Model\'\' recap: The wrong exit','/ew/article/0,,20054547_20055147_20154130,00.html','10/25/2007 11:00AM');
		 








