 
	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 = '20054038';
		 anext["20054038"] = new next_obj('20051497','\'\'Superbad\'\': a raucous roundtable, part 3','/ew/article/0,,20035285_20035331_20051497,00.html','08/13/2007 06:00PM');
		 anext["20051497"] = new next_obj('20050680','Julie Delpy on her \'\'2 Days in Paris\'\'','/ew/article/0,,20035285_20035331_20050680,00.html','08/09/2007 12:00PM');
		 anext["20050680"] = new next_obj('20051188','\'\'Superbad\'\': EW\'s raucous roundtable, part 2','/ew/article/0,,20035285_20035331_20051188,00.html','08/10/2007 01:00PM');
		 anext["20051188"] = new next_obj('20050904','\'\'Superbad\'\': EW\'s raucous roundtable, part 1','/ew/article/0,,20035285_20035331_20050904,00.html','08/09/2007 07:00PM');
		 anext["20050904"] = new next_obj('20049809','Damon on fame, fatherhood, \'\'Bourne\'\'','/ew/article/0,,20035285_20035331_20049809,00.html','08/02/2007 09:50PM');
		 anext["20049809"] = new next_obj('20049408','16 great \'Simpsons\' guest voices','/ew/article/0,,20035285_20035331_20049408,00.html','08/01/2007 08:00PM');
		 anext["20049408"] = new next_obj('20048419','\'\'Simpsons Movie\'\': Hanging at the wacky premiere','/ew/article/0,,20035285_20035331_20048419,00.html','07/26/2007 01:00PM');
		 anext["20048419"] = new next_obj('20048979','\'\'Hairspray\'\' director on testing the Waters','/ew/article/0,,20035285_20035331_20048979,00.html','07/31/2007 03:00PM');
		 anext["20048979"] = new next_obj('20048042','Inside the kitchen of \'\'No Reservations\'\'','/ew/article/0,,20035285_20035331_20048042,00.html','07/25/2007 12:00PM');
		 anext["20048042"] = new next_obj('20047512','The Simpsons: Inside the Best. Movie. Ever?','/ew/article/0,,20035285_20035331_20047512,00.html','07/20/2007 01:00PM');
		 anext["20047512"] = new next_obj('20047518','Andy Samberg gets stupid in \'\'Hot Rod\'\'','/ew/article/0,,20035285_20035331_20047518,00.html','07/20/2007 02:00PM');
		 anext["20047518"] = new next_obj('20047602','Director Patrice Leconte on \'\'My Best Friend\'\'','/ew/article/0,,20035285_20035331_20047602,00.html','07/20/2007 06:00PM');
		 anext["20047602"] = new next_obj('20046980','Conan on being left out of \'\'Simpsons Movie\'\'','/ew/article/0,,20035285_20035331_20046980,00.html','07/18/2007 10:05AM');
		 anext["20046980"] = new next_obj('20046055','On-set secrets from the darkest \'\'Harry\'\' movie yet','/ew/article/0,,20035285_20035331_20046055,00.html','07/12/2007 05:00PM');
		 anext["20046055"] = new next_obj('20046035','Bonham Carter: \'\'I think I took my sadism a bit too literally\'\'','/ew/article/0,,20035285_20035331_20046035,00.html','07/12/2007 04:00PM');
		 anext["20046035"] = new next_obj('20044977','Don Cheadle talks to us about \'\'Talk to Me\'\'','/ew/article/0,,20035285_20035331_20044977,00.html','07/06/2007 10:00AM');
		 anext["20044977"] = new next_obj('20044887','Legendary auteur Werner Herzog speaks','/ew/article/0,,20035285_20035331_20044887,00.html','07/06/2007 06:00PM');
		 anext["20044887"] = new next_obj('20044629','How \'\'Transformers\'\' toys with Hollywood','/ew/article/0,,20035285_20035331_20044629,00.html','07/04/2007 06:00PM');
		 anext["20044629"] = new next_obj('20044598','Michael Bay talks \'\'Transformers\'\'','/ew/article/0,,20035285_20035331_20044598,00.html','07/04/2007 01:55AM');
		 anext["20044598"] = new next_obj('20044289','\'\'Ratatouille\'\' heats up the box office','/ew/article/0,,20035285_20035331_20044289,00.html','07/01/2007 05:00PM');
		 anext["20044289"] = new next_obj('20043277','Brad Bird cooks up \'\'Ratatouille\'\'','/ew/article/0,,20035285_20035331_20043277,00.html','06/21/2007 11:00AM');
		 anext["20043277"] = new next_obj('20042575','Bruce Willis: \'\'If I hadn\'t done \'Die Hard,\' I\'d rip it off\'\'','/ew/article/0,,20035285_20035331_20042575,00.html','06/14/2007 01:00PM');
		 anext["20042575"] = new next_obj('20042618','Tea Leoni isn\'t kidding around','/ew/article/0,,20035285_20035331_20042618,00.html','06/15/2007 10:00AM');
		 anext["20042618"] = new next_obj('20042740','\'\'Once\'\': Summer\'s indie-movie breakout','/ew/article/0,,20035285_20035331_20042740,00.html','06/14/2007 08:20PM');
		 anext["20042740"] = new next_obj('20042282','Jessica Alba\'s sexy roles','/ew/gallery/0,,20035285_20035331_20042282,00.html','06/12/2007 06:00PM');
		 anext["20042282"] = new next_obj('20042043','\'\'Ocean\'s Thirteen\'\' wins, but doesn\'t break the bank','/ew/article/0,,20035285_20035331_20042043,00.html','06/10/2007 06:00PM');
		 anext["20042043"] = new next_obj('20041613','Clooney and Pitt riff on \'\'Ocean\'s Thirteen\'\'','/ew/article/0,,20035285_20035331_20041613,00.html','06/06/2007 06:00PM');
		 anext["20041613"] = new next_obj('20041886','\'\'Surf\'s Up\'\' directors catch the movie-penguin wave','/ew/article/0,,20035285_20035331_20041886,00.html','06/08/2007 03:00PM');
		 anext["20041886"] = new next_obj('20041035','Katherine Heigl really delivers in \'\'Knocked Up\'\'','/ew/article/0,,20035285_20035331_20041035,00.html','05/31/2007 05:00PM');
		 anext["20041035"] = new next_obj('20041064','Seth Rogen: \'\'Billion-dollar box-office star\'\'?','/ew/article/0,,20035285_20035331_20041064,00.html','05/31/2007 07:00PM');
		 anext["20041064"] = new next_obj('20040482','\'\'Pirates 3\'\' can\'t outclimb Spidey','/ew/article/0,,20035285_20035331_20040482,00.html','05/28/2007 04:35PM');
		 anext["20040482"] = new next_obj('20040352','A probing Q&A with Michael Moore','/ew/article/0,,20035285_20035331_20040352,00.html','05/25/2007 01:00PM');
		 anext["20040352"] = new next_obj('20040611','Updated! The summer-movie body count...','/ew/article/0,,20035285_20035331_20040611,00.html','05/29/2007 05:40PM');
		 anext["20040611"] = new next_obj('20040435','Keira Knightley: Her memorable roles','/ew/article/0,,20035285_20035331_20040435,00.html','05/25/2007 04:00PM');
		 anext["20040435"] = new next_obj('20039872','\'\'Pirates\'\' director keelhauls critics','/ew/article/0,,20035285_20035331_20039872,00.html','05/22/2007 06:00PM');
		 anext["20039872"] = new next_obj('20039600','Swashbuckling on the \'\'Pirates\'\' red carpet','/ew/article/0,,20035285_20035331_20039600,00.html','05/21/2007 12:00PM');
		 anext["20039600"] = new next_obj('20038372','\'\'Pirates 3\'\': Depp and his mates aim to outgun \'\'Spidey\'\'','/ew/article/0,,20035285_20035331_20038372,00.html','05/09/2007 05:00PM');
		 anext["20038372"] = new next_obj('20038360','Depp: I draw the line at \'\'Capt. Jack toothpaste\'\'','/ew/article/0,,20035285_20035331_20038360,00.html','05/09/2007 03:00PM');
		 anext["20038360"] = new next_obj('20038029','\'\'Spider-Man 3\'\' shatters records','/ew/article/0,,20035285_20035331_20038029,00.html','05/06/2007 02:00PM');
		 anext["20038029"] = new next_obj('20037530','Mark Harris on his 10 formative summer movie experiences','/ew/article/0,,20035285_20035331_20037530,00.html','05/02/2007 12:00PM');
		 anext["20037530"] = new next_obj('20037557','Sam Raimi on developing Spidey\'s dark side','/ew/article/0,,20035285_20035331_20037557,00.html','05/02/2007 05:00PM');
		 anext["20037557"] = new next_obj('20038122','Jonny Lee Miller on his \'\'Flying Scotsman\'\' role','/ew/article/0,,20035285_20035331_20038122,00.html','05/07/2007 06:00PM');
		 anext["20038122"] = new next_obj('20037580','Checking in with Tea Leoni at Tribeca','/ew/article/0,,20035285_20035331_20037580,00.html','05/02/2007 06:00PM');
		 anext["20037580"] = new next_obj('20037399','\'\'Waitress\'\' stars share Adrienne Shelly stories','/ew/article/0,,20035285_20035331_20037399,00.html','05/01/2007 04:30PM');
		 anext["20037399"] = new next_obj('20036624','An exclusive first look at a \'\'Transformers\'\' action figure','/ew/article/0,,20035285_20035331_20036624,00.html','04/24/2007 04:00PM');
		 anext["20036624"] = new next_obj('20035326','Summer Movie Preview: What\'s ahead for \'\'Spidey\'\'?','/ew/article/0,,20035285_20035331_20035326,00.html','04/17/2007 01:00PM');
		 anext["20035326"] = new next_obj('20035330','Get the inside scoop on \'\'The Simpsons Movie\'\'','/ew/article/0,,20035285_20035331_20035330,00.html','04/17/2007 02:00PM');
		 anext["20035330"] = new next_obj('20035328','Behind the scenes with Angelina Jolie in India','/ew/article/0,,20035285_20035331_20035328,00.html','04/17/2007 02:00PM');
		 anext["20035328"] = new next_obj('20016352','Sneak peek: \'\'Harry Potter and the Order of the Phoenix\'\'','/ew/article/0,,20035285_20035331_20016352,00.html','03/29/2007 03:00PM');
		 anext["20016352"] = new next_obj('20035301','Five questions for \'\'Shrek\'\'\'s John Krasinski','/ew/article/0,,20035285_20035331_20035301,00.html','04/17/2007 12:40PM');
		 anext["20035301"] = new next_obj('1212815','\'\'Pirates\'\': Why Davy Jones looks so amazing','/ew/article/0,,20035285_20035331_1212815,00.html','07/11/2006 07:00PM');
		 anext["1212815"] = new next_obj('20035161','\'\'Spidey\'\'\'s Raimi open to directing \'\'The Hobbit\'\'','/ew/article/0,,20035285_20035331_20035161,00.html','04/16/2007 04:00PM');
		 anext["20035161"] = new next_obj('20035299','A chat with Isla Fisher of \'\'Hot Rod\'\' and \'\'Wedding Daze\'\'','/ew/article/0,,20035285_20035331_20035299,00.html','04/17/2007 12:00PM');
		 anext["20035299"] = new next_obj('1545579','Jonn Travolta takes on \'\'Hairspray\'\'','/ew/article/0,,20035285_20035331_1545579,00.html','10/13/2006 10:00AM');
		 anext["1545579"] = new next_obj('1538280','Jennifer Lopez on her movie with Marc Anthony','/ew/article/0,,20035285_20035331_1538280,00.html','09/22/2006 12:00PM');
		 anext["1538280"] = new next_obj('20015159','Does Drew Barrymore need a career makeover?','/ew/article/0,,20035285_20035331_20015159,00.html','03/16/2007 10:00AM');
		 anext["20015159"] = new next_obj('20015163','First look at the \'\'28 Weeks Later\'\' poster!','/ew/article/0,,20035285_20035331_20015163,00.html','03/16/2007 10:00AM');
		 anext["20015163"] = new next_obj('20035379','Waitress','/ew/article/0,,20035285_20035331_20035379,00.html','04/17/2007 03:00PM');
		 anext["20035379"] = new next_obj('20035692','Spider-Man 3','/ew/article/0,,20035285_20035331_20035692,00.html','04/18/2007 11:00PM');
		 anext["20035692"] = new next_obj('20035483','Lucky You','/ew/article/0,,20035285_20035331_20035483,00.html','04/17/2007 05:00PM');
		 anext["20035483"] = new next_obj('20035380','Away From Her','/ew/article/0,,20035285_20035331_20035380,00.html','04/17/2007 03:15PM');
		 anext["20035380"] = new next_obj('20035494','Paris, Je T\'aime','/ew/article/0,,20035285_20035331_20035494,00.html','04/17/2007 06:15PM');
		 anext["20035494"] = new next_obj('20035136','Georgia Rule','/ew/article/0,,20035285_20035331_20035136,00.html','04/16/2007 03:00PM');
		 anext["20035136"] = new next_obj('20035202','28 Weeks Later','/ew/article/0,,20035285_20035331_20035202,00.html','04/16/2007 06:00PM');
		 anext["20035202"] = new next_obj('20035496','The Ex','/ew/article/0,,20035285_20035331_20035496,00.html','04/17/2007 06:00PM');
		 anext["20035496"] = new next_obj('20035693','Shrek the Third','/ew/article/0,,20035285_20035331_20035693,00.html','04/18/2007 11:00PM');
		 anext["20035693"] = new next_obj('20035495','Even Money','/ew/article/0,,20035285_20035331_20035495,00.html','04/17/2007 06:00PM');
		 anext["20035495"] = new next_obj('20035482','The Wendell Baker Story','/ew/article/0,,20035285_20035331_20035482,00.html','04/17/2007 05:00PM');
		 anext["20035482"] = new next_obj('20035135','Pirates of the Caribbean: At World\'s End','/ew/article/0,,20035285_20035331_20035135,00.html','04/16/2007 03:00PM');
		 anext["20035135"] = new next_obj('20035481','Bug','/ew/article/0,,20035285_20035331_20035481,00.html','04/17/2007 05:00PM');
		 anext["20035481"] = new next_obj('20035694','Knocked Up','/ew/article/0,,20035285_20035331_20035694,00.html','04/18/2007 11:50PM');
		 anext["20035694"] = new next_obj('20035377','Mr. Brooks','/ew/article/0,,20035285_20035331_20035377,00.html','04/17/2007 03:10PM');
		 anext["20035377"] = new next_obj('20035475','Crazy Love','/ew/article/0,,20035285_20035331_20035475,00.html','04/17/2007 05:00PM');
		 anext["20035475"] = new next_obj('20035477','Day Watch','/ew/article/0,,20035285_20035331_20035477,00.html','04/17/2007 05:20PM');
		 anext["20035477"] = new next_obj('20035480','Gracie','/ew/article/0,,20035285_20035331_20035480,00.html','04/17/2007 05:00PM');
		 anext["20035480"] = new next_obj('20035429','Ocean\'s Thirteen','/ew/article/0,,20035285_20035331_20035429,00.html','04/17/2007 03:00PM');
		 anext["20035429"] = new next_obj('20035200','Hostel: Part II','/ew/article/0,,20035285_20035331_20035200,00.html','04/16/2007 06:30PM');
		 anext["20035200"] = new next_obj('20035167','Fantastic Four: Rise of the Silver Surfer','/ew/article/0,,20035285_20035331_20035167,00.html','04/16/2007 04:00PM');
		 anext["20035167"] = new next_obj('20035199','Nancy Drew','/ew/article/0,,20035285_20035331_20035199,00.html','04/16/2007 06:00PM');
		 anext["20035199"] = new next_obj('20035479','Fido','/ew/article/0,,20035285_20035331_20035479,00.html','04/17/2007 05:00PM');
		 anext["20035479"] = new next_obj('20035695','A Mighty Heart','/ew/article/0,,20035285_20035331_20035695,00.html','04/18/2007 11:00PM');
		 anext["20035695"] = new next_obj('20035173','Evan Almighty','/ew/article/0,,20035285_20035331_20035173,00.html','04/16/2007 05:00PM');
		 anext["20035173"] = new next_obj('20035472','Broken English','/ew/article/0,,20035285_20035331_20035472,00.html','04/17/2007 05:00PM');
		 anext["20035472"] = new next_obj('20035197','Live Free or Die Hard','/ew/article/0,,20035285_20035331_20035197,00.html','04/16/2007 06:00PM');
		 anext["20035197"] = new next_obj('20035473','You Kill Me','/ew/article/0,,20035285_20035331_20035473,00.html','04/17/2007 05:00PM');
		 anext["20035473"] = new next_obj('20035172','Ratatouille','/ew/article/0,,20035285_20035331_20035172,00.html','04/16/2007 04:00PM');
		 anext["20035172"] = new next_obj('20035484','Evening','/ew/article/0,,20035285_20035331_20035484,00.html','04/17/2007 05:35PM');
		 anext["20035484"] = new next_obj('20035166','Sicko','/ew/article/0,,20035285_20035331_20035166,00.html','04/16/2007 04:35PM');
		 anext["20035166"] = new next_obj('20035696','Transformers','/ew/article/0,,20035285_20035331_20035696,00.html','04/18/2007 11:00PM');
		 anext["20035696"] = new next_obj('20035187','License to Wed','/ew/article/0,,20035285_20035331_20035187,00.html','04/16/2007 05:00PM');
		 anext["20035187"] = new next_obj('20035170','Rescue Dawn','/ew/article/0,,20035285_20035331_20035170,00.html','04/16/2007 04:00PM');
		 anext["20035170"] = new next_obj('20035117','Harry Potter and the Order of the Phoenix','/ew/article/0,,20035285_20035331_20035117,00.html','04/16/2007 02:45PM');
		 anext["20035117"] = new next_obj('20035175','1408','/ew/article/0,,20035285_20035331_20035175,00.html','04/16/2007 05:05PM');
		 anext["20035175"] = new next_obj('20035493','Talk to Me','/ew/article/0,,20035285_20035331_20035493,00.html','04/17/2007 06:00PM');
		 anext["20035493"] = new next_obj('20035185','Hairspray','/ew/article/0,,20035285_20035331_20035185,00.html','04/16/2007 05:00PM');
		 anext["20035185"] = new next_obj('20035169','I Now Pronounce You Chuck & Larry','/ew/article/0,,20035285_20035331_20035169,00.html','04/16/2007 04:00PM');
		 anext["20035169"] = new next_obj('20035471','Goya\'s Ghosts','/ew/article/0,,20035285_20035331_20035471,00.html','04/17/2007 05:00PM');
		 anext["20035471"] = new next_obj('20035697','The Simpsons Movie','/ew/article/0,,20035285_20035331_20035697,00.html','04/18/2007 11:00PM');
		 anext["20035697"] = new next_obj('20035186','I Know Who Killed Me','/ew/article/0,,20035285_20035331_20035186,00.html','04/16/2007 05:00PM');
		 anext["20035186"] = new next_obj('20035188','No Reservations','/ew/article/0,,20035285_20035331_20035188,00.html','04/16/2007 05:00PM');
		 anext["20035188"] = new next_obj('20035470','The Strangers','/ew/article/0,,20035285_20035331_20035470,00.html','04/17/2007 05:00PM');
		 anext["20035470"] = new next_obj('20035143','El Cantante','/ew/article/0,,20035285_20035331_20035143,00.html','04/16/2007 03:00PM');
		 anext["20035143"] = new next_obj('20035434','The Bourne Ultimatum','/ew/article/0,,20035285_20035331_20035434,00.html','04/17/2007 04:00PM');
		 anext["20035434"] = new next_obj('20035489','Becoming Jane','/ew/article/0,,20035285_20035331_20035489,00.html','04/17/2007 06:00PM');
		 anext["20035489"] = new next_obj('20035492','Charlie Bartlett','/ew/article/0,,20035285_20035331_20035492,00.html','04/17/2007 06:10PM');
		 anext["20035492"] = new next_obj('20035698','Hot Rod','/ew/article/0,,20035285_20035331_20035698,00.html','04/18/2007 11:55PM');
		 anext["20035698"] = new next_obj('20035460','Resurrecting the Champ','/ew/article/0,,20035285_20035331_20035460,00.html','04/17/2007 04:00PM');
		 anext["20035460"] = new next_obj('20035458','The Ten','/ew/article/0,,20035285_20035331_20035458,00.html','04/17/2007 04:00PM');
		 anext["20035458"] = new next_obj('20035156','Rush Hour 3','/ew/article/0,,20035285_20035331_20035156,00.html','04/16/2007 03:50PM');
		 anext["20035156"] = new next_obj('20035142','Stardust','/ew/article/0,,20035285_20035331_20035142,00.html','04/16/2007 03:00PM');
		 anext["20035142"] = new next_obj('20035128','The Invasion','/ew/article/0,,20035285_20035331_20035128,00.html','04/16/2007 02:00PM');
		 anext["20035128"] = new next_obj('20035168','Superbad','/ew/article/0,,20035285_20035331_20035168,00.html','04/16/2007 04:00PM');
		 anext["20035168"] = new next_obj('20035699','Wedding Daze','/ew/article/0,,20035285_20035331_20035699,00.html','04/18/2007 11:55PM');
		 anext["20035699"] = new next_obj('20035467','The Comebacks','/ew/article/0,,20035285_20035331_20035467,00.html','04/17/2007 04:00PM');
		 anext["20035467"] = new next_obj('20035490','Good Luck Chuck','/ew/article/0,,20035285_20035331_20035490,00.html','04/17/2007 06:00PM');
		 anext["20035490"] = new next_obj('20035491','The Hottest State','/ew/article/0,,20035285_20035331_20035491,00.html','04/17/2007 06:00PM');
		 anext["20035491"] = new next_obj('20035141','The Brothers Solomon','/ew/article/0,,20035285_20035331_20035141,00.html','04/16/2007 03:00PM');
		 anext["20035141"] = new next_obj('20035140','Halloween','/ew/article/0,,20035285_20035331_20035140,00.html','04/16/2007 03:15PM');
		 anext["20035140"] = new next_obj('20036989','Summer movies: Pick the season\'s winners!','/ew/article/0,,20035285_20035331_20036989,00.html','04/26/2007 06:00PM');
		 anext["20036989"] = new next_obj('20047518','Andy Samberg gets stupid in \'\'Hot Rod\'\'','/ew/article/0,,20035285_20035331_20047518,00.html','07/20/2007 02:00PM');
		 anext["20047518"] = new next_obj('20054038','Going \'\'Balls\'\'-out with Dan Fogler','/ew/article/0,,20035285_20035331_20054038,00.html','08/30/2007 04:00PM');
		 








