var load = 0;
var category  = new Array("outline","exhibit","visit","program","press","enquiry","sitemap","english");
//var category  = new Array("outline","exhibit","visit","program","press","enquiry","sitemap","english");
var on_menu   = new Array();
var off_menu  = new Array();
var timer;
var directory = "";
var ssl = (window.location.hostname == 'secure.cmpjapan.com') ? 1 : 0;
for(var i=2; i<window.location.pathname.split("/").length - ssl; i++){
   directory += "../";
}
for(var i in category){
   var name = category[i];
   on_menu[name]   = new Image();
   off_menu[name]  = new Image();
   on_menu[name].src   = directory + "jpn/shared/menu_" + name + "_on.gif"; 
   off_menu[name].src  = directory + "jpn/shared/menu_" + name + "_off.gif";
}

var list = new Array(); //リスト情報の定義
var pos  = new Array(); //座標情報の定義
pos[category[0]] = new Array(11,150,175); //レイヤー情報（top,left,width）
list[category[0]] = new Array();
list[category[0]][0]  = new Array("開催概要",directory + "jpn/outline/index.html");
list[category[0]][1]  = new Array("ご挨拶",directory + "jpn/message/index.html");
list[category[0]][2]  = new Array("関連展示会",directory + "jpn/event/index.html");
pos[category[1]] = new Array(35,150,175); //レイヤー情報（top,left,width）
list[category[1]] = new Array();
list[category[1]][0]  = new Array("前回結果報告",directory + "jpn/report/index.html");
list[category[1]][1]  = new Array("出展方法",directory + "jpn/exhibit/index.html");
list[category[1]][2]  = new Array("スポンサーシップ",directory + "jpn/sponsor/index.html");
list[category[1]][3]  = new Array("来場者プロモーション計画",directory + "jpn/promotion/index.html");
list[category[1]][4]  = new Array("ロゴダウンロード",directory + "jpn/download/index.html");
pos[category[2]] = new Array(59,150,175); //レイヤー情報（top,left,width）
list[category[2]] = new Array();
list[category[2]][0]  = new Array("会場案内",directory + "jpn/venue/index.html");
list[category[2]][1]  = new Array("宿泊案内",directory + "jpn/hotel/index.html");
list[category[2]][2]  = new Array("オンライン来場申込み",directory + "jpn/regist/index.html");
list[category[2]][3]  = new Array("出展社リスト",directory + "jpn/list/index.php");
list[category[2]][4]  = new Array("出展社検索",directory + "jpn/list/search.php");
pos[category[3]] = new Array(83,150,175); //レイヤー情報（top,left,width）
list[category[3]] = new Array();
list[category[3]][0]  = new Array("国際会議",directory + "jpn/conference/index.html");
list[category[3]][1]  = new Array("特別セミナー",directory + "jpn/special/index.html");
list[category[3]][2]  = new Array("船内LAN研究会セミナー",directory + "jpn/shipboard/index.html");
list[category[3]][3]  = new Array("出展社プレゼンテーション",directory + "jpn/exhibitorseminar/index.html");

