_menuCloseDelay=500
_menuOpenDelay=150
_subOffsetTop=10
_subOffsetLeft=-6

with(style1=new mm_style()){
offcolor="#ffffff";
offbgcolor="#d00000";
oncolor="#FFFFFF";
onbgcolor="#103a90";
borderstyle="solid";
borderwidth=0;
bordercolor="#72C4E4";
fontsize=12;
fontstyle="normal";
fontweight="normal";
fontfamily="Arial, Helvetica";
padding=1;
pagebgcolor="#103a90";
pagecolor="#ffffff";
pageborder="1px dashed #103a90";
separatorcolor="#ffffff";
separatorsize=1;
}


with(subStyle=new mm_style()){
offcolor="#103a90";
offbgcolor="#ffffff";
oncolor="#ffffff";
onbgcolor="#103a90";
borderstyle="solid";
bordercolor="black";
fontsize=12;
fontstyle="normal";
fontweight="normal";
fontfamily="Arial, Helvetica";
padding=3;
subimage="js/arrow.gif";
onsubimage="js/arrow_over.gif";
pagecolor="#ffffff";
pagebgcolor="#FF6600";
separatorcolor="#999A95";
overfilter="Fade(duration=0.2);Alpha(style=0,opacity=85);Shadow(color='#777777', Direction=135, Strength=5)";
outfilter="randomdissolve(duration=0.3)";
}

with(style2=new mm_style()){
offcolor="#393939";
offbgcolor="white";
oncolor="#393939";
onbgcolor="#ECF4F9";
borderstyle="solid";
bordercolor="black";
fontsize=12;
fontstyle="normal";
fontweight="normal";
fontfamily="Arial, Helvetica";
padding=3;
separatorcolor="#999A95";
subimage="js/arrow.gif";
overfilter="Fade(duration=0.5);Shadow(color='#777777', Direction=135, Strength=5)";
outfilter="randomdissolve(duration=0.3)";
}

with(new menuname("kmmenu")){
screenposition="top;center";
top="offset=110";
left="offset=165";
style=style1;
alwaysvisible=1;
align="centre";
orientation="horizontal";
aI("text=&nbsp; About us  &nbsp;;showmenu=about;url=company.html;status=About us")
aI("text=&nbsp;  Services  &nbsp;;showmenu=services;url=services.html;status=Services")
aI("text=&nbsp;  Vessel Types  &nbsp;;showmenu=shiptypes;url=ship_types.html;status=Vessel types")
aI("text=&nbsp;  News  &nbsp;;showmenu=news;url=headlines.html;status=News")
aI("text=&nbsp;  Jobs  &nbsp;;;url=jobs.html;status=Jobs")
aI("text=&nbsp;  Contact  &nbsp;;showmenu=contact;url=contact.html;status=Contact")
}

with(milonic=new menuname("about")){
itemwidth=100;
borderwidth=1;
style=subStyle;
aI("text=&nbsp;The Company&nbsp;;url=company.html;;status=The Company;separatorsize=1")
aI("text=&nbsp;Resources&nbsp;;url=resources.html;;status=Resources;separatorsize=1")
}

with(milonic=new menuname("services")){
itemwidth=130;
borderwidth=1;
style=subStyle;
aI("text=&nbsp;Services&nbsp;;url=services.html;;status=Services;separatorsize=1")
aI("text=&nbsp;Innovative Concepts&nbsp;;url=innovation.html;;status=Innovative Concepts;separatorsize=1")
aI("text=&nbsp;Advanced analysis&nbsp;;showmenu=asa;url=analysis.html;status=Advanced Analysis;separatorsize=1")
aI("text=&nbsp;3d Modeling&nbsp;;url=3dmain.html;;status=3D Modeling;separatorsize=1")
}

with(milonic=new menuname("asa")){
itemwidth=125;
borderwidth=1;
style=subStyle;
aI("text=&nbsp;FEA&nbsp;;url=fea.html;;status=Finite Element Analysis;separatorsize=1")
aI("text=&nbsp;Concept Studies&nbsp;;url=concept_studies.html;;status=Concept Studies;separatorsize=1")
aI("text=&nbsp;Fluid Dynamics&nbsp;;url=cfd.html;;status=Fluid Dynamics;separatorsize=1")
aI("text=&nbsp;Model Tests&nbsp;;url=model_testing.html;;status=Model Tests;separatorsize=1")
aI("text=&nbsp;Sea Trials&nbsp;;url=trials.html;;status=Sea Trials;separatorsize=1")
}

