//WS2 カスタムメイド非表示

var Ref;
var mode="";


//見積もり3年/1年保証モデル
function DispImg()
{
  if(Ref != "Y"){
     document.write("<img src='../../../../img_btn/bg_estimate.gif' width='102' height='40' alt='お見積もり、ご購入' border='0'>");
  }
}

//見積もり3年保証モデル
function DispImg_3()
{
  if(Ref != "Y"){
     document.write("<img src='../../../../img_btn/bg_estimate_3.gif' width='85' height='25' alt='３年保証モデル　お見積もり、ご購入' border='0'>");
  }
}

//見積もり1年保証モデル
function DispImg_1()
{
  if(Ref != "Y"){
     document.write("<img src='../../../../img_btn/bg_estimate_1.gif' width='85' height='25' alt='１年保証モデル　お見積もり、ご購入' border='0'>");
  }
}

//お見積り・ご購入イメージファイル
function DispImg_0()
{
  if(Ref != "Y"){
     document.write("<img src='../../../../img_btn/bg_estimate_0.gif' width='102' height='20' border='0' alt='お見積り・ご購入'>");
  }
}

//特長・仕様・価格
//2005.01.26 価格表記PDF化に伴い、価格タグ削除 引数値：index2、spec2 とその処理追加

function DispImg_menu(mode){
  if(Ref == "Y"){
    if(mode == "index"){
      document.write("<a href='index.html#NONESTIMATE'><img src='../../../../images/tab_01_current.gif' alt='特長' width='178' height='20' border='0'></a><img src='../../../../images/mc_common/blank.gif' alt='' width='3' height='20'><a href='spec.html#NONESTIMATE'><img src='../../../../images/tab_02.gif' alt='仕様' width='178' height='20' border='0'></a><img src='../../../../images/blank.gif' alt='' width='3' height='20'><a href='price.html#NONESTIMATE'><img src='../../../../images/tab_03.gif' alt='価格' width='178' height='20' border='0'></a>");
    }
    if(mode == "index2"){
      document.write("<a href='index.html#NONESTIMATE'><img src='../../../../images/tab_01_current.gif' alt='特長' width='178' height='20' border='0'></a><img src='../../../../images/mc_common/blank.gif' alt='' width='3' height='20'><a href='spec.html#NONESTIMATE'><img src='../../../../images/tab_02.gif' alt='仕様' width='178' height='20' border='0'></a>");
    }
    if(mode == "spec"){
      document.write("<a href='index.html#NONESTIMATE'><img src='../../../../images/tab_01.gif' alt='特長' width='178' height='20' border='0'></a><img src='../../../../images/mc_common/blank.gif' alt='' width='3' height='20'><a href='spec.html#NONESTIMATE'><img src='../../../../images/tab_02_current.gif' alt='仕様' width='178' height='20' border='0'></a><img src='../../../../images/blank.gif' alt='' width='3' height='20'><a href='price.html#NONESTIMATE'><img src='../../../../images/tab_03.gif' alt='価格' width='178' height='20' border='0'></a>");
    }
    if(mode == "spec2"){
      document.write("<a href='index.html#NONESTIMATE'><img src='../../../../images/tab_01.gif' alt='特長' width='178' height='20' border='0'></a><img src='../../../../images/mc_common/blank.gif' alt='' width='3' height='20'><a href='spec.html#NONESTIMATE'><img src='../../../../images/tab_02_current.gif' alt='仕様' width='178' height='20' border='0'></a>");
    }
    if(mode == "price"){
      document.write("<a href='index.html#NONESTIMATE'><img src='../../../../images/tab_01.gif' alt='特長' width='178' height='20' border='0'></a><img src='../../../../images/mc_common/blank.gif' alt='' width='3' height='20'><a href='spec.html#NONESTIMATE'><img src='../../../../images/tab_02.gif' alt='仕様' width='178' height='20' border='0'></a><img src='../../../../images/blank.gif' alt='' width='3' height='20'><a href='price.html#NONESTIMATE'><img src='../../../../images/tab_03_current.gif' alt='価格' width='178' height='20' border='0'></a>");
    }
  }
  else{
    if(mode == "index"){
      document.write("<a href='index.html'><img src='../../../../images/tab_01_current.gif' alt='特長' width='178' height='20' border='0'></a><img src='../../../../images/mc_common/blank.gif' alt='' width='3' height='20'><a href='spec.html'><img src='../../../../images/tab_02.gif' alt='仕様' width='178' height='20' border='0'></a><img src='../../../../images/blank.gif' alt='' width='3' height='20'><a href='price.html'><img src='../../../../images/tab_03.gif' alt='価格' width='178' height='20' border='0'></a>");
    }
    if(mode == "index2"){
      document.write("<a href='index.html'><img src='../../../../images/tab_01_current.gif' alt='特長' width='178' height='20' border='0'></a><img src='../../../../images/mc_common/blank.gif' alt='' width='3' height='20'><a href='spec.html'><img src='../../../../images/tab_02.gif' alt='仕様' width='178' height='20' border='0'></a>");
    }
    if(mode == "spec"){
      document.write("<a href='index.html'><img src='../../../../images/tab_01.gif' alt='特長' width='178' height='20' border='0'></a><img src='../../../../images/mc_common/blank.gif' alt='' width='3' height='20'><a href='spec.html'><img src='../../../../images/tab_02_current.gif' alt='仕様' width='178' height='20' border='0'></a><img src='../../../../images/blank.gif' alt='' width='3' height='20'><a href='price.html'><img src='../../../../images/tab_03.gif' alt='価格' width='178' height='20' border='0'></a>");
    }
    if(mode == "spec2"){
      document.write("<a href='index.html'><img src='../../../../images/tab_01.gif' alt='特長' width='178' height='20' border='0'></a><img src='../../../../images/mc_common/blank.gif' alt='' width='3' height='20'><a href='spec.html'><img src='../../../../images/tab_02_current.gif' alt='仕様' width='178' height='20' border='0'></a>");
    }
    if(mode == "price"){
      document.write("<a href='index.html'><img src='../../../../images/tab_01.gif' alt='特長' width='178' height='20' border='0'></a><img src='../../../../images/mc_common/blank.gif' alt='' width='3' height='20'><a href='spec.html'><img src='../../../../images/tab_02.gif' alt='仕様' width='178' height='20' border='0'></a><img src='../../../../images/blank.gif' alt='' width='3' height='20'><a href='price.html'><img src='../../../../images/tab_03_current.gif' alt='価格' width='178' height='20' border='0'></a>");
    }
  }

}

//仕様 別ページ表示2004.9追加
function DispHref(url){
    var ret_url="<a href='";
    if(Ref == "Y"){
         ret_url += url;
         ret_url += "#NONESTIMATE'>";
    }
    else{
         ret_url += url;
         ret_url += "'>";
    }
    document.write(ret_url);

}




