    var PriFix = 'FL';
    var mA_PriFix = 'mA';
    var mS_PriFix = 'mS';
    var SItem_PriFix = 'SItem';
    var subItemStyleName = 'SItem_Active';
    //var subItemStyleName = 'm_Active';

    function ShowMyItem(Num, NumOfItems) {
        if (parseInt(Num) == 0) { ShowDeptTip(0); }
        for (i = 1; i <= parseInt(NumOfItems); i++) {
            if (i == parseInt(Num)) {
                try {
                    document.getElementById(PriFix + '_' + i).style.visibility = "visible";
                    if (i <= 4) {ShowDeptTip(i);} else { ShowDeptTip(0);};
                } catch (e) {
                    return;
                }
            } else {
                document.getElementById(PriFix + '_' + i).style.visibility = "hidden";
            }
        }
    }

    function HoverOn(Num, styleName, NumOfItems) {
        for (i = 1; i <= parseInt(NumOfItems); i++) {
            if (i == parseInt(Num)) {
                document.getElementById(mA_PriFix + '_' + i).className = styleName;
                document.getElementById(mS_PriFix + '_' + i).className = styleName;
            } else {
                document.getElementById(mA_PriFix + '_' + i).className = "";
                document.getElementById(mS_PriFix + '_' + i).className = "";
            }
        }
    }


    function HoverOnSubItem(num1) {

        if (num1 == null || num1 == '' || parseInt(num1) == 0) {
            return;
        }

        var i = parseInt(num1);
        try {
            document.getElementById(SItem_PriFix + '_' + i).className = subItemStyleName;
        } catch (e) {
            return;
        }
    }

    //Disabl all enter key in document
    function disableEnter() {
        if (window.event.keyCode == 13) {
            event.returnValue =true;
            event.cancel = false;
        }
    }
    function MM_openBrWindow(theURL,winName,features) { //v2.0
        window.open(theURL,winName,features+',scrollbar=auto');
    }




    function ShowDeptTip(num1) {

        if (num1 == null || num1 == '' || parseInt(num1) == 0) {
            num1=0;
        }


        var i = parseInt(num1);
        try {

            var tipNormal = document.getElementById('tipNormal');
            var tip24H = document.getElementById('tip24H');
            var tipCool = document.getElementById('tipCool');
            var tipFreeze = document.getElementById('tipFreeze');

            tipNormal.style.visibility = "hidden";
            tip24H.style.visibility = "hidden";
            tipCool.style.visibility = "hidden";
            tipFreeze.style.visibility = "hidden";

            switch (i) {
                case 1:
                    tip24H.style.left = "-170px";
                    tip24H.style.visibility = "visible";
                    break;
                case 2:
                    tip24H.style.left = "-170px";
                    tip24H.style.visibility = "visible";
                    break;
                case 3:
                    tipFreeze.style.left = "-247px";
                    tipFreeze.style.visibility = "visible";
                    break;
                case 4:
                    tipCool.style.left = "-259px";
                    tipCool.style.visibility = "visible";
                    break;
                default:
                    tipNormal.style.left = "35px";
                    tipNormal.style.visibility = "visible";
            }
            
        } catch (e) {
            return;
        }
    }

