//====================
// (c)www.aizawa22.com
// init global var
//====================

var     Num_CWP01 = 81;
var     Num_CWP02 = 81;
var     Num_CWP51 = 100;
var   a22pqUpdate = "2009.9.11";
var     a22sksnum = 700;

var    Num_peJpns = 51;
var    Num_peChin = 83;
var    Num_peMeis = 83;
var    Num_pe_jbc = 43;
var    Num_pe_tbc = 43;

var   Num_tmlMike = 141;
var   Num_tmlPoem = 108;
var   Num_tmlJp47 = 47;
var   Num_tmlHana = 108;
var   Num_tmlNemu = 108;
var   Num_tmlTown = 15;
var   Num_tmlNgsu = 392 + 1;

var  Num_ntmGohan = 82;
var  Num_ntmKyoko = 82;
var   a22kgUpdate = "2009.9.21";

var  Num_shopWp01 = 83;
var  Num_shopWp02 = 83;
var  Num_shopWp03 = 83;
var      A22tax01 = 1.05; var      A22price = 1000;

var   Num_book04i = 51; // nekomeguri
var   Num_book05i = 5;  // sakuraneko
var   Num_book06i = 3;  // waraineko
var   Num_book07i = 1;  // nekogashima

var       a22sst = "";
var       a22alt = "";
var       a22err = 0;
var         aiza = "Copyright (C) H.AIZAWA & K.AIZAWA , www.aizawa22.com / All rights reserved.";
var       aiza02 = "No reproduction or republication without written permission.";
var       aiza03 = "Original JavaScript programmed by H.AIZAWA / All rights reserved.";
var       aizaIE = "ブラウザは Microsoft Internet Explorer 5 以降（推奨IE.6）をお使いください。OSは Windows、文字サイズ「中」、1024×768pixel フル画面で最適化します。JAVA(JavaScript)を「有効」にしてご覧ください．．．．．";
var   a22doco_s7 = 999;
var   a22doco_d7 = 0;
var   A22msgText = "";
var  A22honjitsu = "";
var A22scrollend = 0;

// document.write("<META http-equiv='Page-Exit' content='revealtrans(transition=14,duration=3)'>");
document.write("<LINK rel='shortcut icon' href='http://www.aizawa22.com/_images/favicon.ico'>");

//    A22topicsは [.htm]があるとselfにlink。 [.htm]がないとnew.win.open
var   A22topicsA = "sub_topics2004a";                     var   A22topicsB = "sub_topics2007a";                     var A22topicsC = "sub_topics2009a";   // A,B,C 2009.9.28 using
var   A22topics1 = "pe/j_bc/jpnbc.htm"; //index.htm";     var   A22topics2 = "pe/t_bc/tyobc.htm"; //index.htm";
var   A22ponko00 = "pf/public/about_us.htm";              var   A22ponko01 = "pf/public/ponko_na_nikki.htm";
var   A22zukan01 = "ntm/sushi/sushizukan_index.htm";      var   A22zukan02 = "tml/u_ngs/ngs_zukan_index.htm";
var   A22zukan03 = "ntm/okina/okinasoba_zukan_index.htm"; var   A22zukan04 = "ntm/lunch/a22lunch_zukan_index.htm";
var   A22night01 = "pe/crew/a22airship_index.htm";        var   A22night02 = "pe/rail/a22railface_index.htm";
var   A22night03 = "pe/ys11/a22airship_ys11_index.htm";   var   A22night04 = "pe/loco/a22railloco_index.htm";

   today = new Date();
      yy = today.getFullYear(); mm = today.getMonth()+1; dd = today.getDate(); yb = today.getDay()+1;
      hh = today.getHours();    mi = today.getMinutes();
  a22rnd = yy + mm * 100 + dd + yy % dd + yb * mm * dd + yy % (mm * dd) + yb + 790;
 a22date = yy+"年"+mm+"月"+dd+"日";

 var   a22osp1 = 5;
 var exA22osp1 = new Array("1" ,"#FF3333","本日の旅情料理","ntm/kyoko/kyoko","",
                           "2" ,"#003399","本日のパズル","pq/cwp51/cwp51_","",
                           "3" ,"#660066","本日の『HappyCats』","pf/happy/happy","",
                           "4" ,"#990099","本日の三毛猫","tml/mike/mike_","",
                           "5" ,"#990099","本日の猫だもん","tml/poem/poem_","",
                           "6" ,"#990099","本日の47都道府県猫","tml/jp47/jp47_","",
                           "7" ,"#990099","本日の眠り猫","tml/nemu/room_","",
                           "8" ,"#990099","本日の猫鼻くん","tml/hana/room_","",
                           "9" ,"#990099","本日の珍日本百景","pe/chin/chinjp_","",
                           "10","#990099","本日の迷作ねこ写真","pe/meis/meisaku_","",
                           "11","#FF3333","本日のねこ旅ごはん","ntm/gohan/gohan","",
                           "12","#660066","本日のにっぽんネコさんぽ","pe/jpns/japan","",
                           "13","#FF00CC","本日の“うちの子”","tml/town/mmmap","",
                           "14","#FF9900","本日の回転寿司<FONT class='text08p'> Sushi Today</FONT>","tml/u_ngs/sub_sushi.htm","Sushitoday",
                           "15","#FF9900","本日のねこ旅みやげ","ntm/omiya/sub_omiya","",
                           "16","#CC0099","今の運勢は？by猫顔様占い","tml/u_ngs/sub_ngs02.htm","ngswin",
                           "17","#FF3333","明日の★ランチ★はこれ！","ntm/lunch/a22lunch_sub_zukan.htm","tabi_lunch5",
                           "18","#FF3333","今日の★ランチ★はこれね♪","ntm/lunch/a22lunch_sub_zukan.htm","tabi_lunch4",
                           "19","#000099","今夜の夜間飛行ノスタルジア","pe/crew/a22airship_sub01.htm","airship02",
                           "20","#000099","今夜の「さらばYS-11@HND」","pe/ys11/a22airship_ys11_sub01.htm","airys1102",
                           "21","#000099","今夜の真夜中は鉄な顔","pe/rail/a22railface_sub01.htm","kaorail02",
                           "22","#000099","今夜の形式写真コレクション","pe/loco/a22railloco_sub01.htm","locorail02",
                           "");
   var   a22osp2 = 8;
   var exA22osp2 = "03080407,12090403,10040906,11120304,03050407,12060304,11030504,03060408,12060503,03090405,03050410,04120309"; exA22osp0 = exA22osp2.split(",");
   var exA22osT1 = "010101,010102,010103,010111,010201,010202,010203,010205,010209,010212,010220,010301,010412,010501,010505"; exA22osT0 = exA22osT1.split(",");
   var exA22osM1 = "011,025,030,031,033,036,041,042,043,044,045,046,047,048,049,050,051,052,053,054,055,056,057,058,059,060,061,062,063,064,065,066,067,068,069,070,071,072"; exA22osM0 = exA22osM1.split(","); // miyage

