BLANK_IMAGE = 'images/b.gif';

var NOSTYLE = {
	border:0,
	shadow:0,
	color:{
		border:"",
		shadow:"",
		bgON:"",
		bgOVER:""
	},
	css:{
		ON:"",
		OVER:""
	}
};

var STYLE = {
	border:0,			// item's border width, pixels; zero means "none"
	shadow:2,			// item's shadow size, pixels; zero means "none"
	color:{
		//border:"#666666",	// color of the item border, if any
		//shadow:"#DBD8D1",	// color of the item shadow, if any
		//bgON:"white",		// background color for the items
		//bgOVER:"#B6BDD2"	// background color for the item which is under mouse right now
	},
	css:{
		ON:"",		// CSS class for items
		OVER:""	// CSS class  for item which is under mouse
	}
};
var STYLE1 = {
	border:1,			// item's border width, pixels; zero means "none"
	shadow:2,			// item's shadow size, pixels; zero means "none"
	color:{
		border:"#666666",	// color of the item border, if any
		shadow:"#DBD8D1",	// color of the item shadow, if any
		bgON:"white",		// background color for the items
		bgOVER:"#B6BDD2"	//#B6BDD2 background color for the item which is under mouse right now
	},
	css:{
		ON:"clsCMOn",		// CSS class for items
		OVER:"clsCMOn"	// CSS class  for item which is under mouse
	}
};

