var fx_window = {
	
	/**
     * Opens the passed URL in a popup window.
     */
    popup_window: function(url, id, width, height) {
        
        window.open(url, id, 'width=' + width + ',height=' + height + ',status=0,toolbar=0,location=0,menubar=0,directories=0,resizable=yes,scrollbars=yes');
    },
	
	confirm_download: function(target, text) {
		
		if (window.confirm(text)) window.location=target;
	}
}

