function WM_imageSwap(daImage, daSrc){
  var objStr,obj;
  // 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;
    }
  }
}

function WM_preloadImages() {
/* 
WM_preloadImages('image 1 URL', 'image 2 URL', 'image 3 URL', ...);
*/
  if (document.images) {
    if (typeof(document.WM) == 'undefined'){
      document.WM = new Object();
    }
    document.WM.loadedImages = new Array();
    // Loop through all the arguments.
    var argLength = WM_preloadImages.arguments.length;
    for(arg=0;arg<argLength;arg++) {
      // For each arg, create a new image.
      document.WM.loadedImages[arg] = new Image();
      // Then set the source of that image to the current argument.
      document.WM.loadedImages[arg].src = WM_preloadImages.arguments[arg];
    }
  }
}

function openAddress(title, content) {
 top.winRef=window.open('','mywin',
  'width=350,height=125'
   +',menubar=0'
   +',toolbar=0'
   +',status=0'
   +',scrollbars=0'
   +',resizable=1')
 top.winRef.document.writeln(
  '<html><head><title>' + title + '</title></head>'
   + '<style>'
   + '.location {'
   + 'font-family:verdana;'
   + 'color:white;'
   + 'font-size:small;'
   + 'font-weight:bold;'
   + '}'
   + 'a:link, a:active, a:visited {color:silver;}'
   + '</style>'
   +'<body bgcolor="#012B51" onload="self.focus()">'
   +'<div class="location">'
   +content
   +'</div>'
   +'</body></html>'
 )
 top.winRef.document.close()
}

// Functions generated by Adobe FireWorks for rollovers
function newImage(arg) {
	if (document.images) {
		rslt = new Image();
		rslt.src = arg;
		return rslt;
	}
}

function changeImages() {
	if (document.images && (preloadFlag == true)) {
		for (var i=0; i<changeImages.arguments.length; i+=2) {
			document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
		}
	}
}

var preloadFlag = false;
function preloadImages() {
	if (document.images) {
		Firehomepage_iO_01_iO_product_page_over = newImage("images/Firehomepage_iO_01-iO-produ.jpg");
		Firehomepage_iO_01_iO_Brochure_over = newImage("images/Firehomepage_iO_01-iO-Broch.jpg");
		preloadFlag = true;
	}
}