/********************************************************************
File: popUp.js
Created: 2006.10.18
Modified:
Author: Adam C. Buck
Purpose: Creates popup windows with variable height, width, and scroll bar properties
*********************************************************************/

function popUp(URL, nWidth, nHeight, nScroll) {
	day = new Date();
	id = day.getTime();
	window.open(URL, id, 'toolbar=0,scrollbars='+ nScroll + ',location=0,statusbar=0,menubar=0,resizable=0,width=' + nWidth + ',height=' + nHeight + ',left = ' + ((screen.width - nWidth) / 2) +',top = ' + ((screen.height - nHeight) / 2));
}