BLANK_IMAGE = '/scripts/b.gif';

var STYLE = {
	border:1,			// item's border width, pixels; zero means "none"
	shadow:2,			// item's shadow size, pixels; zero means "none"
	color:{
		border:"#FF0000",	// color of the item border, if any
		shadow:"#DBD8D1",	// color of the item shadow, if any
		bgON:"white",		// background color for the items
		bgOVER:"#FFCC00"	// background color for the item which is under mouse right now
	},
	css:{
		ON:"clsCMOn",		// CSS class for items
		OVER:"clsCMOver"	// CSS class  for item which is under mouse
	}
};
var position;
if (screen.width==800) position=185;
if (screen.width==1024) position=212;
if (screen.width==1280) position=338;
if (screen.width==1400) position=400;

var MENU_ITEMS = [
	{pos:[position,171], itemoff:[0,99], leveloff:[21,0], style:STYLE, size:[22,245]},
	{code:"&nbsp;Software&nbsp;<img width=7 height=12 alt=arrow src=\/scripts\/1.gif />",
		sub:[
			{itemoff:[21,0]},
			{code:"&nbsp;&nbsp;RFID","url":"/IT/rfid.php"},
			{code:"&nbsp;&nbsp;Web Design","url":"/IT/webdesign.php"},
			{code:"&nbsp;&nbsp;Software Development","url":"/IT/software.php"}
		]
	},
	{code:"&nbsp;Electronic&nbsp;<img width=7 height=12 alt=arrow src=\/scripts\/1.gif />",
		sub:[
			{itemoff:[21,0]},
			{code:"&nbsp;&nbsp;PLC Programming","url":"/electronics/plc.php"},
			{code:"&nbsp;&nbsp;Plant Automation","url":"/electronics/plant.php"},
		]
	},
	{code:"&nbsp;Products&nbsp;<img width=7 height=12 alt=arrow src=\/scripts\/1.gif />",
		sub:[
			{itemoff:[21,0]},
			{code:"&nbsp;&nbsp;Timber Handling Equipment","url":"/products/handling.php"},
			{code:"&nbsp;&nbsp;Timber Grading Equipment&nbsp;<img width=7 height=12 alt=arrow src=\/scripts\/1.gif />","url":"/products/index.php",
				sub:[
					{leveloff:[0,245]},
					{code:"&nbsp;A-grader&nbsp;<img width=7 height=12 alt=arrow src=\/scripts\/1.gif />","url":"/products/grading.php",
						sub:[
							{leveloff:[0,100]},
							{code:"&nbsp;What is Agrader?","url":"/products/grading.php#top"},
							{code:"&nbsp;How deos Agrader work?","url":"/products/grading.php#howwork"},
							{code:"&nbsp;The MGP Standard","url":"/products/mgp.php"},
							{code:"&nbsp;Agrader Test Results","url":"/products/grading.php#testresults"},
							{code:"&nbsp;Agrader Movies","url":"/products/movies.php"},
							{code:"&nbsp;Agrader Pictures","url":"/products/pictures.php"},
							{code:"&nbsp;Agrader Downloads?","url":"/products/grading.php#download"}
						]
					
					},
					{code:"&nbsp;E-grader","url":"/products/egrader.php"},
					{code:"&nbsp;Proof Tester","url":"/products/proof.php"},
					{code:"&nbsp;QA Tester","url":"/products/QAtester.php"}
				]
			},
			{code:"&nbsp;&nbsp;Finger Jointing","url":"/products/finger.php"},
			{code:"&nbsp;&nbsp;Automated Paint Lines","url":"/products/paint_lines.php"},
			{code:"&nbsp;&nbsp;Burn Brands","url":"/products/burn_brands.php"},
			{code:"&nbsp;&nbsp;Used Equipment","url":"/products/used_equipment.php"}
		]
	},
	
	{code:"&nbsp;Poultry&nbsp;<img width=7 height=12 alt=arrow src=\/scripts\/1.gif />",
		sub:[
			{itemoff:[21,0]},
			{code:"&nbsp;&nbsp;Feed System","url":"/poultry/feedsys.php"},
			{code:"&nbsp;&nbsp;Mineral Dispensers","url":"/poultry/dispenser.php"},
			{code:"&nbsp;&nbsp;Spin Feeders","url":"/poultry/spinner.php"},
			{code:"&nbsp;&nbsp;SILOs","url":"/poultry/silos.php"},
			{code:"&nbsp;&nbsp;Solar Hot Water","url":"/poultry/solarsys.php"},
			{code:"&nbsp;&nbsp;Keenan Systems","url":"/poultry/mixer.php"},
			{code:"&nbsp;&nbsp;Service and Repairs","url":"/poultry/repairs.php"}
		]
	},
	
	{code:"&nbsp;About&nbsp;<img width=7 height=12 alt=arrow src=\/scripts\/1.gif />",
		sub:[
			{itemoff:[21,0]},
			{code:"&nbsp;&nbsp;Contact Us","url":"/about/contact.php"},
			{code:"&nbsp;&nbsp;Mission Statements","url":"/about/mission.php"},
			{code:"&nbsp;&nbsp;Disclaimer Statement","url":"/about/disclaimer.php"},
			{code:"&nbsp;&nbsp;Falcon History","url":"/about/history.php"},
			{code:"&nbsp;&nbsp;Company Description","url":"/about/description.php"}
		]
	}
];
