﻿<!--
loc = document.location.pathname;

//HOMEディレクトリ、HOMEディレクトリ直下ファイルの定義
homedirectory="";
homefile="/index.html";

//上部ボタン

//文字列の定義
links = new Array();
directory = new Array();
imgname = new Array();
width = new Array();
alt = new Array();

//リンク先設定
links[0] ="/news/index.php";
links[1] ="/media/index.php";
links[2] ="/concept/index.html";
links[3] ="/service/index.html";
links[4] ="/product/index.html";
links[5] ="/recruit/index.html";
links[6] ="/company/index.html";

//ディレクトリ設定
directory[0] ="news/";
directory[1] ="media/";
directory[2] ="concept/";
directory[3] ="service/";
directory[4] ="product/";
directory[5] ="recruit/";
directory[6] ="company/";

//alt設定
alt[0] = "お知らせ";
alt[1] = "メディア掲載情報";
alt[2] = "コンセプト";
alt[3] = "事業内容";
alt[4] = "製品情報";
alt[5] = "採用情報";
alt[6] = "会社概要";

//メイン処理
document.writeln('<div id="menu">');
document.writeln('<a href="' + homedirectory + '/index.html"><img src="' + homedirectory + '/image/logo_2.gif" border="0"></a>');
document.writeln('<div id="menulink">');
document.writeln('<ul>');

for (i=0; i<links.length; i++) {
  document.write('<li>');
  
  if (loc.indexOf(directory[i]) > -1){
    document.write('<a href="' + homedirectory + links[i] + '">' + alt[i] + '</a>');
  }else{
    document.write('<a href="' + homedirectory + links[i] + '">' + alt[i] + '</a>');
  }
  
  document.writeln('</li>');
}

document.writeln('</ul></div>');
document.writeln('<div id="menufooter">');
document.writeln('Copyright (C) 2008<br />');
document.writeln('TEAM☆LAB Inc. <br />');
document.writeln('All rights reserved<br />');
document.writeln('<a href="mailto:info@team-lab.com">お問い合わせはこちら</a>');
document.writeln('</div></div>');

// -->
