/*----------------------------------------------------------
  Leftnavi for interview category
----------------------------------------------------------*/

/*----------------------------------------------------------
  Set Leftnavi name
----------------------------------------------------------*/
var lnaviName = new Array(
	'DIGIC 4',
	'The Challenge of Automation',
	'Digital Press for Commercial Printing',
	'Kyuanos',
	'HD CMOS',
	'L-COA',
	'AISYS',
	'ChromaLife100',
	'Mirror Projection Aligners',
	'Color imageRUNNER (iR)',
	'Scanning Steppers',
	'Super-Telephoto Lens for EOS',
	'X-Ray Digital Cameras'
);

/*----------------------------------------------------------
  Set Leftnavi link
----------------------------------------------------------*/
var lnaviLink = new Array(
	'../digic4/index.html',
	'../auto/index.html',
	'../ipr/index.html',
	'../kyuanos/index.html',
	'../hv10/index.html',
	'../l-coa/index.html',
	'../aisys/index.html',
	'../chroma/index.html',
	'../fpd/index.html',
	'../irc/index.html',
	'../stppr/index.html',
	'../lens/index.html',
	'../xray/index.html'
);


/*----------------------------------------------------------
  Set Loop Max
----------------------------------------------------------*/
var loopMax = lnaviName.length;

/*----------------------------------------------------------
  Set Function
----------------------------------------------------------*/

/*----------------------------------------------------------
  Function : LeftNavi Output
----------------------------------------------------------*/
function Lnavi(setName) {
	var htmlSource = '';

	htmlSource = setHtml(setName);

	document.write(htmlSource);
}


/*----------------------------------------------------------
  Function : setHtml
----------------------------------------------------------*/
function setHtml(setName) {
	var htmlSource = '';

	for (var i = 0; i < loopMax; i++) {

	htmlSource += '<ul class="lv01">';

		if (lnaviName[i] != setName) {
			htmlSource += '<li class="off childnone"><a href="';
			htmlSource += lnaviLink[i];
			htmlSource += '"><span class="linktxt_b">';
			htmlSource += lnaviName[i];
			htmlSource += '</span></a></li>';
		}else {
			htmlSource += '<li class="stay childin"><a href="';
			htmlSource += lnaviLink[i];
			htmlSource += '"><span class="linktxt_b">';
			htmlSource += lnaviName[i];
			htmlSource += '</span></a></li>';
		}
		htmlSource += '</ul>';
	}

	return htmlSource;
}


