//////////////////////////////////////////////////////////////////
//					configJooma()			           			//
//																//
// Edit the button statements to configure your menu buttons	//
//   and bars   												//
//																//
// Optionally, you can edit the button styles by				//
//   editing the styleDefault statements below,					//
//   or creating and editing additional button styles.			//
//																//
//////////////////////////////////////////////////////////////////

//////////////////////////////////////////////////////////////////
function configTxt(){

//  styleDefault should always be defined because it is used in
//      menu.addButton() if the styleRef parameter is omitted
//	Instantiate (create) a button style object
	styleDefault = new NavButtonStyleFactory();
	styleDefault = styleDefault.getRef();
	styleDefault.styleWrite();
	styleT = new NavButtonStyleFactory("styleT");
	styleT = styleT.getRef();
	styleT.textAlignCold  = "left";
	styleT.textAlignHot   = "left";
	styleT.btnHeight      = "9px";
	styleT.btnWidth       = "";
	styleT.styleWrite();
	
//	Instantiate (create) a menu object
//	menu1 = new NavMenu([locX], [locY], ["styleName"]);
	menu0 = new NavMenu(213, 1);


//	Add buttons to the menu
//	menu.addButton(barNum, title, target, parentBarNum, parentBtnNum, styleRef, horzOrVert, persist)
	btn = menu0.addButton(0, "|  Consolidated Graphics&nbsp;&nbsp;&nbsp;", "http://www.cgx.com/Public/index.asp", null, null, styleT, "H");
	btn = menu0.addButton(0, "|  About Us&nbsp;&nbsp;&nbsp;", "about.html");
	btn = menu0.addButton(0, "|  Contact Us&nbsp;&nbsp;&nbsp;", "contact.html");
	btn = menu0.addButton(0, "|  FTP &amp; Login&nbsp;&nbsp;&nbsp;", "ftpl.html");
	btn = menu0.addButton(2, "|  Our Company", "cgx.html", 0, 1, styleT );
	btn = menu0.addButton(2, "|  History", "history.html");
	btn = menu0.addButton(2, "|  Business", "business.html");
	btn = menu0.addButton(2, "|  Privacy Policy", "privacy.html");
	btn = menu0.addButton(2, "|  Careers", "careers.html");
	btn = menu0.addButton(4, "|  FTP", "http://12.236.103.130/", 0, 4, styleT);
	btn = menu0.addButton(4, "|  Login", "toolbox/HPG.html");

	}
//////////////////////////////////////////////////////////////////
function configTxtImg(){

//  styleDefault should always be defined because it is used in
//      menu.addButton() if the styleRef parameter is omitted
//	Instantiate (create) a button style object
	styleDefault = new NavButtonStyleFactory();
	styleDefault = styleDefault.getRef();
	styleDefault.styleWrite();
	styleWide = new NavButtonStyleFactory("styleWide");
	styleWide = styleWide.getRef();
	styleWide.btnWidth   = 200;
	styleWide.horzOrVert = "V";
	styleWide.styleWrite();
	styleTI = new NavButtonStyleFactory("styleTI");
	styleTI = styleTI.getRef();
	styleTI.textAlignCold = "left";
	styleTI.textAlignHot  = "left";
	styleTI.btnHeight      = "25px";
	styleTI.btnWidth       = "128px";
	styleTI.bgColorCold = "#E8EBEC";
	styleTI.bgColorHot = "#E8EBEC";
	styleTI.borderStyleHot  = "solid";	// solid, outset, none, ridge
	styleTI.borderStyleCold = "solid";
	styleTI.borderColorHot  = "#E8EBEC";
	styleTI.borderColorCold = "#E8EBEC";
	styleTI.styleWrite();

//	Instantiate (create) a menu object
//	menu1 = new NavMenu([locX], [locY], ["styleName"]);
	menu1 = new NavMenu(132, 133);

//	Add buttons to the menu
//	menu.addButton(barNum, title, target, parentBarNum, parentBtnNum, styleRef, horzOrVert, persist)
	btn = menu1.addButton(0, "Talk with a<br>Print Consultant", "talk.html", null, null, styleTI, "H"); // sets style and orientation for bar
	btn.fgImgHot  = "image/circle160x0x0.gif";
	btn.fgImgCold = "image/circle0x160x0.gif";
	btn = menu1.addButton(0, "Title01", "Target01.html");
	btn.fgImgHot  = "image/pentArrowHot.gif";
	btn.fgImgCold = "image/pentArrowCold.gif";
	btn = menu1.addButton(0, "Title02", "Target02.html");
	btn = menu1.addButton(1, "Title10", "Target10.html", 0, 0, styleWide); // sets style and orientation for bar
	btn = menu1.addButton(1, "Title11", "Target11.html");
	btn = menu1.addButton(1, "Title12", "Target12.html");
	btn = menu1.addButton(2, "Title20", "Target20.html", 1, 1, styleWide); // sets style and orientation for bar
	btn.fgImgHot  = "image/pentArrowHot.gif";
	btn.fgImgCold = "image/pentArrowCold.gif";
	btn = menu1.addButton(2, "Title21", "Target21.html");
	btn.fgImgHot  = "image/pentArrowHot.gif";
	btn.fgImgCold = "image/pentArrowCold.gif";
	btn = menu1.addButton(2, "Title22", "Target22.html");
	btn.fgImgHot  = "image/pentArrowHot.gif";
	btn.fgImgCold = "image/pentArrowCold.gif";
}

