/* ------------------------------------------------------------------------------- +

	File:		core.js
	Author:		Ben Nadel
	Date:		January 20, 2005
	Desc:		These are base system functions.

+ ------------------------------------------------------------------------------- */

// This takes a variable, checks to see if it null or undefined
// and if so, then sets the default value
function ParamArgument(objArgument, objDefaultValue){
	// Check to see if the argument is defined
	if (objArgument && (typeof(objArgument).toString() != "undefined")){
		return(objArgument);
	} else {
		// The value has not been set so return the default value
		return(objDefaultValue);
	}
}

function open_win(theUrl){
	var load = 		
	window.open(theUrl,'','scrollbars=yes,menubar=no,height=600,width=800,resizable=yes,toolbar=no,location=no,status=no');
}