WEST MiRa(1,739 Byte)
JavaScript(1,601 Byte)
ƒjƒbƒZƒ“

¢£ JavaScript - ¥µ¥ó¥×¥ë½¸(257¼ïÎà) - ¥Õ¥©¡¼¥à
¡¡¡¡ - ¥Õ¥©¡¼¥à¤Ç¥á¡¼¥ë¤òÁ÷¤ë Ver3¡ÊNN¡¢IEÍÑ¡¿Ãíʸ¼õ¤±ÉÕ¤±ÍÑ¡Ë

¥Õ¥©¡¼¥à¤Ç¥á¡¼¥ë¤òÁ÷¤ë¥¹¥¯¥ê¥×¥ÈVer3¤Ç¤¹¡£

³Îǧ²èÌ̤˾ÃÈñÀǤȡ¢Áí·×¤¬É½¼¨¤µ¤ì¤ë¤è¤¦¤Ë¤Ê¤ê¡¢¹ç·×¸Ä¿ô¡¢¾®·×¡¢¾ÃÈñÀÇ¡¢ Áí·×¤â°ì½ï¤Ë¥á¡¼¥ë¤ÇÁ÷¤é¤ì¤ÆÍè¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤·¤¿¡£
¤Þ¤¿¹àÌÜ̾¤âÆüËܸì¤ÇÁ÷¤é¤ì¤Þ¤¹¤Î¤Ç¡¢¥á¡¼¥ë¤¬¸«¤ä¤¹¤¯¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£

°ì¤Ä¤Î¾¦Éʤϡ¢ºÇ¹â£²£°¸Ä¤Þ¤ÇÃíʸ²Äǽ¡£
̾Á°¡¢Í¹ÊØÈֹ桢½»½ê¡¢ÅÅÏÃÈÖ¹æ¤Ïɬ¿Ü¹àÌÜ¡£
ɬ¿Ü¹àÌܤ˵­Æþ¤¬¤Ê¤¤¾ì¹ç¡¢¼«Æ°Åª¤Ë¥«¡¼¥½¥ë¤¬¤½¤Î¹àÌܤ˰ÜÆ°¡£
͹ÊØÈֹ桢ÅÅÏÃÈÖ¹æ¤ÏȾ³Ñ¿ô»ú°Ê³°¤ÏÉÔÀµ¤È¸«¤Ê¤·¤Þ¤¹¡£
Ⱦ³Ñ¿ô»ú°Ê³°¤¬ÆþÎϤµ¤ì¤¿¾ì¹ç¤Ï¡¢ÄûÀµ¤·¤Æ¤â¤é¤¦°Ù¤Ë¼«Æ°¤Ç¥«¡¼¥½¥ë¤¬³ºÅö¹àÌܤذÜÆ°¤·¤Þ¤¹¡£
Click!¥Ü¥¿¥ó¤ò²¡¤¹¤È¡¢³Îǧ²èÌ̤ÇÆþÎϹàÌܤȡ¢ÁíÃíʸ¿ô¡¢Áí¶â³Û¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£

¥Ü¥¿¥ó¤ò²¡¤¹¤ÈÆâÍƳÎǧ¤Î²èÌ̤¬½Ð¤ë¤Þ¤¹¡£
¤³¤ì¤Ï³Îǧ²èÌ̤¬¿·¤·¤¯¥Ö¥é¥¦¥¶¤ò³«¤¤¤Æɽ¼¨¤¹¤ë¤è¤¦¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£

¡ÊÄɵ­¡Ë
¿ôÃͥǡ¼¥¿¤ò¥«¥ó¥Þ¶èÀÚ¤ê¤ËÊѹ¹¤·¤Þ¤·¤¿¡£

¢¡¢¡Ãí°Õ¢¡¢¡
¥µ¥ó¥×¥ë¤Ë¤Ï¥á¡¼¥ë¥¢¥É¥ì¥¹¤òÀßÄꤷ¤Æ¤¤¤Þ¤»¤ó¡£ ÀßÄꤷ¤Æ¤¤¤ë¤Î¤Ï¡¢¡Ö¥á¡¼¥ë¥¢¥É¥ì¥¹¡×¤È¸À¤¦Ê¸»úÎó¤Ç¤¹¡£ ¤Ç¤¹¤«¤éÆ°ºî³Îǧ¤Ï½ÐÍè¤Þ¤¹¤¬¡¢¼ÂºÝ¤Ë¤Ï¥á¡¼¥ë¤Ï°¸ÀèÉÔÌÀ¤ÇÌá¤Ã¤ÆÍè¤Þ¤¹¡£