//////////////////////////////////////////////////////////////////
function configImg(){

//  styleDefault should always be defined because it is used in
//      menu.addButton() if the styleRef parameter is omitted
//	Instantiate (create) a button style object
	styleDefault = new NavButtonStyleFactory();
	styleDefault = styleDefault.getRef();
	styleDefault.styleWrite();
	styleI = new NavButtonStyleFactory("styleI");
	styleI = styleI.getRef();
	styleI.textAlignCold  = "left";
	styleI.textAlignHot   = "left";
	styleI.styleWrite();

//	Instantiate (create) a menu object
//	menu1 = new NavMenu([locX], [locY], ["styleName"]);
	menu2 = new NavMenu(142, 131);

//	Add buttons to the menu
//	menu.addButton(barNum, title, target, parentBarNum, parentBtnNum, styleRef, horzOrVert, persist)
	btn = menu2.addButton(0, "", "talk.html", null, null, styleI, "H"); // sets style and orientation for bar
	btn.fgImgHot  = "images/talk_over.gif";
	btn.fgImgCold = "images/talk.gif";
	btn = menu2.addButton(0, "", "request.html");
	btn.fgImgHot  = "images/request_over.gif";
	btn.fgImgCold = "images/request.gif";
	btn = menu2.addButton(0, "", "");
	btn.fgImgHot  = "images/value_over.gif";
	btn.fgImgCold = "images/value.gif";
	btn = menu2.addButton(0, "", "");
	btn.fgImgHot  = "images/green_over.gif";
	btn.fgImgCold = "images/green.gif";
	btn = menu2.addButton(0, "", "locations.html");
	btn.fgImgHot  = "images/locations_over.gif";
	btn.fgImgCold = "images/locations.gif";
	btn = menu2.addButton(0, "", "markets.html");
	btn.fgImgHot  = "images/markets_over.gif";
	btn.fgImgCold = "images/markets.gif";
	btn = menu2.addButton(0, "", "news.html");
	btn.fgImgHot  = "images/news_over.gif";
	btn.fgImgCold = "images/news.gif";
	btn = menu2.addButton(2, "Quality Assurance", "quality.html", 0, 2, styleTI); // default style and orientation for bar
	btn.fgImgHot  = "";
	btn.fgImgCold = "";
	btn = menu2.addButton(2, "250 Line Screen", "250.html");
	btn.fgImgHot  = "";
	btn.fgImgCold = "";
	btn = menu2.addButton(2, "Color Management", "color.html");
	btn.fgImgHot  = "";
	btn.fgImgCold = "";
	btn = menu2.addButton(2, "Solutions for Synergy", "solutions.html");
	btn.fgImgHot  = "";
	btn.fgImgCold = "";
	btn = menu2.addButton(2, "Big Enough, Small Enough", "big.html");
	btn.fgImgHot  = "";
	btn.fgImgCold = "";
	btn = menu2.addButton(3, "FSC", "fsc.html", 0, 3, styleTI); // default style and orientation for bar
	btn.fgImgHot  = "";
	btn.fgImgCold = "";
	btn = menu2.addButton(3, "Environmental", "env.html");
	btn.fgImgHot  = "";
	btn.fgImgCold = "";
}

