function OpenImage(pict) {
	nwin = window.open('','item',"width=340,height=520,scrollbars=yes,resizable=yes");
	nwin.document.open();
	nwin.document.write(
	'<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja"><head><title>商品写真</title><meta http-equiv="Conten-type" content="text/html; charset=UTF-8"></head><body bgcolor="#FFFFFF"><center><img src="'+pict+'" border="0"><form><input type="button" onClick="self.close()" value="閉じる"></form></center></body></html>'
	);
	nwin.document.close();
}

function OpenImage2(pict) {
	nwin = window.open('','item',"width=620,height=620,scrollbars=yes,resizable=yes");
	nwin.document.open();
	nwin.document.write(
	'<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja"><head><title>商品写真</title><meta http-equiv="Conten-type" content="text/html; charset=UTF-8"></head><body bgcolor="#FFFFFF"><center><img src="'+pict+'" border="0"><form><input type="button" onClick="self.close()" value="閉じる"></form></center></body></html>'
	);
	nwin.document.close();
}

function CallSchedule() {
	var url = "/s03_product/schedule.cgi";
	var pars = "itid="+$F('itid')+"&ryy="+$F('ryy')+"&rmm="+$F('rmm')+"&rdd="+$F('rdd');
	var result = "scd";
	new Ajax.Updater(
		result,
		url,
		{
			method: 'get',
			parameters: pars
		}
	);
}

