-
- // if (block_time > 0) {
- // clo.value = "leggere, prego.";
- // this.butt = butt;
- // }
- // else {
- // this.clodiv = clodiv_ctx;
- // // this.clo = clo;
- // }
-
-
-
-
-
- // this.clo = clo;
- this.clodiv = clodiv_ctx;
-
-
- cont = document.createElement("div");
-
- cont.style.borderBottomStyle = "solid";
- cont.style.borderBottomWidth = "1px";
- cont.style.borderBottomColor = "gray";
- cont.style.height = (h - 30)+"px";
- cont.style.overflow = "auto";
- cont.innerHTML = text;
-
- box = document.createElement("div");
- if (is_opa)
- box.className = "notify_opaque";
- else
- box.className = "notify";
-
- box.style.zIndex = 200;
- box.style.width = w+"px";
- box.style.marginLeft = -parseInt(w/2)+"px";
- box.style.height = h+"px";
- box.style.top = parseInt((document.body.clientHeight - h) / 2) + document.body.scrollTop;
- box.appendChild(cont);
- box.appendChild(this.clodiv);
- box.style.visibility = "visible";
-
- this.notitag = box;
-
- this.ancestor.appendChild(box);
-
- this.toutid = setTimeout(function(obj){ obj.unblock(); }, tout, this);
-
- // if (block_time != 0) {
- // this.tblkid = setTimeout(function(obj){ obj.clo.value = obj.butt; obj.clo.onclick = obj.input_hide; formsub_hilite(obj.clo); obj.clo.focus(); }, block_time, this);
- // }
- // else {
- // formsub_hilite(clo);
- // clo.focus();
- // }
-
-}
-
-
-function notify_document_old(st, text, tout, butt, w, h, is_opa, block_time)
-{
- var clo, clodiv, box;
- var t = this;
-
- this.st = st;
-
- this.ancestor = document.body;
-
- this.st.st_loc_new++;
-
- clo = document.createElement("input");
- clo.type = "submit";
- clo.className = "button";
- clo.style.bottom = "4px";
- clo.obj = this;