//=========================
// Episystems Code Library
//
// Changes:
// 270203 KJS created
//=========================

//------------------------------------------------
// popwin
// this function creates a popup window 
//
function popwin(handle_name, uri, width, height, scroll, resizable) {
	var param = "toolbar=0,location=0,directories=0,copyhistory=0,status=0";
	
	if (width != null) { param += ",width=" + width; }
	if (height != null) { param += ",height=" + height; }
	if (scroll != null) { param += ",scrollbars=" + scroll; }
	if (resizable != null) { param += ",resizable=" + resizable; }
	
	handle_name = window.open(uri, handle_name, param);
}

