 
	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 = '20168867';
		 anext["20168867"] = new next_obj('20156391','Desperate Housewives','/ew/article/0,,20166944_20168992_20156391,00.html','11/02/2007 10:00AM');
		 anext["20156391"] = new next_obj('20158478','Pushing Daisies','/ew/article/0,,20166944_20168992_20158478,00.html','11/05/2007 06:00PM');
		 anext["20158478"] = new next_obj('20163320','CSI','/ew/article/0,,20166944_20168992_20163320,00.html','11/30/2007 10:00AM');
		 anext["20163320"] = new next_obj('20168867','The Wire','/ew/article/0,,20166944_20168992_20168867,00.html','01/02/2008 03:00PM');
		 








