    function FixDivHeight()
    { 
      //---------------------------------------------------------------------------------------------------------
      // Manage picto sizes
      //---------------------------------------------------------------------------------------------------------
        var iMax = 0;
        var iMaxHeight = 153;
        var iHeight;
        var iWidth;
        var iPad;
        var oImg = document.getElementsByTagName("img");
        var oDiv = document.getElementsByTagName("div");

        // Fix the visibility problem of Link Lists with some version of Internet Explorer
        var e = document.getElementById("mainColumn");
        if (typeof(e)!='undefined') if (e != null) e.className = "mainColumn2";


        // getting maximum image height;
        for (var i=0; i<oImg.length; i++) if (oImg.item(i).className=="ImgWebShop")
            {
                iHeight = parseInt(oImg.item(i).height);
                if (iHeight>iMaxHeight){
                    iWidth = Math.round((iMaxHeight/iHeight)* parseInt(oImg.item(i).width));
                    oImg.item(i).height = iMaxHeight;
                    oImg.item(i).width = iWidth;
                 };
                if (oImg.item(i).height>iMax) iMax=oImg.item(i).height;
            }
        
        // set div height based on the product image size
        for (var i=0; i<oDiv.length; i++) if (oDiv.item(i).className=="visual")
                oDiv.item(i).style.height=iMax;

        // set image top padding 
        for (var i=0; i<oImg.length; i++) if (oImg.item(i).className=="ImgWebShop")
            {   iHeight = oImg.item(i).height;
                iPad = iMax - iHeight;
                oImg.item(i).style.paddingTop = iPad+"px";
            };
       //--------------------------------------------------------------------------------------------------
       //Manage Page layout
       //--------------------------------------------------------------------------------------------------
        if ((typeof(oLeft)!='undefined') && (typeof(oMain)!='undefined') && (typeof(oFade)!='undefined') && (oLeft!=null) && (oMain!=null) && (oFade!=null))
            if (oLeft.clientHeight<oMain.clientHeight)
            {
                var bs = oLeft.clientHeight - oFade.clientHeight;
                nv = oMain.clientHeight - bs;
                oFade.style.height = nv+'px';
            };
    };
