function preloadImages() {
	if (document.images) {
		if (!document.p) document.p = new Array();
		var i, j = document.p.length, arg = preloadImages.arguments;
		for (i = 0; i < arg.length; i++) {
			if (arg[i].indexOf('#') != 0) {
				document.p[j] = new Image;
				document.p[j++].src = arg[i];
			}
		}
	}
}

function swapImage(imgId, imgUrl) {
  var oImg;
  
  if (document.getElementById) {
    oImg = document.getElementById(imgId);
  } else if (document.images) {
    oImg = document.images[imgId];
  } else if (document.all) {
    oImg = document.all[imgId];
  }
  
  if (oImg && oImg.src) {
    oImg.src = imgUrl;
  }
}

function openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}