a = document.URL; a22err2 = 0;
if ((a.indexOf("http://www.aizawa22.com") == -1) && (a.indexOf("website2") == -1)){
 a22err2 = 1;
}

 var exA22ama0 = 5;
 var exA22ama1 = new Array("","","","","",
                           "","","","","",
                           "","","","","",
                           "","","","","",
// b04
                           "sub_topics2004a","相澤秀仁＆相澤京子 写真集『ねこめぐり』（発行：二見書房）",
                           "pf/books/images/book04s1.jpg' width='79' height='104' border='0' hspace='4' vspace='5'",
                           "%E3%81%AD%E3%81%93%E3%82%81%E3%81%90%E3%82%8A%E2%80%95%E3%81%AB%E3%81%A3%E3%81%BD%E3%82%93%E7%8C%AB%E7%B4%80%E8%A1%8C-%E7%9B%B8%E6%B2%A2-%E7%A7%80%E4%BB%81/dp/4576041649/ref=sr_1_1/378-6995469-9901543?ie=UTF8&s=books&qid=1253979711&sr=1-1",
                           "<FONT class='text08p'><BR><B>写真集『ねこめぐり』−にっぽん猫紀行−<BR><FONT color='#FF3399'>二見書房より好評発売中！</FONT></B>",
// b05
                           "sub_topics2007a","相澤秀仁＆相澤京子 写真集『さくらねこ』（発行：二見書房）",
                           "pf/books/images/book05s1.jpg' width='79' height='104' border='0' hspace='4' vspace='5'",
                           "%E3%81%95%E3%81%8F%E3%82%89%E3%81%AD%E3%81%93%E2%80%95%E7%8C%AB%E3%81%A8%E6%A1%9C%E3%81%AE%E7%89%A9%E8%AA%9E-%E7%9B%B8%E6%BE%A4-%E7%A7%80%E4%BB%81/dp/4576070193/ref=sr_1_4/375-8768568-1386322?ie=UTF8&s=books&qid=1253979375&sr=1-4",
                           "<FONT class='text08p'><BR><B><FONT color='#FF3399'><FONT color='#FF00CC'>写真集『さくらねこ』−猫と桜の物語−</FONT><BR>二見書房より好評発売中！</FONT></B>",
// b06
                           "sub_topics2008a","相澤秀仁＆相澤京子 写真集『わらいねこ』（発行：二見書房）",
                           "pf/books/images/book06s1.jpg' width='79' height='104' border='0' hspace='4' vspace='5'",
                           "%E3%82%8F%E3%82%89%E3%81%84%E3%81%AD%E3%81%93-%E5%B9%B8%E3%81%9B%E3%81%AE%E6%8B%9B%E3%81%8D%E7%8C%AB-%E7%9B%B8%E6%BE%A4%E4%BA%AC%E5%AD%90/dp/4576080067/ref=sr_1_1/375-8768568-1386322?ie=UTF8&s=books&qid=1253979375&sr=1-1",
                           "<FONT class='text08p'><BR><B>写真集『わらいねこ』−幸せの招き猫−<BR><FONT color='#FF3399'>二見書房より好評発売中！</FONT></B>",
// b07
                           "sub_topics2008b","相澤秀仁＆相澤京子 写真集『猫ヶ島』（発行：二見書房）",
                           "pf/books/images/book07s1.jpg' width='79' height='104' border='0' hspace='4' vspace='5'",
                           "%E7%8C%AB%E3%82%B1%E5%B3%B6-%E5%8C%97%E6%B5%B7%E9%81%93%E3%81%8B%E3%82%89%E6%B2%96%E7%B8%84%E3%81%BE%E3%81%A750%E3%81%AE%E9%9B%A2%E5%B3%B6%E3%81%AB%E6%9A%AE%E3%81%99%E7%8C%AB-%E7%9B%B8%E6%BE%A4-%E7%A7%80%E4%BB%81/dp/4576081454/ref=sr_1_3/375-8768568-1386322?ie=UTF8&s=books&qid=1253979375&sr=1-3",
                           "<FONT class='text08p'><BR><B>写真集『猫ヶ島』 離島の猫たち！<BR><FONT color='#FF3399'>二見書房より好評発売中！</FONT></B>",
// b08
                           "sub_topics2009a","相澤秀仁＆相澤京子著『旅してでも食べたい 地もの旬もの 回転寿司』（発行：緑書房）",
                           "pf/books/images/book08s1.jpg' width='65' height='104' border='0' hspace='4' vspace='5'",
                           "%E6%97%85%E3%81%97%E3%81%A6%E3%81%A7%E3%82%82%E9%A3%9F%E3%81%B9%E3%81%9F%E3%81%84%E5%9C%B0%E3%82%82%E3%81%AE%E6%97%AC%E3%82%82%E3%81%AE%E5%9B%9E%E8%BB%A2%E5%AF%BF%E5%8F%B8-%E7%9B%B8%E6%BE%A4-%E7%A7%80%E4%BB%81/dp/4895311104/ref=sr_1_2/375-8768568-1386322?ie=UTF8&s=books&qid=1253979375&sr=1-2",
                           "<FONT class='text08p'><BR><FONT color='#FF0000'><B>回転寿司ガイド&nbsp;『旅してでも食べたい&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;地もの旬もの 回転寿司』</B></FONT><BR><B>緑書房より好評発売中！</B>",
                           "");
 var exA22amaM = "ここをクリックすると、この本の Amazon.co.jp でのページが開きます！ ..... ネット書店へGO！ ..... ※アフィリエイト、アソシエイト等はしていません。";

//====================
// alert & bookmark
//====================

function alepon(){
 alert(aiza+"\n\n"+aiza02);
}

function alepon2(){
 if (a22err == 0){
  a22err = 1;
  alert("ピンポ〜ン！\n\nこのページはオフラインでは正常に表示できない場合があります。\n\nオンライン（インターネットに接続した状態）でご覧ください。\n\n"+aiza);
  window.close();
 }
}

function bookmarkpon(a22a,a22b,a22c){
 document.write("<TABLE width='360'><TBODY><TR><TD bgcolor='"+a22b+"'><FONT class='text08p' color='"+a22c+"'>");
 document.write("【お願い】このサイトは左右のフレームで構成されています。目次フレーム（左フレーム）が表示されていない時は、上の<B>［HOMEPAGE］</B>ボタンをクリックしてください。なおブックマークはhttp://www.aizawa22.com/としてください。");
  if (a22a == 1){
   document.write("<BR>そして、JAVAを有効にしてください。JAVAが有効でない場合、このページはご利用になれません。また、ブラウザ以外のすべてのアプリケーションを終了し、十分なパフォーマンスのマシンでのご利用を推奨いたします。マシンのパフォーマンス等によっては正常に表示されない場合があります。");
   document.write("<BR><B>画面表示が乱れた時は、ブラウザの「更新」ボタンを押して再表示してください。または、ページ読み込み完了後、オフラインで再表示してみてください。</B>");
  }
 document.write("</FONT></TD></TR></TBODY></TABLE>");
}

//====================
// foot mes
//====================

