var n=0;
var M_max=16;

var imgDB = new Array(
"img/01.jpg",
"img/02.jpg",
"img/03.jpg",
"img/04.jpg",
"img/05.jpg",
"img/06.jpg",
"img/07.jpg",
"img/08.jpg",
"img/09.jpg",
"img/10.jpg",
"img/11.jpg",
"img/12.jpg",
"img/13.jpg",
"img/14.jpg",
"img/15.jpg",
"img/16.jpg");



var textDB = new Array(
"<table border='0' cellspacing='0' cellpadding='5' width='180'><tr><td valign='top' height='40' align='center'><img src='../../img/step01.jpg' ></td></tr><tr><td></td></tr><tr><td valign='top' class='honbun-s-black3'><font color='#CCCCCC'>カルティエは創業１５０年の老舗宝飾ブランドですが、時計の歴史も古く数々の人気モデルがあります。<br>パシャシリーズはモロッコのパシャ（太守）に防水性の高い時計を依頼されて作製したのが始まりです。丸みを帯びたケース形状とリューズガードが特徴的です。<br>このパシャＣは、直径約35mmとやや小ぶりなサイズとして男女兼用で使える人気モデルです。</font></td></tr><tr><td  align='center'><img src='../../img/staff-photo-7.jpg' ><br><font color='#CCCCCC'>担当技術者</font></td></tr></table>",
"<table border='0' cellspacing='0' cellpadding='5' width='180'><tr><td valign='top' height='40' align='center'><img src='../../img/step02.jpg' ></td></tr><tr><td valign='top' height='20' class='honbun'><font color='#CCCCCC'>■ケース裏側             </font></td></tr><tr><td valign='top' class='honbun-s-black3'><font color='#CCCCCC'>裏蓋を開けた状態です。ベースの機械はＥＴＡの２８９２ですが、カルティエ仕様になっています。</font></td></tr><tr><td></td></tr></table>",
"<table border='0' cellspacing='0' cellpadding='5' width='180'><tr><td valign='top' height='40' align='center'><img src='../../img/step03.jpg' ></td></tr><tr><td valign='top' height='20' class='honbun'><font color='#CCCCCC'>■機械取り出し           </font></td></tr><tr><td valign='top' class='honbun-s-black3'><font color='#CCCCCC'>ケースから機械を取り出した状態です。</font></td></tr><tr><td></td></tr></table>",
"<table border='0' cellspacing='0' cellpadding='5' width='180'><tr><td valign='top' height='40' align='center'><img src='../../img/step04.jpg' ></td></tr><tr><td valign='top' height='20' class='honbun'><font color='#CCCCCC'>■文字盤                 </font></td></tr><tr><td valign='top' class='honbun-s-black3'><font color='#CCCCCC'>機械から文字盤と針を外した状態です。</font></td></tr><tr><td></td></tr></table>",
"<table border='0' cellspacing='0' cellpadding='5' width='180'><tr><td valign='top' height='40' align='center'><img src='../../img/step05.jpg' ></td></tr><tr><td valign='top' height='20' class='honbun'><font color='#CCCCCC'>■全パーツ               </font></td></tr><tr><td valign='top' class='honbun-s-black3'><font color='#CCCCCC'>機械を全て分解した状態です。シンプルな機構の時計ですが、多くのパーツから構成されています。</font></td></tr><tr><td></td></tr></table>",
"<table border='0' cellspacing='0' cellpadding='5' width='180'><tr><td valign='top' height='40' align='center'><img src='../../img/step06.jpg' ></td></tr><tr><td valign='top' height='20' class='honbun'><font color='#CCCCCC'>■香箱                   </font></td></tr><tr><td valign='top' class='honbun-s-black3'><font color='#CCCCCC'>最初に香箱という部分から組み立てていきます。機械式時計の動力源です。箱状の車の中にゼンマイが渦巻状に収められています。</font></td></tr><tr><td></td></tr></table>",
"<table border='0' cellspacing='0' cellpadding='5' width='180'><tr><td valign='top' height='40' align='center'><img src='../../img/step07.jpg' ></td></tr><tr><td valign='top' height='20' class='honbun'><font color='#CCCCCC'>■輪列組立て１           </font></td></tr><tr><td valign='top' class='honbun-s-black3'><font color='#CCCCCC'>香箱、２番車の順に組み込んでいきます。</font></td></tr><tr><td></td></tr></table>",
"<table border='0' cellspacing='0' cellpadding='5' width='180'><tr><td valign='top' height='40' align='center'><img src='../../img/step08.jpg' ></td></tr><tr><td valign='top' height='20' class='honbun'><font color='#CCCCCC'>■香箱受け組立て         </font></td></tr><tr><td valign='top' class='honbun-s-black3'><font color='#CCCCCC'>香箱受けの裏側です。自動巻きのローターの回転や、リューズによる巻き上げを香箱に伝えてゼンマイを巻き上げます。</font></td></tr><tr><td></td></tr></table>",
"<table border='0' cellspacing='0' cellpadding='5' width='180'><tr><td valign='top' height='40' align='center'><img src='../../img/step09.jpg' ></td></tr><tr><td valign='top' height='20' class='honbun'><font color='#CCCCCC'>■輪列組立て２           </font></td></tr><tr><td valign='top' class='honbun-s-black3'><font color='#CCCCCC'>香箱受けを載せた状態です。香箱受けは１番受けとも言います。</font></td></tr><tr><td></td></tr></table>",
"<table border='0' cellspacing='0' cellpadding='5' width='180'><tr><td valign='top' height='40' align='center'><img src='../../img/step10.jpg' ></td></tr><tr><td valign='top' height='20' class='honbun'><font color='#CCCCCC'>■輪列組立て３           </font></td></tr><tr><td valign='top' class='honbun-s-black3'><font color='#CCCCCC'>次に輪列（３番車、４番車、ガンギ車）を組み込みます。</font></td></tr><tr><td></td></tr></table>",
"<table border='0' cellspacing='0' cellpadding='5' width='180'><tr><td valign='top' height='40' align='center'><img src='../../img/step11.jpg' ></td></tr><tr><td valign='top' height='20' class='honbun'><font color='#CCCCCC'>■輪列組立て４           </font></td></tr><tr><td valign='top' class='honbun-s-black3'><font color='#CCCCCC'>輪列受けを載せた状態です。ここでざら回しという歯車同士の関係や動きを確認する作業を行います。</font></td></tr><tr><td></td></tr></table>",
"<table border='0' cellspacing='0' cellpadding='5' width='180'><tr><td valign='top' height='40' align='center'><img src='../../img/step12.jpg' ></td></tr><tr><td valign='top' height='20' class='honbun'><font color='#CCCCCC'>■アンクル組み立て       </font></td></tr><tr><td valign='top' class='honbun-s-black3'><font color='#CCCCCC'>アンクルという脱進機部分のパーツを組み込んだ状態です。機械式時計を象徴する部分です。テンプに力を伝えるとともにテンプの規則正しい振動で歯車の動きを制御し、時を刻みます。注油には大変注意が必要です。</font></td></tr><tr><td></td></tr></table>",
"<table border='0' cellspacing='0' cellpadding='5' width='180'><tr><td valign='top' height='40' align='center'><img src='../../img/step13.jpg' ></td></tr><tr><td valign='top' height='20' class='honbun'><font color='#CCCCCC'>■テンプ組み立て         </font></td></tr><tr><td valign='top' class='honbun-s-black3'><font color='#CCCCCC'>テンプを取り付けた状態です。振り子時計で言う振り子の部分で、機械式時計の心臓部になります。テンワ、天芯、振り座、振り石、ヒゲゼンマイなど多くのパーツから構成されています。とても繊細なため、取り扱いには神経を使います。</font></td></tr><tr><td></td></tr></table>",
"<table border='0' cellspacing='0' cellpadding='5' width='180'><tr><td valign='top' height='40' align='center'><img src='../../img/step14.jpg' ></td></tr><tr><td valign='top' height='20' class='honbun'><font color='#CCCCCC'>■自動巻き機構           </font></td></tr><tr><td valign='top' class='honbun-s-black3'><font color='#CCCCCC'>自動巻きローターの機構を組み立てます。この機械は機構ごとに分けることが出来るので、メンテナンス性に優れています。</font></td></tr><tr><td></td></tr></table>",
"<table border='0' cellspacing='0' cellpadding='5' width='180'><tr><td valign='top' height='40' align='center'><img src='../../img/step15.jpg' ></td></tr><tr><td valign='top' height='20' class='honbun'><font color='#CCCCCC'>■組み立て完了           </font></td></tr><tr><td valign='top' class='honbun-s-black3'><font color='#CCCCCC'>完成も近くなりました。裏輪列部分（分針から時針につながる減速輪列やカレンダー輪列などを組み込み、ムーブの完成となります。</font></td></tr><tr><td></td></tr></table>",
"<table border='0' cellspacing='0' cellpadding='5' width='180'><tr><td valign='top' height='40' align='center'><img src='../../img/step16.jpg' ></td></tr><tr><td valign='top' height='20' class='honbun'><font color='#CCCCCC'>■針付け                 </font></td></tr><tr><td valign='top' class='honbun-s-black3'><font color='#CCCCCC'>最後に針を取り付けます。文字盤に対して平行に３本の針の間隔は均等になるようにしなければなりません。</font></td></tr><tr><td></td></tr></table>");


