BLANK_IMAGE="/images/b.gif";
//keywords
var code="code";var url="url";var sub="sub";
//styles
//var top_css = {"ON":"clsCMTopOn", "OVER":"clsCMTopOver"};
var top_css = {"ON":"navhover", "OVER":"navhover"};
var top_csswh = {"ON":"navhoverwh", "OVER":"navhoverwh"};
var color = {"border":"ff8400", "shadow":"#DBD8D1", "bgON":"#FFFFFF","bgOVER":"#ffffff"};  //FEBC76
var css = {"ON":"clsCMOn", "OVER":"clsCMOver"};

var header = {"border":"#ffa92e", "shadow":"#DBD8D1", "bgON":"#ffa92e","bgOVER":"#FB6600"}; //#C0C0F0
var homecolor = {"border":"#ffa92e", "shadow":"#DBD8D1", "bgON":"#ffa92e","bgOVER":"#FB6600"};
var subcol = {"border":"#6C3500", "shadow":"#6C25C", "bgON":"#FEBC76","bgOVER":"#FB6600"}; //#C0C0F0

//var header = {"border":"#ffffff", "shadow":"#DBD8D1", "bgON":"#FFffff","bgOVER":"#FEBC76"}; //#C0C0F0
//var homecolor = {"border":"#ffffff", "shadow":"#DBD8D1", "bgON":"#ffffff","bgOVER":"#FEBC76"};
//var subcol = {"border":"#6C3500", "shadow":"#6C25C", "bgON":"#FFffff","bgOVER":"#FEBC76"}; //#C0C0F0

var STYLE = {"border":1, "shadow":0, "color":color, "css":top_css};
var STYLE_BG1 = {"border":1, "shadow":0, "color":header, "css":top_css};
var STYLE_HOME = {"border":1, "shadow":0, "color":homecolor, "css":top_css};
var STYLE_SUB = {"border":1, "shadow":2, "color":subcol, "css":top_css};

