function OpenWindow(uri, width, height, name) { popupWin = window.open(uri,name,'width='+width+',height='+height+',top=0,left=0,status=yes,menubar=no,resizable=yes,scrollbars=1') popupWin.focus(); return false; } function OpenWindowleft(uri, width, height, left, name) { popupWin = window.open(uri,name,'width='+width+',height='+height+',top=0,left='+left+',status=yes,menubar=no,resizable=yes,scrollbars=1') popupWin.focus(); return false; } function OpenWindowno(uri, width, height, name) { popupWin = window.open(uri,name,'width='+width+',height='+height+',top=0,left=0,status=no,menubar=no,resizable=no,scrollbars=1') popupWin.focus(); return false; } function confirmDelete(mode, url) { if (mode == 1) { var agree = confirm('Вы действительно хотите удалить это сообщение?'); } else { var agree = confirm('Вы действительно хотите удалить?'); } if (agree) { document.location=url; } } // start minimize var ns6=document.getElementById&&!document.all?1:0 var head = "display:''" var folder = '' function expandit(curobj) { folder = ns6?curobj.nextSibling.nextSibling.style:document.all[curobj.sourceIndex+1].style if (folder.display=="none") folder.display = "" else folder.display="none" } // end minimize function win_min(window) { if (document.getElementById(window).style.display == 'none') { document.getElementById(window).style.display = 'block'; } else { document.getElementById(window).style.display = 'none'; if (window == 'responseHTML') document.getElementById('resultdiv').style.top = '2px'; } } function forgiven(show, close) { if (show != 0) { document.getElementById(show).style.display = 'block'; } if (!close) { } else { document.getElementById(close).style.display = 'none'; } return false; }