flag = false;
function send()
{
	if (flag) { alert("ただいま送信中です。もうしばらくお待ちください。"); return false; }
	flag = true;
	return true;
}

function In(n) {
	browser = (((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) >= 3 )) || ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4 )));
	if (browser) {
		document.images["image" + n ].src = "/images/menu_on_" + n + ".gif";
	}
}
function Out(n) {
	browser = (((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) >= 3 )) || ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4 )));
	if (browser) {
		document.images["image" + n ].src = "/images/menu_off_" + n + ".gif";
	}
}
function preload() {
	if (!document.images) return;
	var ar = new Array();
	var arguments = preload.arguments;
	for (var i = 0; i < arguments.length; i++) {
	ar[i] = new Image();
	ar[i].src = arguments[i];
	}
}

function PageJump(parts){
	URL=parts.options[parts.selectedIndex].value;
	top.location.href=URL;
}
function NavigationForm(){
	document.writeln('<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0><TR ALIGN=center VALIGN=middle><TD>')
	document.writeln('<SELECT NAME=link>')
	
	document.writeln('<OPTION VALUE="/index.html" SELECTED>トップページ');
	document.writeln('<OPTION VALUE="/cgi-bin/01-01.cgi">■お知らせ');
	document.writeln('<OPTION VALUE="/cgi-bin/01-01.cgi">├お知らせ');
	document.writeln('<OPTION VALUE="/01-02.html">└製品紹介');
	document.writeln('<OPTION VALUE="/02-01.html">■会社案内');
	document.writeln('<OPTION VALUE="/02-01.html">├ご挨拶');
	document.writeln('<OPTION VALUE="/02-02.html">├経営理念');
	document.writeln('<OPTION VALUE="/02-03.html">├会社概要');
	document.writeln('<OPTION VALUE="/02-04.html">├沿革');
	document.writeln('<OPTION VALUE="/02-05.html">├ムトウグループについて');
	document.writeln('<OPTION VALUE="/02-06.html">└事業所案内');
	document.writeln('<OPTION VALUE="/03-01.html">■製品・サービス');
	document.writeln('<OPTION VALUE="/04-01.html">■求人情報');
	document.writeln('<OPTION VALUE="/04-01.html">├採用情報');
	document.writeln('<OPTION VALUE="/04-02.html">└社員からのメッセージ');
	document.writeln('<OPTION VALUE="/05-01.html">■税務Ｑ＆Ａ');
	document.writeln('<OPTION VALUE="/cgi-bin/06-01.cgi">■お問い合わせ');
	
	document.writeln('</SELECT>')
	document.writeln('</TD><TD>')
	document.writeln('　<INPUT TYPE=button onClick="PageJump(link)" VALUE="Go!">')
	document.writeln('</TD></TR>')
	document.writeln('</TABLE>')
}

function openimage(x,y,n) {
	sizex = x;		sizey = y;
	x = (screen.width - sizex ) / 2;		y = (screen.height - sizey ) / 2;
	phrase = "<IMG SRC='" + n + "' WIDTH=" + sizex + " HEIGHT=" + sizey + ">";
	
	nwin = window.open("","GALLERY","width=" + sizex + ",height=" + sizey + ",left=" + x + ",top=" + y + ",toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no");
	nwin.document.open();
	nwin.document.write("<HTML><HEAD><TITLE>MAP</TITLE>");
	nwin.document.write("<STYLE TYPE='text/css'><!-- ");
	nwin.document.write("BODY { margin-left: 0px; margin-top: 0px; }");
	nwin.document.write(" --></STYLE>");
	nwin.document.write("</HEAD><BODY BGCOLOR=white LEFTMARGIN=0 TOPMARGIN=0>")
	nwin.document.write(phrase);
	nwin.document.write("</BODY></HTML>");
	nwin.document.close();
	
	window.nwin.focus();
}

