        function flevDivPositionValue(sDivID, sPositionProperty) 
        { 
          // v1.0, Marja Ribbers-de Vroed  
          var sPositionValue;
          // ***** W3C Compatible DOM (NN6, Mozilla 16, etc.) ***** 
          if (document.getElementById && !document.all) 
          { 
          //W3C DOM compliant 
          var docObj = document.getElementById(sDivID); 
          if (document.defaultView != null)
          { 
           // NS6+ alike 
           sPositionValue = document.defaultView.getComputedStyle(docObj, "").getPropertyValue(sPositionProperty); 
          } 
          else 
          { 
          // Opera 5 alike 
           if (sPositionProperty == "height") { sPositionValue = docObj.style.pixelHeight; } 
           else if (sPositionProperty == "width") { sPositionValue = docObj.style.pixelWidth; } 
           else { sPositionValue = eval("docObj.style." + sPositionProperty); } 
           } 
           sPositionValue = (sPositionValue == "") ? "0" : sPositionValue; 
             } 
            // ***** Netscape Navigator 4+ DOM ***** 
           else if (document.layers)
           { 
              //NS4+ DOM compliant 
              var docObj = eval("MM_findObj('" + sDivID + "')"); 
              if ((sPositionProperty == "width") || (sPositionProperty == "height")) { sPositionValue = eval("docObj.clip." + sPositionProperty); } 
              else { sPositionValue = eval("docObj." + sPositionProperty); } 
              sPositionValue = (sPositionValue == "") ? "0" : sPositionValue; 
             } 
            // ***** Internet Explorer 4+ DOM ***** 
            else if (document.all) 
            { 
              //IE4+ DOM compliant 
              if (sPositionProperty == "width") { sPositionValue = eval(sDivID + ".offsetWidth"); } 
              else if (sPositionProperty == "height") { sPositionValue = eval(sDivID + ".offsetHeight"); } 
              else if (sPositionProperty == "top") { sPositionValue = eval(sDivID + ".offsetTop"); } 
              else if (sPositionProperty == "left") { sPositionValue = eval(sDivID + ".offsetLeft"); } 
              sPositionValue = (sPositionValue == "") ? "0" : sPositionValue; 
            } 
            if (isNaN(sPositionValue)) 
            { 
                 if (sPositionValue.indexOf('px') > 0) 
                 { 
                    sPositionValue = sPositionValue.substring(0,sPositionValue.indexOf('px')); 
                 } 
            } 
            return parseInt(sPositionValue); 
        }
 
        function flevMoveDiv(sDivID, sLeft, sTop){ // v1.0, Marja Ribbers-de Vroed 
         var docObj = eval("MM_findObj('" + sDivID + "')"); 
         if (document.layers) { // NS4.x 
          eval("docObj.top = '" + sTop + "'"); 
          eval("docObj.left = '" + sLeft + "'"); 
         } 
         else { // all others 
          eval("docObj.style.top = '" + sTop + "'"); 
          eval("docObj.style.left = '" + sLeft + "'"); 
         } 
        }
     
        function flevAutoScrollDivs() { // v1.0, Marja Ribbers-de Vroed   
         var iArgs = flevAutoScrollDivs.arguments.length;   
         var sContainerDivID = 'AutoScrollContainer';   
         var sContentDivID = 'AutoScrollContent';   
         var iStartScrolling = (iArgs > 0) ? parseInt(flevAutoScrollDivs.arguments[0]) : 1;  
         var iPixels = (iArgs > 1) ? parseInt(flevAutoScrollDivs.arguments[1]) : 1;   
         var iDelay = (iArgs > 2) ? parseInt(flevAutoScrollDivs.arguments[2]) : 50;   
         var iCurrentTop = flevDivPositionValue(sContentDivID, 'top');   
         var iScrollTop = (-1 * flevDivPositionValue(sContentDivID, 'height'));   
         var iScrollBottom = flevDivPositionValue(sContainerDivID, 'height');   
         var iCurrentLeft = flevDivPositionValue(sContentDivID, 'left');  
         if (iStartScrolling) {   
          if (iCurrentTop != iScrollTop) {flevMoveDiv(sContentDivID, String(iCurrentLeft), String(iCurrentTop-iPixels));} // Continue scrolling   
          else {flevMoveDiv(sContentDivID, String(iCurrentLeft), String(iScrollBottom));} // Re-position scrolling layer at bottom of containing layer  
          flevTimeoutID = setTimeout("flevAutoScrollDivs(" + iStartScrolling + "," + iPixels + "," + iDelay + ")", iDelay);   
         }   
         else if (flevTimeoutID != null) {clearTimeout(flevTimeoutID);}
        }
     
        function MM_findObj(n, d) { //v4.01
          var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
            d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
          if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
          for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
          if(!x && d.getElementById) x=d.getElementById(n); return x;
        }
     
        function MM_preloadImages() { //v3.0
          var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
            var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
            if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
        }
     
        function MM_jumpMenu(targ,selObj,restore){ //v3.0
          eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
          if (restore) selObj.selectedIndex=0;
        }

        function MM_reloadPage(init) {  //reloads the window if Nav4 resized
          if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
            document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
          else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
        }
        MM_reloadPage(true);
