<!--		
		var bMenuLoaded 		= false;
		var aMenuItems			= [ 'introduction', 'forgingswords', 'therohirrim', 'whiteknives', 'palantiri', 'faramir', 'photogallery' ];
		var aMenuOutImages		= [];
		var aMenuOverImages		= [];
		
		var imgAccentLeftOver	= new Image();
		var imgAccentRightOver	= new Image();
		var imgAccentLeftOut	= new Image();
		var imgAccentRightOut	= new Image();
						 
		function preloadMenu()
		{
			var nIndex;
			var nCount = aMenuItems.length;
			
			imgAccentLeftOver.src	= 'images/accent_left_over.gif';
			imgAccentRightOver.src	= 'images/accent_right_over.gif';
			imgAccentLeftOut.src	= 'images/color_clear.gif';
			imgAccentRightOut.src	= 'images/color_clear.gif';
			
			for( nIndex = 0; nIndex < nCount; nIndex++ )
			{
				var imgMenuOver	= new Image();				
				var imgMenuOut	= new Image();				
				
				imgMenuOver.src = 'images/' + aMenuItems[ nIndex ] + '/menu_on.gif';
				imgMenuOut.src 	= 'images/' + aMenuItems[ nIndex ] + '/menu_off.gif';

				aMenuOverImages[ nIndex ]	= imgMenuOver;
				aMenuOutImages[ nIndex ]	= imgMenuOut;
				
			}
			
			bMenuLoaded = true;
		}
	
		function getImage( sKey, bActive )
		{
			var nIndex;
			var nCount = aMenuItems.length;
			
			for( nIndex = 0; nIndex < nCount; nIndex++ )
			{
				if( aMenuItems[ nIndex ] == sKey )
				{
					if( bActive )
						return aMenuOverImages[ nIndex ].src; 
					else
						return aMenuOutImages[ nIndex ].src; 
				}
			}
			
			alert( 'not found' );
		}
		
		
		function printMenu( sActive )
		{
			var nIndex;
			var nCount = aMenuItems.length;
			
			document.write(	'<table align="left" cellspacing="0" cellpadding="0" border="0">' );
			document.write(	'		<tr>' );
			document.write(	'			<td align="center">' );
			document.write(	'				<img src="images/color_clear.gif" width="215" height="1" alt=""><br>' );
			document.write(	'				<img src="images/nav_top.gif" width="194" height="4" alt=""><br>' );
			document.write(	'				<img src="images/color_clear.gif" width="1" height="12" alt=""><br>' );
			document.write(	'				<img src="images/nav_title.gif" width="192" height="40" alt=""><br>' );
			document.write(	'				<img src="images/color_clear.gif" width="1" height="8" alt=""><br>' );
			document.write(	'				<img src="images/nav_instructions.gif" width="160" height="21" alt=""><br>' );
			document.write(	'				<img src="images/color_clear.gif" width="1" height="12" alt=""><br>' );
			
			for( nIndex = 0; nIndex < nCount; nIndex++ )
			{
				printMenuItem( aMenuItems[ nIndex ], aMenuItems[ nIndex ] + '.html', aMenuItems[ nIndex ] == sActive );
			}
			
			document.write(	'				<img src="images/color_clear.gif" width="1" height="12" alt=""><br>' );
			document.write(	'				<img src="images/nav_bottom.gif" width="188" height="4" alt=""><br>' );
			document.write(	'				<img src="images/color_clear.gif" width="1" height="12" alt=""><br>' );
			document.write(	'		</td>' );
			document.write(	'	</tr>' );
			document.write(	'</table>' );
		}
		function printMenuItem( sKey, sURL, bActive )
		{
			if( sKey == 'photogallery' )
				sURL = 'javascript:openWeaponsPreview();';
				
			document.writeln( "<table cellspacing=\"2\" cellpadding=\"0\" border=\"0\">" );
			document.writeln( "	<tr>" );
			if( bActive )
			{
				document.writeln( "		<td><img src=\"images/accent_left.gif\" width=\"19\" height=\"1\" alt=\"\"></td>" );
				document.writeln( "		<td><a href=\"index.html\"><img name=\"menu" + sKey + "\" src=\"images/" + sKey.toLowerCase() + "/menu_off.gif\" border=\"0\" alt=\"\"></a></td>" );
				document.writeln( "		<td><img src=\"images/accent_right.gif\" width=\"19\" height=\"1\" alt=\"\"></td>" );
			}
			else
			{
				document.writeln( "		<td><img name=\"menu" + sKey + "AccentLeft\" id=\"menu" + sKey + "AccentLeft\" src=\"images/color_clear.gif\" width=\"19\" height=\"1\" alt=\"\"></td>" );
				document.writeln( "		<td><a href=\"" + sURL + "\" onMouseOver=\"menuOver('" + sKey + "')\" onMouseOut=\"menuOut('" + sKey + "')\"><img name=\"menu" + sKey + "\" src=\"images/" + sKey.toLowerCase() + "/menu_off.gif\" border=\"0\" alt=\"\"></a></td>" );
				document.writeln( "		<td><img name=\"menu" + sKey + "AccentRight\" id=\"menu" + sKey + "AccentRight\" src=\"images/color_clear.gif\" width=\"19\" height=\"1\" alt=\"\"></td>" );
			}
				
			document.writeln( "	</tr>" );
			document.writeln( "</table>" );
		}

		function menuOver( sItem )
		{
			if( bMenuLoaded && document.images )
			{
				document.images[ 'menu' + sItem ].src = getImage( sItem, true );
				document.images[ 'menu' + sItem + 'AccentLeft' ].src 	= imgAccentLeftOver.src;
				document.images[ 'menu' + sItem + 'AccentRight' ].src 	= imgAccentRightOver.src;
			}				
		}

		function menuOut( sItem )
		{
			if( bMenuLoaded && document.images )
			{
				document.images[ 'menu' + sItem ].src = getImage( sItem, false );
				document.images[ 'menu' + sItem + 'AccentLeft' ].src 	= imgAccentLeftOut.src;
				document.images[ 'menu' + sItem + 'AccentRight' ].src 	= imgAccentRightOut.src;
			}				
		}

//-->
