function changeImages() {
	if (document.images) {
		for (var i=0; i<changeImages.arguments.length; i+=2) {
			document[changeImages.arguments[i]].src = changeImages.arguments[i+1];}}
}

function NewWindow(dest, windowName, w, h) {
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars=yes,resizable=yes,toolbars=no,location=no'
win = window.open(dest, windowName, winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}

function CenteredWindow(dest, windowName, w, h, scroll,resize,tool,loc) {
	var	winl = ((screen.width - w) / 2) - 10;
	var	wint = ((screen.height - h) / 2) - 25;
	winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable='+resize+',toolbar='+tool+',location='+loc+'';
win = window.open(dest, windowName, winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }}

