<!--
browser = navigator.appName;
ie = "Microsoft Internet Explorer";
netscape = "Netscape";
os = navigator.platform;
mac = 'MacPPC';

if (browser == netscape && os != mac) {
	document.write('<link rel="stylesheet" type="text/css" href="/port.css">');
	}
else if (browser == ie && os != mac) {
	document.write('<link rel="stylesheet" type="text/css" href="/port.css">');
	}
else if (browser == netscape && os == mac) {
	document.write('<link rel="stylesheet" type="text/css" href="/port_macns.css">');
	}
else if (browser == ie && os == mac) {
	document.write('<link rel="stylesheet" type="text/css" href="/port.css">');
	}

function MM_displayStatusMsg(msgStr) { //v1.0
  status=msgStr;
  document.MM_returnValue = true;
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v3.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function NewWindow(varID) { //v2.0
  theURL = "/asp-lib/contact_info.asp?ID=" + varID;
  winName = "winContact";
  height=590;
  width=510;
  x = (screen.availWidth - 12 - width) / 2;
  y = (screen.availHeight - 48 - height) / 2;
  features = "toolbar=no,menubar=no,location=no,height=" + height + ",width=" + width + ",screenX=" + x + ",screenY=" + y + ",top=" + y + ",left=" + x + ",resizable=no,scrollbars=yes";
  newWindow = window.open(theURL,winName,features);
  newWindow.focus();
}

function makeArray(){
    this.length = makeArray.arguments.length
    for (var i = 0; i < this.length; i++) {
        this[i + 1] = makeArray.arguments[i];
    }
}

<!-- Main Menu Arrays -->
    var aryMainMenu_Bottom_One = new makeArray('port','/images/gnav_port1.gif','','MainMenu_Bottom_One','');
    var aryMainMenu_Bottom_Two = new makeArray('maritime','/images/gnav_mari1.gif','','MainMenu_Bottom_Two','');
    var aryMainMenu_Bottom_Three = new makeArray('airport','/images/gnav_airp1.gif','','MainMenu_Bottom_Three','');
    var aryMainMenu_Bottom_Four = new makeArray('realestate','/images/gnav_real1.gif','','MainMenu_Bottom_Four','');
        
    var aryMainMenu_Top_One = new makeArray('overview1','/images/mnav_news1.gif','','MainMenu_Top_One','');
    var aryMainMenu_Top_Two = new makeArray('jobs1','/images/mnav_jobs1.gif','','MainMenu_Top_Two','');
    var aryMainMenu_Top_Three = new makeArray('business','/images/mnav_busi1.gif','','MainMenu_Top_Three','');
    var aryMainMenu_Top_Four = new makeArray('comm1','/images/mnav_comm1.gif','','MainMenu_Top_Four','');
    var aryMainMenu_Top_Five = new makeArray('envi1','/images/mnav_envi1.gif','','MainMenu_Top_Five','');
    
<!-- Sub Menu Arrays -->
    var arySubMenu_One = new makeArray('','','','SubMenu_One','aryMainMenu_Bottom_One');
    var arySubMenu_Two = new makeArray('','','','SubMenu_Two','aryMainMenu_Bottom_One');
    var arySubMenu_Three = new makeArray('','','','SubMenu_Three','aryMainMenu_Bottom_One');
    var arySubMenu_Four = new makeArray('','','','SubMenu_Four','aryMainMenu_Bottom_Two');
        
<!-- Dynamic Menus -->
    isDOM = (document.getElementById) ? true : false;
    if (isDOM) {
        document.write('<scr' + 'ipt LANGUAGE="javascript" type="text/javascript" src="/scripts/submenus.js"></scr' + 'ipt>');
    } else {
        document.write('<scr' + 'ipt LANGUAGE="javascript" type="text/javascript" src="/scripts/nomenus.js"></scr' + 'ipt>');
    }
//-->
