var load = 0;
var category  = new Array("outline","exhibit","visit","program","press","enquiry","sitemap","japanese");
//var category  = new Array("outline","exhibit","visit","program","press","enquiry","sitemap","japanese");
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 + "eng/shared/menu_" + name + "_on.gif"; 
   off_menu[name].src  = directory + "eng/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("General information",directory + "eng/outline/index.html");
list[category[0]][1]  = new Array("Messages",directory + "eng/message/index.html");
list[category[0]][2]  = new Array("Event calendar",directory + "eng/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("Facts & Figures",directory + "eng/report/index.html");
list[category[1]][1]  = new Array("How to reserve space",directory + "eng/exhibit/index.html");
list[category[1]][2]  = new Array("Advertising",directory + "eng/sponsor/index.html");
list[category[1]][3]  = new Array("Visitor promotion",directory + "eng/promotion/index.html");
list[category[1]][4]  = new Array("Download area",directory + "eng/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("Venue details",directory + "eng/venue/index.html");
list[category[2]][1]  = new Array("Hotel info",directory + "eng/hotel/index.html");
list[category[2]][2]  = new Array("Visitor registration",directory + "eng/regist/index.html");
list[category[2]][3]  = new Array("Exhibitor list",directory + "eng/list/index.php");
list[category[2]][4]  = new Array("Exhibitor search",directory + "eng/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("Conference",directory + "eng/conference/index.html");
list[category[3]][1]  = new Array("Special Seminar",directory + "eng/special/index.html");
list[category[3]][2]  = new Array("Shipboard LAN Seminar",directory + "eng/shipboard/index.html");
list[category[3]][3]  = new Array("Exhibitor Presentation",directory + "eng/exhibitorseminar/index.html");

