 
	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;

			 
		if (jsType=="review") {	

			var nextString = '<div class="nextreview"><div class="title" title="Next Review">Next Review</div> <div class="link"><a href="' + link +'">'+ title +'</a></div><div style="clear:both;"></div></div>'; 
	 	} 
		if (jsType=="article") {	

			var nextString = '<div class="nextarticle"><div class="title" title="Next Article">Next Article</div> <div class="link"><a href="' + link +'">'+ title +'</a></div><div style="clear:both;"></div></div>'; 
	 	} 
	
	 return nextString
	}
	

var anext = new Array();
		var firstIdanext = '20284265';
		 anext["20284265"] = new next_obj('20281501','\'Buffy\' movie stirs controversy','/ew/article/0,,20281501,00.html','05/29/2009 10:00AM');
		 anext["20281501"] = new next_obj('20211306','Samsung TLT','/ew/article/0,,20211306,00.html','07/09/2008 01:00PM');
		 anext["20211306"] = new next_obj('20162459','America\'s hot spots in 2007','/ew/article/0,,20162459,00.html','11/23/2007 10:00AM');
		 anext["20162459"] = new next_obj('20015168','Feedback from our readers','/ew/article/0,,20015168,00.html','03/16/2007 10:00AM');
		 anext["20015168"] = new next_obj('20014470','Feedback from our readers','/ew/article/0,,20014470,00.html','03/09/2007 10:00AM');
		 anext["20014470"] = new next_obj('297343','Mail from our readers','/ew/article/0,,297343,00.html','05/26/1995 12:00AM');
		 anext["297343"] = new next_obj('318696','The biggest pop culture failures of all time','/ew/article/0,,318696,00.html','11/23/1990 12:00AM');
		 anext["318696"] = new next_obj('318685','EW\'s ticket guide to on and off Broadway shows','/ew/article/0,,318685,00.html','11/23/1990 12:00AM');
		 anext["318685"] = new next_obj('318654','The history of the jukebox','/ew/article/0,,318654,00.html','11/23/1990 12:00AM');
		 anext["318654"] = new next_obj('318650','Audio and video technology','/ew/article/0,,318650,00.html','11/23/1990 12:00AM');
		 anext["318650"] = new next_obj('318518','1990\'s 101 most influential people in entertainment','/ew/article/0,,318518,00.html','11/02/1990 12:00AM');
		 anext["318518"] = new next_obj('20284265','Moon','/ew/article/0,,20284265,00.html','06/10/2009 10:00AM');
		var rnext = new Array();
		var firstIdrnext = '20284265';
		 rnext["20284265"] = new next_obj('20284265','Moon','/ew/article/0,,20284265,00.html','06/10/2009 10:00AM');
		 








