﻿jQuery(document).ready(function () {
    $('.popup').dialog({
        bgiframe: true, autoOpen: false, height: 'auto', width: 'auto', maxHeight: 700, maxWidth: 700, modal: true
    });
    $('.popup').parent().appendTo($('form:first'));
});

function showPopup(id)
{
	jQuery('#' + id).dialog('open');
}
