
	var buttons = new Array();
	buttons.push(new Button("&nbsp;", "Welcome to TextbookX.com", "index.html", "off"));
	buttons.push(new Button("1.", "Getting Started", "TextbookX1.html", "off"));
	buttons.push(new Button("2.", "Creating an Inventory", "TextbookX2.html", "off"));
	buttons.push(new Button("3.", "Processing Orders", "TextbookX3.html", "off"));
	buttons.push(new Button("4.", "Getting Paid", "TextbookX4.html", "off"));


	function Button(number, title, url, status) {
		this.number = number;
		this.title = title;
		this.url = url;
		this.status = status;
	}

	function printTabs(active) {
		buttons[active].status = "on";
		for (i = 0; i < buttons.length; i++) {
			printButton(buttons[i]);
		}
		return true;		
	}

	function printButton(button) {
		var buttonCode = '<TD HEIGHT="28" WIDTH="12"><CENTER><IMG SRC="img/btn_left_' + button.status + '.gif" WIDTH="12" HEIGHT="28"></CENTER></TD><TD BACKGROUND="img/cntr_' + button.status + '.gif" HEIGHT="28" WIDTH="10"><CENTER><B><FONT COLOR="#9C0000" FACE="ARIAL" STYLE="font-size: 14pt;">';
		buttonCode += button.number + '&nbsp;&nbsp;</B></CENTER></TD><TD BACKGROUND="img/cntr_' + button.status + '.gif" HEIGHT="28" WIDTH="75">';
		buttonCode += '<A HREF="' + button.url + '" CLASS="button"><B>' + button.title + '</B></A><BR></TD><TD HEIGHT="28" WIDTH="12"><CENTER><IMG SRC="img/btn_right_' + button.status + '.gif" WIDTH="12" HEIGHT="28"></CENTER></TD>';
		document.write(buttonCode);
	}


