// NOTE:  New Browser detection code, more effecient and allows Netscape 4.0
//        And the new IE 4.0 which now supports image arrays.
//
//  This code is now being used throughout the net, but this is the source
//  you should refer to for updates.  We're modifying it as the net changes.
//
//  Copyright 1996-97 Project Cool, Inc.  Used by the net, with permission but
//  we would appreciate it if you would give us credit in the source or a link
//  from your site. This statement must be included in the webpage.
//  http://www.projectcool.com
//
        browser = (((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) >= 3 )) || ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4 )))

        if ( browser) {
                normal = new MakeArray(6)
                over = new MakeArray(6)

                normal[1].src = "/contact-us/home.gif"
                normal[2].src = "/contact-us/ah.gif"
                normal[3].src = "/contact-us/beauty.gif"
                normal[4].src = "/contact-us/nut.gif"
                normal[5].src = "/contact-us/fit.gif"

                over[1].src = "/contact-us/home2.gif"
                over[2].src = "/contact-us/ah2.gif"
                over[3].src = "/contact-us/beauty2.gif"
                over[4].src = "/contact-us/nut2.gif"
                over[5].src = "/contact-us/fit2.gif"

                }
                
      function MakeArray(n) {
              this.length = n
              for (var i = 1; i<=n; i++) {
                      this[i] = new Image()
                      }
              return this
      }

        function msover(num) {
                        if ( browser) { 
                                document.images[num+1].src = over[num+1].src
                        }
                }

        function msout(num) {
                        if ( browser) {
                                        document.images[num+1].src = normal[num+1].src
                        }
                }

