// =============================================================================
// FlashMap 書き出しクラス
// =============================================================================
/*
   FlashMap クラス

   最終更新日:2004年3月4日(木)
   -----------------------------------------------------------------------------

   コンストラクタの引数
	無し

   -----------------------------------------------------------------------------

   メソッド
	- write()
		VBスクリプト可能な環境で、判別スクリプトを書き出す。
*/
// =============================================================================
if(sniffer.DOMable()) {



// -----------------------------------------------------------------------------
/*
   コンストラクタ
*/
function FlashMap() {
}
// -----------------------------------------------------------------------------


// -----------------------------------------------------------------------------
/*
   writeMenuメソッド
	FlashMap.write();

	引数
		無し
*/
FlashMap.prototype.write = function() {
	document.open();
	if( flashDetector.detect(5) == 2 ) {
		document.write('<div id="flash">\n');
		document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,4,0" width="688" height="345">\n');
		document.write('<param name="movie" value="images/map.swf" />\n');
		document.write('<param name="quality" value="high" />\n');
		document.write('<embed src="images/map.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="688" height="345"></embed>\n');
		document.write('</object>\n');
		document.write('</div>\n');
		document.write('<div id="flashalternate">\n');
		document.write('<img src="images/flashalternate.jpg" width="688" height="345" alt="" />\n');
		document.write('</div>');
	}
	else {
		primitive();
	}
	document.close();
}
// -----------------------------------------------------------------------------


// -----------------------------------------------------------------------------
/*
   インスタンス化 & Flash書き出し
*/
var flashMap = new FlashMap();
flashMap.write();
// -----------------------------------------------------------------------------
}
else {
// -----------------------------------------------------------------------------
/*
   DOM未サポート用
*/
	primitive();
}

// -----------------------------------------------------------------------------
/*
  HTMLメニュー書き出し関数
*/
function primitive() {
	document.open();
	document.write('<ul id="pagemenu">\n');
	document.write('<li><a href="index.html#ikkan">企画・演出</a></li>\n');
	document.write('<li><a href="index.html#eizou">ロケーション・CG</a></li>\n');
	document.write('<li><a href="index.html#dvd">DVDオーサリング</a></li>\n');
	document.write('<li><a href="index.html#output">CM</a></li>\n');
	document.write('<li><a href="index.html#output">VP</a></li>\n');
	document.write('<li><a href="index.html#ikkan">素材</a></li>\n');
	document.write('<li><a href="index.html#eizou">編集</a></li>\n');
	document.write('<li><a href="index.html#output">番組</a></li>\n');
	document.write('<li><a href="index.html#dubbing">ダビング</a></li>\n');
	document.write('<li><a href="index.html#onkyou">レコーディング</a></li>\n');
	document.write('<li><a href="index.html#onkyou">CDマスタリング</a></li>\n');
	document.write('<li><a href="index.html#ikkan">印刷物</a></li>\n');
	document.write('<li><a href="index.html#ikkan">イベント</a></li>\n');
	document.write('<li><a href="index.html#output">デジタルアーカイブ</a></li>\n');
	document.write('</ul>');
	document.close();
}
// -----------------------------------------------------------------------------