function PageBack(){ history.back(); }function subWin(url){	sw1=window.open(url,"window1","width=500,height=500,scrollbars=0,status=0,resizable=0");	if(navigator.appName.charAt(0) == "N" && navigator.appVersion.charAt(0) >= 3){	sw1.focus();	}}function message_form(){	f = confirm("データの入力は全て済みましたか？よろしければ“OKボタン”を押して下さい。");	return f}function message_cancel_products(){	f = confirm("この商品をキャンセルします。");	return f}function message_cancel_history(){	f = confirm("この注文をキャンセルします。履歴データベースにはキャンセルされた注文として蓄積されます。");	return f}function message_mailto(){	f = confirm("お客様にメール送信します。内容に間違いないですね！");	return f}function message_to_history(){	f = confirm("注文データを注文履歴データとして登録します。以後注文処理画面へは出力されません。");	return f}function message_change_pnum(){	f = confirm("商品の数量を変更します。");	return f}function message_del1(){	f = confirm("指定されたデータを削除します。本当によろしいですか？");	return f}function message_onoff1(){	f = confirm("ステータスを「使用中」⇒「休止中」に変更します。");	return f}function message_onoff2(){	f = confirm("ステータスを「休止中」⇒「使用中」に変更します。");	return f}function MM_swapImgRestore() { //v3.0  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;}function MM_preloadImages() { //v3.0  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}}function MM_findObj(n, d) { //v4.01  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);  if(!x && d.getElementById) x=d.getElementById(n); return x;}function MM_swapImage() { //v3.0  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}}function set_address(f){  if (f.copyctos.checked == 1) {    f.hname.value         = f.cname.value;    f.hkana.value         = f.ckana.value;    f.hzip.value          = f.czip.value;    f.hadd1.selectedIndex = f.cadd1.selectedIndex;    f.hadd2.value         = f.cadd2.value;    f.htel.value   	      = f.ctel.value;  } else {    f.hname.value         = "";    f.hkana.value         = "";    f.hzip.value          = "";    f.hadd1.selectedIndex = 0 ;    f.hadd2.value         = "";    f.htel.value          = "";  }}function VideoSWin(img) {  // サブウィンドウを開く  win = window.open('', 'win', 'width=500,height=500');  // サブウィンドウの内容を表示する  win.document.open();  win.document.write('<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">');  win.document.write('<html>');  win.document.write('<head>');  win.document.write('<meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS">');  win.document.write('<title>拡大画像</title>');  win.document.write('</head>');  win.document.write('<body bgcolor="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">');  win.document.write('<table width="100%" height="400" border="0" align="center" cellpadding="10" cellspacing="0">');  win.document.write('<tr>');  win.document.write('<td align="center" valign="middle"><img src="');  win.document.write(img);  win.document.write('"></td>');  win.document.write('</tr>');  win.document.write('<tr>');  win.document.write('<td height="40" align="center" valign="top"><a href="JavaScript:window.close()"><img src="image/product/close-button.gif" width="40" height="31" border="0"></a></td>');  win.document.write('</tr>');4  win.document.write('</table>');  win.document.write('</body>');  win.document.write('</html>');  win.document.close();}function drowpop(txt) {  html = '<TABLE bgcolor="#000000"><TR><TD>' + txt + '</TD></TR><TABLE>';    ID.innerHTML = html;  // ヘルプの位置を調整  ID.style.left = event.x - 10;  // 表示するx座標  ID.style.top = event.y + 20;    // 表示するy座標  ID.style.visibility = "visible";}function hidePop() {  ID.style.visibility = "hidden";}function SetPicture(img){var Status = 0;var blenTid; document.all["BlendTransDisp"].filters.BlendTrans.Apply() if(Status==0){    document.all["BlendTransDisp"].src=img; //切り替える画像（後）    Status=1;     } else{    document.all["BlendTransDisp"].src=img; //ページロード時の画像（最初）    Status=0;      } document.all["BlendTransDisp"].filters.BlendTrans.Play();//blendTid=setTimeout('blend_trans()',5000) //ループしたい場合}function setPimg(id, kind){	window.document.images[id].src  = kind;	//画像を変更する}function RollOver (obj,val) {  obj.src = val;} 