function footpon(a22a,a22b){

   if ((a22a == 1) && (a22b == 1) && (a22doco_s7 != 999)){
    document.write("<P><IMG src='"+ a22doco_d7 +"_images/b04b01.gif' width='350' height='50' border='0' alt='相澤秀仁＆相澤京子著『ねこめぐり』二見書房より発売になりました！（クリックすると詳細ページが開きます。見てね！）' style='cursor:hand' onclick='a22_b04subwin()'><BR><BR><BR><BR></P>");
   }

   if (a22b == 0){
    waku1 = "";
    waku2 = "";
   } else {
    waku1 = " border='"+a22b+"'";
    waku2 = " bgcolor='#FFCCCC'";
   }
 document.write("<TABLE"+waku1+"><TBODY><TR><TD align='center'"+waku2+"><FONT class='text08p'>");
     if (a22b == 0){
      document.write("<HR>");
     }
 document.write("※このサイトのオリジナル素材、画像、文章等、著作物の無断転載等を禁じます。<BR>");
 document.write("※このサイトはリンクはフリーではありません。事前にお問い合わせください。<BR>");
   if (a22a == 0){
    document.write("※リンク等、お問い合わせにつきましては、E-mailにてご連絡ください。<BR>");
   } else {
    document.write("※リンク等、お問い合わせにつきましては、<A href='http://www.aizawa22.com/email2.htm' target='_self'>E-mail</A>にてご連絡ください。<BR>");
   }
 document.write("※このサイトは ＩＢＭ ホームページ・ビルダーを使用しています。<BR>");
 document.write("※会社名、商品名等は、各社の商標、または登録商標です。<BR>");
   if (a22a == 0){
    document.write("※www.aizawa22.comご利用案内（個人情報保護について）も見てね！<BR>");
   } else {
    document.write("<A href='http://www.aizawa22.com/page_riyou.htm' target='_self'>※www.aizawa22.comご利用案内（個人情報保護について）</A><BR>");
   }
     if (a22b == 0){
      document.write("<HR>");
     } else {
      document.write("<B>- www.aizawa22.com from Tokyo Japan -</B><BR>"+aiza02+"<BR>"+aiza03+"<BR>");
      document.write(aiza);
     }
 document.write("</FONT></TD></TR></TBODY></TABLE>");

  if (a22a == 1){
    if (a22b == 0){
      document.write("<P></P>");
     } else {
      document.write("<P><BR></P>");
     }
   document.write("<TABLE width='90%'><TBODY><TR><TD align='center'>");
    document.write("<TABLE width='100%'><TBODY><TR>");
    document.write("<TD align='center'><A href='"+ a22doco_d7 +"goto_takarajima01.htm' target='_blank'><IMG src='"+ a22doco_d7 +"_images/inaka201001.jpg' width='81' height='116' border='0' alt='私たちが撮影しました『ぶさかわ猫暦』は、宝島社『田舎暮らしの本』公式サイトにてダウンロードできます。おすすめ！クリックしてね！'></A></TD>");
    document.write("<TD align='center'><FONT class='text09pb'>宝島社の雑誌 『田舎暮らしの本』</FONT><FONT class='text08p'><BR><BR>私たちが撮影しましたカレンダー<BR><FONT color='#FF0099'><B>2010年『ぶさかわ猫暦』 →→→</B></FONT><BR>（2010年1月号、別冊付録）<BR><BR>左右の画像をクリックすると<BR>『田舎暮らしの本』のサイトが開きます。<BR>サイトでは、見れば和む『ぶさかわ猫暦』が<BR>ダウンロードできます！おすすめ！<BR></FONT></TD>");
    document.write("<TD align='center'><A href='"+ a22doco_d7 +"goto_takarajima01.htm' target='_blank'><IMG src='"+ a22doco_d7 +"_images/inaka201001c.jpg' width='81' height='116' border='0' alt='私たちが撮影しました『ぶさかわ猫暦』は、宝島社『田舎暮らしの本』公式サイトにてダウンロードできます。おすすめ！クリックしてね！'></A></TD>");
    document.write("</TR></TBODY></TABLE>");
    document.write("<P><BR></P>");
    document.write("<TABLE width='100%'><TBODY><TR>");
    document.write("<TD width='0' bgcolor='#CC00CC'></TD>");
    document.write("<TD align='center'><FONT class='text08pb'>JRグループ協力 鉄道・旅行情報マガジン『トレたび』にて<BR>大人の旅【フルムーン夫婦旅】を配信中（文・写真 相澤秀仁＆京子）<BR><BR></FONT>");
    document.write("<A href='"+ a22doco_d7 +"goto_toretabi_df05.htm' target='_blank'><IMG src='"+ a22doco_d7 +"_images/banner_fullmoon02b.gif' width='408' height='48' border='0' alt='クリックすると『トレたび』艶やかフルムーン“桜旅”〜桜とともに列島3000キロの旅〜 ＜東京発5日間＞ vol.5 が開きます。見てね♪'></A>");
//    document.write("<A href='"+ a22doco_d7 +"goto_toretabi_df03.htm' target='_blank'><IMG src='"+ a22doco_d7 +"_images/banner_fullmoon01a.jpg' width='130' height='48' border='0' alt='ここをクリックすると『トレたび』〜弾丸フルムーン vol.3〜 ＜東京発5日間＞「夫婦で歩く日本」が開きます。見てね♪'></A>");
//    document.write("<A href='"+ a22doco_d7 +"goto_toretabi_top.htm' target='_blank'><IMG src='"+ a22doco_d7 +"_images/banner_fullmoon01b.jpg' width='148' height='48' border='0' alt='ここをクリックすると『トレたび』トップページ が開きます。見てね♪'></A>");
//    document.write("<A href='"+ a22doco_d7 +"goto_toretabi_df04.htm' target='_blank'><IMG src='"+ a22doco_d7 +"_images/banner_fullmoon01c.jpg' width='130' height='48' border='0' alt='ここをクリックすると『トレたび』〜弾丸フルムーン vol.4〜 ＜新大阪発5日間＞「季節をめぐる旅」が開きます。見てね♪'></A>");
    document.write("<FONT class='text08pb'><BR><BR>♪ <A href='"+ a22doco_d7 +"goto_toretabi_df05.htm' target='_blank' title='クリックすると『トレたび』艶やかフルムーン“桜旅”〜桜とともに列島3000キロの旅〜 ＜東京発5日間＞ vol.5 が開きます♪ ... 2010.4.2'><FONT color='#cc00cc'>vol.5『艶やかフルムーン“桜旅”』〜桜とともに列島3000キロの旅〜</FONT></A> ♪<BR></FONT>");
    document.write("<FONT class='text08pb'>♪ <A href='"+ a22doco_d7 +"goto_toretabi_df04.htm' target='_blank' title='ここをクリックすると、トレたび【弾丸フルムーン 〜リッチでお得な夫婦旅〜】vol.4 新大阪発 5日間&nbsp;&nbsp;「季節をめぐる旅」が開きます♪ ... 2009.12.21'><FONT color='#cc00cc'>vol.4『弾丸フルムーン』〜季節をめぐる旅〜</FONT></A> ♪<BR></FONT>");
    document.write("<FONT class='text08pb'>♪ <A href='"+ a22doco_d7 +"goto_toretabi_df03.htm' target='_blank' title='ここをクリックすると、トレたび【弾丸フルムーン 〜リッチでお得な夫婦旅〜】vol.3 東京発 5日間&nbsp;&nbsp;「夫婦で歩く日本」が開きます♪ ... 2009.12.21'><FONT color='#cc00cc'>vol.3『弾丸フルムーン』〜夫婦で歩く日本〜</FONT></A> ♪<BR></FONT>");
    document.write("<FONT class='text08pb'>♪ <A href='"+ a22doco_d7 +"goto_toretabi_df02.htm' target='_blank' title='ここをクリックすると、トレたび【弾丸フルムーン 〜リッチでお得な夫婦旅〜】vol.2 新大阪発 5日間&nbsp;&nbsp;「ふたたびハネムーン」が開きます♪ ... 2009.9.1'><FONT color='#cc00cc'>vol.2『弾丸フルムーン』〜ふたたびハネムーン〜</FONT></A> ♪<BR></FONT>");
    document.write("<FONT class='text08pb'>♪ <A href='"+ a22doco_d7 +"goto_toretabi_df01.htm' target='_blank' title='ここをクリックすると、トレたび【弾丸フルムーン 〜リッチでお得な夫婦旅〜】vol.1 東京発 5日間&nbsp;&nbsp;「ご当地“麺”の旅」が開きます♪ ... 2009.9.1'><FONT color='#cc00cc'>vol.1『弾丸フルムーン』〜ご当地“麺”の旅〜</FONT></A> ♪<BR></FONT>");
    document.write("<FONT class='text08pb'><BR>弾丸列車のグリーン車で、リッチにお得に旅するフルムーン旅行、<BR>それぞれをクリックしてぜひご覧ください。<BR></FONT></TD>");
    document.write("<TD width='0' bgcolor='#CC00CC'></TD>");
    document.write("</TR></TBODY></TABLE>");
   document.write("</TD></TR></TBODY></TABLE>");
  }

　a = "<IMG src='"+ a22doco_d7 +"pq/pub_images/acat28g2.gif' width='12' height='12' border='0' hspace='4' alt='富山の猫です ... "+ aiza +"'>";

  if (a22a == 1){
   document.write("<TABLE width='100%'><TBODY><TR><TD align='center'><FONT class='text08p'><BR>");
    if (a22b != 0){
     document.write("<BR>"); // except top page
    }
   document.write("<IMG src='"+ a22doco_d7 +"_images/acat39a.gif' width='15' height='14' border='0'>&nbsp;&nbsp;<A href='"+ a22doco_d7 +"goto_twitter01.htm' target='_blank' title='ここをクリックすると「Twitter」の私たちのページが開きます。日記系のページは2009年11月4日より公式に「Twitter」へ移行しました。見てね！'><FONT class='text10p' color='#FF0099'><B>あいざわ日記 on Twitter ... 見てね！クリックしてね！</B></FONT></A> <IMG src='"+ a22doco_d7 +"_images/acat39b.gif' width='15' height='14' border='0'>");
   document.write("<BR><BR><BR>");
   document.write("<A href='"+ a22doco_d7 +"index.html' target='_top'>ホームページ</A>"+ a);
   document.write("<A href='"+ a22doco_d7 +"page_navi.htm' target='_self'>サイト総合案内</A>"+ a);
   document.write("<A href='"+ a22doco_d7 +"menu_pf.htm' target='_self'>プロフィール</A>＜<A href='"+ a22doco_d7 +"pf/public/about_us.htm' target='_self'>自己紹介</A>・<A href='"+ a22doco_d7 +"pf/books/index.htm' target='_self'>著書</A>＞"+ a);
   document.write("<A href='"+ a22doco_d7 +"pf/public/faq.htm' target='_self'>FAQ(Q&amp;A)</A>"+ a);
   document.write("<A href='"+ a22doco_d7 +"email2.htm' target='_self'>E-mail</A>");
//   document.write("<BR><BR>");
   document.write("<BR><IMG src="+ a22doco_d7 +"_images/space_040.gif' width='1' height='5'><BR>")
   document.write("<A href='"+ a22doco_d7 +"biz/ail/lib_pho.htm' target='_self'>写真貸出</A>"+ a);
   document.write("<A href='"+ a22doco_d7 +"pe/j_bc/index.htm' target='_self'>美人猫</A>"+ a);
   document.write("<A href='"+ a22doco_d7 +"tml/mike/index.htm' target='_self'>三毛猫</A>"+ a);
   document.write("<A href='"+ a22doco_d7 +"pe/chin/index.htm' target='_self'>珍百景</A>"+ a);
   document.write("<A href='"+ a22doco_d7 +"tml/u_ngs/index_ngs.htm' target='_self'>猫顔様占い</A>"+ a);
   document.write("<A href='"+ a22doco_d7 +"ntm/sushi/index.htm' target='_self'>回転寿司</A>"+ a);
   document.write("<A href='"+ a22doco_d7 +"ntm/kyoko/index.htm' target='_self'>旅情料理</A>"+ a);
   document.write("<A href='"+ a22doco_d7 +"menu_pq.htm' target='_self'>英語パズル</A>");
   document.write("<BR></FONT></TD></TR></TBODY></TABLE>");
  }

}

