if (navigator.appVersion.indexOf("Mac")!=-1)
{
	whichCSS = "macFeatures.css";
}
else
{
	whichCSS = "winFeatures.css";
}
var headID = document.getElementsByTagName("head")[0]; 
var oLink = document.createElement("link") 
oLink.href = whichCSS; 
oLink.rel = "stylesheet"; 
oLink.type = "text/css"; 
headID.appendChild(oLink);

//Realign Menu on Resize - MPS040706
window.onresize= remake;
function remake()
{
	location.reload();
}

/*************
Pageobject
***************/

BLANK_IMAGE = 'menu/images/b.gif';

var STYLE = {
	border:1,			// item's border width, pixels; zero means "none"
	shadow:0,			// item's shadow size, pixels; zero means "none"
	color:{
		border:"#ef6b00",	// color of the item border, if any
		shadow:"",	// color of the item shadow, if any
		bgON:"#ef6b00",		// background color for the items
		bgOVER:"#ef6b00"	// 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 ORANGE_STYLE = {
	border:1,			// item's border width, pixels; zero means "none"
	shadow:0,			// item's shadow size, pixels; zero means "none"
	color:{
		border:"#ef6b00",	// color of the item border, if any
		shadow:"",	// color of the item shadow, if any
		bgON:"white",		// background color for the items
		bgOVER:"white"	// background color for the item which is under mouse right now
	},
	css:{
		ON:"clsCMOnBold",		// CSS class for items
		OVER:"clsCMOverOrange"	// CSS class  for item which is under mouse
	}
};
var MENU_ITEMS1 = [
	{pos:[210,149], itemoff:[0,90], leveloff:[36,0], style:STYLE, size:[22,80]},
	{code:"HOME" , url:"/index.html"}
];	

var MENU_ITEMS2 = [
	{pos:[210,149], itemoff:[0,90], leveloff:[36,0], style:STYLE, size:[22,100]},
	{code:"PRODUCTS",
		sub:[
			{itemoff:[21,0], style:ORANGE_STYLE},
				{code:"150R/T",  url:"/150rt.html"},
				{code:"250R/T",  url:"/250rt.html"},
				{code:"910 Receiver",  url:"/910r.html"},
				{code:"950R/T",  url:"/950rt.html"},
				{code:"970T",  url:"/970t.html"},
				{code:"EML System",  url:"/eml.html"},
				{code:"2150 GR",  url:"/2150gr.html"},
				{code:"980 Fault System",  url:"/980_fault_locating_system.html"},
				//{code:"300SR/ST",  url:"/300SR_ST.html"},
				{code:"720ML",  url:"/720ml.html"},
				{code:"150 Beacon",  url:"/150_beacon.html"}
		]
	}
];

var MENU_ITEMS3 = [
	{pos:[210,149], itemoff:[0,90], leveloff:[36,0], style:STYLE, size:[22,100]},
	{code:"ON THE JOB",
		sub:[
			{itemoff:[21,0], style:ORANGE_STYLE},
				{code:"Operator Manuals",  url:"/manuals.html"},
				{code:"Support",  url:"/services.html"},
				{code:"Safety",  url:"/safety.html"}
		]
	}
];

var MENU_ITEMS4 = [
	{pos:[210,149], itemoff:[0,90], leveloff:[36,0], style:STYLE, size:[22,100]},
	{code:"PRESS ROOM",
		sub:[
			{itemoff:[21,0], style:ORANGE_STYLE},
				{code:"Editorials",  url:"/editorials.html"},
				{code:"Job Stories",  url:"/jobStories.html"},
				{code:"Press Releases",  url:"/pressReleases.aspx"},
				{code:"Industry Links",  url:"/links.asp"}
		]
	}
];

var MENU_ITEMS5 = [
	{pos:[210,149], itemoff:[0,90], leveloff:[36,0], style:STYLE, size:[22,100]},
	{code:"ABOUT US",
		sub:[
			{itemoff:[21,0], style:ORANGE_STYLE},
				{code:"History",  url:"/history.html"},
				{code:"Contact Us",  url:"/contactus.html"}
		]
	}
];
	
var MENU_ITEMS6 = [
	{pos:[210,149], itemoff:[0,90], leveloff:[36,0], style:STYLE, size:[22,100]},	
	{code:"INFO REQUEST", url:"/request.asp"}
];
var MENU_ITEMS7 = [
	{pos:[210,149], itemoff:[0,90], leveloff:[36,0], style:STYLE, size:[22,150]},
	{code:"DISTRIBUTOR LOCATIONS", url:"/dealers.html"}
];

var MENU_ITEMS8 = [
	{pos:[210,149], itemoff:[0,90], leveloff:[36,0], style:STYLE, size:[22,145]},
	{code:"BECOME A DISTRIBUTOR", url:"/distributorOpportunities.html"}
];