<!--
	var	VISIBLE = "visible";
	var	HIDDEN  = "hidden";

	if( document.layers )
	{
		HIDDEN = "hide";
	}

	setReloadPage( true );

	//-------------------------------------------
	// エレメントオブジェクトを取得
	function getElementObject( id )
	{
		if( document.all )
		{
			return document.all( id );
		}
		else if( document.getElementById )
		{
			return document.getElementById( id );
		}
		else if( document.layers )
		{
			return document.layers[ id ];
		}

		return false;
	}

	//-------------------------------------------
	// エレメントのスタイルを取得
	function getElementStyle( id )
	{
		if( document.all )
		{
			return document.all( id ).style;
		}
		else if( document.getElementById )
		{
			return document.getElementById( id ).style;
		}
		else if( document.layers )
		{
			return document.layers[ id ];
		}

		return false;
	}

	//-------------------------------------------
	// エレメントに対してリンク用マウスカーソルを割り当てる
	function setLinkCursor( id )
	{
		if( document.all )
		{
			getElementStyle( id ).cursor = "hand";
		}
		else if( document.getElementById( id ) )
		{
			getElementStyle( id ).cursor = "pointer";
		}
	}

	//-------------------------------------------
	// HTMLドキュメントを挿入
	function innerHTML( id, text )
	{
		if( document.all )
		{
			document.all( id ).innerHTML = text;
		}
		else if( document.getElementById )
		{
			document.getElementById( id ).innerHTML = text;
		}
		else if( document.layers )
		{
			document.layers[ id ].document.open();
			document.layers[ id ].document.write( text );
			document.layers[ id ].document.close();
		}
	}

	//-------------------------------------------
	// リンク先を新規ウインドウで画面中央に表示
	function createWindow( link, width, height )
	{
		if( parseInt( navigator.appVersion ) > 3 )
		{
			var	screen_height = window.screen.availHeight;
			var	screen_width  = window.screen.availWidth;
			var	left_point    = parseInt( screen_width  / 2 ) - parseInt( width  / 2 );
			var	top_point     = parseInt( screen_height / 2 ) - parseInt( height / 2 );

			var	the_window = window.open
							 (
								link,
								"the_window",
								"height=" + height + ",width=" + width + ",left=" + left_point + ",top=" + top_point + ",status=yes,resizable=yes"
							 );
		}

		return false;
	}

	// Netscape4のバグ対策
	function setReloadPage( init )
	{
		if( init == true )
		{
			with( navigator )
			{
				if( ( appName == "Netscape" ) && ( parseInt( appVersion ) == 4 ) )
				{
					document.pageW = innerWidth;
					document.pageH = innerHeight;
					onresize       = setReloadPage;
				}
			}
		}
		else if( innerWidth != document.pageW || innerHeight != document.pageH )
		{
			location.reload();
		}
	}
//-->
