
function newImage(arg) {
	if (document.images) {
		rslt = new Image();
		rslt.src = arg;
		return rslt;
	}
}
var preloadFlag = true;
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];
		}
	}
}

function popUp(url, width, height) {
	
	if (width && height) {
		window.open(url,"_blank","toolbar=no,height=" + height + ",width=" + width + ",location=no,address=no,directories=no,status=no,scrollbars=yes,resizable=yes,menubar=no,copyhistory=true");
	} else {
		window.open(url,"_blank","toolbar=no,height=500,width=500,location=no,address=no,directories=no,status=no,scrollbars=yes,resizable=yes,menubar=no,copyhistory=true");
	}
}


		function openWindow(theURL,winName,features) {
		window.open(theURL,winName,features);
		}
		
		function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
  }