// --- sub ---

function a22_b04subwin(){
 a22_opensubwin(a22doco_d7+"sub_topics2004a","sub_topics2004a");
}

//====================
// sub window openner
//====================

function a22_opensubwin(a22a,a22b){
  x = screen.width;
  if (x < 641){
   dx = 0;              dy = 0;
  } else {
   dx = (x - 580) / 2;  dy = 50;
  }
 optionString = "toolbar=0,location=0,status=0,menubar=0,scrollbars=1,resizable=0,";
 optionString += "width=570,height=460,left=" + dx + ",top=" + dy ;
 var win0 = window.open(a22a+".htm",a22b,optionString);
}

//====================
// sub location self
//====================

function disp_ntmssz(a22a){
  if (a22a % 100 == 1){
   a22b = "www.aizawa22.comの超人気スポット！\n『回転寿司大図鑑』（お寿司がにゃんと128皿に！）\n ";
  } else if (a22a % 100 == 2){
   a22b = "TML『猫顔様大図鑑』\n";
  } else if (a22a % 100 == 3){
   a22b = "www.aizawa22.comのメンソーレ！\n『沖縄そば大図鑑』（座間味島のそばも加わりました！）\n";
  } else if (a22a % 100 == 4){
   a22b = "www.aizawa22.comの新名所！\nお昼ごはん、何にする？ 『旅ランチ大図鑑』\n";
  }
 document.write("<P><FORM name='ntmssz01'><INPUT type='button' name='ntmssz01b' value='ここをクリックすると、"+ a22b +"のコーナーへリンクします。見てね！'  onclick='link_ntmssz("+ a22a +")'></FORM><BR></P>");
}

function link_ntmssz(a22b){

 a22b = String(a22b);
 a22docosw = a22b.substring(1,2); a22docosw = a22docosw * 1;

  if (a22docosw == 0){
   a22docodir2 = "";
  } else if (a22docosw == 1){
   a22docodir2 = "../";
  } else {
   a22docodir2 = "../../";
  }

 if ( a22b.substring(2,5) == "001"){
  doco_url = a22docodir2 + A22zukan01;
  self.location = doco_url;
 } else if ( a22b.substring(2,5) == "002"){
  doco_url = a22docodir2 + A22zukan02;
  self.location = doco_url;
 } else if ( a22b.substring(2,5) == "003"){
  doco_url = a22docodir2 + A22zukan03;
  self.location = doco_url;
 } else if ( a22b.substring(2,5) == "004"){
  doco_url = a22docodir2 + A22zukan04;
  self.location = doco_url;
 }
}

//====================
// doco demo 01 write
//====================

// --- main ---

