//styles
var BLANK_IMAGE="/img/trans.gif";

var color_sep = {"bgON":"","bgOVER":""};
var color_lev1 = {"bgON":"","bgOVER":""};
var color_lev2 = {"border":"#76BB6A","shadow":"","bgON":"#FFFFFF","bgOVER":"#FFFFFF"};

var css_sep = {"ON":"menu_sep_on", "OVER":"menu_sep_Over"};
var css_lev1_products = {"ON":"menu_lev1_products_on", "OVER":"menu_lev1_products_Over"};
var css_lev1_service = {"ON":"menu_lev1_service_on", "OVER":"menu_lev1_service_Over"};
var css_lev1_corporate = {"ON":"menu_lev1_corporate_on", "OVER":"menu_lev1_corporate_Over"};
var css_lev1_careers = {"ON":"menu_lev1_careers_on", "OVER":"menu_lev1_careers_Over"};
var css_lev1_training = {"ON":"menu_lev1_training_on", "OVER":"menu_lev1_training_Over"};

var css_lev2 = {"ON":"menu_lev2_On", "OVER":"menu_lev2_Over"};

var style_sep = {"border":0, "shadow":0, "color":color_sep, "css":css_sep};
var style_lev1_products = {"border":0, "shadow":0, "color":color_lev1, "css":css_lev1_products};
var style_lev1_service = {"border":0, "shadow":0, "color":color_lev1, "css":css_lev1_service};
var style_lev1_corporate = {"border":0, "shadow":0, "color":color_lev1, "css":css_lev1_corporate};
var style_lev1_careers = {"border":0, "shadow":0, "color":color_lev1, "css":css_lev1_careers};
var style_lev1_training = {"border":0, "shadow":0, "color":color_lev1, "css":css_lev1_training};
var style_lev2 = {"border":1, "shadow":0, "color":color_lev2, "css":css_lev2};

var color_lev2_tab = {"border":"#76BB6A","shadow":"0", "bgON":"", "bgOVER":""};
var css_lev2_tab = {"ON":"menu_lev2_inactive", "OVER":"menu_lev2_inactive"};
var style_lev2_tab = {"border":1, "shadow":0, "color":color_lev2_tab, "css":css_lev2_tab};

var bar = "<table width='100%' border='0' cellspacing='2' cellpadding='0'><tr><td width='100%' class='menu_lev2_tab' valign='middle' style='vertical-align:middle'><img src='img/trans.gif' width='80%' height='1'></td></tr></table>";
//var bar175 = "<table width='100%' border='0' cellspacing='2' cellpadding='0'><tr><td width='100%' class='menu_lev2_tab_175' valign='middle' style='vertical-align:middle'><img src='img/trans.gif' width='80%' height='1'></td></tr></table>";
var bar1 = "<table width='100%' border='0' cellspacing='1' cellpadding='0'><tr><td width='100%' valign='middle' style='vertical-align:middle'><img src='img/trans.gif' width='80%' height='0'></td></tr></table>";

