    <!--

        if (document.images) { // If the image object exists.
      // Preload images.

      off = new Array(11);
      on = new Array(11);

      on[1] = new Image();
      on[1].src = "/templates/default/images/btn_inventory_on.gif";
      on[2] = new Image();
      on[2].src = "/templates/default/images/btn_hydrolic_on.gif";
      on[3] = new Image();
      on[3].src = "/templates/default/images/btn_mechforging_on.gif";
      on[4] = new Image();
      on[4].src = "/templates/default/images/btn_preforging_on.gif";
      on[5] = new Image();
      on[5].src = "/templates/default/images/btn_screwpresses_on.gif";
      on[6] = new Image();
      on[6].src = "/templates/default/images/btn_ringrollers_on.gif";
      on[7] = new Image();
      on[7].src = "/templates/default/images/btn_sheetmetal_on.gif";
      on[8] = new Image();
      on[8].src = "/templates/default/images/btn_billetsheers_on.gif";
      on[9] = new Image();
      on[9].src = "/templates/default/images/btn_trimpresses_on.gif";
      on[10] = new Image();
      on[10].src = "/templates/default/images/btn_forgingrolls_on.gif";
      on[11] = new Image();
      on[11].src = "/templates/default/images/btn_hammers_on.gif";
      on[12] = new Image();
      on[12].src = "/templates/default/images/btn_upsetters_on.gif";
      on[13] = new Image();
      on[13].src = "/templates/default/images/btn_profile_on.gif";
      on[14] = new Image();
      on[14].src = "/templates/default/images/btn_contact_on.gif";
      on[15] = new Image();
      on[15].src = "/templates/default/images/header_acquisitions_on.gif";


      off[1] = new Image();
      off[1].src = "/templates/default/images/btn_inventory.gif";
      off[2] = new Image();
      off[2].src = "/templates/default/images/btn_hydrolic.gif";
      off[3] = new Image();
      off[3].src = "/templates/default/images/btn_mechforging.gif";
      off[4] = new Image();
      off[4].src = "/templates/default/images/btn_preforging.gif";
      off[5] = new Image();
      off[5].src = "/templates/default/images/btn_screwpresses.gif";
      off[6] = new Image();
      off[6].src = "/templates/default/images/btn_ringrollers.gif";
      off[7] = new Image();
      off[7].src = "/templates/default/images/btn_sheetmetal.gif";
      off[8] = new Image();
      off[8].src = "/templates/default/images/btn_billetsheers.gif";
      off[9] = new Image();
      off[9].src = "/templates/default/images/btn_trimpresses.gif";
      off[10] = new Image();
      off[10].src = "/templates/default/images/btn_forgingrolls.gif";
      off[11] = new Image();
      off[11].src = "/templates/default/images/btn_hammers.gif";
      off[12] = new Image();
      off[12].src = "/templates/default/images/btn_upsetters.gif";
      off[13] = new Image();
      off[13].src = "/templates/default/images/btn_profile.gif";
      off[14] = new Image();
      off[14].src = "/templates/default/images/btn_contact.gif";
      off[15] = new Image();
      off[15].src = "/templates/default/images/header_acquisitions.gif";
    }

    function buttonOn(buttonName,num) {
      if (document.images) { // If the image object exists.
        // Change images on the page.
        document[buttonName].src = on[num].src;
      }
    }

    function buttonOff(buttonName,num) {
      if (document.images) { // If the image object exists.
        // Change images on the page.
        document[buttonName].src = off[num].src;
      }
    }

    function highlightBadFormElem( /* variable no. of arguments */ ) {
      if( arguments.length < 1 ) return;

      for( var i=0; i<arguments.length; i++ ) {
        elem = document.getElementById( arguments[i] );

        if( elem != null ) {
          elem.className = 'bad_form_element_neutral';
        }
      }

      // Focus on the first element.
      if( typeof( arguments[0] ) == 'string' )
        document.getElementById( arguments[0] ).focus();
      else
        arguments[0].focus();
    }

    function MM_swapImgRestore() { //v3.0
      var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
    }

    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_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_swapImage() { //v3.0
      var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
       if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
    }

    function popUp (webpage, windowName) {
      window.open (webpage, windowName, "width=480, height=410");
    }


    function changeBuildLocale( locale, cat ) {
      if( cat == '00000000004' ) {
        cat = 'cat_mechanical_forging_press_' + locale;
      } else if( cat == '00000000012' ) {
        cat = 'cat_upsetter_' + locale;
      } else {
        return;
      }

      document.getElementById( 'cat_mechanical_forging_press_usa' ).className = 'off';
      document.getElementById( 'cat_mechanical_forging_press_eur' ).className = 'off';
      document.getElementById( 'cat_hammer').className             = 'off';
      document.getElementById( 'cat_pre_forging_press').className  = 'off';
      document.getElementById( 'cat_reducer_roll').className       = 'off';
      document.getElementById( 'cat_ring_roller').className        = 'off';
      document.getElementById( 'cat_screw_press').className        = 'off';
      document.getElementById( 'cat_shear').className              = 'off';
      document.getElementById( 'cat_sheet_metal_press').className  = 'off';
      document.getElementById( 'cat_trim_press').className         = 'off';
      document.getElementById( 'cat_upsetter_usa').className       = 'off';
      document.getElementById( 'cat_upsetter_eur').className       = 'off';
      document.getElementById( 'cat_hydraulic_forging_press').className       = 'off';

      document.getElementById( cat ).className = 'on';
    }

    function changeCat( cat, locale ) {

      if( locale != 'eur' && locale != 'usa' ) {
        locale = 'usa';
      }

      if( cat == '00000000002' ) {
        cat = 'cat_hammer';
        document.forms.invedit.build_locale.value = 'usa';
        document.forms.invedit.build_locale.disabled = true;
      } else if( cat == '00000000004' ) {
        cat = 'cat_mechanical_forging_press_' + locale;
        document.forms.invedit.build_locale.value = locale;
        document.forms.invedit.build_locale.disabled = false;
      } else if( cat == '00000000005' ) {
        cat = 'cat_pre_forging_press';
        document.forms.invedit.build_locale.value = 'usa';
        document.forms.invedit.build_locale.disabled = true;
      } else if( cat == '00000000006' ) {
        cat = 'cat_reducer_roll';
        document.forms.invedit.build_locale.value = 'usa';
        document.forms.invedit.build_locale.disabled = true;
      } else if( cat == '00000000007' ) {
        cat = 'cat_ring_roller';
        document.forms.invedit.build_locale.value = 'usa';
        document.forms.invedit.build_locale.disabled = true;
      } else if( cat == '00000000008' ) {
        cat = 'cat_screw_press';
        document.forms.invedit.build_locale.value = 'usa';
        document.forms.invedit.build_locale.disabled = true;
      } else if( cat == '00000000009' ) {
        cat = 'cat_shear';
        document.forms.invedit.build_locale.value = 'usa';
        document.forms.invedit.build_locale.disabled = true;
      } else if( cat == '00000000010' ) {
        cat = 'cat_sheet_metal_press';
        document.forms.invedit.build_locale.value = 'usa';
        document.forms.invedit.build_locale.disabled = true;
      } else if( cat == '00000000011' ) {
        cat = 'cat_trim_press';
        document.forms.invedit.build_locale.value = 'usa';
        document.forms.invedit.build_locale.disabled = true;
      } else if( cat == '00000000012' ) {
        cat = 'cat_upsetter_' + locale;
        document.forms.invedit.build_locale.value = locale;
        document.forms.invedit.build_locale.disabled = false;
      } else if( cat == '00000000013' ) {      
        cat = 'cat_hydraulic_forging_press';
        document.forms.invedit.build_locale.value = 'usa';
        document.forms.invedit.build_locale.disabled = true;
      }
      
      document.getElementById( 'cat_mechanical_forging_press_usa' ).className = 'off';
      document.getElementById( 'cat_mechanical_forging_press_eur' ).className = 'off';
      document.getElementById( 'cat_hammer').className             = 'off';
      document.getElementById( 'cat_pre_forging_press').className  = 'off';
      document.getElementById( 'cat_reducer_roll').className       = 'off';
      document.getElementById( 'cat_ring_roller').className        = 'off';
      document.getElementById( 'cat_screw_press').className        = 'off';
      document.getElementById( 'cat_shear').className              = 'off';
      document.getElementById( 'cat_sheet_metal_press').className  = 'off';
      document.getElementById( 'cat_trim_press').className         = 'off';
      document.getElementById( 'cat_upsetter_usa').className       = 'off';
      document.getElementById( 'cat_upsetter_eur').className       = 'off';
      document.getElementById( 'cat_hydraulic_forging_press').className       = 'off';

      document.getElementById( cat ).className = 'on';
    }

    function toggleTbody(id) {
         if (document.getElementById) {
             var tbod = document.getElementById(id);
             if (tbod && typeof tbod.className == 'string') {
                 if (tbod.className == 'off') {
                     tbod.className = 'on';
                 } else {
                     tbod.className = 'off';
                 }
             }
         }
         return false;
     }
     function toggleTbodyOff(id) {
         if (document.getElementById) {
             var tbod = document.getElementById(id);
             if (tbod && typeof tbod.className == 'string') {
                 if (tbod.className == 'off') {
                     tbod.className = 'off';
                 } else {
                     tbod.className = 'off';
                 }
             }
         }
         return false;
     }
     function toggleTbodyOn(id) {
         if (document.getElementById) {
             var tbod = document.getElementById(id);
             if (tbod && typeof tbod.className == 'string') {
                 if (tbod.className == 'off') {
                     tbod.className = 'on';
                 } else {
                     tbod.className = 'on';
                 }
             }
         }
         return false;
     }

    // -->

