s_hideTimeout=400;//1000=1 second
s_subShowTimeout=110;//if <=100 the menus will function like SM4.x
s_subMenuOffsetX=4;//pixels (if no subs, leave as you like)
s_subMenuOffsetY=1;
s_showLinkCursor=true;
s_statusShowLinks=true;
s_keepHighlighted=true;
s_autoSELECTED=false;//make the item linking to the current page SELECTED
s_autoSELECTEDItemsClickable=true;//look at IMPORTANT NOTES 1 in the Manual
s_scrollingInterval=30;//scrolling for tall menus
s_rightToLeft=false;
s_hideSELECTsInIE=false;//look at IMPORTANT HOWTOS 7 in the Manual
// === 2 === Default TARGET for all the links
// for navigation to frame, calling functions or
// different target for any link look at
// IMPORTANT HOWTOS 1 NOTES in the Manual
s_target='self';//(newWindow/self/top)
// === 3 === STYLESHEETS- you can define different arrays and then asign
// them to any menu you want with the s_add() function
s_CSSTop=[
'#485A66',	// BorderColorDOM ('top right bottom left' or 'all')
'#485A66',	// BorderColorNS4
1,		// BorderWidth
'#1D364C',	// BgColor
1,		// Padding
'#1D364C',	// ItemBgColor
'#2B4B60',	// ItemOverBgColor
'#c4c8cc',	// ItemFontColor
'#FFFFFF',	// ItemOverFontColor
'verdana,arial,helvetica,sans-serif',	// ItemFontFamily
'10px',		// ItemFontSize (css)
'1',		// ItemFontSize Netscape4 (look at KNOWN BUGS 3 in the Manual)
'',		// ItemFontWeight (bold/normal)
'left',		// ItemTextAlign (left/center/right)
3,		// ItemPadding
1,		// ItemSeparatorSize
'#485A66',	// ItemSeparatorColor
'progid:DXImageTransform.Microsoft.Fade(duration=0.5) alpha(opacity=91)',
true,				// UseSubImg
'menu/menuArrow.gif',    	// SubImgSrc
'menu/menuArrowOver.gif',	// OverSubImgSrc
5,				// SubImgWidth
9,				// SubImgHeight
5,				// SubImgTop px (from item top)
'',				// SELECTED ItemBgColor
'',				// SELECTED ItemFontColor
'',				// SELECTED SubImgSrc
false,				// UseScrollingForTallMenus
'',				// ScrollingImgTopSrc
'',				// ScrollingImgBottomSrc
68,				// ScrollingImgWidth
12,				// ScrollingImgHeight
'',				// ItemClass (css)
'',				// ItemOverClass (css)
''				// SELECTED ItemClass (css)
];
function s_getStart(a){
var bodyStyleMarginTop=1;// specify manually to kill a bug in Opera 5/6
var o=document.images["getStart"];if(!o)return a=="x"?-630:0;
if(s_nS4)return a=="x"?o.x:o.y;
var oP,oC,ieW;oP=o.offsetParent;oC=a=="x"?o.offsetLeft:o.offsetTop;
ieW=s_iE&&!s_mC?1:0;
while(oP){if(ieW&&oP.tagName&&oP.tagName.toLowerCase()=="table"&&oP.border&&oP.border>0)oC++;oC+=a=="x"?oP.offsetLeft:oP.offsetTop;oP=oP.offsetParent}; if(s_kN31p&&!s_kN32p){return a=="x"?(document.body.style&&document.body.style.marginLeft?parseInt(document.body.style.marginLeft)+oC:document.body.marginWidth?parseInt(document.body.marginWidth)+oC:document.body.leftMargin?parseInt(document.body.leftMargin)+oC:oC+10):(document.body.style&&document.body.style.marginTop?parseInt(document.body.style.marginTop)+oC:document.body.marginHeight?parseInt(document.body.marginHeight)+oC:document.body.topMargin?parseInt(document.body.topMargin)+oC:oC+10)};return s_oP7m?a=="x"?oC:oC+bodyStyleMarginTop:s_iE5M?a=="x"?oC+parseInt(document.body.currentStyle.marginLeft):oC+parseInt(document.body.currentStyle.marginTop):oC};
// === 4 === MENU DEFINITIONS
//==============================================(ABOUT US)==========================================//
s_add({
N:'about',	// NAME
LV:1,		// LEVEL (look at IMPORTANT NOTES 1 in the Manual)
MinW:130,	// MINIMAL WIDTH
T:132,		// TOP (look at IMPORTANT HOWTOS 6 in the Manual)
L:'s_getStart("x")',	// LEFT (look at IMPORTANT HOWTOS 6 in the Manual)
P:false,	// menu is PERMANENT (you can only set true if this is LEVEL 1 menu)
S:s_CSSTop	// STYLE Array to use for this menu
},
[{U:'about.aspx',T:'About Osmani'}

//{U:'board.aspx',T:'Board of Director'},{U:'staff.aspx',T:'Permanent Staff'}

]

//,{U:'journey.aspx',T:'OCL - Journey through Decades'},
//{U:'cons.aspx',T:'Vision'},{U:'cons.aspx',T:'Major Operational arms of Group'},
//{Show:'mng',U:'staff.aspx',T:'The Management & Staff'},{U:'cons.aspx',T:'Partners '},{U:'resources.aspx',T:'Technological Resources'},
//{U:'equipment.aspx',T:'Equipment & Facilities'},{U:'cons.aspx',T:'Quality Policy'}	]

	);