¤½¤ì¤Ï¥¨¥é¡¼¥á¡¼¥ë¤Ç¤¹¤Î¤Ç¡¢¤½¤Î¤Þ¤Þºï½ü¤·¤Æ²¼¤µ¤¤¤Þ¤»¡£
¡Ê¼ÂºÝ¤Ë»ÈÍѤ¹¤ëºÝ¥á¡¼¥ë¥¢¥É¥ì¥¹¤òÀßÄꤷ¤Þ¤·¤¿¤é¡¢¤Á¤ã¤ó¤È»ØÄêÀè¤Ø¥¨¥é¡¼¥á¡¼¥ë¤È¤Ï°ã¤¦·Á¼°¤Ç¥á¡¼¥ë¤¬ÆϤ­¤Þ¤¹¡£¡Ë

¡¦¥µ¥ó¥×¥ë¤ò¸«¤ë
¡¦¥½¡¼¥¹¤òÊݸ¤¹¤ë
¡Ê±¦¥¯¥ê¥Ã¥¯¢ª¡ÖÂоݤò¥Õ¥¡¥¤¥ë¤ËÊݸ¡×or¡Ö¥ê¥ó¥¯¤ò̾Á°¤òÉÕ¤±¤ÆÊݸ¡×¤·¤Æ²¼¤µ¤¤¡£¡Ë
¡¦¥½¡¼¥¹¤ò¸«¤ë
¡¦²òÀâ¤ò¸«¤ë





[ ¥½¡¼¥¹ ]

<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS">

