document.writeln('<STYLE TYPE="text/css"><!--');
if (navigator.appVersion.indexOf("Mac") > -1){
    document.writeln(".f_big    {font-size: 15px; line-height: 125%;}");
    document.writeln(".f_middle {font-size: 12px; line-height: 125%;}");
    document.writeln(".f_small  {font-size: 10px; line-height: 125%;}");
}else{
    document.writeln(".f_big    {font-size: 15pt; line-height: 125%;}");
    document.writeln(".f_middle {font-size: 11pt; line-height: 125%;}");
    document.writeln(".f_small  {font-size:  9pt; line-height: 125%;}");
}
document.writeln('--></STYLE>');

function win_open(){
    window.open("", "mz_shopwindow","toolbar=no,location=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=750");
}

function chkCookie(){
    CName="check";
    CValue="Y";
    document.cookie=CName+"="+escape(CValue)+";";
    CheckName = CName+"=";
    CheckData=document.cookie+";";
    start=CheckData.indexOf(CheckName);
    badCase=1;
    if(start!=-1){
        end=CheckData.indexOf(";",start);
        if (unescape(CheckData.substring(start+CheckName.length,end))==CValue){
            badCase=0;
        }
    }
    if(badCase){
        document.write('<font size="5" color="red">※Cookieを有効にしないと複数の種類の商品を購入できません！</font>');
    }
    delCookie(CName);
}

function delCookie(CName){
    document.cookie=CName + "=;expires=Thu, " + "01-Jan-70 00:00:01 GMT";
    return true;
}
