 
	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 = '20166452';
		 anext["20166452"] = new next_obj('20165361','\'\'The Hills\'\': LC on MTV setups','/ew/article/0,,20165911_20165914_20165361,00.html','12/10/2007 02:00PM');
		 anext["20165361"] = new next_obj('20161757','\'\'Bachelor\'\' creator dishes on Brad\'s double diss','/ew/article/0,,20165911_20165914_20161757,00.html','11/20/2007 05:00PM');
		 anext["20161757"] = new next_obj('20040051','\'\'Lost\'\': Dominic Monaghan on Charlie\'s fate','/ew/article/0,,20165911_20165914_20040051,00.html','05/24/2007 12:00AM');
		 anext["20040051"] = new next_obj('20158840','\'\'Heroes\'\' creator to fans: I\'m super sorry','/ew/article/0,,20165911_20165914_20158840,00.html','11/07/2007 08:00AM');
		 anext["20158840"] = new next_obj('20152746','Exclusive: \'\'CSI\'\' star Fox explains why she quit','/ew/article/0,,20165911_20165914_20152746,00.html','10/16/2007 07:00PM');
		 anext["20152746"] = new next_obj('20038872','Kirk picks his 10 fave \'\'Gilmore\'\' episodes','/ew/article/0,,20165911_20165914_20038872,00.html','05/14/2007 06:00PM');
		 anext["20038872"] = new next_obj('20152845','\'\'Sopranos\'\' creator on \'\'pissed\'\' fans','/ew/article/0,,20165911_20165914_20152845,00.html','10/17/2007 04:00PM');
		 anext["20152845"] = new next_obj('20040849','Exit Interview: Alexis Bledel','/ew/article/0,,20165911_20165914_20040849,00.html','06/01/2007 10:00AM');
		 anext["20040849"] = new next_obj('20166452','The most memorable TV Watch moments of 2007','/ew/article/0,,20165911_20165914_20166452,00.html','12/14/2007 12:00PM');
		 








