// Used to open a generic popup window
function OpenVariableWindow(link, winName, intWidth, intHeight){
	var newWindow;
	var screenWidth = screen.width;
	var displayPos = ((screenWidth/2) - (intWidth/2));
	newWindow = window.open( link, winName, "toolbar,width=" + intWidth + ",height=" + intHeight + ",left=" + displayPos + ",scrollbars,resizable");
	newWindow.focus();
}
