function Shandle_showErrorWindow() { W = 560; H = 380; wname = "ErrorWindow"; var windowW = W; var windowH = H; var windowX = Math.ceil((window.screen.width - windowW) / 2); var windowY = Math.ceil((window.screen.height - windowH) / 2); if (navigator.appName == "Microsoft Internet Explorer" && parseInt(navigator.appVersion) >= 4) isie = true; else isie = false; if (isie) { H = H + 20 + 2; W = W + 2; } s = ",width=" + W + ",height=" + H; if (!isie) { splashWin = window.open("" , wname, "fullscreen=1,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0" + s); splashWin.resizeTo(Math.ceil(W), Math.ceil(H)); splashWin.moveTo(Math.ceil(windowX), Math.ceil(windowY)) splashWin.document.open("text/html", "replace"); splashWin.document.write("\n"); splashWin.document.write(""); splashWin.document.write("
  L o a d i n g . . .
"); splashWin.document.write(""); splashWin.document.close(); } else var splashWin = window.open('/COM/SilverStream/Objectstore/General/ShowErrorFrame.html', wname, "toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=1" + s, true); splashWin.focus(); } function Shandle_image_preload() { var img_list = Shandle_image_preload.arguments; if (document.preloadlist == null) document.preloadlist = new Array(); var top = document.preloadlist.length; for (var i = 0; i < img_list.length; i++) { document.preloadlist[top + i] = new Image; document.preloadlist[top + i].src = img_list[i + 1]; } } function Shandle_getCookieVal(offset) { var endstr = document.cookie.indexOf(';', offset); if (endstr == -1) endstr = document.cookie.length; return unescape(document.cookie.substring(offset, endstr)); } function Shandle_GetCookie(name) { var arg = name + '='; var alen = arg.length; var clen = document.cookie.length; var i = 0; while (i < clen) { var j = i + alen; if (document.cookie.substring(i, j) == arg) return Shandle_getCookieVal(j); i = document.cookie.indexOf(' ', i) + 1; if (i == 0) break; } return null; } function Shandle_SetCookie(name, value) { var argv = Shandle_SetCookie.arguments; var argc = Shandle_SetCookie.arguments.length; var expires = (argc > 2) ? argv[2] : null; var path = (argc > 3) ? argv[3] : null; var domain = (argc > 4) ? argv[4] : null; var secure = (argc > 4) ? argv[5] : false; document.cookie = name + '=' + escape (value) + ((expires == null) ? '' : ('; expires=' + expires.toGMTString())) + ((path == null) ? '' : ('; path=' + path)) + ((domain == null) ? '' : ('; domain=' + domain)); } function Shandle_DeleteCookie(name) { exp = new Date(); exp.setTime(exp.getTime() - 1); var cval = Shandle_GetCookie('name'); document.cookie = name + '=' + cval + '; expires=' + exp.toGMTString(); }