// JavaScript Document

//絶対パス（アップロード時に変更すること）
strPath="http://create.fine-system.co.jp/";

// ランダムに画像を表示する
jmp = new Array();
img = new Array();
txt = new Array();
nm= new Array();
// ジャンプ先のアドレス(数字は画像と対応)
jmp[0] = strPath+"staff/yamauchi.html";
jmp[1] = strPath+"staff/touchi.html";
jmp[2] = strPath+"staff/hara.html";
jmp[3] = strPath+"staff/moriguchi.html";
jmp[4] = strPath+"staff/ettore.html";
jmp[5] = strPath+"staff/katsuumi.html";

// 画像のアドレス(数字はジャンプ先のアドレスと対応)
img[0] = strPath+"images/yamauchi.jpg";
img[1] = strPath+"images/touchi.jpg";
img[2] = strPath+"images/hara.jpg";
img[3] = strPath+"images/moriguchi.jpg";
img[4] = strPath+"images/ettore.jpg";
img[5] = strPath+"images/katsuumi.jpg";

//紹介文
txt[0] = "山内&nbsp;祐司";
txt[1] = "戸内&nbsp;崇博";
txt[2] = "原&nbsp;康夫";
txt[3] = "森口&nbsp;功一";
txt[4] = "エットレ&nbsp;ドナデオ";
txt[5] = "勝海&nbsp;司吏";

//名前
nm[0]="山内&nbsp;祐司";
nm[1]="戸内&nbsp;崇博";
nm[2]="原&nbsp;康夫";
nm[3]="森口&nbsp;功一";
nm[4]="エットレ&nbsp;ドナデオ";
nm[5]="勝海&nbsp;司吏";

n = Math.floor(Math.random()*jmp.length);
n1=n;

while(n==n1){
n1=Math.floor(Math.random()*jmp.length);
}

document.write("<div class=\"side_ourstaff_detail\">");
document.write("<a href=\""+jmp[n]+"\"><img src=\""+img[n]+"\" alt=\""+nm[n]+"\" /></a>");
document.write("<p><a href=\""+jmp[n]+"\">"+txt[n]+"</a></p>");
document.write("<div class=\"return\">&nbsp;</div></div>");

document.write("<div class=\"side_ourstaff_detail\">");
document.write("<a href=\""+jmp[n1]+"\"><img src=\""+img[n1]+"\" alt=\""+nm[n1]+"\" /></a>");
document.write("<p><a href=\""+jmp[n1]+"\">"+txt[n1]+"</a></p>");
document.write("<div class=\"return\">&nbsp;</div></div>");

