$(function(){
//	alert('test');
});

function loginPopup(){
	$('#loginPopup').dialog({
		modal: true,
		buttons: {
			"Login": function(){
				$(this).find('form').submit();
				// $(this).dialog('close');
			},
			"Cancel": function(){
				$(this).dialog('close');
			}
		},
		close: function(){
			$(this).dialog('destroy');
		}
	})
}
