//-------------------------------------------------------------------------- 
// File:  smris_language.js
//                                                                           
// Copyright (c) 2000,2001 Lands Department, HKSAR                           
//                                                                           
// Ver  Date         Description                                             
// ------------------------------------------------------------------------- 
// 1.0  Jan 18, 2001 By Calvin Lo                          
//                   This javascript file contains all the English and Chinese
//                   Descriptions. Please remember that when you add variables
//                   to this file, you need to declare them at the top and then
//                   initialise them at the bottom for both English and 
//                   Chinese.
//
// $Log: smris_language.js,v $
// Revision 1.50  2003/12/03 10:15:31  iadmin
// UAT30
//
// Revision 1.49  2003/12/03 09:58:15  iadmin
// Apply changes for implementation of Maintenance Agent
//
// Revision 1.48  2003/06/13 09:04:23  iadmin
// UAT29
//
// Revision 1.47  2003/06/03 11:52:21  iadmin
// UAT28
//
// Revision 1.46  2003/06/03 11:09:21  calvin
// Simplified Chinese enhanacement
//
// Revision 1.45  2002/08/30 11:54:41  iadmin
// UAT27
//
// Revision 1.44  2002/08/28 07:16:13  iadmin
// UAT26 promoted to PRD10
//
// Revision 1.43  2002/05/14 12:28:17  iadmin
// UAT25 promoted to PRD9
//
// Revision 1.42  2002/03/25 13:41:45  iadmin
// UAT
//
// Revision 1.41  2002/03/20 16:59:41  iadmin
// UAT24
//
// Revision 1.40  2001/12/21 05:17:55  iadmin
// UAT23 promoted to PRD8
//
// Revision 1.39  2001/12/08 05:12:42  calvin
// Add the Report Printing Guide
//
// Revision 1.38  2001/11/01 05:38:29  iadmin
// UAT22 promoted to PRD7
//
// Revision 1.37  2001/10/09 10:07:45  iadmin
// UAT21 promoted to PRD6
//
// Revision 1.36  2001/08/24 10:06:01  iadmin
// UAT20 promoted to PRD5
//
// Revision 1.35  2001/08/22 10:46:03  iadmin
// UAT19
//
// Revision 1.34  2001/08/21 09:49:23  calvin
// Add the image filenames for the CED button and the Copyright statement
//
// Revision 1.33  2001/08/07 11:11:10  iadmin
// UAT18
//
// Revision 1.32  2001/08/07 08:47:08  calvin
// - Add the image file name of the CED button
//
// Revision 1.31  2001/07/31 02:41:02  iadmin
// UAT17
//
// Revision 1.30  2001/07/20 07:20:10  calvin
// Add message
//
// Revision 1.29  2001/07/19 08:27:13  calvin
// Add warning message for not within Hong Kong boundary and the
// Copyright statement
//
// Revision 1.28  2001/05/02 11:08:46  iadmin
// UAT16 promoted to PRD4
//
// Revision 1.27  2001/04/27 12:25:15  iadmin
// UAT15
//
// Revision 1.26  2001/04/24 10:57:30  iadmin
// UAT14
//
// Revision 1.25  2001/03/30 08:50:12  calvin
// UAT13 promoted to PRD3
//
// Revision 1.24  2001/03/29 11:17:42  iadmin
// UAT13
//
// Revision 1.23  2001/03/29 06:49:58  calvin
// - Add the legends for land, sea and hydro
// - Improve the warning for not picking a slope
//
// Revision 1.22  2001/03/27 13:56:41  iadmin
// UAT12
//
// Revision 1.21  2001/03/27 09:03:03  calvin
// Improve the wordings in the interface and the report
//
// Revision 1.20  2001/03/21 10:15:28  calvin
// Improve the Chinese wordings for the report and the maximum zoom-in/zoom-
// out message.
//
// Revision 1.19  2001/03/20 13:13:50  iadmin
// UAT11
//
// Revision 1.18  2001/03/20 10:28:33  calvin
// - Improve the instruction, Chinese wordings for Search Type, quick help
//   message for slope number search and the message for zoom-in/zoom-out
//   limit
//
// Revision 1.17  2001/03/15 11:17:15  iadmin
// UAT10
//
// Revision 1.16  2001/03/15 10:29:49  calvin
// Improve the messages from the servlet
//
// Revision 1.15  2001/03/13 12:46:50  iadmin
// UAT9 promoted to PRD2
//
// Revision 1.14  2001/03/12 09:46:26  calvin
// - Add messages corresponding to the message codes from servlet
// - Add messages for additional legends
// - Improve the timeout message
//
// Revision 1.13  2001/03/08 12:48:58  iadmin
// UAT8
//
// Revision 1.12  2001/03/08 10:12:38  calvin
// UAT7
//
// Revision 1.11  2001/02/28 09:59:07  iadmin
// UAT6
//
// Revision 1.10  2001/02/27 10:19:44  calvin
// UAT5
//
// Revision 1.9  2001/02/14 09:29:50  calvin
// Add the timeout message
//
// Revision 1.8  2001/02/12 08:38:58  calvin
// Add new language variables for different font types between English and
// Chinese versions.
//
// Revision 1.7  2001/02/09 04:32:49  calvin
// UAT4
//
// Revision 1.6  2001/02/08 09:17:06  calvin
// *** empty log message ***
//
// Revision 1.5  2001/02/07 03:26:33  calvin
// Add the font string for Chinese so that the HKSCS characters can be
// displayed.
//
// Revision 1.4  2001/02/06 03:18:31  calvin
// Some unused language variables are removed.
//
// Revision 1.3  2001/01/22 07:50:05  calvin
// UAT3
//
// Revision 1.2  2001/01/22 03:20:33  calvin
// The RCS log has been changed so that they will disappear after they
// are compressed.
//
// Revision 1.1  2001/01/18 10:01:53  calvin
// Initial revision
//
// ------------------------------------------------------------------------- 

   //  Font setting
   var fontNormal;
   var fontTable;
   var fontTableSize;
   var fontSlopeCol;

   //  Banner frame
   var lblTitle1Str;
   var lblTitle2Str;
   var homePageLD;
   var homePageOver;

   //  Tab settings frame.
   var btnSearchStr;
   var btnResultStr;
   var btnHelpStr;
   var btnInfoStr;
   var btnLangStr;

   //  UserButton frame.
   var btnGetDbStr;
   var btnClearStr;
   var btnCloseStr;
   var btnGoStr;
   var btnPrintRpt;
   var btnTechInfo;
   var lblOwnerResult;
   var txtNoMap;
   var txtDiffMap;

   //  Search and query frame.
   var lblSearchTitle;
   var lblSearchSlope;
   var lblSearchBldg;
   var lblSearchEstate;
   var lblSearchStreet;
   var lblSearchLot;
   var lblSearchLicn;
   var lblSearchSTT;

   var lblTipSlope;
   var lblTipBldg;
   var lblTipEstate;
   var lblTipStreet;
   var lblTipLot;
   var lblTipLicn;
   var lblTipSTT;

   var lblDetailStr;
   var lblSlopeQryStr;
   var lblBldgQryStr;
   var lblEstateQryStr;
   var lblStreetQryStr;
   var lblLotQryStr;
   var lblLicnQryStr;
   var lblSTTQryStr;

   var lblSlopeStr;
   var lblDistrictStr;
   var lblBuildingStr;
   var lblEstTypeStr;
   var lblEstateStr;
   var lblLotStr;
   var lblLot1Str;
   var lblLot2Str;
   var lblStreet1Str;
   var lblStreet2Str;
   var lblLicnStr;
   var lblSTTStr;
   var lblSelect1Str;
   var lblSelect2Str;
   var lblStroke;
   var tipDetailStr1;
   var tipDetailStr2;

   // Description starting with lowercase for multiple results
   var lblLowerSlope;
   var lblLowerBldg;
   var lblLowerEstate;
   var lblLowerStreet;
   var lblLowerLot;
   var lblLowerLicn;
   var lblLowerSTT;
   var lblIn;

   // Estate Type
   var lblPublic;
   var lblPrivate;

   // District Name
   var lblDistrictHK;
   var lblDistrictIS;
   var lblDistrictK;
   var lblDistrictKT;
   var lblDistrictN;
   var lblDistrictSK;
   var lblDistrictST;
   var lblDistrictTM;
   var lblDistrictTP;
   var lblDistrictTW;
   var lblDistrictYL;

   //  Map control frame.
   var lblMapControlStr;
   var lblZoomInStr;
   var lblZoomOutStr;
   var lblPanStr;
   var lblPickStr;
   var lblResetStr;
   var instructStr;
   var btnUpOneLvl;
   var lblIndicator;
   var lblScrollStr;
   var lblUpStr;
   var lblDownStr;
   var lblLeftStr;
   var lblRightStr;
   var lblBoundary;

   //  Copyright statement
   var txtCopyright;
   var txtLocPlan;

   //  Contact details window.
   var lblSIMARStr;
   var lblLandsDStr;
   var lblTelNo1Str;
   var lblTelNo2Str;
   var lblEmailStr;

   //  Help Description
   var hlpSlope;
   var hlpBldg;
   var hlpEstate;
   var hlpStreet;
   var hlpLot;
   var hlpLicn;
   var hlpSTT;
   var lblMapCtrlHelp;
   // for simplified chinese, following variable is intitialised for storing new annotation limitation - Cyrus
   var hlpMapLbl;

   // Error Messages
   var errMsg; 
   var fieldName;
   var servletErr;
   var txtTimeout;
   var txtOutOfHK;
   var txtSysErrOpening;
   var txtSysErrSrc;
   var txtSysErrMsg;
   var txtSysErrEnding;

   // Owner Details
   var lblOwnerTitle;
   var lblSrchCriteria;
   var lblOwnerSlopeNo;
   var lblOwnerSubDiv;
   var lblOwnerLocation;
   var lblOwnerLotParty;
   var lblOwnerRemarks;
   var lblOwnerNone;
   // this variable is initialised for displaying maint agent - Cyrus
   var lblMaintAgent;

   // Technical Information Window
   // Following variables modified for DAM enhancement - 21-jun-07 - Nivant
   var lblTechInfoTitle;
   var lblSlopeNumber;
   var lblConseqCat;
   var lblEasting;
   var lblNorthing;
   var lblToeFacility;
   var lblToeDistance;
   var lblCrestFacility;
   var lblCrestDistance;
   var lblFeatureType;
   var lblSFMaterial;
   var lblSFHeight;
   var lblSFLength;
   var lblAngle;
   var lblWFMaterial;
   var lblWFHeight;
   var lblWFLength;
   var lblStructType;
   var lblPageNoBegin;
   var lblPageNoMiddle;
   var lblPageNoEnd;
   var btnUp;
   var btnDown;
   var lblNoTechInfo;
   var imgCED;

   // Slope Report
   var lblRptTitle;
   var lblRptTitleAs;
   var lblRptTitleAnd;
   var lblRptIdentify;
   var lblRptPlan;
   var lblRptLegend;
   var lblRptLegend1;
   var lblRptLegend2;
   var lblRptCategory;
   var lblAddLegend;
   var lblRptGovt;
   var lblRptPrivate;
   var lblRptJoint;
   var lblRptPark;
   var lblRptBldg;
   var lblRptLand;
   var lblRptSea;
   var lblRptHydro;
   // for simplified chinese, following 2 variables are intitialised for storing value of new legend - Cyrus
   var lblRptSlope;
   var lblRptLot;
   var lblRptLandsD;
   var lblRptNotToScale;
   var lblRptOffice;
   var lblRptOfficeLoc;
   var lblRptDate;
   var lblRptCode;
   var lblRptRegister;
   var lblRptCol1;
   var lblRptCol2;
   var lblRptCol3;
   var lblRptCol4;
   var lblRptCol5;
   var lblRptCol6;
   var lblRptAttached;
   var lblRptEnd;
   var lblRptNote;
   var lblRptNote1;
   var lblRptNote2;
   var txtPrintTitle;
   var txtPrintGuide;
   // variable is initialised for displaying maint agent on report - Cyrus
   var lblRptCol7;


   // -----------------------------------------------------------------    
   // Function:  getDescription
   //                                                                      
   // Ver  Date         Description                                        
   // -----------------------------------------------------------------    
   // 1.0  Jan 18, 2001 By Calvin Lo
   //                   Initialise all the descriptions for the current
   //                   language.
   //                                                                      
   // Parameters      Mode   Type       Description                        
   // -----------------------------------------------------------------    
   //                                                                      
   // -----------------------------------------------------------------

   function getDescription(isEnglish)
   {
      if ( isEnglish )
      {
         //  Font Setting
         fontNormal    = "<font face=Arial size=2>";
         fontTable     = "Arial";
 // Following variable splited into 1 & 2 for 2005-SMRIS-enh6 - 9Dec05 - Nivant
	 fontTableSize1 = 1;
	 fontTableSize2 = 2;
         fontSlopeCol  = "<font face=Times New Roman size=1>";

         //  Banner frame.
         lblTitle1Str = "Lands Department, HKSAR";
         lblTitle2Str = "Slope Maintenance Responsibility Information System";
         homePageLD   = "homepage_en.gif";
         homePageOver = "homepage_en_over.gif";

         //  Tab settings frame.
         btnSearchStr = "New Search";
         btnResultStr = "Result";
         btnHelpStr   = "Help";
         btnInfoStr   = "Info";
         btnLangStr   = "中文";

         //  UserButton frame.
         btnGetDbStr    = "Find Result";
         btnClearStr    = "Clear";
         btnCloseStr    = "Close";
         btnGoStr       = "Go";
         btnPrintRpt    = "Print";
         btnTechInfo    = "Tech Info";
         lblOwnerResult = " record(s) found.";
         txtNoMap       = "Please wait for the map to be generated first before the slope plan and register can be printed.";
         txtDiffMap     = "Please note that the printed slope plan and register correspond ONLY to the search criteria you performed.";

         //  Search and query frame.
         lblSearchTitle  = 'Search Type';
         lblSearchSlope  = 'Slope number';
         lblSearchBldg   = 'Building name';
         lblSearchEstate = 'Estate name';
         lblSearchStreet = 'Street name';
         lblSearchLot    = 'Lot number';
         lblSearchLicn   = 'Licence number';
         lblSearchSTT    = 'Short Term Tenancy number';

         lblTipSlope  = 'Click on this button for slope search';
         lblTipBldg   = 'Click on this button for building name search';
         lblTipEstate = 'Click on this button for estate name search';
         lblTipStreet = 'Click on this button for street name search';
         lblTipLot    = 'Click on this button for lot name search';
         lblTipLicn   = 'Click on this button for licence search';
         lblTipSTT    = 'Click on this button for Short Term Tenancy number search';

         lblDetailStr    = "Search Details";
         lblSlopeQryStr  = "Please enter a slope number by selecting an option on the drop down lists, then enter a number into the last field.";
         lblBldgQryStr   = "Please select a District from the drop down list, then enter the full or first part of building name.";
         lblEstateQryStr = "Please enter the full or first part of estate name.";
         lblStreetQryStr = "Please enter the full or first part of a street name followed by the street number.";
         lblLotQryStr    = "Please enter the Lot abbreviation, and then enter the Lot number.";
         lblLicnQryStr   = "Please select a district where the licence is located first, and then enter the whole or the first part of the licence number.";
         lblSTTQryStr    = "Please select a district where the Short Term Tenancy is located first,  and then enter the whole or the first part of the Short Term Tenancy number.";


         lblSlopeStr    = "Slope Number";
         lblDistrictStr = "District Name";
         lblBuildingStr = "Building Name";
         lblEstTypeStr  = "Estate Type";
         lblEstateStr   = "Estate Name";
         lblLotStr      = "Lot Number";
         lblLot1Str     = "Lot Abbreviation";
         lblLot2Str     = "Number";
         lblStreet1Str  = "Street Name";
         lblStreet2Str  = "Street Number";
         lblLicnStr     = "Licence Number";
         lblSTTStr      = "Short Term Tenancy Number";
         lblSelect1Str  = "Please select a ";
         lblSelect2Str  = "Please select an ";
         lblStroke      = "";  // This label will only be used in Chinese
         tipDetailStr1  = "Use this area for all types of search detail";
         tipDetailStr2  = "Use this area only for additional licence detail";

         // Description starting with lowercase for multiple results
         lblLowerSlope  = "slope";
         lblLowerBldg   = "building name";
         lblLowerEstate = "estate name";
         lblLowerStreet = "street name";
         lblLowerLot    = "lot number";
         lblLowerLicn   = "licence number";
         lblLowerSTT    = "short term tenancy number";
         lblIn          = " in ";

         // Estate Type
         lblPublic      = "Public";
         lblPrivate     = "Private";

         // District Name
         lblDistrictHK = 'Hong Kong Island';
         lblDistrictIS = 'Islands';
         lblDistrictK  = 'Kowloon';
         lblDistrictKT = 'Kwai Tsing';
         lblDistrictN  = 'North';
         lblDistrictSK = 'Sai Kung';
         lblDistrictST = 'Sha Tin';
         lblDistrictTM = 'Tuen Mun';
         lblDistrictTP = 'Tai Po';
         lblDistrictTW = 'Tsuen Wan';
         lblDistrictYL = 'Yuen Long';

         //  Map control frame.
         lblMapControlStr = "Map Control";
         lblZoomInStr     = "Zoom In";
         lblZoomOutStr    = "Zoom Out";
         lblPanStr        = "Pan";
         lblPickStr       = "Pick";
         lblResetStr      = "HK Overview";
         instructStr      = "Click on map to zoom to the desired area or click on the selected search type."; 
         btnUpOneLvl      = "Up one level";
         lblIndicator     = "Click to zoom in";        
         lblScrollStr     = "Scroll";
         lblUpStr         = "Up";
         lblDownStr       = "Down";
         lblLeftStr       = "Left";
         lblRightStr      = "Right";
         lblBoundary      = "You've hit the boundary.";


         //  Copyright statement
         txtCopyright     = "copyright_en.gif";
         txtLocPlan       = "locplan_en.gif";


         //  Contact details window.
         lblSIMARStr  = "SIMAR Unit";
         lblLandsDStr = "Lands Department";
         lblTelNo1Str = "Tel:";
         lblTelNo2Str = "(852) 2231 3333";
         lblEmailStr  = "mail to:";

         //  Help Description                          
         hlpSlope  = 'A valid slope number is divided into 5 parts.  The first 4 parts can be selected by choosing one of the options available from the drop down lists followed by entering a number in the last field to make up a valid slope number to be searched.<br><br>When a valid slope number is entered, click on the "Find Result" button to start the search.'
         hlpBldg   = 'The district where the building is located must be selected from the drop down list provided.<br><br>If the full name of the building is known, then enter the full name into the field available.<br><br>If the full name of the building is unknown, then enter the first part of the building name in the field available.<br><br>When all the required information is entered, click on the "Find Result" button to start the search.'
         hlpEstate = 'If an estate name is known, enter the whole estate name in the box provided, and then press the "Find Result" button to start the search.<br><br>If an estate name is not known, enter the first part of the estate name, and then click on the "Find Result" button to list all the estates with similar names on a drop down list for selection of the estate to be searched.<br><br>When an estate is selected, press the "Find Result" button again to start the search for an estate.'
         hlpStreet = 'If an exact street is known, enter the exact street name in the field available followed by a valid street number.  Click on the "Find Result" button to start the search for a building at that address.<br><br>If an exact street is not known, enter the first part of the street name followed by a valid street number. Click on the "Find Result" button to display a list of similar street names on a drop down list for selection, and select the street that you wish to locate.<br><br>Upon completion of all field entries, click on the "Find Result" button again to start the search for a building at the specified address.'
         hlpLot    = 'A legal lot number is divided into two parts.  The first part of the lot number either consists of pure characters or a Demarcation District number such as DD224, whereas the second part of the lot number consists of an assigned lot number.<br><br>Upon completion of all the field entries, click on the "Find Result" button to start the search for a Lot number.'
         hlpLicn   = 'The district of where the license is located must be selected from the drop down list provided.  Then enter an valid License number into the field provided.  Once all the required information is entered, click on the "Find Result" button to start the search for a license number.'
         hlpSTT    = 'The district of where the Short Term Tenancy is located must be selected from the drop down list provided. Then enter a valid Short Term Tenancy number into the field provided.  Once all the required information is entered, click on the "Find Result" button to start the search for a Short Term Tenancy number.'
         lblMapCtrlHelp = 'Please select one of the map control buttons, then click on the selected location of the map.';
         // for simplified chinese, variable is assigned - Cyrus
         hlpMapLbl = '<br><br>Presently, this website can only display the geographical terms shown on the map in Traditional Chinese characters or English. If sufficient Government funds are available, we will provide the geographical terms in Simplified Chinese characters as well.';


         // Error Messages
         errMsg = new Array();
         errMsg[0]  = "~ should not contain one of the followings: [+ % - , / '].";
         errMsg[1]  = "Please enter the ~.";
         errMsg[2]  = "~ should only contain [0-9].";
         errMsg[3]  = "~ should not contain one of the followings: [+ %].";

         fieldName = new Array();
         fieldName[0]  = "Slope Number";
         fieldName[1]  = "Building Name";
         fieldName[2]  = "Estate Name";
         fieldName[3]  = "Street Name";
         fieldName[4]  = "Street Number";
         fieldName[5]  = "Lot Abbreviation";
         fieldName[6]  = "Lot Number";
         fieldName[7]  = "Licence Number";
         fieldName[8]  = "Short Term Tenancy Number";

         servletErr = new Array();
         servletErr[1] = "No mapping information found.";
         servletErr[2] = "We cannot enlarge/reduce the map any further. Please use other map control buttons to go to the area you want.";
         servletErr[3] = "Please pick a slope.";

         txtTimeout     = "The network is very busy now, we are sorry that we cannot produce the map at this moment. Please try again later.";
         txtOutOfHK     = "The requested map is not within the Hong Kong boundary.";

         txtSysErrOpening = "You have encountered the following system error:";
         txtSysErrSrc     = "Error Source: ";
         txtSysErrMsg     = "Error Message: ";
         txtSysErrEnding  = "Please try again. If the problem persists,\n" +
                            "you are kindly encouraged to mark down the\n" +
                            "error message and send email to our support\n" +
                            "team. We will contact you as soon as\n" +
                            "possible.\n\n" +
                            lblEmailStr + " " + mailLandsD;


         // Owner Details
         lblOwnerTitle    = "Maintenance Responsibility";
         lblSrchCriteria  = "Search Criteria";
         lblOwnerSlopeNo  = "Slope No.";
         lblOwnerSubDiv   = "Sub-Division";
         lblOwnerLocation = "Location";
         lblOwnerLotParty = "Responsible Lot/Party";
         lblOwnerRemarks  = "Remarks";
         lblOwnerNone     = "None";
         // variable is defined for displaying maint agent - Cyrus
         lblMaintAgent = "Maintenance Agent";

         // Technical Information Window
//Following label definition modified for DAM enhancement - 21-Jun-07 - Nivant         
        lblTechInfoTitle = "Technical Information from Civil Engineering & Development Department";
         lblSlopeNumber   = "Slope No.";
         lblConseqCat     = "Consequence Category";
         lblEasting       = "Easting";
         lblNorthing      = "Northing";
         lblToeFacility   = "Toe Facility";
         lblToeDistance   = "Toe Facility Distance (m)";
         lblCrestFacility = "Crest Facility";
         lblCrestDistance = "Crest Facility Distance (m)";
         lblFeatureType   = "Feature Type";
         lblSFMaterial    = "Slope Material";
         lblSFHeight      = "Slope Height (m)";
         lblSFLength      = "Slope Length (m)";
         lblSFAngle       = "Slope Angle (deg)";
         lblWFMaterial    = "Wall Material";
         lblWFHeight      = "Wall Height (m)";
         lblWFLength      = "Wall Length (m)";
         lblStructType    = "Structure Type of Wall";
         lblPageNoBegin   = "Page ";
         lblPageNoMiddle  = " of ";
         lblPageNoEnd     = "";
         btnUp            = "<< Previous Page";
         btnDown          = "   Next Page    >>";
         lblNoTechInfo    = "There is no Technical Information for the current search result.";
         imgCED           = "ced_en.gif";
         imgCEDOver       = "ced_en_over.gif";
         imgCEDOver       = "ced_en_over.gif";

         // Slope Report
         lblRptTitle      = "Slope Report";
         lblRptTitleAs    = " as ";
         lblRptTitleAnd   = " and";
         lblRptIdentify   = "FOR IDENTIFICATION PURPOSES ONLY";
         lblRptPlan       = "Slope Location Plan";
         lblRptLegend     = "Legend";
         lblRptLegend1    = "Responsible Slope / Part of Slope Boundary";
         lblRptLegend2    = "Lot Boundary";
         lblRptCategory   = "Slope Maintenance Responsibility Category";
         lblAddLegend     = "Other Legends";
         lblRptGovt       = "Government";
         lblRptPrivate    = "Private";
         lblRptJoint      = "Joint (Government and Private)";
         lblRptPark       = "Park";
         lblRptBldg       = "Building";
         lblRptRoad       = "Road";
         lblRptLand       = "Land";
         lblRptSea        = "Sea";
         lblRptHydro      = "Hydro";
         // for simplified chinese, following 2 variables are assigned - Cyrus
         lblRptSlope      = "Slope(s) concerned";
         lblRptLot        = "Lot boundary or Premises boundary";
         lblRptLandsD     = "LANDS DEPARTMENT";
         lblRptNotToScale = "Not To Scale";
         lblRptOffice     = "Office:";
         lblRptOfficeLoc  = "SIMAR Unit, Estate Management Section";
         lblRptDate       = "Date:";
         lblRptCode       = "IASMP01001";
         lblRptRegister   = "SIMAR REGISTER";
         lblRptCol1       = "Slope No.";
         lblRptCol2       = "Slope Sub-<br>division No.";
         lblRptCol3       = "Location";
         lblRptCol4       = "Responsible<br>Lot(s) / Party(s)";
         lblRptCol5       = "Slope Plan";
         lblRptCol6       = "Remarks";
         lblRptAttached   = "as per the attached";
         lblRptEnd        = "End of Report";
         lblRptNote       = "Note:";
         lblRptNote1      = "The attached slope plan(s) are for the purpose of identification of the slope(s) only.";
         lblRptNote2      = "The slope(s) mentioned in the Register may not be shown in the attached slope plan(s).";
         txtPrintTitle    = "Report Printing Guide";
         txtPrintGuide    = "Press 'Ctrl' and 'P' buttons on your keyboard at the same time, then click 'OK' to print this slope report.";
         // variable is defined for displaying maint agent on report - Cyrus
         lblRptCol7       = "Maintenance Agent";
   
      }
      else
      {
         //  Font Setting
         fontNormal    = "<font face=新細明體 size=3>";
         fontTable     = "新細明體";
// Following variable splited into 1 & 2 for 2005-SMRIS-enh6 - 9Dec05 - Nivant
	 fontTableSize1 = 2;
	 fontTableSize2 = 2;
         fontSlopeCol  = "<font face=新細明體 size=2>";

         //  Banner frame.
         lblTitle1Str = "地 政 總 署";
         lblTitle2Str = "斜 坡 維 修 責 任 信 息 系 統";
         homePageLD   = "homepage_ch.gif"
         homePageOver = "homepage_ch_over.gif";

         //  Tab settings frame.
         btnSearchStr = "重新搜尋";
         btnResultStr = "結果";
         btnHelpStr   = "說明";
         btnInfoStr   = "資訊";
         btnLangStr   = "English";

         //  UserButton frame.
         btnGetDbStr  = "尋找結果";
         btnClearStr  = "清 除";
         btnCloseStr  = "關閉";
         btnGoStr     = "去";
         btnPrintRpt  = "列印";
         btnTechInfo  = "技術資料";
         lblOwnerResult = "個搜尋結果";
         txtNoMap       = "現正製作所需地圖，請稍候。";
         txtDiffMap     = "只能列印與搜尋條件相符的斜坡圖則及系統性鑑辨本港斜坡維修責任登記冊內的有關資料。";

         //  Search and query frame.
         lblSearchTitle  = '搜尋項目';
         lblSearchSlope  = '斜坡編號';
         lblSearchBldg   = '樓宇名稱';
         lblSearchEstate = '屋苑名稱';
         lblSearchStreet = '街道名稱';
         lblSearchLot    = '地段編號';
         lblSearchLicn   = '牌照編號';
         lblSearchSTT    = '短期租約編號';
         
         lblTipSlope  = '搜尋斜坡編號, 請按此處';
         lblTipBldg   = '搜尋樓宇, 請按此處';
         lblTipEstate = '搜尋屋苑, 請按此處';
         lblTipStreet = '搜尋街道, 請按此處';
         lblTipLot    = '搜尋地段, 請按此處';
         lblTipLicn   = '搜尋牌照, 請按此處';
         lblTipSTT    = '搜尋牌照, 請按此處';

         lblDetailStr    = "請輸入搜尋資料";
         lblSlopeQryStr  = "請在下拉選項單選擇所需部分，並在最後一格鍵入數字，以輸入斜坡編號。";
         lblBldgQryStr   = "請在下拉選項單選擇地區，然後輸入樓宇的全名或開首部分。";
         lblEstateQryStr = "請輸入屋苑的全名或開首部分。";
         lblStreetQryStr = "請輸入街道的全名或其開首部分，然後輸入街道編號。";
         lblLotQryStr    = "請輸入地段簡稱，然後輸入地段編號。";
         lblLicnQryStr   = "請先選擇牌照範圍所在地區，然後輸入牌照編號。";
         lblSTTQryStr    = "請先選擇短期租約範圍所在地區，然後輸入短期租約編號。";


         lblSlopeStr    = "斜坡編號";
         lblDistrictStr = "區域名稱";
         lblBuildingStr = "樓宇名稱";
         lblEstTypeStr  = "屋苑類型";
         lblEstateStr   = "屋苑名稱";
         lblLotStr      = "地段編號";
         lblLot1Str     = "地段簡稱";
         lblLot2Str     = "地段編號";
         lblStreet1Str  = "街道名稱";
         lblStreet2Str  = "街道編號";
         lblLicnStr     = "牌照編號";
         lblSTTStr      = "短期租約編號";
         lblSelect1Str  = "請選擇其中一個";
         lblSelect2Str  = "請選擇其中一個";
         lblStroke      = "中文字筆劃搜尋 >>";
         tipDetailStr1  = "選擇搜尋任何類別, 請選用此區";
         tipDetailStr2  = "選擇搜尋額外牌照詳程, 請選用此區";

         // Description starting with lowercase for multiple results
         lblLowerSlope  = "斜坡";
         lblLowerBldg   = "樓宇名稱";
         lblLowerEstate = "屋苑名稱";
         lblLowerStreet = "街道名稱";
         lblLowerLot    = "地段編號";
         lblLowerLicn   = "牌照編號";
         lblLowerSTT    = "短期租約編號";
         lblIn          = ", ";

         // Estate Type
         lblPublic      = "公共";
         lblPrivate     = "私人";

         // District Name
         lblDistrictHK = '香港島';
         lblDistrictIS = '離島區';
         lblDistrictK  = '九龍';
         lblDistrictKT = '葵青區';
         lblDistrictN  = '北區';
         lblDistrictSK = '西貢區';
         lblDistrictST = '沙田區';
         lblDistrictTM = '屯門區';
         lblDistrictTP = '大埔區';
         lblDistrictTW = '荃灣區';
         lblDistrictYL = '元朗區';

         //  Map control frame.
         lblMapControlStr = "地圖操控";
         lblZoomInStr     = "放 大";
         lblZoomOutStr    = "縮 小 ";
         lblPanStr        = "移 動";
         lblPickStr       = "選 取";
         lblResetStr      = "全 境 圖 ";
         instructStr      = "請 按 地 圖 查 詢 所 需 地 區 或 按 搜 尋 項 目 的 按 鈕";
         btnUpOneLvl      = "上一層";
         lblIndicator     = "\275\320\253\366\246\271";
         lblScrollStr     = "移動";
         lblUpStr         = "向上";
         lblDownStr       = "向下";
         lblLeftStr       = "向左";
         lblRightStr      = "向右";
         lblBoundary      = "你已經到了邊界。";


         //  Copyright
         txtCopyright     = "copyright_ch.gif";
         txtLocPlan       = "locplan_ch.gif";


         //  Contact details window.
         lblSIMARStr  = "產業管理組，系統性鑑辨本港斜坡維修責任小組";
         lblLandsDStr = "地政總署";
         lblTelNo1Str = "電話";
         lblTelNo2Str = "(852) 2231 3333";
         lblEmailStr  = "電郵 :"; 

         //  Help Description                                 
         hlpSlope  = "有效的斜坡編號分為五個部分。首四個部分可從下拉選項單選擇，然後在最後一欄輸入號碼，便組成有效的斜坡編號，作搜尋用途。<br><br>在輸入有效的斜坡編號後，按一下「尋找結果」以開始搜尋。";
         hlpBldg   = "你必須在下拉選項單選擇大廈所處的地區。<br><br>如知道大廈全名，請在空欄內輸入。<br><br>如不知道大廈全名，請在空欄內輸入大廈名稱的開首部分。<br><br>在輸入所有所需資料後，按一下「尋找結果」以開始搜尋。";
         hlpEstate = "如知道屋苑名稱，請在方框內輸入屋苑全名，然後按一下「尋找結果」以開始搜尋。<br><br>如不知道屋苑名稱，請輸入屋苑名稱的開首部分，然後按一下「尋找結果」。系統會在下拉選項單列出所有相近的屋苑名稱，供你選定要搜尋的屋苑名稱。<br><br>在選定屋苑名稱後，再按一下「尋找結果」以開始搜尋該屋苑。";
         hlpStreet = "如知道街道的正確名稱，請在空欄輸入街道的正確名稱及街道編號，再按一下「尋找結果」以開始搜尋該地址的樓宇。<br><br>如不知道街道的正確名稱，請輸入街道名稱的開首部分，並輸入有效的門牌號碼，然後按一下「尋找結果」。下拉選項單會列出所有相近的街道名稱，供你選定要搜尋的街道名稱。<br><br>輸入所有資料後，再按一下「尋找結果」以開始搜尋該地址的樓宇。";
         hlpLot    = "法定地段編號分為兩部分：開首部分包括英文字母或丈量約份編號，如丈量約份第224約(D.D. 224)，第二部分則包括獲編配的地段編號。<br><br>在所有空欄輸入資料後，再按一下「尋找結果」以開始搜尋地段編號。";
         hlpLicn   = "你必須在下拉選項單選擇牌照範圍所在地區的名稱，然後在空欄內輸入有效的牌照編號。在輸入所有所需資料後，再按一下「尋找結果」以開始搜尋牌照的資料。";
         hlpSTT    = "你必須在下拉選項單選擇短期租約範圍所在地區的名稱，然後在空欄內輸入有效的短期租約編號。在輸入所有所需資料後，再按一下「尋找結果」以開始搜尋短期租約的資料。";
         lblMapCtrlHelp = "請選擇其中一個地圖操控鈕，然後在地圖上再按下所需位置。";
         // for simplified chinese, following variable is assigned - Cyrus
         hlpMapLbl = "<br><br>本網站地圖上的地理名稱目前只能以繁體中文或英文顯示。稍後倘有更充裕的政府撥款，將會同時提供簡體中文地理名稱。";


         // Error Message
         errMsg = new Array();
         errMsg[0]  = "~不可含有 '+', '%', '-', ',', '/' 或 '\''。";
         errMsg[1]  = "請輸入~。";
         errMsg[2]  = "~只可含有[0-9]。";
         errMsg[3]  = "~不可含有 '+' 或 '%'。";

         fieldName = new Array();
         fieldName[0]  = "斜坡編號";
         fieldName[1]  = "樓宇名稱";
         fieldName[2]  = "屋苑名稱";
         fieldName[3]  = "街道名稱";
         fieldName[4]  = "街道編號";
         fieldName[5]  = "地段簡稱";
         fieldName[6]  = "地段編號";
         fieldName[7]  = "牌照編號";
         fieldName[8]  = "短期租約編號";

         servletErr = new Array();
         servletErr[1] = "找尋不到地圖資料。";
         servletErr[2] = "目前已是最大/小比例顯示；請用其他地圖操控按鈕尋找所需位置。";
         servletErr[3] = "請選取斜坡。";

         txtTimeout     = "目前網絡非常繁忙，未能製作地圖，十分抱歉。請稍後再試。";
         txtOutOfHK     = "你所搜尋的地圖並不在香港的範圍之內。";

         txtSysErrOpening = "系統出現以下誤差：";
         txtSysErrSrc     = "誤差來源：  ";
         txtSysErrMsg     = "誤差信息：  ";
         txtSysErrEnding  = "請再試一次。如問題仍未解決，請致電郵予我們的支援小組。\n" +
                            "我們會盡快與你聯絡。謝謝你的協助。\n" +
                            lblEmailStr + " " + mailLandsD;


         // Owner Details
         lblOwnerTitle    = "維修責任";
         lblSrchCriteria  = "搜尋條件";
         lblOwnerSlopeNo  = "斜坡編號";
         lblOwnerSubDiv   = "斜坡分段編號";
         lblOwnerLocation = "地點";
         lblOwnerLotParty = "負責地段<br>/負責方";
         lblOwnerRemarks  = "備註";
         lblOwnerNone     = "None";
         // variable is defined for displaying maint agent - Cyrus
         lblMaintAgent = "維修代理人";

         // Technical Information Window
//Following label definition modified for DAM enahcement - 21-jun-07 - Nivant         
         lblTechInfoTitle = "土木工程拓展署";
         lblSlopeNumber   = "斜坡編號";
         lblConseqCat     = "後果類別";
         lblEasting       = "東";
         lblNorthing      = "北";
         lblToeFacility   = "頂部設施";
         lblToeDistance   = "頂部設施距離(米)";
         lblCrestFacility = "底部設施";
         lblCrestDistance = "底部設施距離(米)";
         lblFeatureType   = "斜坡類別";
         lblSFMaterial    = "斜坡物料";
         lblSFHeight      = "斜坡高度(米)";
         lblSFLength      = "斜坡長度(米)";
         lblSFAngle       = "斜坡角度(度)";
         lblWFMaterial    = "擋土牆物料";
         lblWFHeight      = "擋土牆高度(米)";
         lblWFLength      = "擋土牆長度(米)";
         lblStructType    = "擋土牆類別";
         lblPageNoBegin   = "第";
         lblPageNoMiddle  = "頁，共";
         lblPageNoEnd     = "頁";
         btnUp            = "<< 上頁";
         btnDown          = "下頁 >>";
         lblNoTechInfo    = "這次搜尋結果並沒有技術資料。";
         imgCED           = "ced_ch.gif";
         imgCEDOver       = "ced_ch_over.gif";

         // Slope Report
         lblRptTitle      = "斜坡報告";
         lblRptTitleAs    = "";
         lblRptTitleAnd   = " 及";
         lblRptIdentify   = "本圖只作識別斜坡用途";
         lblRptPlan       = "斜坡位置圖";
         lblRptLegend     = "圖例";
         lblRptLegend1    = "須負責的斜坡或其部份的範圍";
         lblRptLegend2    = "地段界線";

         lblRptCategory   = "斜坡維修責任類別";
         lblAddLegend     = "其他圖例";
         lblRptGovt       = "政府";
         lblRptPrivate    = "私人";
         lblRptJoint      = "政府及私人";
         lblRptPark       = "公園";
         lblRptBldg       = "樓宇";
         lblRptRoad       = "街道";
         lblRptLand       = "土地";
         lblRptSea        = "海洋";
         lblRptHydro      = "水塘";
         // for simplified chinese, following 2 variables are assigned - Cyrus
         lblRptSlope      = "有關斜坡";
         lblRptLot        = "地段界線或處所範圍";
         lblRptLandsD     = "地政總署";
         lblRptNotToScale = "不依比例";
         lblRptOffice     = "辦事處：";
         lblRptOfficeLoc  = "產業管理組，系統性鑑辨本港斜坡維修責任小組";
         lblRptDate       = "日期：";
         lblRptCode       = "IASMP01002";
         lblRptRegister   = "系統性鑑辨本港斜坡維修責任紀錄冊";
         lblRptCol1       = "斜坡編號";
         lblRptCol2       = "斜坡<br>分段編號";
         lblRptCol3       = "地點";
         lblRptCol4       = "負責地段 /<br>負責方";
         lblRptCol5       = "斜坡圖則 ";
         lblRptCol6       = "備註";
         lblRptAttached   = "一如附圖所示";
         lblRptEnd        = "完";
         lblRptNote       = "附註:";
         lblRptNote1      = "附帶之斜坡圖則只作識別斜坡用。";
         lblRptNote2      = "本紀錄冊內所載列之斜坡，可能沒有在附帶之斜坡圖則上顯示。";
         txtPrintTitle    = "列印報告指引";
         txtPrintGuide    = "請同時按下鍵盤上的‘Ctrl’及‘P’按鈕，然後按‘確定’便可列印此斜坡報告。";
         // variable is defined for displaying maint agent on report - Cyrus
         lblRptCol7       = "維修代理人";

      }
   }
