
function komadokun(sts) {

winx  = 290;             //ウインドウの横幅
winy  = 420;             //ウインドウの縦幅
s_bar = "yes";            //スクロールバーの有無
win_n = "syounindo";    //ウインドウの名前


if (sts==3003) { w_komado = window.open("http://satoimoitiba.cart.fc2.com/?sort=&ca=3&rca=4&word=&page=&item=5","satoimoitiba","width=1600,height=750,"+"menubar=1,"+"status=1,"+"toolbar=1,"+"scrollbars=1,"+"location=1,"+"directories=1");}
if (sts==3005) { w_komado = window.open("http://satoimoitiba.cart.fc2.com/?sort=&ca=3&rca=4&word=&page=&item=6","satoimoitiba","width=1600,height=750,"+"menubar=1,"+"status=1,"+"toolbar=1,"+"scrollbars=1,"+"location=1,"+"directories=1");}
if (sts==3010) { w_komado = window.open("http://satoimoitiba.cart.fc2.com/?sort=&ca=3&rca=4&word=&page=&item=7","satoimoitiba","width=1600,height=750,"+"menubar=1,"+"status=1,"+"toolbar=1,"+"scrollbars=1,"+"location=1,"+"directories=1");}
if (sts==3050) { w_komado = window.open("http://satoimoitiba.cart.fc2.com/?sort=&ca=3&rca=4&word=&page=&item=8","satoimoitiba","width=1600,height=750,"+"menubar=1,"+"status=1,"+"toolbar=1,"+"scrollbars=1,"+"location=1,"+"directories=1");}

if (sts==1003) { w_komado = window.open("http://satoimoitiba.cart.fc2.com/?sort=&ca=2&rca=4&word=&page=&item=1","satoimoitiba","width=1600,height=750,"+"menubar=1,"+"status=1,"+"toolbar=1,"+"scrollbars=1,"+"location=1,"+"directories=1");}
if (sts==1005) { w_komado = window.open("http://satoimoitiba.cart.fc2.com/?sort=&ca=2&rca=4&word=&page=&item=2","satoimoitiba","width=1600,height=750,"+"menubar=1,"+"status=1,"+"toolbar=1,"+"scrollbars=1,"+"location=1,"+"directories=1");}
if (sts==1010) { w_komado = window.open("http://satoimoitiba.cart.fc2.com/?sort=&ca=2&rca=4&word=&page=&item=3","satoimoitiba","width=1600,height=750,"+"menubar=1,"+"status=1,"+"toolbar=1,"+"scrollbars=1,"+"location=1,"+"directories=1");}
if (sts==1050) { w_komado = window.open("http://satoimoitiba.cart.fc2.com/?sort=&ca=2&rca=4&word=&page=&item=4","satoimoitiba","width=1600,height=750,"+"menubar=1,"+"status=1,"+"toolbar=1,"+"scrollbars=1,"+"location=1,"+"directories=1");}

if (sts==2003) { w_komado = window.open("http://satoimoitiba.cart.fc2.com/?sort=&ca=2&rca=4&word=&page=&item=10","satoimoitiba","width=1600,height=750,"+"menubar=1,"+"status=1,"+"toolbar=1,"+"scrollbars=1,"+"location=1,"+"directories=1");}
if (sts==2005) { w_komado = window.open("http://satoimoitiba.cart.fc2.com/?sort=&ca=2&rca=4&word=&page=&item=11","satoimoitiba","width=1600,height=750,"+"menubar=1,"+"status=1,"+"toolbar=1,"+"scrollbars=1,"+"location=1,"+"directories=1");}
if (sts==2010) { w_komado = window.open("http://satoimoitiba.cart.fc2.com/?sort=&ca=2&rca=4&word=&page=&item=12","satoimoitiba","width=1600,height=750,"+"menubar=1,"+"status=1,"+"toolbar=1,"+"scrollbars=1,"+"location=1,"+"directories=1");}

if (sts==4003) { w_komado = window.open("http://satoimoitiba.cart.fc2.com/?sort=&ca=5&rca=4&word=&page=&item=13","satoimoitiba","width=1600,height=750,"+"menubar=1,"+"status=1,"+"toolbar=1,"+"scrollbars=1,"+"location=1,"+"directories=1");}
<!--レシピ-->
if (sts==001) { w_komado = open("../recipe/recipe_00001.html",win_n,"width="+550+",height="+650+",resizable=yes,scrollbars="+"yes");}
if (sts==002) { w_komado = open("../recipe/recipe_00002.html",win_n,"width="+550+",height="+650+",resizable=yes,scrollbars="+"yes");}
if (sts==003) { w_komado = open("../recipe/recipe_00003.html",win_n,"width="+550+",height="+650+",resizable=yes,scrollbars="+"yes");}
if (sts==004) { w_komado = open("../recipe/recipe_00004.html",win_n,"width="+550+",height="+650+",resizable=yes,scrollbars="+"yes");}
if (sts==005) { w_komado = open("../recipe/recipe_00005.html",win_n,"width="+550+",height="+650+",resizable=yes,scrollbars="+"yes");}
if (sts==006) { w_komado = open("../recipe/recipe_00006.html",win_n,"width="+550+",height="+650+",resizable=yes,scrollbars="+"yes");}

<!--松原さん紹介-->
if (sts==10001) { w_komado = open("../producer/producer_info1_1.html ",win_n,"width="+290+",height="+520+",resizable=yes,scrollbars="+"no");}
if (sts==10002) { w_komado = open("../producer/producer_info1_2.html ",win_n,"width="+290+",height="+520+",resizable=yes,scrollbars="+"no");}
if (sts==10003) { w_komado = open("../producer/producer_info1_3.html ",win_n,"width="+290+",height="+520+",resizable=yes,scrollbars="+"no");}
if (sts==10004) { w_komado = open("../producer/producer_info1_4.html ",win_n,"width="+290+",height="+520+",resizable=yes,scrollbars="+"no");}
if (sts==10005) { w_komado = open("../producer/producer_info1_5.html ",win_n,"width="+290+",height="+520+",resizable=yes,scrollbars="+"no");}
if (sts==10006) { w_komado = open("../producer/producer_info1_6.html ",win_n,"width="+290+",height="+520+",resizable=yes,scrollbars="+"no");}
if (sts==10007) { w_komado = open("../producer/producer_info1_7.html ",win_n,"width="+290+",height="+520+",resizable=yes,scrollbars="+"no");}
if (sts==10008) { w_komado = open("../producer/producer_info1_8.html ",win_n,"width="+290+",height="+520+",resizable=yes,scrollbars="+"no");}
if (sts==10009) { w_komado = open("../producer/producer_info1_9.html ",win_n,"width="+290+",height="+520+",resizable=yes,scrollbars="+"no");}
if (sts==10010) { w_komado = open("../producer/producer_info1_10.html ",win_n,"width="+290+",height="+520+",resizable=yes,scrollbars="+"no");}
if (sts==10011) { w_komado = open("../producer/producer_info1_11.html ",win_n,"width="+290+",height="+520+",resizable=yes,scrollbars="+"no");}
if (sts==10012) { w_komado = open("../producer/producer_info1_12.html ",win_n,"width="+290+",height="+520+",resizable=yes,scrollbars="+"no");}

<!--斎藤さん紹介-->
if (sts==50001) { w_komado = open("../producer/producer_info5_1.html ",win_n,"width="+290+",height="+520+",resizable=yes,scrollbars="+"NO");}
if (sts==50002) { w_komado = open("../producer/producer_info5_2.html ",win_n,"width="+290+",height="+520+",resizable=yes,scrollbars="+"NO");}
if (sts==50003) { w_komado = open("../producer/producer_info5_3.html ",win_n,"width="+290+",height="+520+",resizable=yes,scrollbars="+"NO");}
if (sts==50004) { w_komado = open("../producer/producer_info5_4.html ",win_n,"width="+290+",height="+520+",resizable=yes,scrollbars="+"NO");}
if (sts==50005) { w_komado = open("../producer/producer_info5_5.html ",win_n,"width="+290+",height="+520+",resizable=yes,scrollbars="+"NO");}
if (sts==50006) { w_komado = open("../producer/producer_info5_6.html ",win_n,"width="+290+",height="+520+",resizable=yes,scrollbars="+"NO");}
if (sts==50007) { w_komado = open("../producer/producer_info5_7.html ",win_n,"width="+290+",height="+520+",resizable=yes,scrollbars="+"NO");}
if (sts==50008) { w_komado = open("../producer/producer_info5_8.html ",win_n,"width="+290+",height="+520+",resizable=yes,scrollbars="+"NO");}
if (sts==50009) { w_komado = open("../producer/producer_info5_9.html ",win_n,"width="+290+",height="+520+",resizable=yes,scrollbars="+"NO");}
if (sts==50010) { w_komado = open("../producer/producer_info5_10.html ",win_n,"width="+290+",height="+520+",resizable=yes,scrollbars="+"NO");}
if (sts==50011) { w_komado = open("../producer/producer_info5_11.html ",win_n,"width="+290+",height="+520+",resizable=yes,scrollbars="+"NO");}
if (sts==50012) { w_komado = open("../producer/producer_info5_12.html ",win_n,"width="+290+",height="+520+",resizable=yes,scrollbars="+"NO");}


if (sts==300508) { w_komado = open("../hmk/movie3005_8.html",win_n,"width="+400+",height="+650+",resizable=yes,scrollbars="+"yes");}
if (sts==300504) { w_komado = open("../hmk/movie3005_4.html",win_n,"width="+400+",height="+650+",resizable=yes,scrollbars="+"yes");}

  w_opener = Math.random();
  if(w_opener != w_komado.opener.w_opener)
  {w_komado.close();
   komadokun();}
  w_komado.focus();}