<script language="JavaScript">
<!--//Copyright (C) WEST MiRa http://www.west-mira.jp

	goods_no = new Array();
	goods_name = new Array();
	goods_ryou = new Array();
	goods_money = new Array();
	goods_max = new Array();
	goods_txt = new Array();
	my_title = new Array();
	my_property = new Array();
	my_kind = new Array();
	pay_selection = new Array();


	//¥á¡¼¥ë¥¢¥É¥ì¥¹¤ò»ØÄꤹ¤ë
	mail_address = '¥á¡¼¥ë¥¢¥É¥ì¥¹';

	//¥á¡¼¥ë¥¿¥¤¥È¥ë¤ò»ØÄꤹ¤ë
	mail_title = 'Ãíʸ¥á¡¼¥ë';


	/**************************************************
	¾¦Éʥǡ¼¥¿
	**************************************************/

	//¾¦ÉÊ1
	goods_no[0]    = 'NO.1';
	goods_name[0]  = '¤¢¤¤¤¦¤¨¤ª';
	goods_ryou[0]  = '100g';
	goods_money[0] = 1000;
	goods_max[0]   = 5;
	goods_txt[0]   = '¤¢¹Ô¤Ç¤¹¡£';

	//¾¦ÉÊ2
	goods_no[1]    = 'NO.2';
	goods_name[1]  = '¤«¤­¤¯¤±¤³';
	goods_ryou[1]  = '200g';
	goods_money[1] = 2000;
	goods_max[1]   = 5;
	goods_txt[1]   = '¤«¹Ô¤Ç¤¹¡£';

	//¾¦ÉÊ3
	goods_no[2]    = 'NO.3';
	goods_name[2]  = '¤µ¤·¤¹¤»¤½';
	goods_ryou[2]  = '300g';
	goods_money[2] = 3000;
	goods_max[2]   = 5;
	goods_txt[2]   = '¤µ¹Ô¤Ç¤¹¡£';

	//¾¦ÉÊ4
	goods_no[3]    = 'NO.4';
	goods_name[3]  = '¤¿¤Á¤Ä¤Æ¤È';
	goods_ryou[3]  = '400g';
	goods_money[3] = 4000;
	goods_max[3]   = 5;
	goods_txt[3]   = '¤¿¹Ô¤Ç¤¹¡£';

	//¾¦ÉÊ5
	goods_no[4]    = 'NO.5';
	goods_name[4]  = '¤Ê¤Ë¤Ì¤Í¤Î';
	goods_ryou[4]  = '500g';
	goods_money[4] = 5000;
	goods_max[4]   = 5;
	goods_txt[4]   = '¤Ê¹Ô¤Ç¤¹¡£';


	/**************************************************
	»Ùʧ¤¤ÊýË¡
	**************************************************/

	/**************************************************
	»Ùʧ¤¤ÊýË¡¤Ï¼«Í³¤ËÀßÄê¤Ç¤­¤Þ¤¹¡£
	¤¿¤À¤·¡¢¡ÖÊýË¡¤òÁªÂò¤Ç¤­¤ë¡×µ¡Ç½¤Î¤ß¤Ë¤Ê¤Ã¤Æ¤ª¤ê¤Þ¤¹¡£
	¥¯¥ì¥¸¥Ã¥È¥«¡¼¥É¤ä¥Í¥Ã¥È¥Ð¥ó¥­¥ó¥°·èºÑ¡¢
	¥¤¥ó¥¿¡¼¥Í¥Ã¥È·èºÑ¥µ¡¼¥Ó¥¹¤Î¾ì¹ç¤ÎID¤äÈÖ¹æ¤òɬÍפÈ
	¤¹¤ëºÝ¤Ï¡¢Ê̤ÎÊýË¡¤ò¤´ÍøÍѲ¼¤µ¤¤¡£
	**************************************************/

	pay_selection[0] = '¶ä¹Ô¿¶¹þ';
	pay_selection[1] = '͹ÊØ¿¶ÂØ';
	pay_selection[2] = 'Âå¶â°ú´¹';
	pay_selection[3] = '¥³¥ó¥Ó¥Ëʧ¤¤';


	/**************************************************
	¸ÜµÒ¥Ç¡¼¥¿
	**************************************************/

	/**************************************************
	ÆþÎϥǡ¼¥¿¤Î°À­¤Ë¤Ä¤¤¤Æ
	0¢ªÌ¤ÆþÎϤòµö²Ä¡£ÆþÎÏÃͤÎÀ©¸Â̵¤·¡£
	1¢ªÆþÎÏɬ¿Ü¡£ÆþÎÏÃͤÎÀ©¸Â̵¤·¡£
	2¢ªÌ¤ÆþÎϤòµö²Ä¡£È¾³Ñ¿ôÃͤΤßÆþÎϵö²Ä¡£
	3¢ªÆþÎÏɬ¿Ü¡£È¾³Ñ¿ôÃͤΤßÆþÎϵö²Ä¡£
	4¢ªÌ¤ÆþÎϤòµö²Ä¡£È¾³Ñ±Ñ¿ô»ú¤Î¤ßÆþÎϵö²Ä¡£
	5¢ªÆþÎÏɬ¿Ü¡£È¾³Ñ±Ñ¿ô»ú¤Î¤ßÆþÎϵö²Ä¡£
	6¢ªÌ¤ÆþÎϤòµö²Ä¡£È¾³Ñʸ»ú¤Î¤ßÆþÎϵö²Ä¡£
	7¢ªÆþÎÏɬ¿Ü¡£È¾³Ñʸ»ú¤Î¤ßÆþÎϵö²Ä¡£
	¾åµ­7¼ïÎब¤¢¤ê¤Þ¤¹¡£
	»ØÄꤷ¤¿¤¤Â°À­¤ò²¼µ­¤Î³Æ¹àÌܤÎmy_property¤Ç»ØÄꤷ¤Æ²¼¤µ¤¤¡£
	**************************************************/

	/**************************************************
	ÆþÎϥǡ¼¥¿¤Î¼ïÎà¤Ë¤Ä¤¤¤Æ
	0¢ª¥Æ¥­¥¹¥ÈÆþÎÏ¡ÊûʸÍÑ¡Ë
	3¢ª¥Æ¥­¥¹¥ÈÆþÎÏ¡ÊĹʸÍÑ¡Ë
	¾åµ­2¼ïÎब¤¢¤ê¤Þ¤¹¡£
	»ØÄꤷ¤¿¤¤Â°À­¤ò²¼µ­¤Î³Æ¹àÌܤÎmy_kind¤Ç»ØÄꤷ¤Æ²¼¤µ¤¤¡£
	**************************************************/

	//¹àÌÜ̾1¤òÆþÎÏ
	my_title[0]    = "¸æ̾Á°";
	my_property[0] = 1;
	my_kind[0]     = 0;

	//¹àÌÜ̾2¤òÆþÎÏ
	my_title[1]    = "͹ÊØÈÖ¹æ";
	my_property[1] = 5;
	my_kind[1]     = 0;

	//¹àÌÜ̾3¤òÆþÎÏ
	my_title[2]    = "¸æ½»½ê1";
	my_property[2] = 1;
	my_kind[2]     = 0;

	//¹àÌÜ̾4¤òÆþÎÏ
	my_title[3]    = "¸æ½»½ê2";
	my_property[3] = 0;
	my_kind[3]     = 0;

	//¹àÌÜ̾5¤òÆþÎÏ
	my_title[4]    = "¤ªÅÅÏÃÈÖ¹æ";
	my_property[4] = 5;
	my_kind[4]     = 0;

	//¹àÌÜ̾6¤òÆþÎÏ
	my_title[5]    = "¥á¡¼¥ë";
	my_property[5] = 0;
	my_kind[5]     = 0;

	//¹àÌÜ̾7¤òÆþÎÏ
	my_title[6]    = "È÷¹Í";
	my_property[6] = 0;
	my_kind[6]     = 3;


	start_title = new Array();
	start_title[0] = '¾¦ÉÊNO';
	start_title[1] = '¾¦ÉÊ̾';
	start_title[2] = 'ÍÆÎÌ';
	start_title[3] = '¶â³Û';
	start_title[4] = 'Ãíʸ¸Ä¿ô';

	keisan_title = new Array();
	keisan_title[0] = 'ÁíÃíʸ¿ô';
	keisan_title[1] = '¹ç·×';
	keisan_title[2] = '¾Ã Èñ ÀÇ';
	keisan_title[3] = 'Áí·×';

	kakunin_title = new Array();
	kakunin_title[0] = '¾¦ÉÊNO';
	kakunin_title[1] = '¾¦ÉÊ̾';
	kakunin_title[2] = '¸Ä¿ô';
	kakunin_title[3] = 'ÍÆÎÌ';
	kakunin_title[4] = 'ñ²Á';
	kakunin_title[5] = '¾®·×';


	/**************************************************
	¥¦¥£¥ó¥É¥¦¥Ç¥¶¥¤¥ó
	**************************************************/

	//¥¦¥£¥ó¥É¥¦¤ÎÇØ·Ê¿§¤ò»ØÄê
	bg_color = '#ffffff';

	//¥¦¥£¥ó¥É¥¦¤Îʸ»ú¿§¤ò»ØÄê
	text_color = '#000000';

	//¥¦¥£¥ó¥É¥¦¤Î¥ê¥ó¥¯¿§¤ò»ØÄê
	link_color = '#0000ff';

	//¥¦¥£¥ó¥É¥¦¤Îvlink¿§¤ò»ØÄê
	vlink_color = '#9932cc';

	//¥¦¥£¥ó¥É¥¦¤Îalink¿§¤ò»ØÄê
	alink_color = '#ff00ff';


	/**************************************************
	¥Æ¡¼¥Ö¥ë¥Ç¥¶¥¤¥ó
	**************************************************/

	//¥Æ¡¼¥Ö¥ë¤Î°ÌÃÖ
	//left¡¢center¡¢right¤«¤éÁªÂò
	table_align = 'left';


	//¥Æ¡¼¥Ö¥ë¤ÎÏÈ
	table_border = 0;

	//¥Æ¡¼¥Ö¥ë¤Î¥»¥ëƱ»Î¤Î·ä´Ö
	table_cellspacing = 0;

	//¥Æ¡¼¥Ö¥ë¤Î¥»¥ë¤Î·ä´Ö
	table_cellpadding = 5;

	//¥Æ¡¼¥Ö¥ë¤ÎÇØ·Ê¿§¤ò»ØÄê
	table_bgcolor = '#ffffff';

	//¥Æ¡¼¥Ö¥ë¤Îth¤ÎÇØ·Ê¿§¤ò»ØÄê
	th_bgcolor = '#ffd9b7';

	//¥Æ¡¼¥Ö¥ë¤Îth¤Îʸ»ú¿§¤ò»ØÄê
	th_textcolor = '#622f00';

	//¥Æ¡¼¥Ö¥ë¤Îth¤Îʸ»ú¥µ¥¤¥º¤ò»ØÄê
	th_textsize = '3';


	//¥Æ¡¼¥Ö¥ë¤Îtd¤ÎÇØ·Ê¿§¤ò»ØÄê
	td_bgcolor = '#fbf6d3';

	//¥Æ¡¼¥Ö¥ë¤Îtd¤Îʸ»ú¿§¤ò»ØÄê
	td_textcolor = '#64590a';

	//¥Æ¡¼¥Ö¥ë¤Îtd¤Îʸ»ú¥µ¥¤¥º¤ò»ØÄê
	td_textsize = '3';


	/**************************************************
	³Îǧ¥¦¥£¥ó¥É¥¦¥Ç¥¶¥¤¥ó
	**************************************************/

	//³Îǧ¥¦¥£¥ó¥É¥¦¤ÎÌá¤ëʸ¾Ï¤ò»ØÄê
	back_moji='<font size="3">ÆâÍƤ˴ְ㤤¤Ï¤¢¤ê¤Þ¤»¤ó¤«¡©<br>ÄûÀµ¤·¤¿¤¤¾ì¹ç¤ÏÌá¤ë¥Ü¥¿¥ó¤ò²¡¤·¤Æ²¼¤µ¤¤¡£<\/font>';

	//³Îǧ¥¦¥£¥ó¥É¥¦¤ÎÁ÷¿®¥Ü¥¿¥ó̾¤ò»ØÄê
	button1='Á÷¤ë';

	//³Îǧ¥¦¥£¥ó¥É¥¦¤ÎÌá¤ë¥Ü¥¿¥ó̾¤ò»ØÄê
	button2='Ìá¤ë';

	//³Îǧ¥¦¥£¥ó¥É¥¦¤Î²£Éý¤ò»ØÄê
	win_w=600;

	//³Îǧ¥¦¥£¥ó¥É¥¦¤Î½Ä¤Î¹â¤µ¤ò»ØÄê
	win_h=500;

	data = new Array();
	mojis = '';
	data_syoukei = new Array();
	data_tanka = new Array();
	kounyuu_kazu = 0;
	kounyuu_kinngaku = 0;
	goods_data = new Array();
	syouhizei = 0;
	kazu_data = new Array();
	th_design = ' bgcolor="' + th_bgcolor + '"><font color="' + th_textcolor + '" size="' + th_textsize + '">';
	td_design = ' bgcolor="' + td_bgcolor + '"><font color="' + td_textcolor + '" size="' + td_textsize + '">';
	function MailCheck()
		{
		errors = -1;
		error_txt = "";
		kounyuu_kazu = 0;
		kounyuu_kinngaku = 0;
		for(i = 0; i < goods_no.length; i++)
			{
			goods_data[i] = document.form1.elements[i].selectedIndex;
			kounyuu_kazu += goods_data[i];
			kounyuu_kinngaku += goods_data[i] * goods_money[i];

			data_tanka[i] = goods_money[i];
			data_tanka[i] = new String(data_tanka[i]);
			data_len1 = data_tanka[i].length;
			if(data_len1 % 3  ==  0)comma_kazu1 = data_len1 / 3 - 1;
			else comma_kazu1 = Math.floor(data_len1 / 3);

			data_syoukei[i] = goods_data[i] * goods_money[i];
			data_syoukei[i] = new String(data_syoukei[i]);
			data_len2 = data_syoukei[i].length;
			if(data_len2 % 3  ==  0)comma_kazu2 = data_len2 / 3 - 1;
			else comma_kazu2 = Math.floor(data_len2 / 3);

			len_doko = 3;
			for(j = 0; j < comma_kazu1; j++)
				{
				data_tanka[i] = data_tanka[i].substring(0,data_len1 - len_doko)+  "," + data_tanka[i].substring(data_len1 - len_doko,data_len1);
				data_len1++;
				len_doko++;
				len_doko += 3;
				}
			len_doko = 3;
			for(j = 0; j < comma_kazu2; j++)
				{
				data_syoukei[i] = data_syoukei[i].substring(0,data_len2 - len_doko) + "," + data_syoukei[i].substring(data_len2 - len_doko,data_len2);
				data_len2++;
				len_doko++;
				len_doko += 3;
				}
			}

		syouhizei = Math.floor(kounyuu_kinngaku / 100 * 5);
		kazu_data = new Array(kounyuu_kazu , kounyuu_kinngaku , syouhizei , syouhizei + kounyuu_kinngaku);

		for(i = 0; i < kazu_data.length; i++)
			{
			kazu_data[i] = new String(kazu_data[i]);
			data_len = kazu_data[i].length;
			if(data_len % 3  ==  0)comma_kazu = data_len / 3 - 1;
			else comma_kazu = Math.floor(data_len / 3);
			len_doko = 3;
			for(j = 0; j < comma_kazu; j++)
				{
				kazu_data[i] = kazu_data[i].substring(0,data_len-len_doko) + "," + kazu_data[i].substring(data_len-len_doko,data_len);
				data_len++;
				len_doko++;
				len_doko += 3;
				}
			}

		data = new Array();
		k = goods_no.length + keisan_title.length;
		for(i = 0; i < my_title.length; i++)
			{
			data[i] = document.form1.elements[k].value;

			if(data[i].length == 0)
				{
				if(my_property[i] == 1 || my_property[i] == 3 || my_property[i] == 5 || my_property[i] == 7)
					{
					errors = i;
					error_txt = my_title[i] + "¤¬ÆþÎϤµ¤ì¤Æ¤¤¤Þ¤»¤ó¡£";
					break;
					}
				}
			else if((my_property[i] == 2 || my_property[i] == 3) && data[i].length > 0 && data[i].match(/\D/))
				{
				errors = i;
				error_txt = my_title[i] + "¤ÎÃͤ¬ÉÔÀµ¤Ç¤¹¡£";
				break;
				}
			else if((my_property[i] == 4 || my_property[i] == 5) && data[i].length > 0 && data[i].match(/\W/))
				{
				errors = i;
				error_txt = my_title[i] + "¤ÎÃͤ¬ÉÔÀµ¤Ç¤¹¡£";
				break;
				}
			else if((my_property[i] == 6 || my_property[i] == 7) && data[i].length > 0 && data[i].match(/\W/))
				{
				kekka = 0;
				for(j = 0; j < data[i].length; j ++ )
					{
					dore = escape(data[i].charAt(j));
					if(navigator.appName.indexOf("Netscape") != -1)
						{
						if(dore.length > 3 && dore.indexOf("%") !=  -1)kekka++;
						}
					else 
						{
						if(dore.indexOf("%uFF") !=  -1 && '0x'  +  dore.substring(2 , dore.length) < 0xFF60)kekka++;
						else if(data[i].match(/\W/g) !=  null && dore.length == 6)kekka++;
						}
					}
				if(kekka > 0)
					{
					errors = i;
					error_txt = my_title[i] + "¤ÎÃͤ¬ÉÔÀµ¤Ç¤¹¡£";
					break;
					}
				}

			if(data[i].length < 1 || data[i] == '')data[i] = "<br>";

			k++;
			}

		pay = '';
		k = goods_no.length + keisan_title.length + my_title.length;
		for(i = 0; i < pay_selection.length; i++)
			{
			if(document.form1.elements[k].checked == true)
				{
				pay = document.form1.elements[k].value;
				break;
				}
			k++;
			}

		if(kounyuu_kazu == 0 || kounyuu_kinngaku == 0)
			{
			alert("¾¦Éʤ¬²¿¤âÁªÂò¤µ¤ì¤Æ¤¤¤Þ¤»¤ó¡£");
			}

		else if(errors != -1)
			{
			alert(error_txt);
			}

		else if(pay == '')
			{
			alert("»Ùʧ¤¤ÊýË¡¤¬ÁªÂò¤µ¤ì¤Æ¤¤¤Þ¤»¤ó¡£");
			}

		else
			{
			k = goods_no.length;
			for(i = 0; i < keisan_title.length; i++)
				{
				document.form1.elements[k].value = kazu_data[i];
				k++;
				}

			mojis = '<html>\n<head>\n<meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS">\n';
			mojis += '<title>Á÷¿®ÆâÍƳÎǧ²èÌÌ<\/title>\n';
			mojis += '<script language="JavaScript">\n';
			mojis += 'function MailSend(){window.opener.document.form1.submit();window.close();}\n';
			mojis += 'function PageBack(){window.opener.focus();window.close();}\n';
			mojis += '<\/script>\n<\/head>\n';
			mojis += '<body text="' + text_color + '" bgcolor="' + bg_color + '" link="' + link_color + '" vlink="' + vlink_color + '" alink="' + alink_color + '">\n';
			mojis += '<table width="100%" align="' + table_align + '" bgcolor="' + table_bgcolor + '" border="' + table_border + '" cellspacing="' + table_cellspacing + '" cellpadding="' + table_cellpadding + '">\n';

			mojis += '<tr>\n';
			mojis += '<th width="30%"' + th_design + kakunin_title[0] + '<\/font><\/th>\n';
			mojis += '<th width="30%"' + th_design + kakunin_title[1] + '<\/font><\/th>\n';
			mojis += '<th width="10%"' + th_design + kakunin_title[2] + '<\/font><\/th>\n';
			mojis += '<th width="10%"' + th_design + kakunin_title[3] + '<\/font><\/th>\n';
			mojis += '<th width="10%"' + th_design + kakunin_title[4] + '<\/font><\/th>\n';
			mojis += '<th width="10%"' + th_design + kakunin_title[5] + '<\/font><\/th>\n';
			mojis += '<\/tr>\n';

			for(i = 0; i < goods_data.length; i++)
				{
				mojis += '<tr>\n';
				mojis += '<td' + td_design + goods_no[i] + '<\/font><\/td>\n';
				mojis += '<td' + td_design + goods_name[i] + '<\/font><\/td>\n';
				mojis += '<td align="right"' + td_design + goods_data[i] + '<\/font><\/td>\n';
				mojis += '<td' + td_design + goods_ryou[i] + '<\/font><\/td>\n';

				mojis += '<td align="right"' + td_design + data_tanka[i] + '<\/font><\/td>\n';
				mojis += '<td align="right"' + td_design + data_syoukei[i] + '<\/font><\/td>\n';
				mojis += '<\/tr>\n\n';
				}

			mojis += '<tr>\n';
			mojis += '<th colspan="2"' + th_design + keisan_title[1] + '<\/font><\/th>\n';
			mojis += '<th' + th_design + kazu_data[0] + '<\/font><\/th>\n';
			mojis += '<th colspan="2" nowrap' + th_design + keisan_title[1] + '<\/font><\/th>\n';
			mojis += '<th align="right" nowrap' + th_design + '¡ï' + kazu_data[1] + '<\/font><\/th>\n';
			mojis += '<\/tr>\n';
			mojis += '<tr>\n';
			mojis += '<th colspan="3"' + th_design + '<br><\/font><\/th>\n';
			mojis += '<th colspan="2" nowrap' + th_design + keisan_title[2] + '<\/font><\/th>\n';
			mojis += '<th align="right" nowrap' + th_design + kazu_data[2] + '<\/font><\/th>\n';
			mojis += '<\/tr>\n';
			mojis += '<tr>\n';
			mojis += '<th colspan="2"' + th_design + keisan_title[0] + '<\/font><\/th>\n';
			mojis += '<th' + th_design + kazu_data[0] + '<\/font><\/th>\n';
			mojis += '<th colspan="2" nowrap' + th_design + keisan_title[3] + '<\/font><\/th>\n';
			mojis += '<th align="right" nowrap' + th_design + kazu_data[3] + '<\/font><\/th>\n';
			mojis += '<\/tr>\n';
			mojis += '<\/table>\n\n';

			mojis += '<br clear="all"><hr><br clear="all">\n\n';

			mojis += '<table width="100%" align="' + table_align + '" bgcolor="' + table_bgcolor + '" border="' + table_border + '" cellspacing="' + table_cellspacing + '" cellpadding="' + table_cellpadding + '">\n';
			for(i = 0; i < my_title.length; i++)
				{
				mojis += '<tr>\n';
				mojis += '<th width="30%" align="left"' + th_design + my_title[i] + '<\/font><\/th>\n';
				mojis += '<td' + td_design + data[i] + '<\/font><\/td>\n';
				mojis += '<\/tr>\n';
				}

			mojis += '<tr>\n';
			mojis += '<th width="30%" align="left"' + th_design + '»Ùʧ¤¤ÊýË¡<\/font><\/th>\n';
			mojis += '<td' + td_design + pay + '<\/font><\/td>\n';
			mojis += '<\/tr>\n';

			mojis += '<tr>\n';
			mojis += '<td colspan="2" align="center">\n';
			mojis += '<form name="you_form">\n';
			mojis += '<input type="button" onClick="MailSend();" name="ok" value="' + button1 + '">\n';
			mojis += '¡¡¡¡<input type="button" onClick="PageBack();" name="no" value="' + button2 + '"><\/form>';
			mojis += '<\/td>\n';
			mojis += '<\/tr>\n';
			mojis += '<\/table>\n<br clear="all">\n';
			mojis += '<div align=center>\n' + back_moji + '<\/div><\/body><\/html>\n';

			wins='width=' + win_w + ',height=' + win_w + ',scrollbars=yes';
			mado=window.open("" , "" , wins);
			mado.document.open();
			mado.document.write(mojis);
			mado.document.close();
			}
		}

	function StartFormWrite()
		{
		mojis = '<body text="' + text_color + '" bgcolor="' + bg_color + '" link="' + link_color + '" vlink="' + vlink_color + '" alink="' + alink_color + '">\n';
		mojis += '<table align="' + table_align + '" bgcolor="' + table_bgcolor + '" border="' + table_border + '" cellspacing="' + table_cellspacing + '" cellpadding="' + table_cellpadding + '">\n';
		mojis += '<form name="form1" method="post" enctype="text/plain" action="mailto:' + mail_address + '?Subject=' + mail_title + '">\n';

		mojis += '<tr>\n';
		for(i = 0; i < start_title.length; i++)
			{
			mojis += '<th' + th_design + start_title[i] + '<\/font><\/th>\n';
			}
		mojis += '<\/tr>\n';

		for(i = 0; i < goods_no.length; i++)
			{
			mojis += '<tr>';
			mojis += '<td' + td_design + goods_no[i] + '<\/font><\/td>\n';
			mojis += '<td' + td_design + goods_name[i] + '<\/font><\/td>\n';
			mojis += '<td' + td_design + goods_ryou[i] + '<\/font><\/td>\n';
			mojis += '<td' + td_design + goods_money[i] + '<\/font><\/td>\n';

			mojis += '<td' + td_design + '<select name="' + goods_no[i] + goods_name[i] + '">\n';
			for(j = 0; j < goods_max[i] + 1; j++)
				{
				if(j == 0){ mojis += '<option value="">'; }
				else { mojis += '<option value="' + j + '">' + j; }
				}
			mojis += '<\/select><\/font><\/td>\n';

			mojis += '<\/tr>\n';
			mojis += '<tr>\n';
			mojis += '<td colspan="5"' + td_design + goods_txt[i] + '<\/font><\/td>\n';
			mojis += '<\/tr>\n';
			}

		for(i = 0; i < keisan_title.length; i++)
			{
			mojis += '<input type="hidden" name="' + keisan_title[i] + '" value="">\n';
			}

		for(i = 0; i < my_title.length; i++)
			{
			mojis += '<tr><th align="left"' + th_design + my_title[i] + '<\/font><\/th>\n';

			if(my_kind[i] == 0)
				{
				mojis += '<td colspan="4"' + td_design + '<input type="text" name="' + my_title[i] + '" size="50"><\/font><\/td><\/tr>\n\n';
				}
			else 
				{
				mojis += '<td colspan="4"' + td_design + '<textarea name="' + my_title[i] + '" cols="40" rows="5"><\/textarea><\/font><\/td><\/tr>\n';
				}
			}

		mojis += '<tr>\n';
		mojis += '<th' + th_design + '»Ùʧ¤¤ÊýË¡<\/font><\/th>\n';
		mojis += '<td colspan="4"' + td_design + '\n';
		for(i = 0; i < pay_selection.length; i++)
			{
			mojis += '<input type="radio" name="»Ùʧ¤¤ÊýË¡" value="' + pay_selection[i] + '">' + pay_selection[i] + '<br>\n';
			}
		mojis += '<\/font><\/td>\n';
		mojis += '<\/tr>\n';

		mojis += '<tr><td colspan="5" align="center">\n';
		mojis += '<input type="button" value="³Îǧ" onClick="MailCheck();" name="kaku"><\/td><\/tr>\n';
		mojis += '<\/form><\/table>\n';
		document.write(mojis);
		}

