function ShowTempletDialogNew(width, height, title, htmlUrl) {
debugger;
$('#dlg').dialog({
'title' : title,
'height' : height,
'width' : width,
//'top':7,//$(document).scrollTop() + ($(window).height()-570) * 0.5,
//'left': $(document).scrollTop() + ($(window).width()-900) * 0.5,
'minimizable' : false,
'maximizable' : false,
'minimizable' : true,
'cache' : false,
'href' : htmlUrl,
'modal' : true,
onLoad:function(){
//设置其他数据
//OnInitSubWindow();
}
,buttons: [{
text: '确 定',
iconCls: 'icon-ok',
handler: function () {
comfirm();
}
}, {
text: '取 消',
iconCls: 'icon-cancel',
handler: function () {
$('#dlg').dialog('close');
}
}]
/* */
});
}