function a22docopon01(a22docosw){

 a22doco_s7 = a22docosw;
  if (a22docosw == 0){
   a22docodir  = "'";
   a22docodir2 = "";
  } else if (a22docosw == 1){
   a22docodir  = "'../";
   a22docodir2 = "../";
  } else {
   a22docodir  = "'../../";
   a22docodir2 = "../../";
  }
 a22doco_d7 = a22docodir2;

 document.write("<TABLE width='100%'><TBODY><TR>");
 document.write("<TD width='60%' height='5'></TD>");
 document.write("<TD width='40%' rowspan='3' align='right'>");
 document.write("<IMG src="+a22docodir+"_images/logo00a.gif' width='75' height='518' border='0' vspace='30' hspace='20'>");
 document.write("</TD>");
 document.write("</TR>");
 document.write("<TR>");
 document.write("<TD align='center' valign='top'>");
 document.write("<FORM name='doco_form'>");
 document.write("<FONT class='text08p'>");
 document.write("<IMG src="+a22docodir+"_images/logo_pon_us.gif' width='41' height='37' border='0' align='top' alt='ここをクリックすると www.aizawa22.com『自己紹介』のページにジャンプします！（photo by H.AIZAWA / All rights reserved.）' style='cursor:hand' onClick='a22docopon04(A22ponko00,"+a22docosw+")'>");
 document.write("<IMG src="+a22docodir+"_images/logo20b.gif' width='113' height='60' border='0' hspace='2' align='top' alt='どこでも猫ジャンプ！.....サイトマップからページを選ぶとジャンプします！.....ここをクリックすると現在のページの先頭位置にもどります！（京都の猫 photo by H.AIZAWA / All rights reserved.）' style='cursor:hand' onclick='self.scroll(0,0);'>");
 document.write("<IMG src="+a22docodir+"_images/logo_pon2.gif' width='41' height='37' border='0' align='top' alt='ここをクリックすると www.aizawa22.com『新・ポン子な日記』にジャンプします！気ままな日記ですが、よかったら見てね！（photo by H.AIZAWA / All rights reserved.）' style='cursor:hand' onClick='a22docopon04(A22ponko01,"+a22docosw+")'>");
 document.write("<BR><BR></FONT>");
 document.write("<SELECT name='doco_sel' style='background-color:#FFFFFF;' onChange='a22docopon02()'>");

// document.write("<OPTION value='void'>（サイトマップからページを選んでね）</OPTION>");
 document.write("<OPTION value='void'>（ www.aizawa22.com サイトマップ ）</OPTION>");
 document.write("<OPTION class='bgc01' value="+a22docodir+"index.html'>相澤秀仁＆相澤京子ホームページ</OPTION>");
 document.write("<OPTION class='blue1' value="+a22docodir+"index_bgm_on.html'>　 BGM on サウンド・モード</OPTION>");
 document.write("<OPTION class='blue1' value="+a22docodir+"index.html'>　 BGM off サイレント・モード</OPTION>");
 document.write("<OPTION value="+a22docodir+"top.htm'>　 TOP PAGE</OPTION>");
 document.write("<OPTION class='gold1' value="+a22docodir+"history.htm'>　 新着＆更新情報◆おしらせ</OPTION>");
 document.write("<OPTION value="+a22docodir+"page_navi.htm'>　 はじめてナビ（サイト総合案内）</OPTION>");
 document.write("<OPTION value="+a22docodir+"page_riyou.htm'>　 ご利用案内（必ず見てにゃ）</OPTION>");
 document.write("<OPTION value="+a22docodir+"pf/public/faq.htm'>　 FAQ(Q&amp;A)よくある質問と答え</OPTION>");
 document.write("<OPTION value="+a22docodir+"email2.htm'>　 E-mail お問い合わせフォーム</OPTION>");
 document.write("<OPTION value='sub_mailnote'>　　※E-mail 注意事項</OPTION>");
 document.write("<OPTION class='blue1' value="+a22docodir+"biz/ail/lib_pho.htm'>　 フォト・ライブラリー★写真貸出</OPTION>");
 document.write("<OPTION value='sub_about_cats'>　　※猫の写真について</OPTION>");
 document.write("<OPTION value="+a22docodir+"page_links.htm'>　 おすすめのサイト</OPTION>");
 document.write("<OPTION value='sub_about_link'>　　※リンクについて</OPTION>");
 document.write("<OPTION value='void'>＝＝＝＝＝＝＝＝＝＝＝＝＝＝</OPTION>");
 document.write("<OPTION class='bgc01' value="+a22docodir+"menu_pe.htm'>● 【 フォト＆エッセイ 】</OPTION>");
  nnn = Num_peJpns; a22nnn();
 document.write("<OPTION value="+a22docodir+"pe/jpns/index.htm'>　 web版 にっぽんネコさんぽ</OPTION>");
//
  nnn = Num_pe_jbc; a22nnn();
 document.write("<OPTION value="+a22docodir+"pe/j_bc/index.htm'>　 日本美猫紀行</OPTION>");
 document.write("<OPTION value="+a22docodir+"pe/j_bc/jpnbc"+ nnn +".htm'>　　・新着！日本の美猫さん！</OPTION>");
  nnn = Num_pe_tbc; a22nnn();
 document.write("<OPTION value="+a22docodir+"pe/t_bc/index.htm'>　 東京美猫カタログ</OPTION>");
 document.write("<OPTION value="+a22docodir+"pe/t_bc/tyobc"+ nnn +".htm'>　　・新着！東京の美猫さん！</OPTION>");
//
 document.write("<OPTION value="+a22docodir+"pe/tyos/tokyo.htm'>　 東京ねこ散歩</OPTION>");
 document.write("<OPTION value="+a22docodir+"pe/dcat/deaicat.htm'>　 ねこと出会いの物語</OPTION>");
  nnn = Num_peMeis; a22nnn();
 document.write("<OPTION value="+a22docodir+"pe/meis/index.htm'>　 迷作ギャラリー</OPTION>");
 document.write("<OPTION value="+a22docodir+"pe/meis/meisaku_"+ nnn +".htm'>　　・新着！迷作ねこ写真</OPTION>");
  nnn = Num_peChin; a22nnn();
 document.write("<OPTION value="+a22docodir+"pe/chin/index.htm'>　 珍日本百景</OPTION>");
 document.write("<OPTION value="+a22docodir+"pe/chin/chinjp_"+ nnn +".htm'>　　・新着！珍日本百景</OPTION>");
 document.write("<OPTION value="+a22docodir+"pe/tohh/aafukaku.htm'>　 トホホな事件帖</OPTION>");
 document.write("<OPTION value="+a22docodir+"pe/year/nyan_of_the_year_2006.htm'>　 にゃん OF THE YEAR 2006</OPTION>");
 document.write("<OPTION value="+a22docodir+"pe/year/nyan_of_the_year_2005.htm'>　　・ にゃん OF THE YEAR 2005</OPTION>");
 document.write("<OPTION value="+a22docodir+"pe/year/nyan_of_the_year_2004.htm'>　　・ にゃん OF THE YEAR 2004</OPTION>");
 document.write("<OPTION value="+a22docodir+"pe/year/nyan_of_the_year_2003.htm'>　　・ にゃん OF THE YEAR 2003</OPTION>");
 document.write("<OPTION value="+a22docodir+"pe/year/nyan_of_the_year_2002.htm'>　　・ にゃん OF THE YEAR 2002</OPTION>");
 document.write("<OPTION class='blue1' value="+a22docodir+A22night01+"'>　　・夜間飛行ノスタルジア</OPTION>");
 document.write("<OPTION class='blue1' value="+a22docodir+A22night03+"'>　　・YS-11メモリアル</OPTION>");
 document.write("<OPTION class='blue1' value="+a22docodir+A22night02+"'>　　・真夜中は鉄な顔</OPTION>");
 document.write("<OPTION class='blue1' value="+a22docodir+A22night04+"'>　　・形式写真コレクション</OPTION>");
 document.write("<OPTION class='bgc01' value="+a22docodir+"menu_ntm.htm'>● 【 ねこ旅まんま 】</OPTION>");
  nnn = Num_ntmKyoko; a22nnn();
 document.write("<OPTION class='red1' value="+a22docodir+"ntm/kyoko/index.htm'>　 京子さんの旅情料理</OPTION>");
 document.write("<OPTION value="+a22docodir+"ntm/kyoko/kyoko"+ nnn +".htm'>　　・新着！旅情料理</OPTION>");
  nnn = Num_ntmGohan; a22nnn();
 document.write("<OPTION class='red1' value="+a22docodir+"ntm/gohan/index.htm'>　 ねこ旅ごはん</OPTION>");
 document.write("<OPTION value="+a22docodir+"ntm/gohan/gohan"+ nnn +".htm'>　　・新着！ねこ旅ごはん</OPTION>");
 document.write("<OPTION class='red1' value="+a22docodir+"ntm/lunch/index.htm'>　 ねこ旅ランチ</OPTION>");
 document.write("<OPTION value="+a22docodir+"ntm/lunch/a22lunch_zukan_index.htm'>　　・旅ランチ大図鑑</OPTION>");
 document.write("<OPTION class='red1' value="+a22docodir+"ntm/omiya/index.htm'>　 ねこ旅みやげ</OPTION>");
 document.write("<OPTION value="+a22docodir+"ntm/omiya/omiyage_special.htm'>　　・とっておきスペシャル</OPTION>");
 document.write("<OPTION class='red1' value="+a22docodir+"ntm/sushi/index.htm'>　 ねこ旅回転寿司</OPTION>");
 document.write("<OPTION value="+a22docodir+"ntm/sushi/sushizukan_index.htm'>　　・回転寿司大図鑑</OPTION>");
 document.write("<OPTION value="+a22docodir+"ntm/sushi/susi_001.htm'>　　・金メダル回転寿司 『館山』</OPTION>");
 document.write("<OPTION value="+a22docodir+"ntm/sushi/susi_002.htm'>　　・銀メダル回転寿司 『那珂湊』</OPTION>");
 document.write("<OPTION value="+a22docodir+"ntm/sushi/susi_003.htm'>　　・銅メダル回転寿司 『函館』</OPTION>");
 document.write("<OPTION value="+a22docodir+"ntm/sushi/susi_021.htm'>　　・沖縄の回転寿司</OPTION>");
 document.write("<OPTION value="+a22docodir+"ntm/sushi/susi_022.htm'>　　・続・沖縄の回転寿司</OPTION>");
 document.write("<OPTION value="+a22docodir+"ntm/sushi/susi_023.htm'>　　・続々・沖縄の回転寿司</OPTION>");
 document.write("<OPTION value="+a22docodir+"ntm/sushi/susi_051.htm'>　　・スペシャル大回転寿司</OPTION>");
 document.write("<OPTION class='red1' value="+a22docodir+"ntm/ramen/index.htm'>　 ねこ旅ラーメン</OPTION>");
 document.write("<OPTION value="+a22docodir+"ntm/ramen/rmen_001.htm'>　　・金メダルラーメン 『函館』</OPTION>");
 document.write("<OPTION class='red1' value="+a22docodir+"ntm/okina/index.htm'>　 ねこ旅沖縄そば</OPTION>");
 document.write("<OPTION value="+a22docodir+"ntm/okina/okinasoba_zukan_index.htm'>　　・沖縄そば大図鑑</OPTION>");
 document.write("<OPTION class='bgc02' value="+a22docodir+"menu_tml.htm'>● 【 東京またたびランド 】</OPTION>");
 document.write("<OPTION value="+a22docodir+"tml/jp47/index.htm'>　 47都道府県猫</OPTION>");
  nnn = Num_tmlMike; a22nnn();
 document.write("<OPTION value="+a22docodir+"tml/mike/index.htm'>　 日本の三毛猫</OPTION>");
 document.write("<OPTION value="+a22docodir+"tml/mike/mike_"+ nnn +".htm'>　　・新着！三毛猫さん！</OPTION>");
 document.write("<OPTION value="+a22docodir+"tml/kuro/kuro001.htm'>　 日本の黒猫（プレオープン）</OPTION>");
 document.write("<OPTION value="+a22docodir+"tml/nemu/index.htm'>　 眠り猫の館</OPTION>");
 document.write("<OPTION value="+a22docodir+"tml/hana/index.htm'>　 猫鼻美術館</OPTION>");
 document.write("<OPTION value="+a22docodir+"tml/hana/special.htm'>　　・猫鼻SPECIAL</OPTION>");
  nnn = Num_tmlPoem; a22nnn();
 document.write("<OPTION value="+a22docodir+"tml/poem/index.htm'>　 だって猫だもん</OPTION>");
 document.write("<OPTION value="+a22docodir+"tml/poem/poem_"+ nnn +".htm'>　　・新着！だって猫だもん</OPTION>");
 document.write("<OPTION class='red1' value="+a22docodir+"tml/u_ngs/index_ngs.htm'>　 猫顔様占い★あしたの運勢は?</OPTION>");
 document.write("<OPTION value="+a22docodir+"tml/u_ngs/ngs_zukan_index.htm'>　　・猫顔様大図鑑</OPTION>");
 document.write("<OPTION value="+a22docodir+"tml/town/index.htm'>　 みんなの町</OPTION>");
 document.write("<OPTION value="+a22docodir+"tml/town/mmmap01_index.htm'>　　・にぼしが丘１〜５丁目</OPTION>");
 document.write("<OPTION class='bgc01' value="+a22docodir+"menu_pq.htm'>● 【 パズル＆クイズ 】</OPTION>");
// document.write("<OPTION value='sub_skscwp_info'>　　・産經新聞連載パズルについて</OPTION>");
 document.write("<OPTION value="+a22docodir+"pq/cwp01/cwp01_index.htm'>　 中学レベル英語パズル</OPTION>");
 document.write("<OPTION value="+a22docodir+"pq/cwp01/cwp01.htm'>　　・新着！ほえるパズル</OPTION>");
 document.write("<OPTION value="+a22docodir+"pq/cwp02/cwp02_index.htm'>　 高校レベル英語パズル</OPTION>");
 document.write("<OPTION value="+a22docodir+"pq/cwp02/cwp02.htm'>　　・新着！まばたきするパズル</OPTION>");
 document.write("<OPTION value="+a22docodir+"pq/cwp51/cwp51_index.htm'>　 一般レベル英語パズル</OPTION>");
 document.write("<OPTION value="+a22docodir+"51transit.htm'>　　・oh! ランダムに出題にゃ</OPTION>");
 document.write("<OPTION value="+a22docodir+"pq/photoquiz/photoquiz.htm'>　 フォト・クイズ</OPTION>");
 document.write("<OPTION class='bgc01' value="+a22docodir+"menu_pf.htm'>● 【 プロフィール 】</OPTION>");
 document.write("<OPTION value="+a22docodir+"pf/public/about_us.htm'>　 自己紹介</OPTION>");
 document.write("<OPTION class='red1' value="+a22docodir+A22ponko01+"'>　　・新・ポン子な日記</OPTION>");
 document.write("<OPTION value="+a22docodir+"pf/public/ponko.htm'>　　・旧・ぽんちゃんページ</OPTION>");
 document.write("<OPTION value="+a22docodir+"pf/public/concept.htm'>　 撮影コンセプト</OPTION>");
 document.write("<OPTION value="+a22docodir+"pf/books/index.htm'>　 著書</OPTION>");
// document.write("<OPTION value="+a22docodir+"pf/books/book01.htm'>　　・写真集『猫的旅情』</OPTION>");
// document.write("<OPTION value="+a22docodir+"pf/books/book02.htm'>　　・写真集『猫だもん』</OPTION>");
// document.write("<OPTION value="+a22docodir+"pf/books/book03.htm'>　　・ポストカードブック『HappyCats』</OPTION>");
 document.write("<OPTION class='red1' value="+a22docodir+"pf/happy/index.htm'>　 ★『HappyCats』の物語★</OPTION>");
 document.write("<OPTION value="+a22docodir+"pf/phoex/index.htm'>　 写真展</OPTION>");
 document.write("<OPTION value="+a22docodir+"pf/phoex/pe1.htm'>　　・『にゃんころじい』−猫的旅情−</OPTION>");
 document.write("<OPTION value="+a22docodir+"pf/phoex/pe2.htm'>　　・『猫様様』</OPTION>");
 document.write("<OPTION class='red1' value="+a22docodir+"pf/pcard/postcards.htm'>　 ポストカード★全国で発売中！</OPTION>");
 document.write("<OPTION value="+a22docodir+"pf/public/rensai.htm'>　 連載</OPTION>");
 document.write("<OPTION value="+a22docodir+"pf/public/faq.htm'>　 FAQ(Q&amp;A)よくある質問と答え</OPTION>");
 document.write("<OPTION value="+a22docodir+"pf/public/fufutabi.htm'>　 夫婦で旅をしませんか</OPTION>");
 document.write("<OPTION value="+a22docodir+"pf/public/kasidasikun_form.htm'>　 貸し出しくん</OPTION>");
 document.write("<OPTION class='bgc03' value="+a22docodir+"menu_ail.htm'>● 【 あいざわライブラリー 】</OPTION>");
 document.write("<OPTION value="+a22docodir+"biz/ail/lib_info.htm'>　 ご案内</OPTION>");
 document.write("<OPTION class='blue1' value="+a22docodir+"biz/ail/lib_pho.htm'>　 フォト・ライブラリー★写真貸出</OPTION>");
 document.write("<OPTION value="+a22docodir+"biz/ail/lib_web.htm'>　 Ｗｅｂ素材ライブラリー</OPTION>");
 document.write("<OPTION value="+a22docodir+"biz/ail/lib_cwp.htm'>　 パズル・ライブラリー</OPTION>");
 document.write("<OPTION class='bgc03' value="+a22docodir+"menu_aip.htm'>● 【 オリジナル・プリント 】</OPTION>");
 document.write("<OPTION value="+a22docodir+"biz/aip/op_info_form.htm'>　 ご案内</OPTION>");
 document.write("<OPTION value="+a22docodir+"biz/aip/op_osu.htm'>　 おすすめ写真</OPTION>");
 document.write("<OPTION value="+a22docodir+"biz/aip/op_agent.htm'>　 取扱いエージェント</OPTION>");
 document.write("<OPTION class='bgc03' value="+a22docodir+"menu_ais.htm'>● 【 aizawa22.shop 】</OPTION>");
 document.write("<OPTION value="+a22docodir+"biz/ais/ais_buy_form.htm'>　 ご案内＆ご購入フォーム</OPTION>");
 document.write("<OPTION value="+a22docodir+"biz/ais/ais_cd_top.htm'>　 オリジナル CD-ROM</OPTION>");
 document.write("<OPTION value="+a22docodir+"biz/ais/ais_cd003.htm'>　　・『函館雪物語』</OPTION>");
 document.write("<OPTION value="+a22docodir+"biz/ais/ais_cd001.htm'>　　・写真集『猫だもん』</OPTION>");
 document.write("<OPTION value="+a22docodir+"biz/ais/ais_ss_top.htm'>　 スクリーンセーバー</OPTION>");
 document.write("<OPTION value="+a22docodir+"biz/ais/ais_wp_top.htm'>　 壁紙コレクション</OPTION>");
 document.write("<OPTION value="+a22docodir+"biz/ais/ais_wp01.htm'>　　・特選コレクション</OPTION>");
 document.write("<OPTION value="+a22docodir+"biz/ais/ais_wp02.htm'>　　・『猫的旅情』シリーズ</OPTION>");
 document.write("<OPTION value="+a22docodir+"biz/ais/ais_wp03.htm'>　　・『猫だもん』シリーズ</OPTION>");
 document.write("<OPTION class='bgc03' value="+a22docodir+"menu_aij.htm'>● 【 あいざわ写真塾 】</OPTION>");
 document.write("<OPTION value="+a22docodir+"biz/aij/aij_info_form.htm'>　 ご案内＆ご入会</OPTION>");
 document.write("<OPTION value="+a22docodir+"biz/aij/aij_mail.htm'>　 メールdeサポート</OPTION>");
 document.write("<OPTION value="+a22docodir+"biz/aij/aij_10sk.htm'>　 写真添削教室</OPTION>");
 document.write("<OPTION value='void'>＝＝＝＝＝＝＝＝＝＝＝＝＝＝</OPTION>");
 document.write("<OPTION class='bgc01' value="+a22docodir+"index.html'>相澤秀仁＆相澤京子ホームページ</OPTION>");
 document.write("<OPTION value="+a22docodir+"top.htm'>　 TOP PAGE</OPTION>");
 document.write("</SELECT>");

 document.write("<A href='"+a22docodir2+"goto_twitter01.htm' target='_blank' title='ここをクリックすると「Twitter」の私たちのページが開きます。日記系のページは2009年11月4日より公式に「Twitter」へ移行しました。見てね！'><FONT class='text10pb' color='#FF0099'><BR><BR><IMG src='"+a22docodir2+"_images/lma_bl.gif' width='9' height='9' border='0' align='middle'> あいざわ日記 on Twitter <IMG src='"+a22docodir2+"_images/lma_bl.gif' width='9' height='9' border='0' align='middle'></FONT></A><FONT class='text08pb'><BR>（見てね！クリックしてね！）<BR></FONT>");


a22a = " width='15' height='14' border='0' alt='ラジオボタンをクリックして、"+a22date+"版「毎日替わる！おすすめのページ」を見てね！（東京の猫『なんでもきくぞう』くん photo by H.AIZAWA / All rights reserved.）'";

 document.write("<TABLE width='90%'>");
 document.write("<TBODY>");

  a = "";
   if ((dd % 10 == 2) || (dd % 10 == 5)){
    a = " color='#CC00CC'";
   }

 document.write("<TR>");
 document.write("<TD align='center' valign='middle'>");
 document.write("<FONT class='text08pb'"+ a +"><BR><IMG src="+a22docodir+"_images/acat39a.gif'"+a22a+"> "+mm+"月"+dd+"日 本日のおすすめ！<IMG src="+a22docodir+"_images/acat39b.gif'"+a22a+"></FONT>");
 document.write("</TD></TR>");
 document.write("<TR>");
 document.write("<TD>");

  b = "14";

  if ((dd % 10 == 2) || (dd % 10 == 5)){
   a = Math.floor(Math.random() * exA22osp0.length);
   if (Math.floor(Math.random() * 5) != 3){
    b = b + "15";
   }
   if (Math.floor(Math.random() * 60) > 22){
    b = b + "13";
   }
  } else {
   a = a22rnd % exA22osp0.length;
   if (a22rnd % 5 != 3){
    b = b + "15";
   }
   if (a22rnd % 66 > 22){
    b = b + "13";
   }
  }

  c = a22rnd % (exA22osp0[a].length / 2); c = c * 2;
  i = exA22osp0[a] + exA22osp0[a];
  b = b + "01" + i.substring(c , c + exA22osp0[a].length);
   if (hh > 19){
    b = "17" + b;
   }  else if ((hh > 6) && (hh < 15)){
    b = "18" + b;
   }

   if (hh < 7){   // add 深夜限定ページ
    b = "19202122" + b;
   }

  b = b.substring(0,10) + "0216"; c = a;

  for (i = 1 ; i <= b.length / 2 ; i++){
     a = (i - 1) * 2; a = b.substring(a,a + 2); a = a * 1; a = a22osp1 * (a - 1);
    t001 = exA22osp1[a] * 1;
    t010 = exA22osp1[a+1];
    t100 = exA22osp1[a+2];
   document.write("<INPUT type='radio' style='cursor:hand' onClick='a22docopon03("+a22docosw+","+ t001 +")'>");
   document.write("<FONT class='text10pb' color='"+ t010 +"'>&nbsp;"+ t100 +"<BR></FONT>");
  }

 if ( hh > 6 ){
  document.write("<IMG src="+a22docodir+"_images/zukan04.gif' width='49' height='36' vspace='10' alt='www.aizawa22.comの、NTM『旅ランチ大図鑑』も見てちょ！営業時間は、7-15時頃＆20-24時頃よん。クリックしてね！' style='cursor:hand' onClick='a22docopon04(A22zukan04,"+a22docosw+")'>");
  document.write("<IMG src="+a22docodir+"_images/zukan01.gif' width='48' height='36' vspace='10' hspace='4' alt='www.aizawa22.comの、NTM『回転寿司大図鑑』も見てね！クリックしてね！' style='cursor:hand' onClick='a22docopon04(A22zukan01,"+a22docosw+")'>");
  document.write("<IMG src="+a22docodir+"_images/zukan02.gif' width='38' height='36' vspace='10' hspace='5' alt='www.aizawa22.comの、TML『猫顔様大図鑑』も見てね！クリックしてね！' style='cursor:hand' onClick='a22docopon04(A22zukan02,"+a22docosw+")'>");
  document.write("<IMG src="+a22docodir+"_images/zukan03.gif' width='50' height='36' vspace='10' hspace='1' alt='www.aizawa22.comの、NTM『沖縄そば大図鑑』も見てね！クリックしてね！' style='cursor:hand' onClick='a22docopon04(A22zukan03,"+a22docosw+")'>");
 } else {
//  document.write("<IMG src="+a22docodir+"_images/zukan01.gif' width='48' height='36' vspace='10' alt='www.aizawa22.comの、NTM『回転寿司大図鑑』も見てね！クリックしてね！' style='cursor:hand' onClick='a22docopon04(A22zukan01,"+a22docosw+")'>");
  document.write("<IMG src="+a22docodir+"_images/zukan_m01a.gif' width='49' height='36' vspace='10' hspace='0' alt='www.aizawa22.comの★深夜限定コーナー★『夜間飛行ノスタルジア』も見てね！クリックしてね！' style='cursor:hand' onClick='a22docopon04(A22night01,"+a22docosw+")'>");
  document.write("<IMG src="+a22docodir+"_images/zukan_m03a.gif' width='49' height='36' vspace='10' hspace='7' alt='www.aizawa22.comの★深夜限定コーナー★『YS-11メモリアル』も見てね！クリックしてね！' style='cursor:hand' onClick='a22docopon04(A22night03,"+a22docosw+")'>");
  document.write("<IMG src="+a22docodir+"_images/zukan_m04a.gif' width='49' height='36' vspace='10' hspace='0' alt='www.aizawa22.comの★深夜限定コーナー★『形式写真コレクション』も見てね！クリックしてね！' style='cursor:hand' onClick='a22docopon04(A22night04,"+a22docosw+")'>");
  document.write("<IMG src="+a22docodir+"_images/zukan_m02a.gif' width='49' height='36' vspace='10' hspace='3' alt='www.aizawa22.comの★深夜限定コーナー★『真夜中は鉄な顔』も見てね！クリックしてね！' style='cursor:hand' onClick='a22docopon04(A22night02,"+a22docosw+")'>");
//  document.write("<IMG src="+a22docodir+"_images/zukan02.gif' width='38' height='36' vspace='10' hspace='6' alt='www.aizawa22.comの、TML『猫顔様大図鑑』も見てね！クリックしてね！' style='cursor:hand' onClick='a22docopon04(A22zukan02,"+a22docosw+")'>");
 }

 document.write("</TD></TR></TBODY></TABLE>");

 document.write("<FONT class='text08p'><B>悪質な“ウイルス”メールにご注意ください！</B><BR>こちらでは、HTML形式のメールや、承諾なしの<BR>添付ファイル付きメール等は送信していません。<BR>怪しいメールは、開かずに削除してください。<BR></FONT>");
 document.write("</FORM>");

  document.write("<FONT class='text09pb' color='#990099'>♪&nbsp;相澤秀仁＆相澤京子&nbsp;著書ご案内&nbsp;♪<BR></FONT>");
  a22books_amazon01(8,a22docosw);
  a22books_amazon01(7,a22docosw);
  a22books_amazon01(6,a22docosw);
  a22books_amazon01(5,a22docosw);
  a22books_amazon01(4,a22docosw);

 document.write("<P></P></TD>");
 document.write("</TR>");
 document.write("<TR>");
 document.write("<TD></TD>");
 document.write("</TR></TBODY></TABLE>");

}

