<!--

	var athefellowshipoftheringDownloads =
	[
   		"video:trailer:Watch the theatrical trailer for The Fellowship of the Ring:openFellowshipFrameByFrame",
   		"poster:teaser:fotr:LOTRPOSTER04",
   		"poster:theatrical:fotr:LOTRPOSTER06"
   		
	];
	
	var athetwotowersDownloads =
	[
   		"video:trailer:Watch the theatrical trailer for The Two Towers:openTwoTowersFrameByFrame",
   		"desktop:desktop_finaltheatrical",
   		"desktop:desktop_teaser",
   		"desktop:desktop_theatrical",
   		"desktop:banner_aragorn",
   		"desktop:banner_frodo",
   		"desktop:banner_gandalf",   		
   		"poster:aragorn:tt",
   		"poster:frodo:tt",
   		"poster:gandalf:tt",
   		"poster:saruman:tt",
   		"poster:teaser:ttt",
   		"poster:theatrical:ttt",
   		"poster:finaltheatrical:ttt:LOTRPOSTER10"
	];
	
	var athereturnofthekingDownloads =
	[
   		"video:trailer:Watch the theatrical trailer for The Return of the King:openReturnOfTheKingTrailer",
		"gallery:preview:View images in this exclusive photo gallery for The Return of the King:openRotkPreview",
		"desktop:rotk_aragorn", 
		"desktop:rotk_arwen", 
		"desktop:rotk_frodo", 
		"desktop:rotk_sam", 
		"desktop:rotk_gandalf", 
		"desktop:rotk_gollum", 
		"ecard:aragorn_rotk",
		"ecard:arwen_rotk",
		"ecard:frodo_rotk",
		"ecard:sam_rotk",
		"ecard:gandalf_rotk",
		"ecard:gollum_rotk",
		"poster:aragorn:rotk:LOTRPOSTER12",
		"poster:arwen:rotk:LOTRPOSTER15",
		"poster:frodo:rotk:LOTRPOSTER16",
		"poster:sam:rotk:LOTRPOSPAK10",
		"poster:gandalf:rotk:LOTRPOSTER14",
		"poster:gollum:rotk:LOTRPOSTER13"
	];
	
	var aMovies = 
	[
		"The Return of the King:index_synopsis_rotk.html:Sauron's forces have laid siege to Minas Tirith, the capital of Gondor, in their efforts to eliminate the race of men.<p>The once-great kingdom, watched over by a fading steward, has never been in more desperate need of its king.<p>But can Aragorn (Viggo Mortensen) answer the call of his heritage and become what he was...",
		"The Two Towers:index_synopsis_ttt.html:Considered by millions throughout the world to be the greatest adventure ever told, J.R.R. Tolkien's The Lord of the Rings trilogy chronicles the epic struggle for possession of the infamous One Ring. If returned to its creator, the Dark Lord Sauron, The Ring will give him the power to enslave the world. <p>New Line Cinema presents The Lord of the Rings The Two Towers, the central film in Peter Jackson’s motion picture trilogy, an epic adventure of good against evil set in a time of uncertainty...",
		"The Fellowship of the Ring:index_synopsis_fotr.html:One ring to rule them all, One ring to find them. One ring to bring them all and in the darkness bind them. <p>For decades, the words above have ignited the imaginations of more than 100 million readers around the globe. They were first read in 1954, when J.R.R. Tolkien's The Fellowship of the Ring, the first volume in his towering three-part epic, The Lord of the Rings, was published..."
	];

	function getKeyID( sKey )
	{
		var sKeyID;
		
		sKeyID = sKey;
		
		sKeyID = sKeyID .replace( / /g, '' );
		sKeyID = sKeyID .replace( /'/g, '' );
		sKeyID = sKeyID .replace( /\//g, '' );
		
		return sKeyID.toLowerCase();
	}			


	function getMovieDescription( sMovie )
	{
		var nIndex;
		var nCount = aMovies.length;
		
		for( nIndex = 0; nIndex < nCount; nIndex++ )
		{
			var aMovie = aMovies[ nIndex ].split( ":" );
			if( aMovie[ 0 ] == sMovie || getKeyID( aMovie[ 0 ] ) == sMovie )
			{
				return aMovie[ 2 ];
			}
		}
	}
	
	function getMovieURL( sMovie )
	{
		var nIndex;
		var nCount = aMovies.length;
		
		sMovie = getKeyID( sMovie );
		
		for( nIndex = 0; nIndex < nCount; nIndex++ )
		{
			var aMovie = aMovies[ nIndex ].split( ":" );
			if( aMovie[ 0 ] == sMovie || getKeyID( aMovie[ 0 ] ) == sMovie )
			{
				return "/" + aMovie[ 1 ] + "\" target=\"_top";
			}
		}
	}
	
//-->