s_add(	{N:'mng',LV:2,MinW:130,T:208,L:'s_getStart("x")+195+photosME',P:false,S:s_CSSTop},[	{U:'board.aspx',T:'Board of Director'},{U:'staff.aspx',T:'Permanent Staff'}	]	);
//==============================================(SERVICES)==========================================//
s_add(
{N:'services',LV:1,MinW:130,T:132,L:'s_getStart("x")+72+photosME',P:false,S:s_CSSTop},
[{U:'tr_eng_pl.aspx',T:'Engineering'},{U:'architecture.aspx',T:'Architecture'},{U:'tr_eng_pl.aspx',T:'Planning'},{U:'mapping.aspx',T:'GIS & Mapping'},{U:'technology.aspx',T:'Information Technology'}	]	);
//==============================================(PROJECTS)==========================================//
s_add(
{N:'projects',LV:1,MinW:130,T:132,L:'s_getStart("x")+145+searchME',P:false,S:s_CSSTop},
[{U:'hand.aspx',T:'In Hand Projects'},{U:'completed.aspx',T:'Completed Projects'}

//{U:'gallery.aspx',T:'Project Gallery'}

]);
//==============================================(CLIENTELE)==========================================//
s_add(
{N:'clientele',LV:1,MinW:130,T:132,L:'s_getStart("x")+216+newsME',P:false,S:s_CSSTop},
[
{U:'clientele.aspx#int',T:'International Agencies'},
{U:'clientele.aspx#ban',T:'Banks and Financial Institutions'},
{U:'clientele.aspx#ino',T:'Industrial (Oil, Gas & Power)'},
{U:'clientele.aspx#int',T:'Industrial (Textile)'},
{U:'clientele.aspx#ins',T:'Industrial (Sugar)'},
{U:'clientele.aspx#edu',T:'Education/Research/Information Technology'},
{U:'clientele.aspx#gov',T:'Government Departments/Agencies'},
{U:'clientele.aspx#mis',T:'Miscellaneous'}]);
//==============================================(NEWS)==========================================//
s_add(
{N:'news',LV:1,MinW:130,T:132,L:'s_getStart("x")+297+articlesME',P:false,S:s_CSSTop},
[{U:'press_release.aspx',T:'Press Release'}]);
//==============================================(CAREERS)==========================================//
s_add(
{N:'careers',LV:1,MinW:130,T:132,L:'s_getStart("x")+354+statsME',P:false,S:s_CSSTop},

[{U:'under_construction.aspx',T:'Current Opportunities'},

//{U:'cons.aspx',T:'Benefits'},

{U:'under_construction.aspx',T:'Submit Resume Online'}]);
//==============================================(CONTACT)==========================================//
s_add(
{N:'contact',LV:1,MinW:130,T:132,L:'s_getStart("x")+424+forumME',P:false,S:s_CSSTop},

[{U:'office.aspx',T:'Office Locations'}
//{U:'enq_feed.aspx',T:'Enquiries and Feedback'}
]);