with(milonic=new menuname("shiptypes")){
itemwidth=110;
borderwidth=1;
style=subStyle;
aI("text=&nbsp;Cruise&nbsp;;url=ship_cruise.html;;status=Cruise ships;separatorsize=1")
aI("text=&nbsp;Government&nbsp;;url=ship_gov.html;;status=Government;separatorsize=1")
aI("text=&nbsp;Icebreakers&nbsp;;url=ship_ice.html;;status=Icebreakers;separatorsize=1")
aI("text=&nbsp;Offshore Service&nbsp;;url=ship_osv.html;;status=Offshore Service;separatorsize=1")
aI("text=&nbsp;Patrol&nbsp;;url=ship_patrol.html;;status=Patrol;separatorsize=1")
aI("text=&nbsp;Power Plants&nbsp;;url=ship_fpp.html;;status=Power Plants;separatorsize=1")
aI("text=&nbsp;Research&nbsp;;url=ship_research.html;;status=Research;separatorsize=1")
aI("text=&nbsp;Ro-Ro Ferries&nbsp;;url=ship_roro.html;;status=Ro-Ro Ferries;separatorsize=1")
aI("text=&nbsp;Tankers&nbsp;;url=ship_tankers.html;;status=Tankers;separatorsize=1")

}

with(milonic=new menuname("news")){
itemwidth=135;
borderwidth=1;
style=subStyle;
aI("text=&nbsp;Headlines&nbsp;;url=headlines.html;;status=News headlines;separatorsize=1")
aI("text=&nbsp;Horizons magazine&nbsp;;showmenu=horizons;url=hor-current.html;status=Horizons Magazine;separatorsize=1")
aI("text=&nbsp;Corporate News&nbsp;;url=http://stxeurope.com/mediacentre/pressreleases/;target=_blank;status=Link to STX Europe Corporate News;separatorsize=1")
}


with(milonic=new menuname("horizons")){
itemwidth=125;
borderwidth=1;
style=subStyle;
aI("text=&nbsp;Current issue&nbsp;;url=hor-current.html;;status=Horizons current issue;separatorsize=1")
aI("text=&nbsp;Archive&nbsp;;url=hor-archive.html;;status=Horizons Magazine Archives;separatorsize=1")
}

with(milonic=new menuname("contact")){
itemwidth=130;
borderwidth=1;
style=subStyle;
aI("text=&nbsp;Locations&nbsp;;showmenu=locations;url=contact.html;status=STX Canada/US Marine Offices;separatorsize=1")
aI("text=&nbsp;Request information&nbsp;;url=contact.html#rfi;;status=Request for information;separatorsize=1")
aI("text=&nbsp;Contact Webmaster&nbsp;;url=mailto:juan.carreras@stxeurope.com;;status=Contact webmaster;separatorsize=1")
}

with(milonic=new menuname("locations")){
itemwidth=190;
borderwidth=1;
style=style2;
aI("text=<b><font color=#103a90>STX Canada Marine<br>Vancouver, BC, Canada<br></font></B>Tel:604-216-3360<br>Fax:604-216-3339<br><a href=mailto:dave.mcmillan@stxeurope.com><font color=red size=1>E-mail Vancouver office</font></a>;url=javascript:open_window('win', 'vanoffice.html',100,100,500, 600,0,0,0,0,1);;status=STX Canada Marine;separatorsize=1")
aI("text=<b><font color=#103a90>Houston, TX<br></font></B>Direct:713-981-2012<br>Toll Free:1-800-595-5810<br>Fax:713-595-7999<br><a href=mailto:ron.pearson@stxeurope.com><font color=red size=1>E-mail Houston office</font></a>;url=javascript:open_window('win', 'houstonoffice.html',100,100,500, 600,0,0,0,0,0);;status=STX US Marine Offices;separatorsize=1")
}

drawMenus();

function na_open_window(name, url, left, top, width, height, toolbar, menubar, statusbar, scrollbar, resizable)
{
  toolbar_str = toolbar ? 'yes' : 'no';
  menubar_str = menubar ? 'yes' : 'no';
  statusbar_str = statusbar ? 'yes' : 'no';
  scrollbar_str = scrollbar ? 'yes' : 'no';
  resizable_str = resizable ? 'yes' : 'no';
  window.open(url, name, 'left='+left+',top='+top+',width='+width+',height='+height+',toolbar='+toolbar_str+',menubar='+menubar_str+',status='+statusbar_str+',scrollbars='+scrollbar_str+',resizable='+resizable_str);
  self.focus();
}