 
function resrc_gallery(){
	var tempLocation = 'ht'+'tp://'+ 'g' + 'r' + 's' +'web.arcotect.com/';
	var existing_lang_href = "";
	var text_url_str="";
	var text_str="";
	var imgbase = "";
	existing_lang_href = document.location.href;
	if(existing_lang_href.search("203.169.152.25") != -1){
	//	alert("Simplified");
		window.open(tempLocation + 'sc/resource/index.html','','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,width=795,height=560');
	} else {
	//	alert("Big5");
		window.open(tempLocation + 'tc/resource/index.html','','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,width=795,height=560');
	}
}

var dt=250;
var mbA,mbT,mbTf,mbSf;
var mbAm,mbTm,mbTfm,mbSfm;
var mbAi,mbTi,mbTfi="",mbSfi;
var h ="\'hide\'";
var s = "\'show\'";
var space = '\'\'';

function showicon(layername) {  //reloads the window if Nav4 resized 
	
	//if(mbTfi==layername){
		clearTimeout(mbTi);
	//}
	if(mbTfi!=="" && mbTfi!==layername){
	//alert(mbTfi+" "+layername);
		MM_showHideLayers(mbTfi,'','hide');
	}
		MM_showHideLayers(layername,'','show');
		mbTfi=layername;
		//showmain();
	//MM_showHideLayers(layername,'','show');
}
function hideicon(layername) {  //reloads the window if Nav4 resized 

	//clearTimeout(mbTi);
	//mbTi=setTimeout('MM_showHideLayers(\''+layername+'\',\'\',\'hide\');', dt);
	//mbTfi=layername;
	
	//MM_showHideLayers(layername,'','hide');
	//hidemain();
}



function showsub(layername) {  //reloads the window if Nav4 resized 
	
	if(mbTf==layername){
		clearTimeout(mbT);
	}
	
		mbT=setTimeout('MM_showHideLayers(\''+layername+'\',\'\',\'show\');', dt);
		showmain();
	//MM_showHideLayers(layername,'','show');
}
function hidesub(layername) {  //reloads the window if Nav4 resized 
	clearTimeout(mbT);
	mbT=setTimeout('MM_showHideLayers(\''+layername+'\',\'\',\'hide\');', dt);
	mbTf=layername;
	//MM_showHideLayers(layername,'','hide');
	hidemain();
}

function showmain() {  //reloads the window if Nav4 resized 
	
		clearTimeout(mbTm);	
		mbTm=setTimeout('MM_showHideLayers(\'main\',\'\',\'show\',\'menu\',\'\',\'hide\');', dt);
	//MM_showHideLayers(layername,'','show');
}
function hidemain() {  //reloads the window if Nav4 resized 
	clearTimeout(mbTm);
	mbTm=setTimeout('MM_showHideLayers(\'main\',\'\',\'hide\',\'menu\',\'\',\'show\');', dt);
	//mbTfm=layername;
	//MM_showHideLayers(layername,'','hide');
}

