	{
	//	var Dir =	'http://price.toyokitchen.co.jp/cgi-bin/ISOLA2009.10/bin/';
		var Dir =	'/cgi-bin/ISOLA2009.12/bin/';

	}

	function menu01(plan,codeB,codeF,codeG,doorcolor) {
		clearCookie();
		document.cookie =	"plan="  + plan  + "; path=/;";
		document.cookie =	"codeB=" + codeB + "; path=/;";
		document.cookie =	"codeF=" + codeF + "; path=/;";
		document.cookie =	"codeG=" + codeG + "; path=/;";
		document.cookie =	"doorcolor=" + doorcolor + "; path=/;";
		url =	window.location.href;
		url =	url.replace(/menu\.cgi.*$/, "menu\.cgi")
		url =	url + '?menu01=1' + '&win=' +	window.name;
		url =	url + '&'+smsec();
		window.location.href	=	url;
	}

	function menu03(codeI,wash) {
		document.cookie =	"codeI=" + codeI + "; path=/;";
		document.cookie =	"wash="  + wash + "; path=/;";
		url =	window.location.href;
		url =	url.replace(/menu\.cgi.*$/, "menu\.cgi")
		url =	url + '?menu03=1' + '&win=' +	window.name;
		url =	url + '&'+smsec();
		window.location.href	=	url;
	}

	function popMenu04(plan,codeB,codeF,codeG,doorcolor) {
		clearCookie();
		document.cookie =	"plan="  + plan  + "; path=/;";
		document.cookie =	"codeB=" + codeB + "; path=/;";
		document.cookie =	"codeF=" + codeF + "; path=/;";
		document.cookie =	"codeG=" + codeG + "; path=/;";
		document.cookie =	"doorcolor=" + doorcolor + "; path=/;";
		popMenu('menu.cgi');
	}

	function selSpout(spout1,spout2) {
		document.cookie =	"spout="  + spout1 + "&" + spout2 + "; path=/;";
		url =	window.location.href;
		url =	url.replace(/menu\.cgi.*$/, "menu\.cgi")
		url =	url + '?win=' +   window.name;
		url =	url + '&'+smsec();
		window.location.href	=	url;
	}

	function selCookerR(cc,c1,c1c,c2,c2c,c3,c3c) {
		selCooker(cc,c1,c1c,c2,c2c,c3,c3c,'R');
	}

	function selCookerL(cc,c1,c1c,c2,c2c,c3,c3c) {
		selCooker(cc,c1,c1c,c2,c2c,c3,c3c,'L');
	}

	function selCooker(cc,c1,c1c,c2,c2c,c3,c3c,p) {
		if (p == undefined) {
			p = '';
		}
		document.cookie =	"cooker="
							+ cc	+ "&"
							+ c1	+ "&"
							+ c1c	+ "&"
							+ c2	+ "&"
							+ c2c	+ "&"
							+ c3	+ "&"
							+ c3c	+ "&"
							+ p
							+ "; path=/;";
		url =	window.location.href;
		url =	url.replace(/menu\.cgi.*$/, "menu\.cgi")
		url =	url + '?win=' +   window.name;
		url =	url + '&'+smsec();
		window.location.href	=	url;
	}

	function clearCookie() {
			var path	=	" path=/;";

			document.cookie =	"plan=;         " + path;
			document.cookie =	"presen_pack=;  " + path;
			document.cookie =	"tpsCG=;        " + path;

	}

	function sel(name,sel) {
		document.cookie =	name + "=" + sel + "; path=/;";
		url =	window.location.href;
		url =	url.replace(/menu\.cgi.*$/, "menu\.cgi")
		url =	url + '?win=' +   window.name;
		url =	url + '&'+smsec();
		window.location.href	=	url;
	}

	function sel2(name1,sel1,name2,sel2) {
		document.cookie =	name1 + "=" + sel1 + "; path=/;";
		document.cookie =	name2 + "=" + sel2 + "; path=/;";
		url =	window.location.href;
		url =	url.replace(/menu\.cgi.*$/, "menu\.cgi")
		url =	url + '?win=' +   window.name;
		url =	url + '&'+smsec();
		window.location.href	=	url;
	}

	function sel3(name1,sel1,name2,sel2,name3,sel3) {
		document.cookie =	name1 + "=" + sel1 + "; path=/;";
		document.cookie =	name2 + "=" + sel2 + "; path=/;";
		document.cookie =	name3 + "=" + sel3 + "; path=/;";
		url =	window.location.href;
		url =	url.replace(/menu\.cgi.*$/, "menu\.cgi")
		url =	url + '?win=' +   window.name;
		url =	url + '&'+smsec();
		window.location.href	=	url;
	}

	function sel4(name1,sel1,name2,sel2,name3,sel3,name4,sel4) {
		document.cookie =	name4 + "=" + sel4 + "; path=/;";
		document.cookie =	name3 + "=" + sel3 + "; path=/;";
		document.cookie =	name2 + "=" + sel2 + "; path=/;";
		document.cookie =	name1 + "=" + sel1 + "; path=/;";
		url =	window.location.href;
		url =	url.replace(/menu\.cgi.*$/, "menu\.cgi")
		url =	url + '?win=' +   window.name;
		url =	url + '&'+smsec();
		window.location.href	=	url;
	}

	function menu(menu) {
		if (menu == "menu01")	{
			clearCookie();
		}
		var url =	window.location.href;
		url =	url.replace(/menu\.cgi.*$/, 'menu.cgi')
		url =	url.replace(/tpsmail\.cgi.*$/, 'menu.cgi')
		url =	url + '?menu=' + menu;
		url =	url + '&'+smsec();
		window.location.href	=	url;
	}

	function changeImage() {
		if (	document.img1.src == src3d) {
			document.img1.src = srcCG;
			document.img2.src = msgCG;
		} else {
			document.img1.src = src3d;
			document.img2.src = msg3d;
		}
	}

	function goBackMenu04() {
		var url =	window.location.href;
		url =	url.replace(/menu\.cgi.*$/, 'menu.cgi')
		window.location.href	=	url;
	}

	function goBackFormSelect() {
		var url =	window.location.href;
		url =	url.replace(/tpsmail\.cgi.*$/, 'menu.cgi')
		window.location.href	=	url;
	}

	function popMenu(cginame) {
		var url =	Dir + cginame;
		var w	=	window.screen.availWidth-13;
		var h	=	window.screen.availHeight-35;
		var webtpswin=	window.open(url,'WebTPS',
							'width=' + w +
							',height=' + h +
							',resizable=yes,scrollbars=yes,menubar=yes' +
							',location=yes,toolbar=yes,status=yes,top=0,left=0');
// debugˇ˛ location=yes
// –{”Ōˇ˛  location=no
//		   webtpswin.location.reload();
		webtpswin.focus();
		webtpswin.resizeTo(window.screen.availWidth,window.screen.availHeight);
	}

	function printOut(output) {
		var url =	window.location.href;
		url =	url.replace(/menu\.cgi.*$/, 'menu.cgi')
		url =	url + '?menu=' + output;
		url =	url + '&'+smsec();
		var webtpswin=	window.open(url,'printout','width=740,height=500,resizable=yes,scrollbars=yes,menubar=yes,toolbar=yes,top=0,left=150');
		webtpswin.focus();
		webtpswin.resizeTo(740,window.screen.availHeight);
	}

	function pop2d(html) {
		url =	window.location.href;
		url =	url.replace(/menu\.cgi.*$/, "menu\.cgi")
		url =	url + '?pop2d=' + html;
		url =	url + '&'+smsec();
		setw		= 'width=570,height=500,resize=yes,toolbar=no,location=no,directories=no,status=no,menubar=no';
		subWindow	=  window.open(url,'pop2d',setw);
		subWindow.focus();
	}

	function popSCT(html) {
		var url =	window.location.href;
		url =	url.replace(/menu\.cgi.*$/, 'menu\.cgi')
		url =	url + '?pop2d=' + html;
		url =	url + '&'+smsec();
		var setw	= 'width=570,height=500,resize=yes,toolbar=no,location=no,directories=no,status=no,menubar=no';
		subWindow	=	window.open(url,'pop2d',setw);
		subWindow.focus();
	}

	function smsec() {
		dd = new Date();
		var secmsec =	dd.getSeconds()*1000+dd.getMilliseconds();
		return(secmsec);
	}

	function openSubWindow(html, name, w, h, sb){
		var scWidth = screen.availWidth;
		var scHeight = screen.availHeight;
		{
			setw		= 'toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars='
						+ sb + ',resizable=no,width=' + (w) + ',height=' + (h)
						+ ',top=' + ((scHeight-h)/2) + ',left=' + ((scWidth-w)/2);
			subWindow	= window.open(html,name,setw);
		}
		subWindow.focus();
	}