var STYLE2 = {
	border:0,			// item's border width, pixels; zero means "none"
	shadow:0,			// item's shadow size, pixels; zero means "none"
	color:{
		border:"#666666",	// color of the item border, if any
		shadow:"#DBD8D1",	// color of the item shadow, if any
		bgON:"",		// background color for the items
		bgOVER:""	//#B6BDD2 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 MENU_ITEMS = [
	{pos:[110,45], itemoff:[0,110], leveloff:[29,0], style:NOSTYLE, size:[29,110]},
	{
	code:'<img src="images/item1.gif"/>',
	ocode:'<img src="images/item1o.gif"/>',
	url:"products.htm",
	target:"_self",
		sub:[
			{itemoff:[15,0], leveloff:[29,0],  style:STYLE1, size:[15,375]}, 
			{code:"X-ray Diffraction Residual Stress & Retained Austenite Measurement Systems",
				url:"xrdsystems.htm",
				target:"_self",
				sub:[
				{format:{itemoff:[15,0]},leveloff:[0,375], size:[15,70]},
				{code:"iXRD",
				url:"ixrd.htm",
				target:"_self"



				},
				{code:"iXRDCombo",
				url:"ixrdcombo.htm",
				target:"_self"
				},
				{code:"LXRD",
				url:"lxrd.htm",
				target:"_self"
				},
				{code:"mXRD",
				url:"mxrd.htm",
				target:"_self"
				},
				{code:"Custom",
				url:"customxrd.htm",
				target:"_self"
				},
				]

			},
			{code:"Electropolishing",
				url:"electropolisher.htm",
				target:"_self",
				sub:[
				{format:{itemoff:[15,0]},leveloff:[0,375], size:[15,100]},
				{code:"Electropolisher",
				url:"electropolisher.htm",
				target:"_self"
				},
				{code:"Accessories",
				url:"electropolisheraccessories.htm",
				target:"_self"
				},
				{code:"Electrolyte A",
				url:"electrolyte.htm",
				target:"_self"
				},
				]
			},
			{code:"X-Ray Tubes",
				url:"finefocusxraytubes.htm",
				target:"_self",
				sub:[
				{format:{itemoff:[15,0]},leveloff:[0,375], size:[15,100]},
				{code:"Fine focus",
				url:"finefocusxraytubes.htm",
				target:"_self"
				},
				{code:"Microfocus",
				url:"microfocusxraytubes.htm",
				target:"_self"
				},
				{code:"Custom",
				url:"customxraytubes.htm",
				target:"_self"
				}
				]

			},
			{code:"XRDWIN 2.0 Stress Software",
				url:"xrdwinsoftware.htm",
				target:"_self"
			},
			{code:"Automated Residual Stress Mapping",
				url:"rsmapping.htm",
				target:"_self"
			}
			

		]
	},
	{code:'<img src="images/item2.gif"/>',
		ocode:'<img src="images/item2o.gif"/>',
		url:"labservices.htm",
		target:"_self",
		sub:[
			{itemoff:[15,0], leveloff:[29,0],  style:STYLE1, size:[15,100]}, 
			{code:"Laboratory services",
				url:"labservices.htm",
				target:"_self"
			},
			{code:"Field services",
				url:"fieldservices.htm",
				target:"_self"
			},
			{code:"Contract R&D",
				url:"contractrd.htm",
				target:"_self"
			}
		


		]

		
	},
	{code:'<img src="images/item3.gif"/>',
	ocode:'<img src="images/item3o.gif"/>',
	url:"brochures.htm",
	target:"_self",
		sub:[
			{itemoff:[15,0], leveloff:[29,0],  style:STYLE1, size:[15,125]}, 
			{code:"Product Literature",
				url:"brochures.htm",
				target:"_self"
			},
			{code:"X-ray Diffraction Info",
				url:"xrdinfo.htm",
				target:"_self"
			},
			{code:"Residual Stress Info",
				url:"residualstressinfo.htm",
				target:"_self"
			},
			{code:"Retained Austenite Info",
				url:"retainedausteniteinfo.htm",
				target:"_self"
			},
			{code:"Application Info",
				url:"applicationnotes.htm",
				target:"_self"
			},
			{code:"Links",
				url:"links.htm",
				target:"_self"
			},
			{code:"Recommended Reading",
				url:"books.htm",
				target:"_self"
			},
			{code:"Published Papers",
				url:"papers.htm",
				target:"_self"
			}


		]
	},
	{code:'<img src="images/item4.gif"/>',
	ocode:'<img src="images/item4o.gif"/>',
	url:"search.htm",
	target:"_self"

		
	},
	{code:'<img src="images/item5.gif"/>',
	ocode:'<img src="images/item5o.gif"/>',
	url:"aboutproto.htm",
	target:"_self"

		
	},
	{code:'<img src="images/item6.gif"/>',
	ocode:'<img src="images/item6o.gif"/>',
	url:"contactform.htm",
	target:"_self",
	sub:[
			{itemoff:[15,0], leveloff:[29,-44],  style:STYLE1, size:[15,150]}, 
			{code:"Quick Contact Form",
				url:"contactform.htm",
				target:"_self"
			},
			{code:"Head Offices and Distributors",
				url:"contactinfo.htm",
				target:"_self"
			},
			{code:"Employment Opportunities",
				url:"employment.htm",
				target:"_self"
			}


		]	
	}


];


var MENU_ITEMS1 = [
	{pos:[0,97], itemoff:[0,110], leveloff:[148,0], style:STYLE, size:[148,110]},
	{code:'<img src="images/m1item1.gif"/>',
	ocode:'<img src="images/m1item1o.gif"/>',
	url:"xrdsystems.htm",
	target:"_self"
	},
	{code:'<img src="images/m1item2.gif"/>',
	ocode:'<img src="images/m1item2o.gif"/>',
	url:"labservices.htm",
	target:"_self"
	},
	{code:'<img src="images/m1item3.gif"/>',
	ocode:'<img src="images/m1item3o.gif"/>',
	url:"contractrd.htm",
	target:"_self"
	},
	{code:'<img src="images/m1item4.gif"/>',
	ocode:'<img src="images/m1item4o.gif"/>',
	url:"finefocusxraytubes.htm",
	target:"_self"
	},
	{code:'<img src="images/m1item5.gif"/>',
	ocode:'<img src="images/m1item5o.gif"/>',
	url:"xrdinfo.htm",
	target:"_self"
	},
	{code:'<img src="images/m1item6.gif"/>',
	ocode:'<img src="images/m1item6o.gif"/>',
	url:"residualstressinfo.htm",
	target:"_self"
	},
	{code:'<img src="images/m1item7.gif"/>',
	ocode:'<img src="images/m1item7o.gif"/>',
	url:"electropolisher.htm",
	target:"_self"
	}

];
var MENU_ITEMS2 = [
	{pos:[710,5], itemoff:[0,111], leveloff:[29,0], style:STYLE, size:[29,55]},
	{code:'<img src="images/m2item1.gif"/>',
	ocode:'<img src="images/m2item1o.gif"/>',
	url:"home.htm",
	target:"_self"

	}
];

var MENU_ITEMS3 = [
	{pos:[638,32], itemoff:[0,50], leveloff:[29,0], style:STYLE2, size:[19,50]},
	{code:'ENGLISH',
	ocode:'ENGLISH',
	url:"http://www.protoxrd.com",
	target:"_self"

	},
	
	{code:'&nbsp&nbsp日本語',
	ocode:'&nbsp&nbsp日本語',
	url:"http://www.protoxrd.jp",
	target:"_self"

	},

	{code:'中文',
	ocode:'中文',
	url:"http://www.protoxrd.com.cn",
	target:"_self"

	}

	
	
];
