/*
# $Id$
*/

//-------------------------------
// VOID EXNT_openDocSelector( args )
//--
// OBJECT args	= Object containg name=value argument pairs (MUST include the 'fn' argument)
//--
// Opens a popup window containg the document selector.
// The 'args' variable MUST contain at least the name of
// the application function ('fn').
//-------------------------------
function EXNT_openDocSelector(args) {

	// Vars
	var features = 'width=550,height=420';
	var win_name = 'EXNT_DocSelector';

	// Check for required arguments
	if(args.fn==null) {
		alert("Invalid Argument:\n- You must provide an application function name");
		return;
	}

	// Open window
	var url = EXNT_genHREF('doc', 'selector', args);
	var win = openPopupWindow(url, 550, 420, ['status=1'], win_name);
	win.focus();
}