function sAlert(t,m,h,w){$("#dialog-error-text").html(m);$("#dialog-error").dialog({title:t});if(h){$("#dialog-error").dialog({height:h});};if(w){$("#dialog-error").dialog({height:w});};$("#dialog-error").dialog("open");}
function sConfirm(t,m,h,w){$("#dialog-confirm-text").html(m);$("#dialog-confirm").dialog({title:t});if(h){$("#dialog-error").dialog({height:h});};if(w){$("#dialog-error").dialog({height:w});};$("#dialog-confirm").dialog("open");}
$(function(){$("#dialog-error").dialog({resizable:false,width:450,height:210,modal:true,show:"drop",hide:"drop",autoOpen:false,closeOnEscape:true,buttons:{"OK":function(){$(this).dialog("close");}}});$("#dialog-confirm").dialog({resizable:false,width:450,height:210,modal:true,show:"drop",hide:"drop",autoOpen:false,closeOnEscape:true});});document.writeln('<div id="dialog-error" style="display:none;">');document.writeln(' <p><span class="ui-icon ui-icon-alert" style="float:left; margin:0 7px 60px 0;"></span><span id="dialog-error-text"></span></p>');document.writeln('</div>');document.writeln('<div id="dialog-confirm" style="display:none;">');document.writeln(' <p><span class="ui-icon ui-icon-info" style="float:left; margin:0 7px 60px 0;"></span><span id="dialog-confirm-text"></span></p>');document.writeln('</div>');