//items and formats  15-18 for ns4
var ICMENU =
[
	{"pos":[0,0], "itemoff":[0,75], "leveloff":[0,0], "style":STYLE_BG1, "size":[35,75]},
	{code:"Home", url:"/", "format":{"style":STYLE_BG1}},
	{code:"About IC", url:"/about_us.htm", "format":{"style":STYLE_BG1}},
	{code:"Features", "format":{"style":STYLE_BG1},
		sub:[
			{"style":STYLE_SUB,"leveloff":[35,10], "itemoff":[21,0], "size":[22,170]},
			{code:"IC 30th Anniversary", url:"/ic30/intro.html", "target":"_blank"},
			{code:"9CMIT Conference", url:"http://cmit.ic.polyu.edu.hk"},
			{code:"Award", url:"/award/award.htm"},
			{code:"Encouraging Comments", url:"/award/visitors.htm"},
			{code:"IC Publications", url:"http://www.ic.polyu.edu.hk/paper/welcome.asp"},
			{code:"Live Video Network", url:"/livevideo/liveBroadcast.htm"},
			{code:"Search", url:"/search.htm"},
		]
	},
	{code:"Units and Offices",  "format":{"style":STYLE_BG1}, 
		sub:[
			{"style":STYLE_SUB,"leveloff":[35,10], "itemoff":[21,0], "size":[22,178]},
			{code:"Central Services", url:"/units_office/central.htm"},
			{code:"Technical Units", url:"/units_office/division.htm"},
			{code:"Specialized Centres", url:"/units_office/specialized.htm"},
		]
	},
	{code:"Newsletters", url:"/newsletter/nlett.htm", "target":"_blank", "format":{"style":STYLE_BG1, "itemoff":[0,70], "size":[35,80]}
	},
	
	{code:"Services",  "format":{"itemoff":[0,77]},
		sub:[
			{"style":STYLE_SUB,"leveloff":[35,10], "itemoff":[21,0], "size":[22,120]},
			{code:"Training Services", url:"/train_service.htm"},
			{code:"Consultancy", url:"/consultancy.htm"},
			{code:"Industrial Projects", url:"/industrial_projects.htm"},
		]
	},
	{code:"Programmes",  "format":{"itemoff":[0,70], "size":[35,95]},
		sub:[
			{"style":STYLE_SUB,"leveloff":[35,10], "itemoff":[21,0], "size":[22,149]},
			{code:"Training Programmes", url:"/programmes/train_prog.htm"},
			{code:"Safety Courses", url:"http://www.ic.polyu.edu.hk/oess/$courses.htm", "target":"_blank"},
			{code:"Academic Programmes", url:"/programmes/part_time_intro.htm"},
			{code:"Computer Training", url:"/programmes/computer.htm"},
			{code:"Industrial-based", url:"/programmes/prof_service.htm"},
			{code:"Mainland Programmes", url:"/programmes/mainland.htm"},
		]
	},
	{code:"Products",  "format":{"style":STYLE_BG1,"itemoff":[0,95]},
		sub:[
			{"style":STYLE_SUB,"leveloff":[35,10], "itemoff":[21,0],"size":[22,149]},
			{code:"Souvenir", url:"/products/souvenir.htm"},
			{code:"Industrial Products", url:"/products/industrialprod.htm"},
		]
	},
	{code:"Projects",  "format":{"itemoff":[0,70]},
		sub:[
		    {"style":STYLE_SUB,"leveloff":[35,10],"itemoff":[21,0], "size":[22,149]},
			{code:"R & D", url:"/projects/RandD.htm"},
			{code:"Industrial", url:"/projects/industrial.htm"},
			{code:"Student Projects", url:"/projects/studentproj.htm"},
		]
	},
	{code:"Award", url:"/award/award.htm", "format":{"style":STYLE_BG1, "itemoff":[0,75], "size":[35,60]}},
	{code:"Collaboration", url:"/collaboration/Collaboration5.htm", "format":{"style":STYLE_BG1, "itemoff":[0,60], "size":[35,82]}},

	{code:"Contact Us", url:"/contact_us.htm", "format":{"itemoff":[0,82]}},
	{code:"Site Map", url:"/sitemap.htm", "format":{"style":STYLE_BG1}},

	
	//	{code:"Sizing", url:"sizing/index.html", "target":"mainFrame"},
//	{code:"Positioning", url:"positioning/index.html", "target":"mainFrame"},
//	{code:"Popup", url:"popup/index.html", "target":"mainFrame"},
//	{code:"Frames support", url:"frames/index.html", "target":"_blank"},
//	{code:"Unlimited levels", url:"levels/index.html", "target":"mainFrame"},
//	{code:"Styles", url:"styles/index.html", "target":"mainFrame"},
//	{code:"Borders and shadow", url:"bordersandshadow/index.html", "target":"mainFrame"},
//	{code:"Multiple menus", url:"multiple/index.html", "target":"mainFrame"},
//	{code:"<b>Download Now!</b>", url:"http://javascript.cooldev.com/files/COOLjsMenu.zip", "format":{"itemoff":[30,0]}},
//	{code:"<b>Order Now! (only $29)</b>", url:"http://javascript.cooldev.com/registration.shtml?id=160728", "format":{"itemoff":[21,0]}},
//	{code:"Other COOL Scripts!", "format":{"itemoff":[30,0]},
//		sub:[
//			{"leveloff":[-15,134], "itemoff":[-21,0]},
//			{code:"<b>COOLjsMenu PRO</b>", url:"http://javascript.cooldev.com/scripts/coolmenupro/", "target":"_top"},
//			{code:"<b>COOLjsTree</b>", url:"http://javascript.cooldev.com/scripts/cooltree/", "target":"_top"},
//			{code:"<b>COOLjsTree PRO</b>", url:"http://javascript.cooldev.com/scripts/cooltreepro/", "target":"_top"},
//		]
//	},
];
