function OpenWindow( URL ) {
	window.open(URL,'','directories=no,height=220,width=250,location=no,menubar=no,scrollbars=no,status=no,toolbar=no');
}

function Help( helpTopic ) {
	// define the path constants for the various help files
	var urlHelpRoot = "/help/";
	var urlDownloadGarbage = urlHelpRoot + "downloadgarbage.html";
	var urlErrorNotFound = urlHelpRoot + "errornotfound.html";

	// urlHelpFile will contain the URL of the help file we want to load
	var urlHelpFile;
	var windowName;
	//var helpWindow;
	
	// Go through a big switch statement to load the respective help file into a new window
	switch ( helpTopic.toLowerCase() ) {
		case "downloadgarbage":
			urlHelpFile = urlDownloadGarbage;
			windowName = "helpWindow";
			break;
		default:
			urlHelpFile = urlErrorNotFound;
			windowName = "helpWindow";
			break;
	}
	command = windowName + " = " + "window.open(urlHelpFile,'help','directories=no, height=150,width=200,location=no,menubar=no,scrollbars=no,status=no,toolbar=no');";
	eval(command);
}

function ResizeWindow( windowWidth, windowHeight ) {
	if(( windowWidth < 0 )||( windowHeight < 0 )) {
		return( false );
	}
	else {
		window.resizeTo( windowWidth, windowHeight );
		return( true );
	}
}
