/*
	アクセシブルバー
*/
aDoc = new Array(7);
	aDoc[0] = "HOME";
	aDoc[1] = "BACK";
	aDoc[2] = "NEXT";
	aDoc[3] = "TOP";
	aDoc[4] = "▲";
	aDoc[5] = "▼";
	aDoc[6] = "END";
aLink = new Array(7);
var sT, n;

function AccessBar(sTitle, aHomeP, aPrevP, aNextP, aTop, aPrev, aNext, aEnd) {
	aLink[0] = aHomeP;
	aLink[1] = aPrevP;
	aLink[2] = aNextP;
	aLink[3] = aTop;
	aLink[4] = aPrev;
	aLink[5] = aNext;
	aLink[6] = aEnd;
	// WSAラベルの有効性
	if (sTitle.charAt(0) != "x") { sT = sTitle } else { sT = "" }
	if (sTitle == "xx" || sTitle == "x0") { document.write("<TABLE><TR><TD align='center'>") }
	// コード生成
	document.write("<TABLE><TR><TD class='bFnc' align='center'>");
	if (sT != "") { sT = "■" + sT }
	document.write("<TABLE><TR><TD class='bFnc' width='352' align='left'>" + sT + "</TD><TD class='bFnc' width='340' align='right'>");
	for (n = 0; n <= 6; n++) {
		switch (aLink[n]) {
			case "" :
				document.write("　<SPAN id='bFnln'>" + aDoc[n] + "</SPAN>");
				break;
			default :
				document.write("　<A class='bFnl' href='");
				if (n >= 3) { document.write("#") }
				document.write(aLink[n]);
				if (n == 0) { document.write("index.html") }
				document.write("'>" + aDoc[n] + "</A>");
		}
		if (n == 0) { document.write("　<A class='bFnl' href='#' onClick='history.back()'>LAST</A>　") }
		if (n == 2) { document.write("　 ") }
	}
	document.write("</TD></TR></TABLE>");
	document.write("</TD></TR></TABLE>");
	// WSAラベル生成
	if (sTitle == "xx") {
		document.write("</TD></TR><TR><TD align='center' style='color: #999999'><BR>― Paddock Scope WebSource Automation 2.0 ―");
		if (sTitle.charAt(0) == "x") { document.write("</TD></TR></TABLE>") }
	}
}