<!--HPB_SCRIPT_ROV_50
function HpbImgPreload()
{
  var appVer=parseInt(navigator.appVersion);
  var isNC=(document.layers && (appVer >= 4));
  var isIE=(document.all    && (appVer >= 4));
  if (isNC || isIE)
  {
    if (document.images)
    {
      var imgName = HpbImgPreload.arguments[0];
      var cnt;
      swImg[imgName] = new Array;
      for (cnt = 1; cnt < HpbImgPreload.arguments.length; cnt++)
      {
        swImg[imgName][HpbImgPreload.arguments[cnt]] = new Image();
        swImg[imgName][HpbImgPreload.arguments[cnt]].src = HpbImgPreload.arguments[cnt];
      }
    }
  }
}
// HpbImgFind:
//
function HpbImgFind(doc, imgName)
{
  for (var i=0; i < doc.layers.length; i++)
  {
    var img = doc.layers[i].document.images[imgName];
    if (!img) img = HpbImgFind(doc.layers[i], imgName);
    if (img) return img;
  }
  return null;
}
// HpbImgSwap:
//
function HpbImgSwap(imgName, imgSrc)
{
  var appVer=parseInt(navigator.appVersion);
  var isNC=(document.layers && (appVer >= 4));
  var isIE=(document.all    && (appVer >= 4));
  if (isNC || isIE)
  {
    if (document.images)
    {
      var img = document.images[imgName];
      if (!img) img = HpbImgFind(document, imgName);
      if (img) img.src = imgSrc;
    }
  }
}
var swImg; swImg=new Array;
//-->


