 
	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 = '20226787';
		 anext["20226787"] = new next_obj('20226788','Fall TV: Gillian Flynn\'s prime-time picks','/ew/article/0,,20221152_20221173_20226788,00.html','09/17/2008 06:00PM');
		 anext["20226788"] = new next_obj('20223655','\'Gossip Girl\': Four rumors','/ew/article/0,,20221152_20221173_20223655,00.html','09/04/2008 10:00PM');
		 anext["20223655"] = new next_obj('20221221','Fall TV: Inside scoop on \'08 grid','/ew/article/0,,20221152_20221173_20221221,00.html','08/25/2008 06:00PM');
		 anext["20221221"] = new next_obj('20224783','\'House\': Is romance the best Rx?','/ew/article/0,,20221152_20221173_20224783,00.html','09/10/2008 03:00PM');
		 anext["20224783"] = new next_obj('20223267','\'90210\': The next generation','/ew/article/0,,20221152_20221173_20223267,00.html','09/03/2008 09:00PM');
		 anext["20223267"] = new next_obj('20221579','\'90210\': Shannen and Jennie dish!','/ew/article/0,,20221152_20221173_20221579,00.html','08/27/2008 12:00PM');
		 anext["20221579"] = new next_obj('20226787','Fall TV: Ken Tucker\'s prime-time picks','/ew/article/0,,20221152_20221173_20226787,00.html','09/17/2008 06:00PM');
		 








