
<!--

function CHMCU_preloadImages() {
  if (document.images) {
    if (typeof(document.CHMCU) == 'undefined'){
      document.CHMCU = new Object();
    }
    document.CHMCU.loadedImages = new Array();
    var argLength = CHMCU_preloadImages.arguments.length;
    for(arg=0;arg<argLength;arg++) {
      document.CHMCU.loadedImages[arg] = new Image();
      document.CHMCU.loadedImages[arg].src = CHMCU_preloadImages.arguments[arg];
    }
  }
}

function PreLoad() {
  CHMCU_preloadImages('/images/company-info.gif', '/images/products-services_on.gif', '/images/photo-gallery.gif', '/images/whats-new_on.gif', '/images/contact-us_on.gif');
}

function popup(path,name) {var n=open(path + '/images/Large/' + name,'popup','width=480,height=300,menubar=no,scrollable=no,resizable=no,scrollbars=no,toolbar=no');}

function CHMCU_imageSwap(daImage, daSrc){
  var objStr,obj;
  /*
    CHMCU_imageSwap()
    Changes the source of an image.

    Source: Webmonkey Code Library
    (http://www.hotwired.com/webmonkey/javascript/code_library/)

    Author: Shvatz
    Author Email: shvatz@wired.com

    Usage: CHMCU_imageSwap(originalImage, 'newSourceUrl');

    Requires: CHMCU_preloadImages() (optional, but recommended)
    Thanks to Ken Sundermeyer (ksundermeyer@macromedia.com) for his help
    with variables in ie3 for the mac. 
    */

  // Check to make sure that images are supported in the DOM.
  if(document.images){
    // Check to see whether you are using a name, number, or object
    if (typeof(daImage) == 'string') {
      // This whole objStr nonesense is here solely to gain compatability
      // with ie3 for the mac.
      objStr = 'document.' + daImage;
      obj = eval(objStr);
      obj.src = daSrc;
    } else if ((typeof(daImage) == 'object') && daImage && daImage.src) {
      daImage.src = daSrc;
    }
  }
}


// -->


