/*
	useful variables:
	
	ynNamepickerRestrictToOneName: true = only one name allowed, false = mutiple names
		Overwrites the custom control property. 
	ynNamepickerModal = true: set to false to prevent blending out the background. 
		Useful if you want to use the namepicker in a dialog. 
	ynNamepickerOffsetX = 0: use to modify the position of the dialog, set positive or negative number.
	ynNamepickerOffsetY = 0

*/


/*
	Called when user clicked OK in the dialog, before any standard action. 
	Return false to cancel. 
*/
function c_ynNamepickerOK_pre() {
	return true;
}

/*
	Called when user clicked OK in the dialog, after all standard actions,
	and after the dialog is closed.
	No return value. 
*/
function c_ynNamepickerOK_post() {

}

/*
	Called when user clicked CANCEL in the dialog, before any standard action. 
	Return false to cancel. 
*/
function c_ynNamepickerCancel_pre() {
	return true;
}

/*
	Called when user clicked CANCEL in the dialog, after all standard actions,
	and after the dialog is closed.
	No return value. 
*/
function c_ynNamepickerCancel_post() {

}