
var url = document.URL;


//URL絶対パス設定ここから-----------------------------
//ここはアップロードしたら必ず書き換えてください
//↓↓↓ローカルWEBサーバが動いている場合有効にする
//var http = "://localhost/cyber/";
//var httpurl = "http://localhost/cyber/";

//↓↓↓公開サーバURIに書き換える。
//var http = "://www.cysol.co.jp/";
//var httpurl = "http://www.cysol.co.jp/";


//if(url.match(/https:/)){
//	http = "https"+http;
//}else{
//	http = "http"+http;
//}

var httpurl = "/";

//URL絶対パス設定ここまで-----------------------------

//Create array of nav bar "on" images

if (document.images) {

nav1 = new Image();
nav1.src= httpurl + "images/home_on.gif";

nav2 = new Image();
nav2.src= httpurl + "images/aboutus_on.gif";

nav3 = new Image();	
nav3.src= httpurl + "images/products_on.png";

nav4 = new Image();	
nav4.src= httpurl + "images/support_on.gif";	

nav5 = new Image();
nav5.src= httpurl + "images/rd_on.gif";

nav6 = new Image();
nav6.src= httpurl + "images/contributions_on.gif";

nav7 = new Image();
nav7.src= httpurl + "images/press_on.gif";

nav8 = new Image();
nav8.src= httpurl + "images/contact_on.gif";

nav9 = new Image();
nav9.src= httpurl + "images/japanese_on.gif";

nav10 = new Image();
nav10.src= httpurl + "images/agency_on.gif";
}



//Create array of nav bar "off" images

if (document.images) {

nav1off = new Image();
nav1off.src= httpurl + "images/home_off.gif";

nav2off = new Image();
nav2off.src= httpurl + "images/aboutus_off.gif";

nav3off = new Image();
nav3off.src= httpurl + "images/products_off.gif";

nav4off = new Image();
nav4off.src= httpurl + "images/support_off.gif";

nav5off = new Image();
nav5off.src= httpurl + "images/rd_off.gif";

nav6off = new Image();
nav6off.src= httpurl + "images/contributions_off.gif";

nav7off = new Image();
nav7off.src= httpurl + "images/press_off.gif";

nav8off = new Image();
nav8off.src= httpurl + "images/contact_off.gif";

nav9off = new Image();
nav9off.src= httpurl + "images/japanese_off.gif";

nav10off = new Image();
nav10off.src= httpurl + "images/agency_off.gif";
}



//function to activate images

function imgOn(imgName) {
	if (document.images) {
		document[imgName].src = eval(imgName + ".src");
	}

}



//function to deactivate images

function navOff(navName) {
	if (document.images) {
		document[navName].src = eval(navName + "off.src");
	}

}


//別窓オープン
var win = null;

function NewWindow(mypage,myname,w,h,scroll){

LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;

TopPosition = (screen.height) ? (screen.height-h)/2 : 0;

settings =

'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable'

win = window.open(mypage,myname,settings)

if(win.window.focus){win.window.focus();}

}


//ポップアップここから-----------------------------

