﻿gCssUA=navigator.userAgent.toUpperCase();gCssBrw=navigator.appName.toUpperCase();with(document){write('<style type="text/css"><!--');if(gCssUA.indexOf("WIN")!=-1&&gCssUA.indexOf("MSIE")!=-1){write(".fs10 {font-size: 62.5%; line-height: 150%; letter-spacing:1px;}");write(".fs12 {font-size: 75%; line-height: 150%; letter-spacing:1.5px;}");write(".fs14 {font-size: 87.5%; line-height: 150%; letter-spacing:2px;}");write(".fs18 {font-size: 117.5%; line-height: 130%; letter-spacing:2.5px;}");write(".fs22 {font-size: 137.5%; line-height: 130%; letter-spacing:3px;}");write(".fs24 {font-size: 150%; line-height: 130%; letter-spacing:3px;}");write(".fs30 {font-size: 187.5%; line-height: 125%; letter-spacing:3.5px;}");write(".fs10n {font-size: 62.5%; letter-spacing:1px;}");write(".fs12n {font-size: 75%; letter-spacing:1.5px;}");write(".fs14n {font-size: 87.5%; letter-spacing:2px;}");write(".fs18n {font-size: 117.5%; letter-spacing:2.5px;}");write(".fs22n {font-size: 137.5%; letter-spacing:1px;}");write(".fs24n {font-size: 150%; letter-spacing:1px;}");write(".fs30n {font-size: 187.5%; letter-spacing:1px;}");write(".fs12st {font-size: 75%; line-height: 150%; letter-spacing:1.5px; font-weight: bold;}")}if(gCssUA.indexOf("WIN")!=-1&&gCssBrw.indexOf("NETSCAPE")!=-1){write(".fs10 {font-size:72%; line-height:130%;}");write(".fs12 {font-size: 75%; line-height: 150%;}");write(".fs14 {font-size: 87.5%; line-height: 140%;}");write(".fs18 {font-size: 117.5%; line-height: 130%;}");write(".fs22 {font-size: 137.5%; line-height: 130%;}");write(".fs24 {font-size: 150%; line-height: 130%;}");write(".fs30 {font-size: 187.5%; line-height: 120%;}");write(".fs10n {font-size:72%;}");write(".fs12n {font-size: 75%;}");write(".fs14n {font-size: 87.5%;}");write(".fs18n {font-size: 117.5%;}");write(".fs22n {font-size: 137.5%;}");write(".fs24n {font-size: 150%;}");write(".fs30n {font-size: 187.5%;}");write(".fs12st {font-size: 75%; line-height: 150%; font-weight: bold;}")}if(navigator.appName=="Netscape"&&navigator.appVersion.substr(0,2)=="4."){write(".fs10 {font-size:90%; line-height: 130%;}");write(".fs12 {font-size: 100%; line-height: 140%;}");write(".fs14 {font-size: 110%; line-height: 135%;}");write(".fs18 {font-size: 130%; line-height: 175%;}");write(".fs24 {font-size: 190%; line-height: 240%;}");write(".fs30 {font-size: 240%; line-height: 285%;}");write(".fs10n {font-size:90%;}");write(".fs12n {font-size: 100%;}");write(".fs14n {font-size: 110%;}");write(".fs18n {font-size: 130%;}");write(".fs24n {font-size: 190%;}");write(".fs30n {font-size: 240%;}");write(".fs12st {font-size: 100%; line-height: 140%; font-weight: bold;}")}if(gCssUA.indexOf("MAC")!=-1){write(".fs10 {font-size: 10px; line-height: 14px;}");write(".fs12 {font-size: 12px; line-height: 18px;}");write(".fs14 {font-size: 14px; line-height: 18px;}");write(".fs18 {font-size: 18px; line-height: 23px;}");write(".fs22 {font-size: 22px; line-height: 27px;}");write(".fs24 {font-size: 24px; line-height: 30px;}");write(".fs30 {font-size: 30px; line-height: 35px;}");write(".fs10n {font-size: 10px;}");write(".fs12n {font-size: 12px;}");write(".fs14n {font-size: 14px;}");write(".fs18n {font-size: 18px;}");write(".fs22n {font-size: 22px;}");write(".fs24n {font-size: 24px;}");write(".fs30n {font-size: 30px;}");write(".fs12st {font-size: 12px; line-height: 18px; font-weight: bold;}")}write("--></style>")}var preLoadFlag="false";function preLoadImg(a){arrImgList=new Array(a+"img/header/basis_on.jpg",a+"img/header/product_on.jpg",a+"img/header/customer_on.jpg",a+"img/header/order_on.jpg",a+"img/header/sales_on.jpg",a+"img/header/mail_on.jpg",a+"img/header/contents_on.jpg",a+"img/header/mainpage_on.gif",a+"img/header/sitecheck_on.gif",a+"img/header/logout.gif",a+"img/contents/btn_search_on.jpg",a+"img/contents/btn_regist_on.jpg",a+"img/contents/btn_csv_on.jpg",a+"img/contents/arrow_left.jpg",a+"img/contents/arrow_right.jpg");arrPreLoad=new Array();for(i in arrImgList){arrPreLoad[i]=new Image();arrPreLoad[i].src=arrImgList[i]}preLoadFlag="true"}function chgImg(b,a){if(preLoadFlag=="true"){document.images[a].src=b}}function chgImgImageSubmit(b,a){a.src=b}function naviStyleChange(c,a,b){document.getElementById(c).style.backgroundColor=a}function win01(a,b,e,c){var d;d=window.open(a,b,"width="+e+",height="+c+",scrollbars=no,resizable=no,toolbar=no,location=no,directories=no,status=no");d.focus()}function win02(a,b,e,c){var d;d=window.open(a,b,"width="+e+",height="+c+",scrollbars=yes,resizable=yes,toolbar=no,location=no,directories=no,status=no");d.focus()}function win03(a,b,e,c){var d;d=window.open(a,b,"width="+e+",height="+c+",scrollbars=yes,resizable=yes,toolbar=no,location=no,directories=no,status=no,menubar=no");d.focus()}function winSubmit(a,d,b,e,c){WIN=window.open(a,b,"width="+e+",height="+c+",scrollbars=yes,resizable=yes,toolbar=no,location=no,directories=no,status=no,menubar=no");document.forms[d].target=b;WIN.focus()}function ChangeParent(){window.opener.location.href="../contact/index.php"}function CloseChild(){window.close()}function fnIsopener(){var a=navigator.userAgent;if(!!window.opener){if(a.indexOf("MSIE 4")!=-1&&a.indexOf("Win")!=-1){return !window.opener.closed}else{return typeof window.opener.document=="object"}}else{return false}}function fnCallAddress(e,d,c,b,a){zip1=document.form1[d].value;zip2=document.form1[c].value;if(zip1.length==3&&zip2.length==4){url=e+"?zip1="+zip1+"&zip2="+zip2+"&input1="+b+"&input2="+a;window.open(url,"nomenu","width=500,height=350,scrollbars=yes,resizable=yes,toolbar=no,location=no,directories=no,status=no")}else{alert("郵便番号を正しく入力して下さい。")}}function fnPutAddress(b,a){if(fnIsopener()){if(document.form1.state.value!=""){state_id=document.form1.state.value;town=document.form1.city.value+document.form1.town.value;window.opener.document.form1[b].selectedIndex=state_id;window.opener.document.form1[a].value=town}}else{window.close()}}function fnOpenNoMenu(a){window.open(a,"nomenu","scrollbars=yes,resizable=yes,toolbar=no,location=no,directories=no,status=no")}function fnOpenWindow(b,c,d,a){window.open(b,c,"width="+d+",height="+a+",scrollbars=yes,resizable=no,toolbar=no,location=no,directories=no,status=no")}function fnSetFocus(a){if(document.form1[a]){document.form1[a].focus()}}function fnSetSelect(b,a,c){sele1=document.form1[b];sele2=document.form1[a];if(sele1&&sele2){index=sele1.selectedIndex;count=sele2.options.length;for(i=count;i>=0;i--){sele2.options[i]=null}len=lists[index].length;for(i=0;i<len;i++){sele2.options[i]=new Option(lists[index][i],vals[index][i]);if(c!=""&&vals[index][i]==c){sele2.options[i].selected=true}}}}function fnCancelEnter(){if(gCssUA.indexOf("WIN")!=-1&&gCssUA.indexOf("MSIE")!=-1){if(window.event.keyCode==13){return false}}return true}function fnModeSubmit(c,b,a){switch(c){case"delete_category":if(!window.confirm("選択したカテゴリとカテゴリ内のすべてのカテゴリを削除します")){return}break;case"delete":if(!window.confirm("一度削除したデータは、元に戻せません。\n削除しても宜しいですか？")){return}break;case"confirm":if(!window.confirm("登録しても宜しいですか")){return}break;case"delete_all":if(!window.confirm("検索結果をすべて削除しても宜しいですか")){return}break;default:break}document.form1.mode.value=c;if(b!=""&&a!=""){document.form1[b].value=a}document.form1.submit()}function fnFormModeSubmit(a,d,c,b){switch(d){case"delete":if(!window.confirm("一度削除したデータは、元に戻せません。\n削除しても宜しいですか？")){return}break;case"confirm":if(!window.confirm("登録しても宜しいですか")){return}break;case"regist":if(!window.confirm("登録しても宜しいですか")){return}break;default:break}document.forms[a]["mode"].value=d;if(c!=""&&b!=""){document.forms[a][c].value=b}document.forms[a].submit()}function fnSetFormSubmit(b,a,c){document.forms[b][a].value=c;document.forms[b].submit();return false}function fnSetFormVal(b,a,c){document.forms[b][a].value=c}function fnChangeAction(a){document.form1.action=a}function fnNaviPage(a){document.form1.pageno.value=a;document.form1.submit()}function fnSearchPageNavi(a){document.form1.pageno.value=a;document.form1.mode.value="search";document.form1.submit()}function fnSubmit(){document.form1.submit()}function fnCheckInputPoint(){if(document.form1.point_check){list=new Array("use_point");if(!document.form1.point_check[0].checked){color="#dddddd";flag=true}else{color="";flag=false}len=list.length;for(i=0;i<len;i++){if(document.form1[list[i]]){document.form1[list[i]].disabled=flag;document.form1[list[i]].style.backgroundColor=color}}}}function fnCheckInputDeliv(){if(!document.form1){return}if(document.form1.deliv_check){list=new Array("deliv_name01","deliv_name02","deliv_kana01","deliv_kana02","deliv_pref","deliv_zip01","deliv_zip02","deliv_addr01","deliv_addr02","deliv_tel01","deliv_tel02","deliv_tel03");if(!document.form1.deliv_check.checked){fnChangeDisabled(list,"#dddddd")}else{fnChangeDisabled(list,"")}}}function fnCheckInputMember(){if(document.form1.member_check){list=new Array("password","password_confirm","reminder","reminder_answer");if(!document.form1.member_check.checked){fnChangeDisabled(list,"#dddddd")}else{fnChangeDisabled(list,"")}}}var g_savecolor=new Array();function fnChangeDisabled(b,a){len=b.length;for(i=0;i<len;i++){if(document.form1[b[i]]){if(a==""){document.form1[b[i]].disabled=false;document.form1[b[i]].style.backgroundColor=g_savecolor[b[i]]}else{document.form1[b[i]].disabled=true;g_savecolor[b[i]]=document.form1[b[i]].style.backgroundColor;document.form1[b[i]].style.backgroundColor=a}}}}function fnCheckLogin(e){var d=new Array();if(e=="login_mypage"){d[0]="mypage_login_email";d[1]="mypage_login_pass"}else{d[0]="login_email";d[1]="login_pass"}var a=d.length;var b=false;var c=0;for(c=0;c<a;c++){if(document.forms[e][d[c]].value==""){b=true;break}}if(b==true){alert("メールアドレス/パスワードを入力して下さい。");return false}}function fnPassTime(){end_time=new Date();time=end_time.getTime()-start_time.getTime();alert((time/1000))}start_time=new Date();function fnUpdateParent(a){if(fnIsopener()){window.opener.location.href=a}else{window.close()}}function fnKeySubmit(b,a){if(b!=""&&a!=""){document.form1[b].value=a}document.form1.submit()}function fnCharCount(b,c,a){document.forms[b][a].value=document.forms[b][c].value.length}function ChangeSize(b,e,c,a,d){if(e.rows<=a){e.rows=c;b.value="小さくする";d.value=c}else{e.rows=a;b.value="大きくする";d.value=a}};