//**************************************************
// エコマスターをランダムで2件表示する
//
// 07/06/07 作成
//**************************************************

account = new Array();	//アカウント名
hname   = new Array();	//名前
image   = new Array();	//画像ファイル名
text    = new Array();	//説明テキスト
title   = new Array();	//ブログタイトル


// エコマスター定義
//--------------------------------------------------

account[0] = "kumehota";
hname[0]   = "satou-n";
image[0]   = "master_kumehotaru92.jpg";
text[0]    = "久米島でホタルを守りながら、美しい風景や人々の営みと自然との係わり、環境問題についてブログで発信します。";
title[0]   = "ホタルの国からスケッチ";

account[1] = "yasui-r";
hname[1]   = "安井レイコ （やすいれいこ）";
image[1]   = "master_yasui92.jpg";
text[1]    = "各地での料理講習会や食育のイベント、トークショー、テレビ、広告、メルマガなどで活躍中。";
title[1]   = "安井レイコの“エコかっこいい暮らし”";

account[2] = "setuyaku";
hname[2]   = "miyu";
image[2]   = "master_setuyaku92.gif";
text[2]    = "幼少のころより節約をしている主婦です。エコのことをみなさんとまじめに考えていきます。";
title[2]   = "節約的エコ生活";

account[3] = "okataduk";
hname[3]   = "山上 恵美 （やまがみ えみ）";
image[3]   = "master_okataduk92.jpg";
text[3]    = "気持ちの良い毎日を過ごせる楽しいお片づけの方法や経験などをブログを通してたくさんの方たちと話し合いたい。";
title[3]   = "お片づけを楽しもう";

account[5] = "kugenuma";
hname[5]   = "前田 忠厚 （まえだただあつ）";
image[5]   = "master_kugenuma92.jpg";
text[5]    = "建築家の目で見た、まち並み、環境の変化など、思いつく儘に。";
title[5]   = "湘南断章";

account[7] = "pochi";
hname[7]   = "pochi";
image[7]   = "master_pochi92.jpg";
text[7]    = "北海道在住の自称愛犬家";
title[7]   = "リサイクルショップ店長のつぶやき";

account[9] = "ishihara_kanako";
hname[9]   = "石原可奈子（いしはらかなこ）";
image[9]   = "master_ishihara_kanako92.jpg";
text[9]    = "自然と人とを繋ぐピアノの演奏活動を行う「ピュアニスト」";
title[9]   = "カナコのエコナコト";

account[10] = "tagayase";
hname[10]   = "耕せにっぽん実行委員会";
image[10]   = "master_tagayase92.gif";
text[10]    = "実行委員会のスタッフみんなで記事を書いていきます！";
title[10]   = "耕せにっぽん実行委員会 スタッフ日記";

account[11] = "kokoro";
hname[11]   = "「OMOIYARIの心」実践委員会";
image[11]   = "master_kokoro92.gif";
text[11]    = "OMOIYARIの心を持って行動することの大切さを伝えていきます。";
title[11]   = "私からあの人へ「OMOIYARI」の心を広げよう";

account[12] = "ecoist";
hname[12]   = "イシダ カオリ";
image[12]   = "master_ecoist92.jpg";
text[12]    = "私が手掛けているエコナコトから日常のエゴナコトまでブログで発信しちゃいます！";
title[12]   = "エゴイストなエコイスト";

account[13] = "yes-project";
hname[13]   = "YES project";
image[13]   = "master_yes-project92.jpg";
text[13]    = "日常に、エコを。YES projectスタッフによる、projectの記録です。";
title[13]   = "YES project ～日常に、エコを。～";

account[14] = "ecogroov";
hname[14]   = "丸原 孝紀";
image[14]   = "master_ecogroov92.jpg";
text[14]    = "COOL！でFRESH！なエコ情報を毎日UPしていきます。";
title[14]   = "ecogroove";

account[15] = "env-r";
hname[15]   = "NPO法人環境リレーションズ研究所";
image[15]   = "master_env-r92.jpg";
text[15]    = "生活に身近なテーマから、地球温暖化といった大きなテーマまで、環境のことについてわかりやすくお伝えしたいと思います。";
title[15]   = "なんでも話そう！環境のこと";

