// Bay Tact Corporation. Copy this and we will belittle you behind your back.

// This is the index for the Back Next buttons. 
// List all pages in order. Don't forget to add the hidden numbers on the pages. Cover starts at zero.

var aryPages = new Array(
"cover.html", "inscover.html", 
"page1.html", "page2.html", "page3.html", "page4.html", "page5.html", "page6.html", 
"page7.html", "page8.html", "page9.html", "page10.html",  
"page11.html", "page12.html", "page13.html", "page14.html", "page15.html", "page16.html", "page17.html", "page18.html", "page19.html", "page20.html", 
"page21.html", "page22.html", "page23.html", "page24.html", "page25.html", "page26.html", "page27.html", "page28.html", "page29.html", "page30.html", 
"page31.html", "page32.html", "page33.html", "page34.html", "page35.html", "page36.html", "page37.html", "page38.html", "page39.html", "page40.html", 
"page41.html", "page42.html", "page43.html", "pagef1.html", "pagef2.html", "pagef3.html", "pagef4.html", "pagef5.html", "pagef6.html", "pagef7.html",
"pagef8.html", "pagef9.html", "pagef10.html", "pagef11.html", "pagef12.html", "pagef13.html", "pagef14.html", "pagef15.html", "pagef16.html", "pagef18.html",
"pagef18.html", "pagef19.html", "pagef20.html", "pagef21.html", "pagef22.html", 
"pagef23.html", "pagef24.html", "pagef25.html", "pagef26.html", "pagef27.html", "pagef28.html", "pagef29.html", "pagef30.html", "pagef31.html", "insback.html", "backcover.html"
);


// This is the drop down menu index.
var aryIndex = new Array(
	"Navigation: Select topic||index.html",
	"Cover||cover.html",
	"Letter to Shareholders||inscover.html",
	"Board of Directors||insback.html",
	"Shareholder Information||insback.html",
	"Selected Financial Data||page22.html",
	"FORM 10-K||page1.html",
	"...PART I||page3.html",
	"...PART II||page21.html",
	"...PART III||page36.html",
	"...PART IV||page38.html",
	"...SIGNATURES||page41.html",
	"FINANCIAL STATEMENTS||pagef1.html",
	"...Independent Auditors' Report||pagef2.html",
	"...Consolidated Balance Sheets||pagef4.html",
	"...Consolidated Statements of Operations||pagef5.html",
	"...Consolidated Statements of Stockholders' Equity||pagef6.html",
	"...Consolidated Statements of Cash Flows||pagef7.html",
	"Notes to Consolidated Financial Statements||pagef8.html"
	
	
	);

var d = document;


// Get array number from hidden field.
iPage=Number(d.page.num.value);

// Set last page id number.
var last = aryPages.length - 1;

// Set next and back pageid/
var back = iPage - 1;
var next = iPage + 1;

// Set next to 0 if on last page.
if(next > last){
	next = 0;	
}
// Set back to last page number if on first page.
if(back < 0){
	back = last;
}

// print array page value.

// 
// Nav output.


d.write("<span style=\"font-family: Verdana, Arial, Sans-serif; font-size: 12px; font-weight: bold;\">Annual Report: Fiscal Year Ended December 31, 2003</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;   <br />");

d.write("<a style=\"color: #000000; font-weight: bold; text-decoration: none; font-size: 24px;\" href=\"" + aryPages[0] + "\">&laquo;</a> ");
d.write("<a style=\"color: #000000; font-weight: bold; text-decoration: none; font-size: 24px;\" href=\"" + aryPages[back] + "\">&#8249;</a> &nbsp;");

d.write ("<select name=\"menu1\" onChange=\"MM_jumpMenu('parent',this,0)\">\n");


for(var loop=0; loop < aryIndex.length; loop++){
	
	aryValues = aryIndex[loop].split("||");
	d.write("<option value=\"" + aryValues[1] + "\"");
	
		if(aryValues[1] == aryPages[iPage]){
			d.write(" selected=\"selected\"");
		}
	
	d.write(">" + aryValues[0] + "</option>");
	
}


d.write("</select>");

d.write("<a style=\"color: #000000; font-weight: bold; text-decoration: none; font-size: 24px;\" href=\""  + aryPages[next] + "\"> &#8250;</a> ");
d.write("<a style=\"color: #000000; font-weight: bold; text-decoration: none; font-size: 24px;\" href=\""  + aryPages[last] + "\"> &raquo;</a>");

