menunum=0;
menus=new Array();
_d=document;
function addmenu()
{
	menunum++;
	menus[menunum]=menu;
}
function dumpmenus()
{
	mt="<script language=javascript>";
	for(a=1;a<menus.length;a++)
	{
		mt+=" menu"+a+"=menus["+a+"];"
	}
	mt+="<\/script>";
	_d.write(mt)
}

// Editable properties START here //

// Special effect string for IE5.5
if(navigator.appVersion.indexOf("MSIE 6.0")>0)
{
	//effect = "randomdissolve(duration=0.5);Alpha(style=0,opacity=100);Shadow(color='#777777', Direction=135, Strength=2)"
	effect = "Fade(duration=0.2);Alpha(style=0,opacity=100);Shadow(color='#777777', Direction=135, Strength=1)"
}
else
{
	effect = "Shadow(color='#777777', Direction=135, Strength=1)" // Stop IE5.5 bug when using more than one filter
}


timegap=250			// The time delay for menus to remain visible
followspeed=5			// Follow Scrolling speed
followrate=40			// Follow Scrolling Rate
suboffset_top=20;		// Sub menu offset Top position 
suboffset_left=10;		// Sub menu offset Left position

//--------------------------------------
// STYLE 1
//-------------------------------------
style1=[				// style1 is an array of properties. 
"FFFFFF",				// Mouse Off Font Color
"899FB7",				// Mouse Off Background Color
"FFFFFF",				// Mouse On Font Color
"a80000",				// Mouse On Background Color
"FFFFFF",				// Menu Border Color 
12,						// Font Size in pixels
"normal",				// Font Style (italic or normal)
"normal",					// Font Weight (bold or normal)
"Arial, Verdana",		// Font Name
4,						// Menu Item Padding
"",						// Sub Menu Image (Leave this blank if not needed)
,						// 3D Border & Separator bar
"66ffff",				// 3D High Color
"000099",				// 3D Low Color
,						// Current Page Item Font Color (leave this blank to disable)
,						// Current Page Item Background Color (leave this blank to disable)
,						// Top Bar image (Leave this blank to disable)
"ffffff",					// Menu Header Font Color (Leave blank if headers are not needed)
"000099",				// Menu Header Background Color (Leave blank if headers are not needed)
]

//--------------------------------------
// STYLE 2
//-------------------------------------
style2=[				// style2 is an array of properties. 
"FFFFFF",				// Mouse Off Font Color
"899FB7",				// Mouse Off Background Color
"FFFFFF",				// Mouse On Font Color
"a80000",				// Mouse On Background Color
"FFFFFF",				// Menu Border Color 
12,						// Font Size in pixels
"normal",				// Font Style (italic or normal)
"bold",					// Font Weight (bold or normal)
"Arial, Verdana",		// Font Name
5,						// Menu Item Padding
"",						// Sub Menu Image (Leave this blank if not needed)
,						// 3D Border & Separator bar
"66ffff",				// 3D High Color
"000099",				// 3D Low Color
,						// Current Page Item Font Color (leave this blank to disable)
,						// Current Page Item Background Color (leave this blank to disable)
,						// Top Bar image (Leave this blank to disable)
"ffffff",					// Menu Header Font Color (Leave blank if headers are not needed)
"000099",				// Menu Header Background Color (Leave blank if headers are not needed)
]