//////////////////////////////////////////////////////////////////
function configBgImg(){

//  styleDefault should always be defined because it is used in
//      menu.addButton() if the styleRef parameter is omitted
//	Instantiate (create) a button style object
	styleDefault = new NavButtonStyleFactory();
	styleDefault = styleDefault.getRef();
	styleDefault.styleWrite();
	styleBgI = new NavButtonStyleFactory("styleBgI");
	styleBgI = styleBgI.getRef();
	styleBgI.textAlignCold  = "center";
	styleBgI.textAlignHot   = "center";
	styleBgI.bgImgHot       = "images/horbutton_over.gif";
	styleBgI.bgImgCold      = "images/horbutton.gif";
	styleBgI.locX           = 0;
	styleBgI.locY           = 0;
	styleBgI.borderStyleHot  = "none";	// solid, outset, none, ridge
	styleBgI.borderStyleCold = "none";
	styleBgI.btnHeight      = "35px";
	styleBgI.btnWidth       = "92px";
	styleBgI.styleWrite();

//	Instantiate (create) a menu object
//	menu1 = new NavMenu([locX], [locY], ["styleName"]);
	menu3 = new NavMenu(144, 135);
//	Add buttons to the menu
//	menu.addButton(barNum, title, target, parentBarNum, parentBtnNum, styleRef, horzOrVert, persist)
	btn = menu3.addButton(0, "Talk with a<br>Print Consultant", "talk.html", null, null, styleBgI, "H"); // sets style and orientation for bar
	btn = menu3.addButton(0, "Request an<br>Estimate", "quote.html");
	btn = menu3.addButton(0, "Value-Added<br>Services", "value.html");
	btn = menu3.addButton(2, "Quality Assurance", "quality.html", 0, 2, styleTI); // sets style and orientation for bar
	btn = menu3.addButton(2, "250-Line Screen", "250.html");
	btn = menu3.addButton(2, "Color Management", "color.html");
	btn = menu3.addButton(2, "Solutions for Synergy", "solutions.html");
	btn = menu3.addButton(2, "Imagination", "qci.html");
	btn = menu3.addButton(2, "Hickory Interactive", "http://www.hickoryinteractive.com");
	btn = menu3.addButton(2, "Rub'nSmell", "rubnsmell.htm");
	btn = menu3.addButton(2, "Why Print?", "http://www.hickoryprinting.com/whyprint");
	btn = menu3.addButton(2, "Big Enough, Small Enough", "big.html");


	btn = menu3.addButton(0, "Green<br>Printing", "green.html");
	btn = menu3.addButton(3, "FSC", "fsc.html", 0, 3, styleTI); // default style and orientation for bar
	btn = menu3.addButton(3, "Environmental", "env.html");
	btn = menu3.addButton(0, "Our<br>Locations", "locations.html");
	btn = menu3.addButton(0, "Markets<br>We Serve", "markets.html");
	btn = menu3.addButton(0, "News<br>and Awards", "news.html");
}

