﻿<!--




  //フッターメニュー出力

  function

   printBottomMenu(

    folderLevel,  /* folderLevel トップ階層は0 */

    langType      /* 言語種別 ja:日本語(通常) kids:ひらがな ch:中文(簡体) en:英語 ko:ハングル */
   ){

    if( langType== "ja" ){
      printBottomMenuJa( folderLevel );
    } else
    if( langType== "kids" ){
      printBottomMenuKids( folderLevel );
    } else {
      printBottomMenuJa( folderLevel );
    }
  }



  //フッターメニュー出力

  function

   printBottomMenu(

    folderLevel,  /* folderLevel トップ階層は0 */

    langType      /* 言語種別 ja:日本語(通常) kids:ひらがな ch:中文(簡体) en:英語 ko:ハングル */
   ){

    if( langType== "ja" ){
      printBottomMenuJa( folderLevel );
    } else
    if( langType== "kids" ){
      printBottomMenuKids( folderLevel );
    } else {
      printBottomMenuJa( folderLevel );
    }
  }



  //フッターメニュー出力(標準)

  function

   printBottomMenuJa(

    folderLevel  /* folderLevel トップ階層は0 */

   ){



    //ページが存在するフォルダ階層に応じ、参照先の接頭文字列を編集

    if( folderLevel == null ){

      folderLevel=1;

    }

    levelString="";

    for (i = 0; i < folderLevel; i++) {

      levelString = levelString +"../";

    }



    document.write("<!-- bottomMenu -->");



/*    document.write("<div id=\"bottomMenu\" style=\"width:100%;margin:auto;padding:0px;\">\r");  */

    document.write("<div id=\"bottomMenu\" style=\"padding:0px;\">\r");

    document.write("  <a id=\"bottomMenuHB\" style=\"float:right;\" onMouseOver=\"window.status='一つ前の画面に戻ります。';return true;\" onMouseOut=\"window.status='';return true;\" href=\"javascript:history.back();\">戻る</a>"); 

    document.write("<br style=\"clear:both;\"><hr id=\"bottomMenuHR\" style=\"width:720px;margin-bottom:5px;\">");

/* 左右mg:autoだとIEでずれる    document.write("<ul id=\"bottomMenuList\" style=\"list-style:none;padding:0px;margin:0px auto;text-alilgn:center;\">");  */

    document.write("<ul id=\"bottomMenuList\" style=\"list-style:none;padding:0px;margin:0px;text-alilgn:center;\">");

    document.write("  <li class=\"bottomMenuItem\"><a href=\"" + levelString + "index.htm\">トップページ</a></li>");

    document.write("  <li class=\"bottomMenuItem\"><a href=\"https://www.lib-sakai.jp/licsxp-opac/WOpacMnuTopInitAction.do?WebLinkFlag=1&amp;moveToGamenId=tifschcmpd\">蔵書検索・予約</a></li>");

    document.write("  <li class=\"bottomMenuItem\"><a href=\"" + levelString + "oshirase/index.htm\">お知らせ・行事案内</a></li>");

    document.write("  <li class=\"bottomMenuItem\"><a href=\"" + levelString + "sitemap/index.htm\">サイトマップ</a></li>");

    document.write("</ul>");

    document.write("</div><br style=\"clear:both;\">");

    document.close();



  }



  //フッターメニュー出力(かな)

  function

   printBottomMenuKids(

    folderLevel  /* folderLevel トップ階層は0 */

   ){



    //ページが存在するフォルダ階層に応じ、参照先の接頭文字列を編集

    if( folderLevel == null ){

      folderLevel=1;

    }

    levelString="";

    for (i = 0; i < folderLevel; i++) {

      levelString = levelString +"../";

    }



    document.write("<!-- bottomMenu -->");



/*    document.write("<div id=\"bottomMenu\" style=\"width:100%;margin:auto;padding:0px;\">\r");  */

    document.write("<div id=\"bottomMenu\" style=\"padding:0px;\">\r");

    document.write("  <a id=\"bottomMenuHB\" style=\"float:right;\" onMouseOver=\"window.status='一つ前(まえ)の画面(がめん)に戻(もど)ります。';return true;\" onMouseOut=\"window.status='';return true;\" href=\"javascript:history.back();\">もどる</a>"); 

    document.write("<br style=\"clear:both;\"><hr id=\"bottomMenuHR\" style=\"width:720px;margin-bottom:5px;\">");

/* 左右mg:autoだとIEでずれる    document.write("<ul id=\"bottomMenuList\" style=\"list-style:none;padding:0px;margin:0px auto;text-alilgn:center;\">");  */

    document.write("<ul id=\"bottomMenuList\" style=\"list-style:none;padding:0px;margin:0px;text-alilgn:center;\">");

    document.write("  <li class=\"bottomMenuItem\" style=\"line-height:2;\"><a href=\"" + levelString + "index.htm\">トップページ</a></li>");

    document.write("  <li class=\"bottomMenuItem\"><a href=\"https://www.lib-sakai.jp/licsxp-opac/WOpacMnuTopInitAction.do?WebLinkFlag=1&amp;moveToGamenId=tifschcmpd\">本をさがす<br>よやくする</a></li>");

    document.write("  <li class=\"bottomMenuItem\"><a href=\"" + levelString + "kodomo/ko_ohanasi.htm\">おはなし会<br>行事</a></li>");

    document.write("  <li class=\"bottomMenuItem\" style=\"line-height:2;\"><a href=\"" + levelString + "sitemap/index.htm\">サイトマップ</a></li>");

    document.write("</ul>");

    document.write("</div><br style=\"clear:both;\">");

    document.close();



  }

    



//-->