//items and formats
var MENU_ITEMS_STYLING = 
[
 	{"pos":"relative"},
	// For Products
	{code:"&nbsp;","url":"/products.htm?cid=topmenu&amp;ses=soliton?cid=topmenu&amp;ses=soliton","format":{"itemoff":[0,1], "leveloff":[0,0], "style":style_lev1_products,"size":[23,105]},
		sub:[
			{"itemoff":[16,0],"size":[19,210],"style":style_lev2, "leveloff":[23,0]},
			{code:"Smart Cameras","url":"/smart_cameras.htm","format":{"itemoff":[3,0]},
			sub:[			
				{"itemoff":[16,0],"size":[19,135],"style":style_lev2, "leveloff":[2,200]},
				{code:"Spot-It v2","url":"/spot_it_v2.html?cid=topmenu&amp;ses=soliton","format":{"itemoff":[3,0]}},
				{code:bar,"url":"#","format":{"style":style_lev2_tab, "size":[5,135]}},
				{code:"Spot-It","url":"/spot_it.htm?cid=topmenu&amp;ses=soliton","format":{"itemoff":[3,0]}},
				{code:bar1,"url":"#","format":{"style":style_lev2_tab, "size":[5,135]}},				
	  		    	]
	  		},
			{code:bar,"url":"#","format":{"style":style_lev2_tab, "size":[6,210]}},
			{code:"Machine Vision Cameras","url":"/products_machine_vision_cameras.htm?cid=topmenu&amp;ses=soliton","format":{"itemoff":[3,0]}},
			{code:bar,"url":"#","format":{"style":style_lev2_tab, "size":[5,210]}},
			{code:"Machine Vision Lighting","url":"/machine_vision_lighting.htm","format":{"itemoff":[3,0]}},
			{code:bar,"url":"#","format":{"style":style_lev2_tab, "size":[5,210]}},
			{code:"OEM Products","url":"/products_oem.htm?cid=topmenu&amp;ses=soliton","format":{"itemoff":[3,0]}},
			{code:bar,"url":"#","format":{"style":style_lev2_tab, "size":[5,210]}},
			{code:"Accessories","url":"/products_accessories.htm?cid=topmenu&amp;ses=soliton","format":{"itemoff":[3,0]}},
			{code:bar,"url":"#","format":{"style":style_lev2_tab, "size":[5,210]}},
			{code:"Applications","url":"/products_applications.htm?cid=topmenu&amp;ses=soliton","format":{"itemoff":[3,0]}},		
			{code:bar,"url":"#","format":{"style":style_lev2_tab, "size":[5,210]}},
			{code:"Upcoming Tradeshows","url":"/trade_shows.html?cid=topmenu&amp;ses=soliton","format":{"itemoff":[3,0]}},		
			{code:bar,"url":"#","format":{"style":style_lev2_tab, "size":[5,210]}},
			{code:"Partner Program","url":"/products_smvp_program.htm?cid=topmenu&amp;ses=soliton","format":{"itemoff":[3,0]}},
			{code:bar,"url":"#","format":{"style":style_lev2_tab, "size":[5,210]}},
			{code:"Academics","url":"/products_academics.htm?cid=topmenu&amp;ses=soliton","format":{"itemoff":[3,0]}},
			{code:bar,"url":"#","format":{"style":style_lev2_tab, "size":[5,210]}},
			{code:"FAQ","url":"/faq.htm?cid=topmenu&amp;ses=soliton","format":{"itemoff":[3,0]}},
			{code:bar1,"url":"#","format":{"style":style_lev2_tab, "size":[4,210]}},
			]		
	},		
	
	
	// For Services
	{code:"&nbsp;","url":"http://www.solitontech.com/test-and-measurement/index.html", "format":{"itemoff":[0,105], "leveloff":[0,0], "style":style_lev1_service,"size":[23,143]},
	sub:[		 	
			{"itemoff":[16,0],"size":[19,195],"style":style_lev2, "leveloff":[23,0]},			
			{code:"About Test & Measurement","url":"http://www.solitontech.com/test-and-measurement/index.html","format":{"arrsize":[3,0]}},
			{code:bar,"url":"#","format":{"style":style_lev2_tab, "size":[5,195]}},
			{code:"Software Development","url":"http://www.solitontech.com/test-and-measurement/software-development/labview-programming.html", "format":{"itemoff":[3,0]}},
			{code:bar,"url":"#","format":{"style":style_lev2_tab, "size":[6,195]}},
			{code:"Products","url":"http://www.solitontech.com/test-and-measurement/products/universal-valve-test-suite.html", "format":{"itemoff":[3,0]}},
			{code:bar,"url":"#","format":{"style":style_lev2_tab, "size":[5,195]}},
			{code:"Turn-Key Solutions","url":"http://www.solitontech.com/test-and-measurement/turn-key-solutions/automated-test-equipment.html","format":{"itemoff":[3,0]}},
			{code:bar,"url":"#","format":{"style":style_lev2_tab, "size":[4,195]}},
			{code:"Case Studies","url":"http://www.solitontech.com/test-and-measurement/applications/home.html", "format":{"itemoff":[3,0]}},
			{code:bar,"url":"#","format":{"style":style_lev2_tab, "size":[4,195]}},
			{code:"Helpful Resources","url":"http://www.solitontech.com/test-and-measurement/helpful-resources/training.html","format":{"itemoff":[3,0]}},
			{code:bar1,"url":"#","format":{"style":style_lev2_tab, "size":[4,195]}},
			]
	},
	
	
// For Contact Us
	{code:"&nbsp;","url":"http://www.solitontech.com/video-solutions/about-video-solutions.html", "format":{"itemoff":[0,143], "leveloff":[0,0], "style":style_lev1_training,"size":[23,103]},
	sub:[		 	
			{"itemoff":[16,0],"size":[19,160],"style":style_lev2, "leveloff":[23,0]},			
			{code:"About Video Solutions","url":"http://www.solitontech.com/video-solutions/about-video-solutions.html", "format":{"arrsize":[3,0]}},
			{code:bar,"url":"#","format":{"style":style_lev2_tab, "size":[5,160]}},
			{code:"Video Surveillance","url":"http://www.solitontech.com/video-solutions/video-surveillance/overview.html", "format":{"itemoff":[3,0]}},
			{code:bar,"url":"#","format":{"style":style_lev2_tab, "size":[5,160]}},
			{code:"Video Analytics","url":"http://www.solitontech.com/video-solutions/video-analytics/overview.html", "format":{"itemoff":[3,0]},
			sub:[			
				{"itemoff":[16,0],"size":[19,260],"style":style_lev2, "leveloff":[2,150]},
				{code:"Automatic Number Plate Recognition","url":"http://www.solitontech.com/video-solutions/video-analytics/number-plate.html", "format":{"itemoff":[3,0]}},
				{code:bar,"url":"#","format":{"style":style_lev2_tab, "size":[5,260]}},
				{code:"People Counting System","url":"http://www.solitontech.com/video-solutions/video-analytics/people-counting.html", "format":{"itemoff":[3,0]}},
				{code:bar1,"url":"#","format":{"style":style_lev2_tab, "size":[5,260]}},
				
	  		    	]},
			{code:bar1,"url":"#","format":{"style":style_lev2_tab, "size":[4,160]}},
			]
	},
	
	// For Company
	{code:"&nbsp;","url":"/company.htm?cid=topmenu&amp;ses=soliton","format":{"itemoff":[0,103], "leveloff":[0,0], "style":style_lev1_corporate,"size":[23,83]},
	sub:[
			{"itemoff":[16,0],"size":[19,120],"style":style_lev2, "leveloff":[23,0]},
			{code:"Values","url":"/company_core_values.htm?cid=topmenu&amp;ses=soliton","format":{"arrsize":[0,0]}},
			{code:bar,"url":"#","format":{"style":style_lev2_tab, "size":[6,120]}},
			{code:"People","url":"/company_people.htm?cid=topmenu&amp;ses=soliton","format":{"itemoff":[3,0]}},
			{code:bar,"url":"#","format":{"style":style_lev2_tab, "size":[5,120]}},
			{code:"Organization","url":"/company_organization.htm?cid=topmenu&amp;ses=soliton","format":{"itemoff":[3,0]}},
			{code:bar,"url":"#","format":{"style":style_lev2_tab, "size":[5,120]}},
			{code:"Alliances","url":"/company_alliances.htm?cid=topmenu&amp;ses=soliton","format":{"itemoff":[3,0]}},
			{code:bar,"url":"#","format":{"style":style_lev2_tab, "size":[5,120]}},
			{code:"Customers","url":"/company_customers.htm?cid=topmenu&amp;ses=soliton","format":{"itemoff":[3,0]}},
			{code:bar,"url":"#","format":{"style":style_lev2_tab, "size":[5,120]}},
			{code:"News Center","url":"/company_news.htm?cid=topmenu&amp;ses=soliton","format":{"itemoff":[3,0]},

			sub:[			
				{"itemoff":[16,0],"size":[19,145],"style":style_lev2, "leveloff":[2,110]},
				{code:"Press Releases","url":"/company_news.htm","format":{"itemoff":[3,0]}},
				{code:bar,"url":"#","format":{"style":style_lev2_tab, "size":[5,145]}},
				{code:"Soliton in the News","url":"/in_the_news.htm","format":{"itemoff":[3,0]}},

			  ]
	  		},
			
			{code:bar,"url":"#","format":{"style":style_lev2_tab, "size":[5,120]}},
			{code:"Awards","url":"/company_awards.htm?cid=topmenu&amp;ses=soliton","format":{"itemoff":[3,0]}},
			{code:bar1,"url":"#","format":{"style":style_lev2_tab, "size":[4,120]}},
			]
	},
	
	// For Careers
	{code:"&nbsp;","url":"/careers.htm?cid=topmenu&amp;ses=soliton","format":{"itemoff":[0,83], "leveloff":[0,0], "style":style_lev1_careers, "size":[23,83]},
			sub:[
			{"itemoff":[16,0],"size":[19,120],"style":style_lev2, "leveloff":[23,0]},
			{code:"Open Positions","url":"/careers_postings.htm?cid=topmenu&amp;ses=soliton","format":{"itemoff":[3,0]},
			sub:[
				{"itemoff":[19,0],"size":[20,135],"style":style_lev2, "leveloff":[0,135]},
				]			
			},
			{code:bar1,"url":"#","format":{"style":style_lev2_tab, "size":[4,120]}},
			]
	}
	

];