function popUp(name, width, height) {
	if (window.POPUP) {
		if (POPUP.closed == false)	{
			POPUP.close();
		}
	}
	var ScreenX = screen.availHeight;
	var ScreenY = screen.availWidth;
	var DisplayPopupX = (ScreenX - height)/3;
	var DisplayPopupY = (ScreenY - width)/3;
	POPUP = window.open(name, "PopUp", "width=" + width + ", height=" + height + ", resizable=no, scrollbars=no");
	POPUP.focus();
	POPUP.moveTo(DisplayPopupX, DisplayPopupY);
}

function swap(){
	if (document.images){
		for (var x=0; x<swap.arguments.length; x+=2) {
			document[swap.arguments[x]].src = eval(swap.arguments[x+1] + ".src");
		}
	}
}