account[16] = "nokotabe";
hname[16]   = "平島 美紀江";
image[16]   = "master_nokotabe92.gif";
text[16]    = "「地域で子育てをもっと楽しく」をモットーに活動しております。食を通じて環境のことも楽しく意識できたらいいなと思っています。";
title[16]   = "のこたべ";

account[17] = "hanna";
hname[17]   = "hanna";
image[17]   = "master_hanna92.gif";
text[17]    = "札幌の市民グループ「hanna」のブログです。美しい地球を子どもたちに！";
title[17]   = "hanna-web";

account[4] = "sugai-takako";
hname[4]   = "菅井 貴子";
image[4]   = "master_sugai-takako92.jpg";
text[4]    = "天気は、地球の言葉、異常気象は地球の悲鳴。空からのメッセージを聞きましょう。";
title[4]   = "菅井貴子の“空の気持ち”";

account[18] = "shibetsu";
hname[18]   = "標津町";
image[18]   = "master_shibetsu92.jpg";
text[18]    = "世界的な自然と景観に囲まれた町・標津町からエーコトをMAKOTOの話題でお届けします。";
title[18]   = "小さくてもキラリと光るまち・標津";

account[8] = "greenhands-omiya";
hname[8]   = "大宮あゆみ";
image[8]   = "master_omiya92.jpg";
text[8]    = "食いしん坊の野菜ソムリエが綴る食とオーガニック、時々犬…の日記です";
title[8]   = "大宮あゆみのORGANIC LIFEのススメ";

account[6] = "kazetomorino";
hname[6]   = "たびびと";
image[6]   = "master_kazetomorino92.jpg";
text[6]    = "昔の不便な生活を楽しみながら、自給自足を実践するライフスタイルをめざしています。";
title[6]   = "風と森の里山暮らし";

// 表示関数  printMaster
//--------------------------------------------------

function printMaster() {

 n = Math.floor(Math.random() * account.length);

 document.write("<div class='master'>");
 document.write("<a href='/" + account[n] + "/'><img src='/images/portal/master/" + image[n] + "' class='master'></a>");
 document.write("<h3>" + hname[n] + "</h3>");
 document.write("<p>" + text[n] + "</p>");
 document.write("<p class='index'><a href='/" + account[n] + "/'>[ " + title[n] + " ]</a></p>");
 document.write("</div>");

 do {
  m = Math.floor(Math.random() * account.length);
 } while ( n == m );

 document.write("<div class='master'>");
 document.write("<a href='/" + account[m] + "/'><img src='/images/portal/master/" + image[m] + "' class='master'></a>");
 document.write("<h3>" + hname[m] + "</h3>");
 document.write("<p>" + text[m] + "</p>");
 document.write("<p class='index'><a href='/" + account[m] + "/'>[ " + title[m] + " ]</a></p>");
 document.write("</div>");

}


// 表示関数（トップページ用）  printMaster_top
//--------------------------------------------------

function printMaster_top() {

 n = Math.floor(Math.random() * account.length);

 document.write("<div class='master'>\n");
 document.write("<a href='/" + account[n] + "/'><img src='/images/portal/master/" + image[n] + "' class='master'></a>\n");
 document.write("<h3>" + hname[n] + "</h3>\n");
 document.write("<p>" + text[n] + "</p>\n");
 document.write("<div id='index'>\n");
 document.write("<a href='/" + account[n] + "/'>[ " + title[n] + " ]</a>\n");
 document.write("</div>\n");
 document.write("</div>\n\n");

 do {
  m = Math.floor(Math.random() * account.length);
 } while ( n == m );

 document.write("<div class='master'>\n");
 document.write("<a href='/" + account[m] + "/'><img src='/images/portal/master/" + image[m] + "' class='master'></a>\n");
 document.write("<h3>" + hname[m] + "</h3>\n");
 document.write("<p>" + text[m] + "</p>\n");
 document.write("<div id='index'>\n");
 document.write("<a href='/" + account[m] + "/'>[ " + title[m] + " ]</a>\n");
 document.write("</div>\n");
 document.write("</div>\n\n");

}

