BLANK_IMAGE = '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:"#666666",	// color of the item border, if any
		shadow:"#DBD8D1",	// color of the item shadow, if any
		bgON:"#405080",		// background color for the items
	//	bgOVER:"#ff9900"	// background color for the item which is under mouse right now

		bgOVER:"#ffffff"

	},
	css:{
		ON:"clsCMOn",		// CSS class for items
		OVER:"clsCMOver"	// CSS class  for item which is under mouse
	}
};

var NOSTYLE = {
	border:0,
	shadow:0,
	color:{
		border:"",
		shadow:"",
		bgON:"",
		bgOVER:""
	},
	css:{
		ON:"clsCMOn2",
		OVER:"clsCMOver2"
	}
};

var TOP_STYLE = {
	border:0,			// item's border width, pixels; zero means "none"
	shadow:0,			// item's shadow size, pixels; zero means "none"
	color:{
		border:"0",		// color of the item border, if any
		shadow:"#DBD8D1",	// 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:"clsCMOn",		// CSS class for items
		OVER:"clsCMOver"	// CSS class  for item which is under mouse
	}
};

var MENU_ITEMS = [
	{pos:[10,10], itemoff:[0,79], leveloff:[26,0], style:NOSTYLE, size:[22,70]},
	{code:"About Us", url:"about_us.php",
		sub:[
			{itemoff:[21,0], style: STYLE, size:[22,165]},

			{code:"Company Overview", url:"/"},
			{code:"Corporate Philosophy", url:"/"},
			{code:"Executive Management", url:"/"},
			{code:"Production Facilities", url:"/"},
			{code:"Media Center", url:"/"},
			{code:"Corporate Responsibility", url:"/"},
			{code:"Corporate Citizenship", url:"/"},
			{code:"Honors and Awards", url:"/"},
			{code:"Milestones", url:"/"},
			{code:"Downloads", url:"/"},
			{code:"Contacts", url:"/"},
		]
	},

	{code:"Products", url:"products.php", itemoff:[0,80], format:{size:[22,70]},
		sub:[
			{itemoff:[21,0], style: STYLE, size:[22,135]},

			{code:"Products Overview", url:"product_overview.php"},
			{code:"LCD TV", url:"lcd_tv.php",
				sub:[
					{leveloff:[5,125], size:[22,55]},
					{code:"56\"", url:""},
					{code:"52\"", url:""},
					{code:"47\"", url:"/"},
					{code:"42\"", url:"/"},
					{code:"37\"", url:"/"},
					{code:"32\"", url:"/"},
					{code:"31.5\"", url:"/"},
					{code:"27\"", url:"/"},
					{code:"26\"", url:"/"},
					{code:"20.1\"", url:"/"},
					{code:"20.1\"", url:"/"}
				]
			},


			{code:"Notebook", url:"notebook.php"},
			{code:"Monitor", url:"monitor.php"},
			{code:"Special Applications", url:"special_applications.php",
				sub:[
					{leveloff:[5,125], size:[22,320]},
					{code:"Industry, Amusement, Avionics and Vehicle Display", url:"iaav.php"},
					{code:"Medical Displays", url:"medical_displays.php"}
				]

			},

			{code:"Downloads", url:"downloads.php"}
		]
	},

	{code:"Technology", url:"technology.php", itemoff:[0,76], format:{size:[22,82]},
		sub:[
			{itemoff:[21,0], style: STYLE, size:[22,160]},
			
			{code:"TFT-LCD: What is it?", url:"/"},
			{code:"Panel Size Evolution", url:"/"},
			{code:"Production Process", url:"/"},
			{code:"Panel Size Evolution", url:"/",	

				sub:[
					{leveloff:[5,150], style: STYLE, size:[22,90]},
					{code:"CF and TFT", url:"/"},
					{code:"LCD", url:"/"},
					{code:"LCM", url:"/"}
				]
			},

			{code:"Display Technologies", url:"/",	

				sub:[
					{leveloff:[5,150], style: STYLE, size:[22,230]},
					{code:"Avionic Display", url:"/"},
					{code:"LCD TV", url:"/"},
					{code:"Over-drive", url:"/"},
					{code:"Natural Color Technology", url:"/"},
					{code:"High Color Saturation", url:"/"},
					{code:"Omniview Color", url:"/"},
					{code:"High Brightness Backlight System", url:"/"},
					{code:"eco TV", url:"/"}
				]
			},

			{code:"Glossary", url:"technology_glossary.php"}

		]
	},


	{code:"Investor Relations", url:"investor_relations.php", itemoff:[0,94], format:{size:[22,135]}, 
		sub:[
			{itemoff:[21,0], style: STYLE, size:[22,165]},
			
			{code:"Financials", url:"financials.php",
				sub:[
					{leveloff:[5,155]},
					{code:"Quarterly Results", url:"quarterly_results.php"},
					{code:"Annual Reports", url:"annual_reports.php"},
					{code:"Prospectus", url:"prospectus.php"}
				]
	},

			{code:"Shareholders' Services", url:"shareholders_services.php",
				sub:[
					{leveloff:[5,155]},
					{code:"Stock Price", url:"ir_advanced_chart.php"},
					{code:"Analyst Coverage", url:"analyst_coverage.php"},
					{code:"Investor FAQ", url:"investor_faq.php"},
				]
			},

			{code:"IR News", url:"ir_news.php"},
			{code:"IR Contacts", url:"ir_contacts.php"},
			{code:"Email Alerts", url:"email_alerts.php"},
			{code:"Conference Registration", url:"investor_conference_registration.php"}
		]
	},

	{code:"Careers", url:"careers.php", itemoff:[0,138],
		sub:[
			{itemoff:[21,0], style: STYLE, size:[22,135]},

		{code:"The CMO Way", 
			sub:[
				{leveloff:[5,121], size:[22,220]},
				{code:"Principles of Business Conduct", url:"/"},
				{code:"CMO's Advantages", url:"/"},
				{code:"Talent: CMO's Greatest Asset", url:"/"}
			]	
		},

		{code:"Happiness Matters",
			sub:[
				{leveloff:[5,121], size:[22,220]},
	          		{code: "CMO People: Sharing Their Stories", url:"/"},
				{code: "Career Development", url:"/"},		
                    		{code: "Remuneration and Benefits", url:"/"}
			]	
		},


		{code:"Joining CMO",
			sub:[
				{leveloff:[5,121], size:[22,220]},
			        {code: "Application and Interview Process", url:"/"},
          			{code: "Online Recruitment", url:"/"},
			        {code: "Recruiting Events", url:"/"}
			]
		},

		{code: "CMO Worldwide",
			sub:[
				{leveloff:[5,121], size:[22,120]},
				{code: "Ningbo Facility", url:"/"},
				{code: "Nanhai Facility", url:"/"},
			]
		},

		{code:"CMO HR News", url:"/"}, 
		{code:"Questions?", url:"/"}, 
		{code:"Contacts", url:"/"}

		]
	},

	{code:"Media Center", url:"media_center.php", itemoff:[0,70], format:{size:[22,94]},
		sub:[
			{itemoff:[21,0], style: STYLE, size:[22,155]},
			
			{code:"News", url:"media_news.php"},
			{code:"Events", url:"media_events.php"},
			{code:"Media Downloads", url:"media_downloads.php"},
			{code:"Media Center Contact", url:"/"}
		]
	},

	{code:"Quality and Service", url:"quality_service.php", itemoff:[0,102], format:{size:[22,150]},
		sub:[
			{itemoff:[21,0], style: STYLE, size:[22,145]},
		
			{code:"Sales Service", url:"quality_service.php"},
			{code:"Quality Management", url:"quality_management.php/"},
			{code:"Service Warranty", url:"quality_service.php"},
			{code:"Downloads", url:"quality_service_downloads.php"},
			{code:"Contacts", url:"quality_service.php"},
			
		]
	}

];