// --- sub (books & amazon) ---

function a22books_amazon01(book_no,a22docosw){

 a22book_sub = exA22ama1[book_no * exA22ama0];
 a22book_nam = exA22ama1[book_no * exA22ama0 + 1];
 a22book_img = exA22ama1[book_no * exA22ama0 + 2];
 a22book_ama = exA22ama1[book_no * exA22ama0 + 3];
 a22book_msg = exA22ama1[book_no * exA22ama0 + 4];

// sub page(www.aizawa22.com) open 

 document.write("<IMG src="+a22docodir+"_images/acat27m5.gif' width='76' height='88' border='0' vspace='5' alt='名古屋の猫です photo by H.AIZAWA / All rights reserved.'>");

  if ( a22book_sub == "" ){

   a22alt = a22book_nam;
   document.write("<IMG src="+a22docodir+a22book_img+" alt='"+ a22alt +"'>");

  } else {

   a22alt = "クリックすると詳細ページ（当サイト）が開きます。見てね！";

    if (book_no == 8){
      document.write("<IMG src="+ a22docodir + a22book_img + " alt='"+ a22alt +"' style='cursor:hand' onClick='a22docopon04(exA22ama1[40],"+a22docosw+")'>");
    } else if (book_no == 7){
      document.write("<IMG src="+ a22docodir + a22book_img + " alt='"+ a22alt +"' style='cursor:hand' onClick='a22docopon04(exA22ama1[35],"+a22docosw+")'>");
    } else if (book_no == 6){
      document.write("<IMG src="+ a22docodir + a22book_img + " alt='"+ a22alt +"' style='cursor:hand' onClick='a22docopon04(exA22ama1[30],"+a22docosw+")'>");
    } else if (book_no == 5){
      document.write("<IMG src="+ a22docodir + a22book_img + " alt='"+ a22alt +"' style='cursor:hand' onClick='a22docopon04(exA22ama1[25],"+a22docosw+")'>");
    } else {
      document.write("<IMG src="+ a22docodir + a22book_img + " alt='"+ a22alt +"' style='cursor:hand' onClick='a22docopon04(exA22ama1[20],"+a22docosw+")'>");
    }

  }

 document.write("<IMG src="+a22docodir+"_images/acat27m6a.gif' width='76' height='88' border='0' vspace='5' alt='名古屋の猫です photo by H.AIZAWA / All rights reserved.'>");

// link to amazon.co.jp

 if ( a22book_ama == "" ){
  document.write(a22book_msg+"<BR></FONT>");
 } else {
  document.write(a22book_msg+"<A href='http://www.amazon.co.jp/"+a22book_ama+"' target='_blank' title='"+ exA22amaM +"'><IMG src="+a22docodir+"pf/books/images/goto_amazon01.gif' width='63' height='10' border='0'></A><BR></FONT>");
 }

}