//-->
</script>

</head>

<script language="JavaScript">
<!--//Copyright (C) WEST MiRa http://www.west-mira.jp

StartFormWrite();

//-->
</script>
<noscript><body></noscript>

</body></html>


[ ²òÀâ ]

¥¹¥¯¥ê¥×¥ÈÆâ¤Ë1¥«½ê¡¢¡Ö¥á¡¼¥ë¥¢¥É¥ì¥¹¡×¤È½ñ¤«¤ì¤Æ¤¤¤ëÉôʬ¤¬¤¢¤ê¤Þ¤¹¡£
¤³¤Î¡Ö¥á¡¼¥ë¥¢¥É¥ì¥¹¡×¤Îʸ»úÎó¤ò¡¢É¬¤º¥á¡¼¥ë¤òÆϤ±¤¿¤¤¥á¡¼¥ë¥¢¥É¥ì¥¹¤ËÊѹ¹¤·¤Æ²¼¤µ¤¤¡£
Êѹ¹¤·¤Þ¤»¤ó¤È¡¢¥á¡¼¥ë¤ÏÆϤ­¤Þ¤»¤ó¡£

¤Þ¤¿¡¢¾¦Éʥǡ¼¥¿Æâ¤ÇȾ³Ñ¿ôÃͤǵ­Æþ¤·¤Æ¤¤¤ëÉôʬ¤Ë´Ø¤·¤Æ¤Ï¡¢ ɬ¤ºÈ¾³Ñ¿ôÃͤò»ØÄꤷ¤Æ²¼¤µ¤¤¡£ Á°²Êʸ»ú¤ò»ØÄꤷ¤¿¾ì¹ç¡¢¥¨¥é¡¼¤¬À¸¤¸¤Þ¤¹¡£