//////////////////////////////////////////////////////////////////
function configBgImgVert(){

//  styleDefault should always be defined because it is used in
//      menu.addButton() if the styleRef parameter is omitted
//	Instantiate (create) a button style object
	styleDefault = new NavButtonStyleFactory();
	styleDefault = styleDefault.getRef();
	styleDefault.styleWrite();
	styleBgI = new NavButtonStyleFactory("styleBgI");
	styleBgI = styleBgI.getRef();
	styleBgI.textAlignCold  = "left";
	styleBgI.textAlignHot   = "left";
	styleBgI.bgImgHot       = "";
	styleBgI.bgImgCold      = "";
	styleBgI.bgColorCold    = "#003E93";
	styleBgI.bgColorHot     = "#003E93";
	styleBgI.borderColorHot  = "#003E93";
	styleBgI.borderColorCold = "#003E93";
	styleBgI.borderStyleHot  = "none";	// solid, outset, none, ridge
	styleBgI.borderStyleCold = "none";
	styleBgI.btnHeight      = "35px";
	styleBgI.btnWidth       = "92px";
	styleBgI.styleWrite();

//	Instantiate (create) a menu object
//	menu1 = new NavMenu([locX], [locY], ["styleName"]);
	menu4 = new NavMenu();
//	Add buttons to the menu
//	menu.addButton(barNum, title, target, parentBarNum, parentBtnNum, styleRef, horzOrVert, persist)
	btn = menu4.addButton(0, "", "", null, null, styleBgI, "V"); // sets style and orientation for bar
	btn.fgImgHot  = "images/printing_over.gif";
	btn.fgImgCold = "images/printing.gif";	
	btn = menu4.addButton(0, "", "packaging.html");
	btn.fgImgHot  = "images/packaging_over.gif";
	btn.fgImgCold = "images/packaging.gif";	
	btn = menu4.addButton(0, "", "premedia.html");
	btn.fgImgHot  = "images/premedia_over.gif";
	btn.fgImgCold = "images/premedia.gif";	
	btn = menu4.addButton(0, "", "");
	btn.fgImgHot  = "images/marketing_over.gif";
	btn.fgImgCold = "images/marketing.gif";	
	btn = menu4.addButton(1, "Sheetfed<br>Printing", "sheetfed.html", 0, 0, styleTI); // sets style and orientation for bar
	btn = menu4.addButton(1, "Web Offset<br>Printing", "weboffset.html");
	btn = menu4.addButton(0, "", "mf.html");
	btn.fgImgHot  = "images/mf_over.gif";
	btn.fgImgCold = "images/mf.gif";	
	btn = menu4.addButton(0, "", "finishing.html");
	btn.fgImgHot  = "images/fin_over.gif";
	btn.fgImgCold = "images/fin.gif";	
	btn = menu4.addButton(3, "One-to-One<br>Marketing", "one-to-one.html", 0, 3, styleTI); // default style and orientation for bar
	btn = menu4.addButton(3, "HickoryPrintEngine&#174; eCommerce", "hpe.html");
}

//////////////////////////////////////////////////////////////////
function configBar(){

//  StyleDefault should always be defined because it is used for
//      any menu.addButton() which omits the style parameter.
//	Instantiate (create) a button style object
	styleDefault = new NavButtonStyleFactory();
	styleDefault = styleDefault.getRef();
	styleBar = new NavButtonStyleFactory("styleBar");
	styleBar = styleBar.getRef();
	styleBar.textAlignCold = "left";
	styleBar.textAlignHot  = "left";
//	styleBar.bgImgHot      = "";
//	styleBar.bgImgCold     = "";


//	Instantiate (create) a menu
//	menu1 = new NavMenu([locX], [locY], ["styleName"]);
	menu4 = new NavMenu();

//	Add buttons to the menu
//	menu.addButton(barNum, title, target, parentBarNum, parentBtnNum, styleRef, horzOrVert, persist)
	btn00 = menu4.addButton(0, "Target 00",   "Target00.html", null, null, styleBar);
	btn00.setControls();
	btn00.setCold();
	btn01 = menu4.addButton(0, "Target 01", "Target01.html");
	btn01.setControls();
	btn01.setCold();
	btn02 = menu4.addButton(0, "Target 02", "Target02.html");
	btn02.setControls();
	btn02.setCold();
}

