 
	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 = '20167049';
		 anext["20167049"] = new next_obj('20161798','FunnyOrDie proves Web comedy is no joke','/ew/article/0,,20165619_20165621_20161798,00.html','11/20/2007 07:45PM');
		 anext["20161798"] = new next_obj('20166021','Viral Video Hall of Fame','/ew/article/0,,20165619_20165621_20166021,00.html','12/13/2007 12:00PM');
		 anext["20166021"] = new next_obj('20167518','The 100 Greatest Websites','/ew/article/0,,20165619_20165621_20167518,00.html','12/20/2007 04:00PM');
		 anext["20167518"] = new next_obj('1195793','The 25 best music websites','/ew/article/0,,20165619_20165621_1195793,00.html','05/18/2006 04:00PM');
		 anext["1195793"] = new next_obj('20049590','Harry Shearer gets his own DamnChannel','/ew/article/0,,20165619_20165621_20049590,00.html','08/02/2007 01:00PM');
		 anext["20049590"] = new next_obj('20164228','Right on, J. Love!','/ew/article/0,,20165619_20165621_20164228,00.html','12/04/2007 05:00PM');
		 anext["20164228"] = new next_obj('20162441','NBC picks up \'\'Quarterlife\'\'','/ew/article/0,,20165619_20165621_20162441,00.html','11/23/2007 10:00AM');
		 anext["20162441"] = new next_obj('20056983','Kickin\' it with Andy Milonakis','/ew/article/0,,20165619_20165621_20056983,00.html','09/14/2007 10:00AM');
		 anext["20056983"] = new next_obj('20011468','Your guide to five of the Web\'s coolest time-wasters','/ew/article/0,,20165619_20165621_20011468,00.html','02/09/2007 04:45PM');
		 anext["20011468"] = new next_obj('20009700','Bored at work? Let us guide your websurfing!','/ew/article/0,,20165619_20165621_20009700,00.html','01/25/2007 01:00PM');
		 anext["20009700"] = new next_obj('1204613','Two EW writers try to become viral-video stars','/ew/article/0,,20165619_20165621_1204613,00.html','06/15/2006 01:00PM');
		 anext["1204613"] = new next_obj('20055703','How \'\'D--- in a Box\'\' became an Emmy winner','/ew/article/0,,20165619_20165621_20055703,00.html','09/10/2007 04:00PM');
		 anext["20055703"] = new next_obj('1204561','Meet the folks behind 3 of our favorite websites','/ew/article/0,,20165619_20165621_1204561,00.html','06/15/2006 11:00AM');
		 anext["1204561"] = new next_obj('20010320','Be an instant expert on...Martin Scorsese','/ew/article/0,,20165619_20165621_20010320,00.html','01/30/2007 07:00PM');
		 anext["20010320"] = new next_obj('1204629','All about the online \'\'Lost\'\' Experience','/ew/article/0,,20165619_20165621_1204629,00.html','06/15/2006 01:00PM');
		 anext["1204629"] = new next_obj('1224123','OK Go\'s frontman on making viral videos','/ew/article/0,,20165619_20165621_1224123,00.html','08/08/2006 01:00PM');
		 anext["1224123"] = new next_obj('20167049','Countdown! The 25 best fansites','/ew/article/0,,20165619_20165621_20167049,00.html','12/18/2007 06:30PM');
		 








