mainloca_1 = "location='/";

mainloca_2 = "location='http://";

mainloca_3 = "location='http://www.sumitomometals.co.jp/";

loca = mainloca_1 ;



function MM_findObj(n, d) { //v3.0

  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {

    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}

  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];

  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); return x;

}

function MM_swapImage() { //v3.0

  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)

   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}

}

function MM_swapImgRestore() { //v3.0

  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;

}



function MM_preloadImages() { //v3.0

 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();

   var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)

   if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}

}



function fwLoadMenus() {

  if (window.fw_menu_0) return;

usag= navigator.userAgent;

apn = navigator.appName;

plf = navigator.platform;

if(!((apn.indexOf("Microsoft")>=0)&&(plf.indexOf("Mac")>=0)&&(usag.indexOf("5.0")>=0))){

  window.fw_menu_0 = new Menu("root",172,19,"","10px","#000000","#000000","#dee8ff","#bbd1ed");

  fw_menu_0.addMenuItem("概要",loca +"profile/profile.html'");

  fw_menu_0.addMenuItem("会社沿革",loca +"profile/history.html'");

  fw_menu_0.addMenuItem("組織・事業所一覧（地図）",loca +"profile/organization.html'");
  
  fw_menu_0.addMenuItem("鋼板・建材カンパニー",loca +"business/com_msg01.html'");

  fw_menu_0.addMenuItem("鋼管カンパニー",loca +"business/com_msg02.html'");

  fw_menu_0.addMenuItem("交通産機品カンパニー",loca +"business/com_msg03.html'");
  
  fw_menu_0.addMenuItem("製造所",loca +"steelworks/index.html'");

  fw_menu_0.addMenuItem("主要国内関係会社",loca +"profile/domestic.html'");

  fw_menu_0.addMenuItem("主要海外事業会社",loca +"profile/overseas.html'");

   fw_menu_0.hideOnMouseOut=true;

  window.fw_menu_1 = new Menu("root",172,19,"","10px","#000000","#000000","#dee8ff","#bbd1ed");

  fw_menu_1.addMenuItem("薄板",loca +"flat-rolled-products/index.html'");

  fw_menu_1.addMenuItem("厚板",loca +"steel-plates/index.html'");

  fw_menu_1.addMenuItem("建材",loca +"construction-materials/index.html'");

  fw_menu_1.addMenuItem("鋼管",loca +"tubes-and-pipes/index.html'");
  
  fw_menu_1.addMenuItem("交通産機品",loca +"railway-automotive-machinery-parts/index.html'");

  fw_menu_1.addMenuItem("棒鋼・線材","window.open('http://www.kokura.sumitomometals.co.jp/', '_blank');");

  fw_menu_1.addMenuItem("ステンレス精密圧延品","window.open('http://www.sumitomometals-naoetsu.com/', '_blank');");

  fw_menu_1.addMenuItem("チタン",loca +"titanium/index.html'");
  
  fw_menu_1.addMenuItem("シリコンウエーハ事業",loca +"sitix/index.html'");

  fw_menu_1.addMenuItem("エレクトロニクス事業",loca +"electronics/index.html'");

   fw_menu_1.hideOnMouseOut=true;

  window.fw_menu_2 = new Menu("root",200,19,"","10px","#000000","#000000","#dee8ff","#bbd1ed");

  fw_menu_2.addMenuItem("決算短信",loca +"shareholders-and-investors/financial-summary.html'");

  fw_menu_2.addMenuItem("経営報告書",loca +"shareholders-and-investors/annual-report.html'");

  fw_menu_2.addMenuItem("有価証券報告書・内部統制報告書",loca +"shareholders-and-investors/financial-report.html'");

  fw_menu_2.addMenuItem("ＩＲ説明会",loca +"shareholders-and-investors/presentation.html'");

  fw_menu_2.addMenuItem("住友金属ガイドブック",loca +"shareholders-and-investors/guidebook.html'");

  fw_menu_2.addMenuItem("データ集",loca +"shareholders-and-investors/data-list.html'");

  fw_menu_2.addMenuItem("ＩＲカレンダー",loca +"shareholders-and-investors/ir-calendar.html'");

  fw_menu_2.addMenuItem("資本政策・配当方針",loca +"shareholders-and-investors/capitalpolicy-creditrating.html'");

  fw_menu_2.addMenuItem("格付情報",loca +"shareholders-and-investors/information-to-rate.html'");

  fw_menu_2.addMenuItem("株主の皆様へ",loca +"shareholders-and-investors/shareholders.html'");

  fw_menu_2.addMenuItem("コーポレート・ガバナンス",loca +"shareholders-and-investors/corporate-governance.html'");

  fw_menu_2.addMenuItem("よくあるお問い合わせ",loca +"shareholders-and-investors/qa.html'");

   fw_menu_2.hideOnMouseOut=true;

  window.fw_menu_3 = new Menu("root",112,19,"","10px","#000000","#000000","#dee8ff","#bbd1ed");

  fw_menu_3.addMenuItem("研究所",loca +"research/corporate/steel.html'");

  fw_menu_3.addMenuItem("技術開発情報","window.open('http://www.gijyutu-ronbun-smi.jp/index.html', '_self');");

  fw_menu_3.addMenuItem("SMICATの紹介",loca +"research/cat/knowledge.html'");

  fw_menu_3.addMenuItem("鉄のあれこれ",loca +"research/steel/civilization.html'");

   fw_menu_3.hideOnMouseOut=true;

  window.fw_menu_4 = new Menu("root",139,19,"","10px","#000000","#000000","#dee8ff","#bbd1ed");

  fw_menu_4.addMenuItem("環境方針",loca +"environment/vol.html'");

  fw_menu_4.addMenuItem("環境報告",loca +"environment/kan.html'");

   fw_menu_4.hideOnMouseOut=true;

  window.fw_menu_5 = new Menu("root",156,19,"","10px","#000000","#000000","#dee8ff","#bbd1ed");

  fw_menu_5.addMenuItem("鋼板建材カンパニー");

  fw_menu_5.addMenuItem("　鹿島製鉄所",loca +"kashima/index.html'");

  fw_menu_5.addMenuItem("　和歌山製造所",loca +"wakayama/index.html'");

  fw_menu_5.addMenuItem("鋼管カンパニー");

  fw_menu_5.addMenuItem("　鋼管事業所（和歌山）",loca +"wakayama/index.html'");

  fw_menu_5.addMenuItem("　特殊管事業所（尼崎）",loca +"steeltubeworks/index.html'");

  fw_menu_5.addMenuItem("交通産機品カンパニー");

  fw_menu_5.addMenuItem("　製鋼所",loca +"osakasteelworks/index.html'");

  fw_menu_5.addMenuItem("(株)住友金属小倉","window.open('http://www.kokura.sumitomometals.co.jp/', '_blank');");

  fw_menu_5.addMenuItem("(株)住友金属直江津","window.open('http://www.sumitomometals-naoetsu.com/', '_blank');");

   fw_menu_5.hideOnMouseOut=true;



  fw_menu_5.writeMenus();

}

}// fwLoadMenus()



function MM_findObj(n, d) { //v4.0

  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {

    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}

  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];

  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);

  if(!x && document.getElementById) x=document.getElementById(n); return x;

}



function jumpFunc00(parts){

	jump = parts.options[parts.selectedIndex].value;

		if (jump != "pass") {

			if(jump.substring(0,1) == "/"){

				jump = "http://" + location.host + jump ;

			}

		else{

			jump = jump ;

		}

	var i="";

	for(i=0; i < parts.length; i++) {

		if (parts.options[i].defaultSelected == true) {

			parts.options[i].selected = true;

		}

	}

	location = jump;

	}

	else {

		for (i=0; i < parts.length; i++){

			if (parts.options[i].defaultSelected == true) {

				parts.options[i].selected = true;

			}

		}

	}

}