//////////////////////////////////////////////////////////////////
function configBarBg(){

//  StyleDefault should always be defined because it is used for
//      any menu.addButton() which omits the style parameter.
//	Instantiate (create) a button style object
	styleDefault = new NavButtonStyleFactory();
	styleDefault = styleDefault.getRef();
	styleBarBg = new NavButtonStyleFactory("styleBarBg");
	styleBarBg = styleBarBg.getRef();
	styleBarBg.textAlignCold = "left";
	styleBarBg.textAlignHot  = "left";
	styleBarBg.bgImgHot      = "image/bgHot.jpg";
	styleBarBg.bgImgCold     = "image/bgCold.jpg";


//	Instantiate (create) a menu
//	menu1 = new NavMenu([locX], [locY], ["styleName"]);
	menu4 = new NavMenu();

//	Add buttons to the menu
//	menu.addButton(barNum, title, target, parentBarNum, parentBtnNum, styleRef, horzOrVert, persist)
	btn50 = menu4.addButton(0, "Target 00",   "Target00.html", null, null, styleBarBg);
	btn50.setControls();
	btn50.setCold();
	btn51 = menu4.addButton(0, "Target 01", "Target01.html");
	btn51.setControls();
	btn51.setCold();
	btn52 = menu4.addButton(0, "Target 02", "Target02.html");
	btn52.setControls();
	btn52.setCold();
}


//////////////////////////////////////////////////////////////////
//				NavButtonStyle() Class		           			//
//																//
// You can change the default button style by editing the		//
//    statements below, but we generally recommend changing		//
//    the button style above in configJooma();					//																//
//																//
//////////////////////////////////////////////////////////////////
function NavButtonStyle(styleID){

	this.name           = styleID? styleID: "stylePop";

	this.persist		= false;
	this.horzOrVert     = "V";
	this.locX           = 0;
	this.locY           = 0;
	this.offsetX        = 0;		// -1 to cause mouseover() before mouseout()
	this.offsetY        = 0;		// -1 to cause mouseover() before mouseout()

	this.btnHeight      = "20px";
	this.btnWidth       = "100px";

	this.visibility     = "visible";

	this.fgColorCold    = "#000080";
	this.fgColorHot     = "#000000";
	this.fgImgHot       = "";					// image/pentArrowHot.gif
	this.fgImgCold      = "";					// image/pentArrowCold.gif
	this.bgColorCold    = "#cccccc";
	this.bgColorHot     = "#eeeeee";
//	this.bgColorColdNN4 = this.bgColorCold;		// allows different background colors for NN4
//	this.bgColorHotNN4  = this.bgColorHot;		// allows different background colors for NN4
	this.bgImgHot       = "FFFFFF";
	this.bgImgCold      = "FFFFFF";

	this.fontFamilyCold = "sans-serif";
	this.fontFamilyHot  = "serif";
	this.fontSizeCold   = "10pt";
	this.fontSizeHot    = "10pt";
	this.fontWeightCold = "normal";			// normal,bold
	this.fontWeightHot  = "bold";			// normal,bold
	this.fontStyleCold  = "normal";			// normal,italic
	this.fontStyleHot   = "italic";			// normal,italic

	this.textAlignCold      = "left";
	this.textAlignHot       = "left";
	this.textDecorationCold = "none";		// none,underline,blink,line-through,overline
	this.textDecorationHot  = "none";	// none,underline,blink,line-through,overline

	this.borderWidthHot  = "1px";
	this.borderWidthCold = "1px";
	this.borderStyleHot  = "solid";	// solid, outset, none, ridge
	this.borderStyleCold = "solid";
	this.borderColorHot  = "#aaaaaa";
	this.borderColorCold = "#aaaaaa";

	if(document.getElementById && document.all && !window.opera){
		this.cursorHot = "hand";			// IE5+ browsers
	}else{
		this.cursorHot   = "pointer";		// WC3 browsers except IE5+
	}
	this.cursorCold  = "default";
	
//	alert(this);
}


