//keywords
var code="code";var url="url";var sub="sub";
//styles
var defcolor = {"border":"#001E62", "shadow":"#DBD8D1", "bgON":"#449575","bgOVER":"#52AA87", "imagebg":"#DBD8D1", "oimagebg":"#B6BDD2"};
var subcolor = {"border":"#FFFFFF", "shadow":"#DBD8D1", "bgON":"#449575","bgOVER":"#52AA87", "imagebg":"#DBD8D1", "oimagebg":"#B6BDD2"};
var defcss = {"ON":"headOn", "OVER":"headOver"};
var subcss = {"ON":"subOn", "OVER":"subOver"};
var TOP_LEFT = {"border":0, "borders":[0,0,0,0], "shadow":0, "color":defcolor, "css":defcss};
var TOP_MIDDLE = {"border":0, "borders":[0,0,0,0], "shadow":0, "color":defcolor, "css":defcss};
var TOP_RIGHT = {"border":0, "borders":[0,0,0,0],"shadow":0, "color":defcolor, "css":defcss};
var STYLE1 = {"border":1, "borders":[1,1,1,1], "shadow":0, "color":subcolor, "css":subcss};
var STYLE_TOP = {"border":0, "borders":[0,0,0,0], "shadow":0, "color":subcolor, "css":subcss};
var STYLE_BOTT = {"border":0, "borders":[0,0,0,0], "shadow":0, "color":subcolor, "css":subcss};

var MENU_ITEMS = [
	{"pos":"relative", "size":[0,0], "itemoff":[0,0], "imgsize":[0,0], "leveloff":[0,0], "delay":750, "arrsize":[0,0],  "style":TOP_MIDDLE},
    
    //home tab------------------------------------------------------------------------------------------------------
    {code:"Cadlay Home", url:"index.htm", "format":{"size":[26,104], "itemoff":[0,104]},
    sub:[
    	{"size":[26,150], "itemoff":[26,0], "leveloff":[29,0]},
    	{code:"PCB Home", url:"indexPCB.htm", "format":{"style":STYLE1}},
        {code:"Overview", url:"companyOverview.htm", "format":{"style":STYLE1}},
        {code:"Company History", url:"history.htm", "format":{"style":STYLE1}},
        {code:"Our Philosophy", url:"philosophy.htm", "format":{"style":STYLE1}},
        {code:"Our Knowledge", url:"knowledge.htm", "format":{"style":STYLE1}}, 
        {code:"Infrastructure", url:"infrastructure.htm", "format":{"style":STYLE1}},        
        ]
	},
	
	//Services tab---------------------------------------------------------------------------------------------------
	{code:"Services", url:"services.htm", "format":{"size":[26,104], "itemoff":[0,104]},
    sub:[
        {"size":[26,150], "itemoff":[26,0], "leveloff":[29,0]},
        {code:"PCB Design", url:"design_process.htm", "format":{"style":STYLE1}},
        {code:"Software Design", url:"software.htm", "format":{"style":STYLE1}},
        {code:"Manufacture", url:"manufacture.htm", "format":{"style":STYLE1}},
        {code:"Assembly", url:"assembly.htm", "format":{"style":STYLE1}},
        {code:"Component Procurement", url:"procurement.htm", "format":{"style":STYLE1}},
        {code:"Hardware Design", url:"hw_sw_design.htm", "format":{"style":STYLE1}},    
        ]        
    },
    
    
	//PCB Design tab-------------------------------------------------------------------------------------------------
    {code:"PCB Design", url:"design_process.htm", "format":{"size":[26,104], "itemoff":[0,104]},
    sub:[
        {"size":[26,150], "itemoff":[26,0], "leveloff":[29,0]},        
        {code:"Design Process", url:"design_process.htm", "format":{"style":STYLE1}},        
        {code:"Design Expertise", url:"design.htm", "format":{"style":STYLE1}},        
        {code:"CAD Tools", url:"tools.htm", "format":{"style":STYLE1},        
        	sub:[
	        {"size":[26,150], "itemoff":[26,0], "leveloff":[0,150]},
	        {code:"Cadstar", url:"cadstar.htm", "format":{"style":STYLE1}},
	        {code:"Altium Designer", url:"altium.htm", "format":{"style":STYLE1}},
	        {code:"Hyperlynx", url:"hyperlynx.htm", "format":{"style":STYLE1}},  
	        ]        
        },        
        {code:"Quality", url:"quality.htm", "format":{"style":STYLE1},        
        	sub:[
	        {"size":[26,150], "itemoff":[26,0], "leveloff":[0,150]},
	        {code:"Administration", url:"quality_database.htm", "format":{"style":STYLE1}},
	        {code:"Design", url:"quality_design.htm", "format":{"style":STYLE1}},
	        {code:"Data Security", url:"quality_security.htm", "format":{"style":STYLE1}},
	        ]        
        },         
        {code:"Design for Manufacture", url:"dfm.htm", "format":{"style":STYLE1}},
        {code:"Design for Test", url:"dft.htm", "format":{"style":STYLE1}},
        {code:"Cost Saving", url:"ReducingDesignCost.htm", "format":{"style":STYLE1}},
        ]
	},
	
	
    //Software Design tab----------------------------------------------------------------------------------------------
    {code:"Software Design", url:"software.htm", "format":{"size":[26,104], "itemoff":[0,104]},
    sub:[
        {"size":[26,150], "itemoff":[26,0], "leveloff":[29,0]},
        {code:"Software Solutions", url:"Software.htm", "format":{"style":STYLE1}},
        {code:"Cadlay MRP", url:"softwareMRP.htm", "format":{"style":STYLE1},
        	sub:[
	        {"size":[26,150], "itemoff":[26,0], "leveloff":[0,150]},
	        {code:"MRP Overview", url:"softwareMRP.htm", "format":{"style":STYLE1}},
	        {code:"Screenshots", url:"softwareMRPScreenshots.htm", "format":{"style":STYLE1}},
	        {code:"Testimonials", url:"softwareMRPTestimonials.htm", "format":{"style":STYLE1}},
	        {code:"Price Information", url:"softwareMRPPrice.htm", "format":{"style":STYLE1}},   
	        ]        
        },         
        {code:"Cadlay Tools", url:"CadlayTools.htm", "format":{"style":STYLE1}},
        {code:"Software Overview", url:"softwareOverview.htm", "format":{"style":STYLE1}},            
        ]
	},
	
	
	//Contacts tab-----------------------------------------------------------------------------------------------------
    {code:"Contacts", url:"emailList.htm", "format":{"size":[26,104], "itemoff":[0,104]},
    sub:[
        {"size":[26,104], "itemoff":[26,0], "leveloff":[29,0]},
        {code:"Contacts List", url:"emailList.htm", "format":{"style":STYLE1}},
        {code:"Address & Map", url:"map.htm", "format":{"style":STYLE1}},
        {code:"Links", url:"links.htm", "format":{"style":STYLE1}},
        ]
    },	
];


