 
	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 = '20209301';
		 anext["20209301"] = new next_obj('20204532','Summer TV: Preview 23 June shows','/ew/article/0,,20202819_20202834_20204532,00.html','06/04/2008 07:00PM');
		 anext["20204532"] = new next_obj('20202121','\'\'So You Think You Can Dance\'\': A sick premiere','/ew/article/0,,20202819_20202834_20202121,00.html','05/23/2008 10:00AM');
		 anext["20202121"] = new next_obj('20202727','\'\'Hell\'s Kitchen\'\' recap: Cheflet it be','/ew/article/0,,20202819_20202834_20202727,00.html','05/28/2008 08:30AM');
		 anext["20202727"] = new next_obj('20202409','Living Lohan','/ew/article/0,,20202819_20202834_20202409,00.html','05/24/2008 11:00PM');
		 anext["20202409"] = new next_obj('20202487','\'\'The Bachelorette\'\' recap: The guys bare all','/ew/article/0,,20202819_20202834_20202487,00.html','05/27/2008 09:00AM');
		 anext["20202487"] = new next_obj('20201972','It\'s Complicated','/ew/article/0,,20202819_20202834_20201972,00.html','05/23/2008 10:00AM');
		 anext["20201972"] = new next_obj('20201276','\'\'The Bachelorette\'\' premiere recap: DeAnna rules','/ew/article/0,,20202819_20202834_20201276,00.html','05/19/2008 08:00PM');
		 anext["20201276"] = new next_obj('20201973','The Andromeda Strain','/ew/article/0,,20202819_20202834_20201973,00.html','05/23/2008 10:00AM');
		 anext["20201973"] = new next_obj('20201827','TV\'s funniest quotes: Pick the week\'s best','/ew/article/0,,20202819_20202834_20201827,00.html','05/22/2008 10:00AM');
		 anext["20201827"] = new next_obj('20201864','\'\'So You Think...\'\': What to expect','/ew/article/0,,20202819_20202834_20201864,00.html','05/22/2008 12:00PM');
		 anext["20201864"] = new next_obj('20209301','July TV preview: What to watch','/ew/article/0,,20202819_20202834_20209301,00.html','06/27/2008 04:00PM');
		 








