// お買い物かご
var nmado="";
function mado()
{

    if( sbwin_closed(nmado) ) {
        nmado = window.open("","CaRgO","location=no,status=yes,toolbar=no,menubar=no,scrollbars=yes,resizable=yes,width=500,height=500"); 
    } else {
        nmado.location.href="http://www.mcg.pos.to/cgi-bin/acart/setcook.cgi?target=mado";
    }
    nmado.focus();
        //window.open("","CaRgO","location=no,status=yes,toolbar=no,menubar=no,scrollbars=yes,resizable=yes,width=500,height=500"); 




}


// 写真画像の表示
var nw="";
function filelist(url){
    if( sbwin_closed(nw) ) {
        nw = window.open(url, 'win',"width=350,height=300,scrollbars=no,resizable=no,menubar=no" );
    } else {
        nw.location.href=url;
    }
    nw.focus();
}

//子ウインドウ有無確認関数
function sbwin_closed(winVar) {
    var ua = navigator.userAgent;
    if( !winVar )
        if( ua.indexOf('MSIE 4')!=-1 && ua.indexOf('Win')!=-1 ) 
            return winVar.closed
        else return typeof winVar.document != 'object'
    else return true
}

// ページバック
function PageBack()
{
        history.back();
}

//　ジャンプの指定
function jump(x,y) 
{
  parent.menu.location.href = x;
  parent.topic.location.href = y;
  return false;
}
