$(function() {
	showDialog();
});

function showDialog()
{
	$("#dialog").dialog({
		bgiframe: true,
		modal: true,
		buttons: {
			"Ok": function() {
				$(this).dialog('close');
			}
		}
	});
}