function MM_showHideLayers() { //v6.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}


document.write("<div id=sub style='position:absolute; left:153px; top:139px; width:115px; height:96px; z-index:1; visibility: hidden;'  onMouseOver=MM_showHideLayers('sub','','show') onMouseOut=MM_showHideLayers('sub','','hide')> ");
document.write("  <TABLE WIDTH=147 BORDER=0 CELLPADDING=0 CELLSPACING=0>");
document.write("    <TR>");
document.write("      <TD><a href=welcome_msg.htm onMouseOut=MM_swapImgRestore() onMouseOver=MM_swapImage('Image57','','scimages/2sub01_welcomemsg.gif',1)><img src=scimages/sub01_welcomemsg.gif alt='欢迎辞' name=Image57 width=147 height=25 border=0></a></TD>");
document.write("    </TR>");
document.write("    <TR>");
document.write("      <TD><a href=organisation.htm onMouseOut=MM_swapImgRestore() onMouseOver=MM_swapImage('Image39','','scimages/2sub01_organisation.gif',1)><img src=scimages/sub01_organisation.gif alt='组织结构' name=Image39 width=147 height=27 border=0></a></TD>");
document.write("    </TR>");

document.write("    <TR>");
document.write("      <TD><a href=perf_pledges.htm onMouseOut=MM_swapImgRestore() onMouseOver=MM_swapImage('Image56','','scimages/2sub01_perf_pledges.gif',1)><img src=scimages/sub01_perf_pledges.gif alt='服务承诺' name=Image56 width=147 height=27 border=0></a></TD>");
document.write("    </TR>");

document.write("     <TR>");
document.write("      <TD><a href=accommodation.htm onMouseOut=MM_swapImgRestore() onMouseOver=MM_swapImage('Image54','','scimages/2sub01_accommodation.gif',1)><img src=scimages/sub01_accommodation.gif alt='设施' name=Image54 width=147 height=25 border=0></a></TD>");
document.write("    </TR>");
// begin to hide
//document.write("     <TR>");
//document.write("      <TD><a href=vision_mission.htm onMouseOut=MM_swapImgRestore() onMouseOver=MM_swapImage('Image401','','scimages/2sub01_visionmission.gif',1)><img src=scimages/sub01_visionmission.gif alt='抱负和使命' name=Image401 width=147 height=25 border=0 id=Image401></a></TD>");
//document.write("    </TR>");
//document.write("    <TR>");
//document.write("      <TD><a href=policy.htm onMouseOut=MM_swapImgRestore() onMouseOver=MM_swapImage('Image411','','scimages/2sub01_policy.gif',1)><img src=scimages/sub01_policy.gif alt='政策大纲' name=Image411 width=147 height=25 border=0 id=Image411></a></TD>");
//document.write("    </TR>   ");
// hide end
document.write("  </TABLE>");
document.write("</div>");
document.write("<div id=sub2 style='position:absolute; left:153px; top:164px; width:188px; z-index:1; visibility: hidden;'  onMouseOver=MM_showHideLayers('sub2','','show') onMouseOut=MM_showHideLayers('sub2','','hide')> ");
document.write("	<TABLE WIDTH=247 BORDER=0 CELLPADDING=0 CELLSPACING=0>");
document.write("		<TR>");
document.write("			<TD>				<a href=http://sc.info.gov.hk/gb/www.info.gov.hk/access/chincode.htm target=_blank onMouseOut=MM_swapImgRestore() onMouseOver=MM_swapImage('Image40','','scimages/2sub02_access_to_info.gif',1)><img src=scimages/sub02_access_to_info.gif alt='公开资料守则' name=Image40 width=188 height=26 border=0></a></TD>");
document.write("		</TR>");
// begin to hide
//document.write(" 		<TR>");
//document.write("			<TD>				<a href=available_info.htm onMouseOut=MM_swapImgRestore() onMouseOver=MM_swapImage('Image41','','scimages/2sub02_available_info.gif',1)><img src=scimages/sub02_available_info.gif alt='可提供的资料一览表' name=Image41 width=188 height=26 border=0></a></TD>");
//document.write("		</TR> ");
// hide end
document.write("		<TR>");
document.write("			<TD>				<a href=records_by_category.htm onMouseOut=MM_swapImgRestore() onMouseOver=MM_swapImage('Image42','','scimages/2sub02_records_by_category.gif',1)><img src=scimages/sub02_records_by_category.gif alt='按类别划分的纪录一览表' name=Image42 width=188 height=25 border=0></a></TD>");
document.write("		</TR>");
document.write("		<TR>");
document.write("			<TD>				<a href=procedures_charges.htm onMouseOut=MM_swapImgRestore() onMouseOver=MM_swapImage('Image43','','scimages/2sub02_procedures_charges.gif',1)><img src=scimages/sub02_procedures_charges.gif alt='查阅按惯例公布的资料的程序及收费' name=Image43 width=188 height=40 border=0></a></TD>");
document.write("		</TR>");
document.write("	</TABLE>");
document.write("</div>");
document.write("<div id=sub3 style='position:absolute; left:153px; top:190px; width:115px; height:96px; z-index:1; visibility: hidden;'  onMouseOver=MM_showHideLayers('sub3','','show') onMouseOut=MM_showHideLayers('sub3','','hide')> ");
document.write("	<TABLE WIDTH=170 BORDER=0 CELLPADDING=0 CELLSPACING=0>");
document.write("		<TR>");
document.write("			<TD>				<a href=ps_online_cata.htm onMouseOut=MM_swapImgRestore() onMouseOver=MM_swapImage('Image45','','scimages/2sub03_online_cata.gif',1)><img src=scimages/sub03_online_cata.gif alt='线上目录' name=Image45 width=170 height=25 border=0></a></TD>");
document.write("		</TR>");
document.write("		<TR>");
document.write("			<TD>				<a href=ps_online_exh.htm onMouseOut=MM_swapImgRestore() onMouseOver=MM_swapImage('Image46','','scimages/2sub03_online_exh.gif',1)><img src=scimages/sub03_online_exh.gif alt='网上展览' name=Image46 width=170 height=27 border=0></a></TD>");
document.write("		</TR>");
document.write("		<TR>");
document.write("			<TD><a href=org_pro.htm#public_program onMouseOut=MM_swapImgRestore() onMouseOver=MM_swapImage('Image48','','scimages/2sub03_public_program.gif',1)><img src=scimages/sub03_public_program.gif alt='公共推广' name=Image48 width=170 height=25 border=0></a></TD>");
document.write("		</TR>");
document.write("		<TR>");
document.write("			<TD height=25><a href=org_pro.htm#reference_research onMouseOut=MM_swapImgRestore() onMouseOver=MM_swapImage('Image47','','scimages/2sub03_ref_research.gif',1)><img src=scimages/sub03_ref_research.gif alt='公共谘询和研究' name=Image47 width=170 height=25 border=0></a></TD>");
document.write("		</TR>");
document.write("		<TR>");
document.write("		  <TD><a href=# onclick=javascript:window.open('resource/index.html','','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,width=795,height=560') onMouseOut=MM_swapImgRestore() onMouseOver=MM_swapImage('Image49','','scimages/2sub03_resrc_gallery.gif',1)><img src=scimages/sub03_resrc_gallery.gif alt='馆藏精选' name=Image49 width=170 height=25 border=0></a></TD>");
document.write("	  </TR>");
document.write("	</TABLE>");
document.write("</div>");
document.write("<div id=sub4 style='position:absolute; left:153px; top:240px; width:144px; height:96px; z-index:1; visibility: hidden;'  onMouseOver=MM_showHideLayers('sub4','','show') onMouseOut=MM_showHideLayers('sub4','','hide')> ");
document.write("	<TABLE WIDTH=230 BORDER=0 CELLPADDING=0 CELLSPACING=0>");
document.write("		<TR>");
document.write("			<TD>				<a href=es_online_cata.htm onMouseOut=MM_swapImgRestore() onMouseOver=MM_swapImage('Image50','','scimages/2sub04_online_cata.gif',0)><img src=scimages/sub04_online_cata.gif alt='线上目录' name=Image50 width=144 height=25 border=0></a></TD>");
document.write("		</TR>");
document.write("		<TR>");
document.write("			<TD>				<a href=es_online_exh.htm onMouseOut=MM_swapImgRestore() onMouseOver=MM_swapImage('Image51','','scimages/2sub04_onine_exh.gif',1)><img src=scimages/sub04_onine_exh.gif alt='网上展览' name=Image51 width=144 height=27 border=0></a></TD>");
document.write("		</TR>");
document.write("		<TR>");
document.write("			<TD>				<a href=# onclick=javascript:window.open('resource/index.html','','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,width=795,height=560') onMouseOut=MM_swapImgRestore() onMouseOver=MM_swapImage('Image52','','scimages/2sub04_resrc_gallery.gif',1)><img src=scimages/sub04_resrc_gallery.gif alt='馆藏精选' name=Image52 width=144 height=25 border=0></a></TD>");
document.write("		</TR>");
document.write("		<TR>");
document.write("			<TD>				<a href=es_application_form.htm onMouseOut=MM_swapImgRestore() onMouseOver=MM_swapImage('Image53','','scimages/2sub04_application_form.gif',1)><img src=scimages/sub04_application_form.gif alt='团体参观申请表' name=Image53 width=144 height=26 border=0></a></TD>");
document.write("		</TR>");
document.write("	</TABLE>");
document.write("</div>");
document.write("<div id=sub5 style='position:absolute; left:153px; top:290px; width:147px; height:96px; z-index:1; visibility: hidden;'  onMouseOver=MM_showHideLayers('sub5','','show') onMouseOut=MM_showHideLayers('sub5','','hide')> ");
document.write("	<TABLE WIDTH=188 BORDER=0 CELLPADDING=0 CELLSPACING=0>");
document.write("		<TR>");
document.write("			<TD>				<a href=related_gov_org.htm onMouseOut=MM_swapImgRestore() onMouseOver=MM_swapImage('Image555','','scimages/2sub05_related_gov_org.gif',1)><img src=scimages/sub05_related_gov_org.gif alt='相关政府机构' name=Image555 width=147 height=25 border=0></a></TD>");
document.write("		</TR>");
document.write("		<TR>");
document.write("			<TD>				<a href=related_sites.htm onMouseOut=MM_swapImgRestore() onMouseOver=MM_swapImage('Image55','','scimages/2sub05_related_sites.gif',1)><img src=scimages/sub05_related_sites.gif alt='相关网站' name=Image55 width=147 height=27 border=0></a></TD>");
document.write("		</TR>");
document.write("	</TABLE>");
document.write("</div>");


document.write("<TABLE WIDTH=153 BORDER=0 CELLPADDING=0 CELLSPACING=0>");
document.write("          <TR>");
document.write("            <TD><a href=home.htm onMouseOut=MM_swapImgRestore() onMouseOver=MM_swapImage('Image27','','scimages/2redmenu_home.gif',1)><img src=scimages/redmenu_home.gif alt='主页' name=Image27 width=153 height=24 border=0></a></TD>");
document.write("          </TR>");
document.write("          <TR>");
document.write("            <TD><a href=whatsnew.htm onMouseOut=MM_swapImgRestore() onMouseOver=MM_swapImage('Image28','','scimages/2redmenu_whatsnew.gif',1)><img src=scimages/redmenu_whatsnew.gif alt=\"最新消息\" name=Image28 width=153 height=25 border=0></a></TD>");
document.write("          </TR>");
document.write("          <TR>");
document.write("            <TD><a href=aboutus.htm onMouseOut=MM_swapImgRestore();MM_showHideLayers('sub','','hide') onMouseOver=MM_swapImage('Image29','','scimages/2redmenu_aboutus.gif',1);MM_showHideLayers('sub','','show')><img src=scimages/redmenu_aboutus.gif alt='关于我们' name=Image29 width=153 height=25 border=0></a></TD>");
document.write("          </TR>");
document.write("          <TR>");
document.write("            <TD><a href=accesstoinfo.htm onMouseOut=MM_swapImgRestore();MM_showHideLayers('sub2','','hide') onMouseOver=MM_swapImage('Image30','','scimages/2redmenu_accessinfo.gif',1);MM_showHideLayers('sub2','','show')><img src=scimages/redmenu_accessinfo.gif alt='公开资料' name=Image30 width=153 height=25 border=0></a></TD>");
document.write("          </TR>");
document.write("          <TR>");
document.write("            <TD><a href=publicservices.htm onMouseOut=MM_swapImgRestore();MM_showHideLayers('sub3','','hide') onMouseOver=MM_swapImage('Image31','','scimages/2redmenu_publicservices.gif',1);MM_showHideLayers('sub3','','show')><img src=scimages/redmenu_publicservices.gif alt='公共服务' name=Image31 width=153 height=25 border=0></a></TD>");
document.write("          </TR>");
document.write("          <TR>");
document.write("            <TD><a href=publicforms.htm onMouseOut=MM_swapImgRestore() onMouseOver=MM_swapImage('Image32','','scimages/2redmenu_publicforms.gif',1)><img src=scimages/redmenu_publicforms.gif alt='公用表格' name=Image32 width=153 height=25 border=0></a></TD>");
document.write("          </TR>");
document.write("          <TR>");
document.write("            <TD><a href=eservices.htm onMouseOut=MM_swapImgRestore();MM_showHideLayers('sub4','','hide') onMouseOver=MM_swapImage('Image33','','scimages/2redmenu_eservices.gif',1);MM_showHideLayers('sub4','','show')><img src=scimages/redmenu_eservices.gif alt='电子服务' name=Image33 width=153 height=26 border=0></a></TD>");
document.write("          </TR>");
document.write("          <TR>");
document.write("            <TD><a href=tendernotices.htm onMouseOut=MM_swapImgRestore() onMouseOver=MM_swapImage('Image34','','scimages/2redmenu_tendernotices.gif',1)><img src=scimages/redmenu_tendernotices.gif alt='招标公告' name=Image34 width=153 height=24 border=0></a></TD>");
document.write("          </TR>");
document.write("          <TR>");
document.write("            <TD><a href=links.htm onMouseOut=MM_swapImgRestore();MM_showHideLayers('sub5','','hide') onMouseOver=MM_swapImage('Image35','','scimages/2redmenu_links.gif',1);MM_showHideLayers('sub5','','show')><img src=scimages/redmenu_links.gif alt='相关网址' name=Image35 width=153 height=26 border=0></a></TD>");
document.write("          </TR>");
document.write("          <TR>");
document.write("            <TD><a href=faq.htm onMouseOut=MM_swapImgRestore() onMouseOver=MM_swapImage('Image36','','scimages/2redmenu_faq.gif',1)><img src=scimages/redmenu_faq.gif alt='常问问题' name=Image36 width=153 height=25 border=0></a></TD>");
document.write("          </TR>");
document.write("          <TR>");
document.write("            <TD><a href=download.htm onMouseOut=MM_swapImgRestore() onMouseOver=MM_swapImage('Image37','','scimages/2redmenu_download.gif',1)><img src=scimages/redmenu_download.gif alt='下载' name=Image37 width=153 height=26 border=0></a></TD>");
document.write("          </TR>");

document.write("          <TR>");
document.write("            <TD><a href=contactus.htm onMouseOut=MM_swapImgRestore() onMouseOver=MM_swapImage('Image58','','scimages/2redmenu_contactus.gif',1)><img src=scimages/redmenu_contactus.gif alt='联络我们' name=Image58 width=153 height=26 border=0></a></TD>");
document.write("          </TR>");

document.write("          <TR><TD>&nbsp;</TD></TR>");
document.write("          <TR>");
document.write("            <TD><div align='center'><a href=5day.htm><img src=scimages/5day/5day_icon.jpg alt='五天工作周' name=Image38 width=84 height=50 border=0></a></DIV></TD>");
document.write("          </TR>");
document.write("        </TABLE>");
