if(location.href.toString().search('test.mic.gov.hk') != -1)
	domain_url = "test.mic.gov.hk"
else if(location.href.toString().search('www0.mic.gov.hk') != -1)
	domain_url = "www0.mic.gov.hk"
else if(location.href.toString().search('www.mic.gov.hk') != -1)
	domain_url = "www.mic.gov.hk"
else if(location.href.toString().search('test.pdc.gov.hk') != -1)
	domain_url = "test.pdc.gov.hk"
else if(location.href.toString().search('www0.pdc.gov.hk') != -1)
	domain_url = "www0.pdc.gov.hk"
else if(location.href.toString().search('www.pdc.gov.hk') != -1)
	domain_url = "www.pdc.gov.hk"
else if(location.href.toString().search('pdc_ogcio.devprj.com') != -1)
	domain_url = "pdc_ogcio.devprj.com"

path = "http:" + "//" + "sc.info.gov.hk/gb/" + domain_url + "/pmb/";

tc_path = "http:" + "//" + domain_url + "/pmb/";

front_path = "http:" + "//" + domain_url + "/pmb/";

cv_sc_base_path = "http:" + "//" + "sc.info.gov.hk/gb/" + domain_url;

cv_nonsc_base_path = "http:" + "//" + domain_url;

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];}
}

document.write("<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 width=\"100%\">");
document.write("<TR><TD COLSPAN=3 width=\"787\"><IMG SRC=\"../images/top_men_01.gif\" WIDTH=787 HEIGHT=40 border=0 usemap=\"#Map\" alt=\"Hong Kong Port and Maritime Board\"></TD>");
document.write("<td rowspan=\"2\" width=\"300\" background=\"../images/menu_back.gif\">&nbsp;</td>");
document.write("</TR>");
document.write("<TR>");
document.write("<TD width=\"93\"><a href=\"../about/index.htm\" target=\"_top\" onMouseOut=MM_swapImgRestore() onMouseOver=MM_swapImage('pic1','','../images/top_men_on_02.gif',1)><IMG SRC=\"../images/top_men_02.gif\" WIDTH=93 HEIGHT=22 border=\"0\" name=pic1 alt=\"About PMB\"></a></TD>");
document.write("<TD width=\"117\" background=\"../images/top_men_08.jpg\"><a href=\"../board/index.htm\" target=\"_top\"onMouseOut=MM_swapImgRestore() onMouseOver=MM_swapImage('pic2','','../images/top_men_on_03.gif',1)><IMG SRC=\"../images/top_men_03.gif\" WIDTH=117 HEIGHT=22 border=\"0\" name=pic2 alt=\"Bulletin Board\"></TD>");
document.write("<TD width=\"194\"><IMG SRC=\"../images/top_men_08.jpg\" width=\"577\" HEIGHT=22 border=\"0\"></TD>");
document.write("</TR>");
document.write("</TABLE>");
document.write("<map name=\"Map\"><area shape=\"rect\" coords=\"5,3,287,35\"  href=\"../front.htm\" target=_top alt=\"Hong Kong Port and Maritime Board\" title=\"Hong Kong Port and Maritime Board\"><area shape=\"rect\" coords=\"542,1,635,18\" href=\"javascript:changeVer('c');\" alt=\"Traditional Chinese\" title=\"Traditional Chinese\"><area shape=\"rect\" coords=\"542,19,635,36\" href=\"javascript:changeVer('s');\" alt=\"Simplified Chinese\" title=\"Simplified Chinese\"></map>");