¥µ¥ó¥×¥ë¥¹¥¯¥ê¥×¥È¤Ç¤Ï²èÌ̾å¤Ë5¤Ä¤Î¾¦Éʤ¬ÀßÄꤵ¤ì¤Æ¤¤¤Þ¤¹¡£
¤â¤·¡¢¾¦ÉÊ¿ô¤òÁý¤ä¤·¤¿¤¤¾ì¹ç¤Ï¡¢¤Þ¤º¥¹¥¯¥ê¥×¥ÈÆâ¤Î

//¾¦ÉÊ5
goods_no[4] = 'NO.5';
goods_name[4] = '¤Ê¤Ë¤Ì¤Í¤Î';
goods_ryou[4] = '500g';
goods_money[4] = 5000;
goods_max[4] = 5;
goods_txt[4] = '¤Ê¹Ô¤Ç¤¹¡£';
¤ò¡¢¥³¥Ô¡¼¤·¤Æ¤½¤Î¿¿²¼¤ËÄɲ䷤Ʋ¼¤µ¤¤¡£
>
¾¦ÉʣΣϡ¢¾¦ÉÊ̾¡¢ÍÆÎÌ¡¢¶â³Û¡¢¥³¥á¥ó¥ÈÆâÍƤϤϤ´¼«Í³¤ËÊѹ¹¤·¤Æ²¼¤µ¤¤¡£
¤½¤·¤Æ¡¢É¬¤º¡Ö[4]¡×¤È½ñ¤«¤ì¤¿Éôʬ¤ò¡¢Á´¤Æ¡Ö[5]¡×¤Ë¤·¤Þ¤¹¡£
¤³¤Î»þ¡¢É¬¤ºÈ¾³Ñ¿ô»ú¤Ç¤´µ­Æþ²¼¤µ¤¤¡£

¤Þ¤¿¡¢¹¹¤Ë¤â¤¦°ì¤Ä¾¦ÉʤòÁý¤ä¤¹¾ì¹ç¤Ï¡¢Æ±¤¸¤è¤¦¤Ë¥³¥Ô¡¼¥Ú¡¼¥¹¥È¤·¡¢ ¿ôÃÍÉôʬ¤¬¡Ö[6]¡×¤Ë¤´Êѹ¹²¼¤µ¤¤¡£


¤½¤Î¾¤ÎÊѹ¹½ÐÍè¤ë²Õ½ê¤ÏÃí¼á¤òÉÕ¤±¤Æ¤ª¤ê¤Þ¤¹¤Î¤Ç¡¢ ¤½¤Á¤é¤ò¤´Í÷¤Ë¤Ê¤Ã¤Æ¤´Êѹ¹²¼¤µ¤¤¡£


¥Ð¥Ê¡¼¡¢¥ê¥ó¥¯¤Ë¤Ä¤¤¤Æ  ,   ÍøÍѵ¬Ìó  ,   ¥Ø¥ë¥×

Copyright (C) 1998-2007 WEST MiRa. All rights reserved.