
function Kakudai(index) {
    document.BigPhoto.src = document.images(index).src;
    return false;
    }

function check(){
/*	for(i=0; i<document.form1.length;i++){
		if(document.form1.elements[i].type=="select-one"){
			if(document.form1.elements[i].value != "0"){
				res=confirm("購入数がカゴに入れられていません。");
				if( res==true) break;
				else return false;
				
					
				}
			}
		}*/
	history.back();}

function Scheck(){
    for(i=0; i<document.form1.length;i++){
        if(document.form1.elements[i].type=="select-one"){
            if(document.form1.elements[i].value != "0"){
                return true;
                }
            }
        }
    alert("購入数が入力されていません。");return false;
    }
function OpenW(index){
    var WO,url,imgdata,btn ,tim;
    url=document.images(index).src;
    imgdata="<img name='image' src=" + url + ">";
    btn="<a href='#' onclick='window.close();return false'><img align='top' alt='この画面を閉じて戻る' border='0' src='/EC/Html/images/btnback.GIF' width='100' height='31'></a>";
    tim=">";
    W0=window.open("","W0",
    "status=no,scrollbars=no,resizable=yes,width=361,height=520,left=150,top=170");
    W0.document.clear();
    W0.document.write("<html><head>");
    W0.document.write("<" + "script LANGUAGE='JavaScript'>");
    W0.document.write("function Tout(){setTimeout('window.close()',3000)}");
    W0.document.write("<" + "/script>");
    W0.document.write("</head>");
    W0.document.write("<body onload='Tout()'>");
    W0.document.write(btn);
    W0.document.write(imgdata);
    W0.document.write("</body>");
    W0.document.write("</html>");
    W0.document.close();
    W0.focus();
    }
    function OpenW1(){
    W01=window.open('/EC/Html/zKounyuHouhou0.html','new',
    'status=no,scrollbars=yes,resizable=yes,width=430,height=660,left=100,top=60');
    W01.focus();
    }
