<!--
/*
 File		: ins_nav.js

 Purpose    : Generate the left navigation bar for Information services pages 
 
 Functions  : 

 Modification History :
 
 Remarks    : The width of the first column must be 10 and that of the second column must be 156
            
            The following is the sample codes for including this js file
 
 	    <TABLE WIDTH="166" BORDER="0" CELLSPACING="0" CELLPADDING="0">
        <TR>
            <TD><IMG SRC="../images/common/blank.gif" WIDTH="10" HEIGHT="1" BORDER="0"></TD>
            <TD><IMG SRC="../images/common/blank.gif" WIDTH="156" HEIGHT="1" BORDER="0"></TD>
        </TR>
        <SCRIPT TYPE="text/javascript" LANGUAGE="JavaScript" SRC="[js path]/ins_nav.js"></SCRIPT>
        </TABLE>
        
 
 Version    Date            By              Description
 -----------------------------------------------------------------------
 1st        2002-05-31     Vivian Au        First Version
 -----------------------------------------------------------------------
*/

//the object for storing the url links for the flash files
    var urls = new Object;
    urls['info_cosac'] = thisPath + "information/cosac.htm";
    urls['info_hexlogsys'] = thisPath + "information/hex.htm";
//    urls['info_gpsstt'] = thisPath + "information/gps.htm";        //remove GPS from left side menu on 12/5/2005

//the variable "thisSection" was declared in common.js and the corresponding html page will set the value
    var chkSection = new Object;
    chkSection[insSection] = true;

    var info_cosac_on = new Image();
    var info_cosac_off = new Image();
    var info_hexlogsys_on = new Image();
    var info_hexlogsys_off = new Image();
//    var info_gpsstt_on = new Image();                        //remove GPS from left side menu on 12/5/2005
//    var info_gpsstt_off = new Image();                       //remove GPS from left side menu on 12/5/2005

    info_cosac_on.src = thisPath + 'images/information/info_arrow.gif';
    info_cosac_off.src = thisPath + 'images/common/blank.gif';
    info_hexlogsys_on.src = thisPath + 'images/information/info_arrow.gif';
    info_hexlogsys_off.src = thisPath + 'images/common/blank.gif';
//    info_gpsstt_on.src = thisPath + 'images/information/info_arrow.gif';    //remove GPS from left side menu on 12/5/2005
//    info_gpsstt_off.src = thisPath + 'images/common/blank.gif';             //remove GPS from left side menu on 12/5/2005

    var insNavStr = "";

    insNavStr += genNavImageTag('info_cosac', chkSection['info_cosac'], false, 156, 12, 'information', '高識電腦系統');
    insNavStr += genNavImageTag('info_hexlogsys', chkSection['info_hexlogsys'], false, 156, 12, 'information', 'HEx 電子物流資訊系統');
//  remove GPS from left side menu on 12/5/2005
//    insNavStr += genNavImageTag('info_gpsstt', chkSection['info_gpsstt'], false, 156, 27, 'information', 'GPSeal全球定位及電子封條綜合技術');

document.write(insNavStr);
//-->
