// 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", "inscovera.html",  "inscoverb.html", "inscoverc.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", "page44.html", "page45.html", "page46.html", "page47.html", "page48.html", "page49.html", "page50.html",
"page51.html", "page52.html", "page53.html", "page54.html", "page55.html", "page56.html", "page57.html", "page58.html", "page59.html", "page60.html",
"page61.html", "page62.html", "page63.html", "page64.html", 
"backcover.html"
);

// This is the drop down menu index.
var aryIndex = new Array(
	"Navigation: Select topic||index.html",
	"Cover||cover.html",
	"Message to Shareholders||page2.html",
	"The Dorel Business Model||page6.html",
	"The Power of Dorel's Brands||page8.html",
	"Pacific Cycle||page10.html",
	"A Proven Business Model||page12.html",
	"A Growing Portfolio of Strong Brands||page12.html",
	"Dorel's Brand Drive Gears up with Schwinn||page13.html",
	"Corporate Governance||page14.html",
	"Message from our Chief Operating Officer||page16.html",
	"11-year Financial Retrospective||page18.html",
	"Management's Discussion and Analysis||page20.html",
	"Management's and Auditors' Reports||page35.html",
	"Financial Statements||page36.html",
	"...Consolidated Balance Sheet||page36.html",
	"...Consolidated Statement of Income||page38.html",
	"...Consolidated Statement of Cash Flows||page39.html",
	"Notes to Consolidated Financial Statements||page40.html",

	"Corporate Information||page63.html",
	"Back Cover||backcover.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 ("<table style=\"width: 700px; margin: 0px; padding: 4px; border: 1px solid black;\" align=\"center\">\n");
d.write ("	<tr><td rowspan=\"2\"><img style=\"float: left;\" src=\"images/logo.gif\"></td>\n");
d.write ("  <td style=\"padding-right: 10px; text-align: right; font-weight: bold; font-family: Verdana, Arial, Sans-serif; font-size: 14px;\">Dorel Industries, Inc. 2003 Annual Report</td></tr>\n");
d.write ("  <tr><td style=\"padding-right: 10px; text-align: right;\">\n");


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>");

d.write ("</td></tr></table>\n");