//--------------------------------------
// MAIN MENU TOP
//-------------------------------------
addmenu(menu=[		// This is the array that contains your menu properties and details
"mainmenu",			// Menu Name - This is needed in order for the menu to be called
61,						// Menu Top - The Top position of the menu in pixels
0,						// Menu Left - The Left position of the menu in pixels
122,					// Menu Width - Menus width in pixels
0,					// Menu Border Width 
,					// Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
style2,				// Properties Array - this is set higher up, as above
1,					// Always Visible - allows the menu item to be visible at all time (1=on/0=off)
"center",			// Alignment - sets the menu elements text alignment, values valid here are: left, right or center
effect,				// Filter - Text variable for setting transitional effects on menu activation - see above for more info
,					// Follow Scrolling - Tells the menu item to follow the user down the screen (visible at all times) (1=on/0=off)
1, 					// Horizontal Menu - Tells the menu to become horizontal instead of top to bottom style (1=on/0=off)
,					// Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on/0=off)
,					// Position of TOP sub image left:center:right
,					// Set the Overall Width of Horizontal Menu to 100% and height to the specified amount (Leave blank to disable)
,					// Right To Left - Used in Hebrew for example. (1=on/0=off)
,					// Open the Menus OnClick - leave blank for OnMouseover (1=on/0=off)
,					// ID of the div you want to hide on MouseOver (useful for hiding form elements)
,					// Reserved for future use
,					// Reserved for future use
,					// Reserved for future use
,"Home","../../../index.html","../../../index.html","",1   // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"Products","show-menu=products",,"",1
,"Applications","show-menu=applications",,"",1
,"Services","show-menu=services",,"",1
,"About&nbsp;Us","show-menu=contact",,"",1
,"Online Store","http://www.product-catalog.com/ahearnindex.cfm?sponsor=","http://www.product-catalog.com/ahearnindex.cfm?sponsor=","",1
])

//--------------------------------------
// SUB MENU PRODUCTS
//-------------------------------------
addmenu(menu=["products",,,180,1,"",style1,,"left",effect,,,,,,,,,,,,
,"&#149; Access Control","../access-control/access-control.html",,,1
,"&#149; Barcode Printers","../printers/barcode-printers.html",,,1
,"&#149; Barcode Scanners","../scanners/barcode-scanners.html",,,1
,"&#149; Data Collection Software","../software/software.html",,,1
,"&#149; Card Printers","../card-printers/card-printers.html",,,1
,"&#149; Embossers","../embossers/embossers.html",,,1
,"&#149; Industrial Automation","../automation/automation.html",,,1
,"&#149; Label Applicators","../label-applicators/label-applicators.html",,,1
,"&#149; Labels & Ribbons","../labels-ribbons/labels-ribbons.html",,,1
,"&#149; Machine Vision","../machine-vision/machine-vision.html",,,1
,"&#149; Portable Data Terminals","../data-terminals/data-terminals.html",,,1
,"&#149; RFID Systems","../rfid/rf-id.html",,,1
,"&#149; Wireless Networks","../wireless/wireless-networks.html",,,1
])
	
//--------------------------------------
// SUB MENU APPLICATIONS
//-------------------------------------
addmenu(menu=["applications",,,180,1,"",style1,,"left",effect,,,,,,,,,,,,
,"&#149; Asset Tracking","../../app/asset-tracking.html",,,1
,"&#149; Error Proofing","../../app/error-proof.html",,,1
,"&#149; Data Transfer","../../app/data-transfer.html",,,1
,"&#149; Health Care Solutions","../../app/health-care.html",,,1
,"&#149; Inventory Management","../../app/inventory-mgmt.html",,,1
,"&#149; Manufacturing Execution","../../app/manufacture-execute.html",,,1
,"&#149; Time & Attendance","../../app/time-attendance.html",,,1
,"&#149; Warehouse Management","../../app/warehouse-mgmt.html",,,1
,"&#149; Work-In-Process","../../app/wip.html",,,1
])
	
//--------------------------------------
// SUB MENU SERVICE
//-------------------------------------
addmenu(menu=["services",,,160,1,,style1,0,"left",effect,0,,,,,,,,,,,
,"&#149; Service Philosophy","../../service/service.html",,,1
,"&#149; Repair & Maintenance","../../service/service-pm.html",,,1
,"&#149; Professional Services","../../service/professional-services.html",,,1
,"&#149; Products Supported","../../service/product-list.html",,,1
,"&#149; Request a Service Call","../../service/service-form.html",,,1
])
	
//--------------------------------------
// SUB MENU CONTACT
//-------------------------------------
addmenu(menu=["contact",,,140,1,"",style1,,"",effect,,,,,,,,,,,,
,"&#149; About Ahearn","../../contact/corporate.html",,,1
,"&#149; Expertise", "../../contact/expertise.html",,,1
,"&#149; History","../../contact/history.html",,,1
,"&#149; Locations", "../../contact/branch-office.html",,,1
,"&#149; Sales Partners","../../contact/partners.html",,,1
,"&#149; News & Press","../../contact/press.html",,,1
,"&#149; Request Information","../../contact/info-form.html",,,1
])
	
dumpmenus()
