GB_hooks_myShow = function(caption, url, /* optional */ height, width, callback_fn) {

	if (document.getElementById('udm')) {
		document.getElementById('udm').style.display='none';
	}

    var options = {
        caption: caption,
        center_win: true,
        height: height || 460,
        width: width || 460,
        fullscreen: false,
        show_loading: true,
        callback_fn: callback_fn
    }
    var win = new GB_Window(options);
    return win.show(url);
}

GB_hooks_myShowFS = function(caption, url, /* optional */ height, width, callback_fn) {
    var options = {
        caption: caption,
        center_win: true,
        height: height || 500,
        width: width || 500,
        fullscreen: true,
        show_loading: true,
        callback_fn: callback_fn
    }
    var win = new GB_Window(options);
    return win.show(url);
}


function GB_hooksClose(){
	
	if (parent.parent.document.getElementById('udm')) {
		parent.parent.document.getElementById('udm').style.display='block';
	}
	
	parent.parent.GB_hide();
	
}

