// Oneday

dmyYear = new Array();
dmyName = new Array();
dmyFile = new Array();

dmyYear[0] = "2000年入社";
dmyName[0] = "吉田 大介";
dmyFile[0] = "01"

dmyYear[1] = "2006年入社";
dmyName[1] = "関橋 潤一郎";
dmyFile[1] = "02"

dmyYear[2] = "2006年入社";
dmyName[2] = "滝田 淳子";
dmyFile[2] = "03"

dmyYear[3] = "2007年入社";
dmyName[3] = "北村 知巳";
dmyFile[3] = "05"

dmyYear[4] = "2007年入社";
dmyName[4] = "板垣 啓太";
dmyFile[4] = "06"

m = null;

document.write("<ul class='clearfix'><!--");
for(i=0; i<2; i++) {
	n = Math.floor(Math.random() * dmyYear.length);
	
	do {
			n = Math.floor(Math.random() * dmyYear.length);
	} while (m==n);
	
	onedayNumber = dmyFile[n];
	
	document.write("--><li>");
	document.write("<a href='/tongari/oneday/staff_" + onedayNumber +".html'>");
	document.write(dmyYear[n] + "<br />");
	document.write(dmyName[n] + "<br />");
	document.write("<img src='/common/img/icons/icon_01.gif' alt='' width='11' height='11' class='icon' /><span>くわしく見る</span>");
	document.write("<img src='/img/photo_" + onedayNumber + ".jpg' alt='' width='64' height='64' class='photo' /></a>");
	document.write("</li><!--");

	//1件目の値を確保
	m = n;

}
document.write("--></ul>");