function mmLoadMenus() {
 document.write("<tr><td bgcolor=\"#DADADA\" height=\"20\"><a href= \"" +  httpurl + "products/index.html\" onMouseOut=\"MM_startTimeout();\" onMouseOver=\"MM_showMenu(window.mm_menu_0218142952_0,115,0,null,'products');\"><img name=\"products\" src=\"" + httpurl + "images/products_off.gif\" width=\"120\" height=\"20\" border=\"0\" alt=\"PRODUCTS\"></a></td></tr>");
 document.write("<tr><td bgcolor=\"#DADADA\" height=\"20\"><a href= \"" +  httpurl + "support/index.html\" onMouseOut=\"MM_startTimeout();\" onMouseOver=\"MM_showMenu(window.mm_menu_0318142952_1,115,0,null,'support');\"><img name=\"support\" src=\"" + httpurl + "images/support_off.gif\" width=\"120\" height=\"20\" border=\"0\" alt=\"SUPPORT\"></a></td></tr>");
 // services tree. added on jun 17, 2010
 document.write("<tr><td bgcolor=\"#DADADA\" height=\"20\"><a href= \"" +  httpurl + "services/index.html\" onMouseOut=\"MM_startTimeout();\" onMouseOver=\"MM_showMenu(window.mm_menu_0618142952_4,115,0,null,'services');\"><img name=\"services\" src=\"" + httpurl + "images/services.gif\" width=\"120\" height=\"20\" border=\"0\" alt=\"SERVICES\"></a></td></tr>");
 document.write("<tr><td bgcolor=\"#DADADA\" height=\"20\"><a href= \"" +  httpurl + "research/index.html\" onMouseOut=\"MM_startTimeout();\" onMouseOver=\"MM_showMenu(window.mm_menu_0418142952_2,115,0,null,'rd');\"><img name=\"rd\" src=\"" + httpurl + "images/rd_off.gif\" width=\"120\" height=\"20\" border=\"0\" alt=\"R&amp;D\"></a></td></tr>");
// document.write("<tr><td bgcolor=\"#DADADA\" height=\"20\"><a href= \"" +  httpurl + "contrib/index.html\" onMouseOut=\"MM_startTimeout();\" onMouseOver=\"MM_showMenu(window.mm_menu_0518142952_3,115,0,null,'contrib');\"><img name=\"contrib\" src=\"" + httpurl + "images/contributions_off.gif\" width=\"120\" height=\"20\" border=\"0\" alt=\"CONTRIBUTIONS\"></a></td></tr>");


  if (window.mm_menu_0218142952_0) return;
/*	 
    window.mm_menu_0218142952_0_1 = new Menu("<img src=" + httpurl + "common/naviimg/1_02.gif>",210,20,"Osaka, MS UI Gothic",12,"#000000","#000","#fff","#ccc","left","middle",3,0,1000,-5,0,true,true,true,0,true,true);
    mm_menu_0218142952_0_1.addMenuItem("<img src=" + httpurl + "common/naviimg/2_01.gif>","location= httpurl + 'products/netskatekoban/index_j.html#summary'");
    mm_menu_0218142952_0_1.addMenuItem("<img src=" + httpurl + "common/naviimg/2_03.gif>","location= httpurl + 'products/netskatekoban/index_j.html#function'");
    mm_menu_0218142952_0_1.addMenuItem("<img src=" + httpurl + "common/naviimg/2_04.gif>","location= httpurl + 'products/netskatekoban/index_j.html#modelcase'");
    mm_menu_0218142952_0_1.addMenuItem("<img src=" + httpurl + "common/naviimg/2_05.gif>","location= httpurl + 'products/netskatekoban/index_j.html#users'");
    mm_menu_0218142952_0_1.addMenuItem("<img src=" + httpurl + "common/naviimg/2_06.gif>","location= httpurl + 'products/netskatekoban/index_j.html#spec'");
    mm_menu_0218142952_0_1.addMenuItem("<img src=" + httpurl + "common/naviimg/2_07.gif>","location= httpurl + 'products/netskatekoban/index_j.html#faq'");
    mm_menu_0218142952_0_1.addMenuItem("<img src=" + httpurl + "common/naviimg/2_09.gif>","location= httpurl + 'products/netskatekoban/pamphlet.html'");
	
    mm_menu_0218142952_0_1.hideOnMouseOut=true;
    mm_menu_0218142952_0_1.menuBorder=1;
    mm_menu_0218142952_0_1.menuLiteBgColor='#ffffff';
    mm_menu_0218142952_0_1.menuBorderBgColor='#555555';
    mm_menu_0218142952_0_1.bgColor='#cccccc';	 
*/
  // Products tree
  window.mm_menu_0218142952_0 = new Menu("root",160,20,"Osaka, MS UI Gothic",12,"#000000","#000","#fff","#ccc","left","middle",0,0,1000,-5,0,true,true,true,0,true,true);
  mm_menu_0218142952_0.addMenuItem( "<img src=" + httpurl + "common/naviimg/e_01.gif>" ,"location= httpurl + 'products/netskatekoban/index.html'");
  mm_menu_0218142952_0.addMenuItem( "<img src=" + httpurl + "common/naviimg/e_02.gif>" ,"location= httpurl + 'products/netskatekoban/index.html'");
  //mm_menu_0218142952_0.addMenuItem(mm_menu_0218142952_0_1,"location= httpurl + 'products/netskatekoban/index_j.html'");
  mm_menu_0218142952_0.addMenuItem("<img src=" + httpurl + "common/naviimg/e_03.gif>","location= httpurl + 'products/index.html#3'");
  mm_menu_0218142952_0.addMenuItem("<img src=" + httpurl + "common/naviimg/e_04_ls.gif>","location= httpurl + 'products/visualizer_ls/index.html'");	//add 20080509 NetSkate Visualizer LS English
  mm_menu_0218142952_0.addMenuItem("<img src=" + httpurl + "common/naviimg/e_04.gif>","location= httpurl + 'products/visualizer/index.html'");
  mm_menu_0218142952_0.addMenuItem("<img src=" + httpurl + "common/naviimg/e_05.gif>","location= httpurl + 'products/designer/index.html'");
  mm_menu_0218142952_0.addMenuItem("<img src=" + httpurl + "common/naviimg/e_06.gif>","location= httpurl + 'products/netgrapher/index.html'");
  mm_menu_0218142952_0.addMenuItem("<img src=" + httpurl + "common/naviimg/e_07.gif>","location= httpurl + 'products/cpmonitorsmart/index.html'");
  mm_menu_0218142952_0.addMenuItem("<img src=" + httpurl + "common/naviimg/e_08.gif>","location= httpurl + 'products/hrtm/index.html'");
  mm_menu_0218142952_0.addMenuItem("<img src=" + httpurl + "common/naviimg/e_09.gif>","location= httpurl + 'products/ctap/index.html'");
  //mm_menu_0218142952_0.addMenuItem("<img src=" + httpurl + "common/naviimg/e_10.gif>","location= httpurl + 'products/ctap/index.html'");
  mm_menu_0218142952_0.addMenuItem("<img src=" + httpurl + "common/naviimg/e_11.gif>","location= httpurl + 'products/index.html#9'");
  mm_menu_0218142952_0.addMenuItem("<img src=" + httpurl + "common/naviimg/e_12.gif>","location= httpurl + 'products/packetchaser/index.html'");
  mm_menu_0218142952_0.addMenuItem("<img src=" + httpurl + "common/naviimg/e_13.gif>","location= httpurl + 'products/sensorarray/index.html'");
  mm_menu_0218142952_0.addMenuItem("<img src=" + httpurl + "common/naviimg/e_14.gif>","location= httpurl + 'products/alertanalyzer/index.html'");
   mm_menu_0218142952_0.hideOnMouseOut=true;
   mm_menu_0218142952_0.childMenuIcon= httpurl + "common/js/arrow.gif";
   mm_menu_0218142952_0.menuBorder=1;
   mm_menu_0218142952_0.menuLiteBgColor='#ffffff';
   mm_menu_0218142952_0.menuBorderBgColor='#555555';
   mm_menu_0218142952_0.bgColor='#cccccc';
  
	//SUPPORT  TREE------------------------
  window.mm_menu_0318142952_1 = new Menu("root",160,20,"Osaka, MS UI Gothic",12,"#000000","#000","#fff","#ccc","left","middle",0,0,1000,-5,0,true,true,true,0,true,true);
  mm_menu_0318142952_1.addMenuItem( "<img src=" + httpurl + "common/naviimg/1_02.gif>" ,"location= httpurl + 'support/netskatekoban/index.html'");
  mm_menu_0318142952_1.addMenuItem( "<img src=" + httpurl + "common/naviimg/1_04.gif>" ,"location= httpurl + 'support/visualizer/index.html'");
  /*
  mm_menu_0318142952_1.addMenuItem( "<img src=" + httpurl + "common/naviimg/1_05.gif>" ,"");
  mm_menu_0318142952_1.addMenuItem( "<img src=" + httpurl + "common/naviimg/1_07.gif>" ,"");
  */
  mm_menu_0318142952_1.addMenuItem( "<img src=" + httpurl + "common/naviimg/1_06.gif>" ,"location= httpurl + 'support/index.html#netgrapher'");
  /*
  mm_menu_0318142952_1.addMenuItem( "<img src=" + httpurl + "common/naviimg/1_08.gif>" ,"");
  mm_menu_0318142952_1.addMenuItem( "<img src=" + httpurl + "common/naviimg/1_09.gif>" ,"");
  */
  mm_menu_0318142952_1.hideOnMouseOut=true;
  mm_menu_0318142952_1.childMenuIcon= httpurl + "common/js/arrow.gif";
  mm_menu_0318142952_1.menuBorder=1;
  mm_menu_0318142952_1.menuLiteBgColor='#ffffff';
  mm_menu_0318142952_1.menuBorderBgColor='#555555';
  mm_menu_0318142952_1.bgColor='#cccccc';

	//SERVICES TREE------------------------
  window.mm_menu_0618142952_4 = new Menu("root",160,20,"Osaka, MS UI Gothic",12,"#000000","#000","#fff","#ccc","left","middle",0,0,1000,-5,0,true,true,true,0,true,true);
  mm_menu_0618142952_4.addMenuItem( "<img src=" + httpurl + "common/naviimg/Software-as-a-service.gif>" ,"location= httpurl + 'services/index.html'");
  mm_menu_0618142952_4.addMenuItem( "<img src=" + httpurl + "common/naviimg/Software-development.gif>" ,"location= httpurl + 'services/index.html#SD'");
  mm_menu_0618142952_4.hideOnMouseOut=true;
  mm_menu_0618142952_4.childMenuIcon= httpurl + "common/js/arrow.gif";
  mm_menu_0618142952_4.menuBorder=1;
  mm_menu_0618142952_4.menuLiteBgColor='#ffffff';
  mm_menu_0618142952_4.menuBorderBgColor='#555555';
  mm_menu_0618142952_4.bgColor='#cccccc';


	//R&D TREE------------------------
  window.mm_menu_0418142952_2 = new Menu("root",160,20,"Osaka, MS UI Gothic",12,"#000000","#000","#fff","#ccc","left","middle",0,0,1000,-5,0,true,true,true,0,true,true);
  mm_menu_0418142952_2.addMenuItem( "<img src=" + httpurl + "common/naviimg/RnDinCySols.gif>" ,"location= httpurl + 'research/index.html'");
  mm_menu_0418142952_2.addMenuItem( "<img src=" + httpurl + "common/naviimg/Publications.gif>" ,"location= httpurl + 'research/papers/index.html'");
//  mm_menu_0418142952_2.addMenuItem( "<img src=" + httpurl + "common/naviimg/3_03.gif>" ,"location= httpurl + 'research/index.html#PARTNERS'");
//  mm_menu_0418142952_2.addMenuItem( "<img src=" + httpurl + "common/naviimg/3_04.gif>" ,"location= httpurl + 'research/index.html#FTNM'");
//  mm_menu_0418142952_2.addMenuItem( "<img src=" + httpurl + "common/naviimg/3_05.gif>" ,"location= httpurl + 'research/index.html#ASID'");
//  mm_menu_0418142952_2.addMenuItem( "<img src=" + httpurl + "common/naviimg/3_06.gif>" ,"location= httpurl + 'research/index.html#PENM'");
//  mm_menu_0418142952_2.addMenuItem( "<img src=" + httpurl + "common/naviimg/3_07.gif>" ,"location= httpurl + 'research/index.html#SLAP'");
//  mm_menu_0418142952_2.addMenuItem( "<img src=" + httpurl + "common/naviimg/3_08.gif>" ,"location= httpurl + 'research/tao/index.html'");
//  mm_menu_0418142952_2.addMenuItem( "<img src=" + httpurl + "common/naviimg/3_09.gif>" ,"location= httpurl + 'research/ipa/ipamaps/index_j.html'");
//  mm_menu_0418142952_2.addMenuItem( "<img src=" + httpurl + "common/naviimg/3_10.gif>" ,"location= httpurl + 'research/ipa/index.html'");


  mm_menu_0418142952_2.hideOnMouseOut=true;
  mm_menu_0418142952_2.childMenuIcon= httpurl + "common/js/arrow.gif";
  mm_menu_0418142952_2.menuBorder=1;
  mm_menu_0418142952_2.menuLiteBgColor='#ffffff';
  mm_menu_0418142952_2.menuBorderBgColor='#555555';
  mm_menu_0418142952_2.bgColor='#cccccc';


	//Contributions TREE------------------------
  window.mm_menu_0518142952_3 = new Menu("root",160,20,"Osaka, MS UI Gothic",12,"#000000","#000","#fff","#ccc","left","middle",7,0,1000,-5,0,true,true,true,0,true,true);
  mm_menu_0518142952_3.addMenuItem( "<img src=" + httpurl + "common/naviimg/3_11.gif>" ,"location= httpurl + 'contrib/index.html'");
  mm_menu_0518142952_3.addMenuItem( "<img src=" + httpurl + "common/naviimg/3_12.gif>" ,"location= httpurl + 'contrib/snortsnmp/index.shtml'");
//  mm_menu_0518142952_3.addMenuItem( "<img src=" + httpurl + "common/naviimg/3_13.gif>" ,"location= httpurl + 'contrib/ldap/index.html'");
  mm_menu_0518142952_3.addMenuItem( "<img src=" + httpurl + "common/naviimg/3_14.gif>" ,"location= httpurl + 'contrib/pdf/InfoCom96.pdf'");

  mm_menu_0518142952_3.hideOnMouseOut=true;
  mm_menu_0518142952_3.childMenuIcon= httpurl + "common/js/arrow.gif";
  mm_menu_0518142952_3.menuBorder=1;
  mm_menu_0518142952_3.menuLiteBgColor='#ffffff';
  mm_menu_0518142952_3.menuBorderBgColor='#555555';
  mm_menu_0518142952_3.bgColor='#cccccc';


  mm_menu_0518142952_3.writeMenus();

  
 } // mmLoadMenus()

