Modalbox.MyMethods = {

	alert: function(message, afterHide)
	{
		var html = '<div class="MB_alert"><p>' + message + '</p><div class="MB_buttons"><input type="button" class="button" onclick="Modalbox.hide()" value="OK" /></div></div>';
		Modalbox.show(html, {title: document.title, width: 400, afterHide: (typeof afterHide == 'function') ? afterHide : function(){}});
	}

}


Object.extend(Modalbox, Modalbox.MyMethods);