// --- sub (link to amazon.co.jp) ---

function a22link_to_amazon01(book_no,a22docosw){

  if (a22docosw == 0){
   a22docodir  = "'";
  } else if (a22docosw == 1){
   a22docodir  = "'../";
  } else {
   a22docodir  = "'../../";
  }

 document.write("<A href='http://www.amazon.co.jp/"+ exA22ama1[book_no * exA22ama0 + 3] +"' target='_blank' title='"+ exA22amaM +"'><IMG src="+ a22docodir +"pf/books/images/goto_amazon01.gif' width='63' height='10' border='0'></A>");

}

// --- sub (a22nnn) ---

function a22nnn(){
  a = "000" + nnn; b = a.length; nnn = a.substring(b - 3 , b);
}

//====================
// doco demo 02 select
//====================

function a22docopon02(){
 doco_ind = document.doco_form.doco_sel.selectedIndex;
 doco_url = document.doco_form.doco_sel.options[doco_ind].value;

  if (doco_url != "void"){
    if (doco_url.indexOf(".html",0) != -1){
      parent.location = doco_url;
    } else if (doco_url.indexOf(".htm",0) != -1){
      self.location = doco_url;
    } else {
      x = screen.width;
        if (x < 641){
          dx = 0;
          dy = 0;
        } else {
          dx = (x - 580) / 2; 
          dy = 70;
        }
      optionString = "toolbar=0,location=0,status=0,menubar=0,scrollbars=1,resizable=0,";
      optionString += "width=570,height=460,left=" + dx + ",top=" + dy ;
      var win0 = window.open(a22docodir2+doco_url+".htm",doco_url,optionString);
    }
  }
}

//====================
// doco demo 03 radio
//====================

function a22docopon03(a22a,a22b){

 var ex222 = new Array();

 ex222[0]  = "";               ex222[1]  = Num_ntmKyoko;  ex222[2]  = Num_CWP51;     ex222[3]  = 30;               ex222[4]  = Num_tmlMike;   ex222[5]  = Num_tmlPoem;
 ex222[6]  = Num_tmlJp47;      ex222[7]  = Num_tmlNemu;   ex222[8]  = Num_tmlHana;   ex222[9]  = Num_peChin;       ex222[10] = Num_peMeis;    ex222[11] = Num_ntmGohan;
 ex222[12] = Num_peJpns;       ex222[13] = Num_tmlTown;   ex222[14] = 1;             ex222[15] = exA22osM0.length; ex222[16] = Num_tmlNgsu;   ex222[17] = 1;
 ex222[18] = 1;                ex222[19] = 1;             ex222[20] = 1;             ex222[21] = 1;

 a22_docodir2(a22a);

 test01 = a22rnd % ex222[a22b]; test01++;
   t001 = test01 % 10;
   t010 = test01 % 100; t010 = t010 / 10; t010 = parseInt(t010);
   t100 = test01 / 100; t100 = parseInt(t100);

 if (a22b == 15){

   a222a = a22a; a222b = a22b;
    doco_url = a22docodir2 + exA22osp1[(a22b - 1) * a22osp1 + 3];
    a22a = doco_url;
    a22b = "omiyA" + exA22osM0[test01 - 1];
    a22_opensubwin(a22a,a22b);
   a22a = a222a; a22b = a222b;

 } else if ((a22b == 14) || (a22b == 16) || (a22b == 17) || (a22b == 18) || (a22b == 21)) {

   a222a = a22a; a222b = a22b;
    doco_url = a22docodir2 + exA22osp1[(a22b - 1) * a22osp1 + 3];
      a22sst = exA22osp1[(a22b - 1) * a22osp1 + 4];
     x = screen.width;
     if (x < 641){
      dx = 0;             dy = 0;
     } else {
      dx = (x - 620) / 2; dy = 50;
     }
     optionString = "toolbar=0,location=0,status=0,menubar=0,scrollbars=1,resizable=0,";
     optionString += "width=600,height=470,left=" + dx + ",top=" + dy ;
     var win0 = window.open(doco_url,a22sst,optionString);
   a22a = a222a; a22b = a222b;

 } else if ((a22b == 19) || (a22b == 20) || (a22b == 22)){

   a222a = a22a; a222b = a22b;
    doco_url = a22docodir2 + exA22osp1[(a22b - 1) * a22osp1 + 3];
      a22sst = exA22osp1[(a22b - 1) * a22osp1 + 4];
     optionString = "toolbar=0,location=0,status=0,menubar=0,scrollbars=1,resizable=0,";
     x = screen.width;
     y = screen.height;
     if (x < 800){
      dx = 0;                  dy = 0;
      optionString += "width=600,height=470,left=" + dx + ",top=" + dy ;
     } else {
      dx = (x - 720) / 2 - 20; dy = 75;
      optionString += "width=700,height=470,left=" + dx + ",top=" + dy ;
     }
     var win0 = window.open(doco_url,a22sst,optionString);
   a22a = a222a; a22b = a222b;

 } else if (a22b == 13){

  doco_url = a22docodir2 + exA22osp1[(a22b - 1) * a22osp1 + 3] + exA22osT0[test01 - 1] + ".htm";
   self.location = doco_url;

 } else {

  doco_url = a22docodir2 + exA22osp1[(a22b - 1) * a22osp1 + 3] + t100 + t010 + t001 + ".htm";
   self.location = doco_url;

 }

}

// --- sub (a22a) ---

function a22_docodir2(a22a){
  if (a22a == 0){
   a22docodir2 = "";
  } else if (a22a == 1){
   a22docodir2 = "../";
  } else {
   a22docodir2 = "../../";
  }
}

//====================
// doco demo 04 topics
//====================

function a22docopon04(A22topics,a22a){

 a22_docodir2(a22a);

 if (A22topics.indexOf(".htm",0) != -1){
  self.location = a22docodir2 + A22topics;
 } else {
  x = screen.width;
  if (x < 641){
   dx = 0;
   dy = 0;
  } else {
   dx = (x - 580) / 2; 
   dy = 50;
  }
   optionString = "toolbar=0,location=0,status=0,menubar=0,scrollbars=1,resizable=0,";
   optionString += "width=570,height=460,left=" + dx + ",top=" + dy ;
   var win0 = window.open(a22docodir2+A22topics+".htm",A22topics,optionString);
 }
}

//====================
// cwp random link
//====================

function cwp_goRand999(){
 a22a = document.title.substring(0,2);
  if (a22a == "01"){
   a22cwp_ttl = Num_CWP01; a22cwp_url = "pq/cwp01/cwp01_";
  } else if (a22a == "02"){
   a22cwp_ttl = Num_CWP02; a22cwp_url = "pq/cwp02/cwp02_";
  } else {
   a22cwp_ttl = Num_CWP51; a22cwp_url = "pq/cwp51/cwp51_";
  }
 i = Math.floor(Math.random() * a22cwp_ttl); i++; i = "000" + i;
 a22b = i.length; a22b = i.substring(a22b - 3 , a22b);
 location.replace(a22cwp_url + a22b + ".htm");
}

//====================
// text scroll box
//====================

function a22msgForm_exe(a22a){
 a22b = 44;
 a22_docodir2(a22a); a22msgForm_sub1();
}

function a22msgForm_exe2(a22a,a22c){
 a22b = a22c;
 a22_docodir2(a22a); a22msgForm_sub1();
}

function a22msgScroll(){
 document.a22msgForm.a22msgBox.value = A22msgText;
 A22msgText = A22msgText.substring(1,A22msgText.length) + A22msgText.substring(0,1);
}

function a22msgForm_sub1(){
 document.write("<FORM name='a22msgForm'><IMG src='"+ a22docodir2 +"_images/acat39a.gif' width='15' height='14' border='0'>&nbsp;<INPUT type='text' name='a22msgBox' size='"+ a22b +"' readonly>&nbsp;<IMG src='"+ a22docodir2 +"_images/acat39b.gif' width='15' height='14' border='0'></FORM>");
 setInterval("a22msgScroll()",240);
}

//====================
// yyy kotei hyoji
//====================

function doco_y_kotei(a22owari){
 a22owari = a22owari + 200;
 var yyy = document.body.scrollTop;

 if (yyy > a22owari){
  yyy = a22owari;
  }
 document.all.nekojump.style.top = yyy;
// document.all.nekojump.style.top = document.body.scrollTop;
}

//====================
// mouse okkake neko
//====================

 function nekosanpoImg()
  {
   if (document.all)
    {
     nekosanpo.style.pixelLeft=document.body.scrollLeft+event.x-5;
     nekosanpo.style.pixelTop=document.body.scrollTop+event.y+5;
    }
  }

 a = document.URL;
 if ( a.indexOf("mokuji") == -1 ){
  document.onmousemove=nekosanpoImg;
 }

//====================
// migi click cancel
//====================

 function r_ponko_Click()
  {
   if (event.button==2)
    {
     alepon();
    }
  }
 document.onmousedown=r_ponko_Click;

// - file.end -
