'+
- this.htm + '<\/div>';
- }
- else
- {
- if (!!(this.div = dd.getDiv(this.id)) && typeof this.div.style != "undefined") this.css = this.div.style;
- dd.getWH(this);
- if (this.div)
- {
- this.div.ddObj = this;
- this.div.pos_rel = ((this.div.parentNode? this.div.parentNode.tagName : this.div.parentElement? this.div.parentElement.tagName : '').toString().toLowerCase().indexOf('body') < 0);
- }
- dd.getPageXY(this.div);
- this.defx = this.x = dd.x;
- this.defy = this.y = dd.y;
- dd.getCssXY(this);
- this.defz = dd.Int(dd.getCssProp(this.div, 'z-index','zIndex','zIndex'));
- }
- this.defw = this.w || 0;
- this.defh = this.h || 0;
-}
-
-DDObj.prototype.moveBy = function(d_x, d_y, d_kds, d_o)
-{
- if (!this.div) return;
- this.x += (d_x = dd.Int(d_x));
- this.y += (d_y = dd.Int(d_y));
- if (!d_kds || this.is_image || this.parent != this.defparent)
- {
- (d_o = this.css || this.div).left = (this.cssx += d_x) + dd.px;
- d_o.top = (this.cssy += d_y) + dd.px;
- }
- var d_i = this.children.length; while (d_i--)
- {
- if (!(d_o = this.children[d_i]).detached) d_o.moveBy(d_x, d_y, 1);
- d_o.defx += d_x;
- d_o.defy += d_y;
- }
-};
-
-DDObj.prototype.moveTo = function(d_x, d_y)
-{
- this.moveBy(dd.Int(d_x)-this.x, dd.Int(d_y)-this.y);
-};
-
-DDObj.prototype.hide = function(d_o)
-{
- if (this.div) (this.css || this.div).visibility = "hidden";
- this.visible = false;
- var d_i = this.children.length; while (d_i--)
- if (!(d_o = this.children[d_i]).detached) d_o.hide();
-};
-
-DDObj.prototype.show = function()
-{
- if (this.div) (this.css || this.div).visibility = "visible";
- this.visible = true;
- var d_i = this.children.length; while (d_i--)
- if (!(d_o = this.children[d_i]).detached) d_o.show();
-};
-
-DDObj.prototype.resizeTo = function(d_w, d_h, d_o)
-{
- if (!this.div) return;
- d_w = (this.w = dd.Int(d_w))-this.dw;
- d_h = (this.h = dd.Int(d_h))-this.dh;
- if (dd.n4)
- {
- this.div.resizeTo(d_w, d_h);
- if (this.is_image)
- {
- this.write('

');
- (this.nimg = this.div.document.images[0]).src = this.src;
- }
- }
- else if (typeof this.css.pixelWidth != "undefined")
- {
- this.css.pixelWidth = d_w;
- this.css.pixelHeight = d_h;
- if (this.is_image)
- {
- (d_o = this.nimg.style).pixelWidth = d_w;
- d_o.pixelHeight = d_h;
- }
- }
- else
- {
- this.css.width = d_w + dd.px;
- this.css.height = d_h + dd.px;
- if (this.is_image)
- {
- (d_o = this.nimg).width = d_w;
- d_o.height = d_h;
- if (!d_o.complete) d_o.src = this.src;
- }
- }
-};
-
-DDObj.prototype.resizeBy = function(d_dw, d_dh)
-{
- this.resizeTo(this.w+dd.Int(d_dw), this.h+dd.Int(d_dh));
-};
-
-DDObj.prototype.swapImage = function(d_x, d_cp)
-{
- if (!this.is_image || !this.nimg) return;
- this.nimg.src = d_x;
- this.src = this.nimg.src;
- if (d_cp)
- {
- var d_i = this.copies.length; while (d_i--)
- this.copies[d_i].src = this.copies[d_i].nimg.src = this.nimg.src;
- }
-};
-
-DDObj.prototype.setBgColor = function(d_x, d_o)
-{
- if (dd.n4 && this.div) this.div.bgColor = d_x;
- else if (this.css) this.css.background = d_x;
- this.bgColor = d_x;
-};
-
-DDObj.prototype.write = function(d_x, d_o)
-{
- if (!this.div) return;
- if (dd.n4)
- {
- (d_o = this.div.document).open();
- d_o.write(d_x);
- d_o.close();
- dd.getWH(this);
- }
- else if (!dd.op6)
- {
- this.css.height = 'auto';
- this.div.innerHTML = d_x;
- if (!dd.ie4) dd.recalc();
- if (dd.ie4 || dd.n6) setTimeout('dd.recalc();', 0); // n6.0: recalc twice
- }
-};
-
-DDObj.prototype.copy = function(d_n, d_p)
-{
- if (!this.oimg) return;
- d_n = d_n || 1;
- while (d_n--)
- {
- var d_l = this.copies.length,
- d_o = new DDObj(this.name+this.cmd, d_l+1);
- if (dd.n4)
- {
- d_o.id = (d_p = new Layer(d_o.w)).name;
- d_p.clip.height = d_o.h;
- d_p.visibility = 'show';
- (d_p = d_p.document).open();
- d_p.write(d_o.htm);
- d_p.close();
- }
- else if (dd.db.insertAdjacentHTML) dd.db.insertAdjacentHTML("AfterBegin", d_o.t_htm);
- else if (document.createElement && dd.db && dd.db.appendChild)
- {
- dd.db.appendChild(d_p = document.createElement('div'));
- d_p.innerHTML = d_o.htm;
- d_p.id = d_o.id;
- d_p.style.position = 'absolute';
- d_p.style.width = d_o.w + 'px';
- d_p.style.height = d_o.h + 'px';
- }
- else if (dd.db && dd.db.innerHTML) dd.db.innerHTML += d_o.t_htm;
- d_o.defz = this.defz+1+d_l;
- dd.addProps(d_o);
- d_o.original = this;
- dd.addElt(d_o, this);
- if (this.parent)
- {
- this.parent.addChild(d_o, this.detached);
- d_o.defparent = this.defparent;
- }
- d_o.moveTo(d_o.defx = this.defx, d_o.defy = this.defy);
- if (dd.n4) d_o.defsrc = d_o.src = this.defsrc;
- d_o.swapImage(this.src);
- }
-};
-
-DDObj.prototype.addChild = function(d_kd, detach, defp)
-{
- if (typeof d_kd != "object") d_kd = dd.elements[d_kd];
- if (d_kd.parent && d_kd.parent == this || d_kd == this || !d_kd.is_image && d_kd.defparent && !defp) return;
-
- this.children[this.children.length] = this.children[d_kd.name] = d_kd;
- d_kd.detached = detach || 0;
- if (defp) d_kd.defparent = this;
- else if (this == d_kd.defparent && d_kd.is_image) dd.getImg(this, d_kd.oimg.name, 1);
- if (!d_kd.defparent || this != d_kd.defparent)
- {
- d_kd.defx = d_kd.x;
- d_kd.defy = d_kd.y;
- }
- if (!detach)
- {
- d_kd.defz = d_kd.defz+this.defz-(d_kd.parent? d_kd.parent.defz : 0)+(!d_kd.is_image*1);
- d_kd.setZ(d_kd.z+this.z-(d_kd.parent? d_kd.parent.z : 0)+(!d_kd.is_image*1), 1);
- }
- if (d_kd.parent) d_kd.parent._removeChild(d_kd, 1);
- d_kd.parent = this;
-};
-
-DDObj.prototype._removeChild = function(d_kd, d_newp)
-{
- if (typeof d_kd != "object") d_kd = this.children[d_kd];
- var d_oc = this.children, d_nc = new Array();
- for (var d_i = 0; d_i < d_oc.length; d_i++)
- if (d_oc[d_i] != d_kd) d_nc[d_nc.length] = d_oc[d_i];
- this.children = d_nc;
- d_kd.parent = null;
- if (!d_newp)
- {
- d_kd.detached = d_kd.defp = 0;
- if (d_kd.is_image) dd.getImg(d_kd, d_kd.oimg.name, 1);
- }
-};
-
-DDObj.prototype.attachChild = function(d_kd)
-{
- (d_kd = (typeof d_kd != "object")? this.children[d_kd]: d_kd).detached = 0;
- d_kd.setZ(d_kd.defz + this.z-this.defz, 1);
-};
-
-DDObj.prototype.detachChild = function(d_kd)
-{
- (d_kd = (typeof d_kd != "object")? this.children[d_kd]: d_kd).detached = 1;
-};
-
-DDObj.prototype.setZ = function(d_x, d_kds)
-{
- if (d_kds)
- {
- var d_dz = d_x-this.z,
- d_i = this.children.length; while (d_i--)
- if (!(d_o = this.children[d_i]).detached) d_o.setZ(d_o.z+d_dz, 1);
- }
- dd.z = Math.max(dd.z, this.z = this.div? ((this.css || this.div).zIndex = d_x) : 0);
-};
-
-DDObj.prototype.maximizeZ = function()
-{
- this.setZ(dd.z+1, 1);
-};
-
-DDObj.prototype._resetZ = function(d_o)
-{
- if (this.re_z || dd.re_z)
- {
- this.setZ(this.defz);
- var d_i = this.children.length; while (d_i--)
- if (!(d_o = this.children[d_i]).detached) d_o.setZ(d_o.defz);
- }
-};
-
-DDObj.prototype.setCursor = function(d_x)
-{
- this._setCrs(this.cursor = (d_x.indexOf('c:')+1)? d_x.substring(2) : d_x);
-};
-
-DDObj.prototype._setCrs = function(d_x)
-{
- if (this.css) this.css.cursor = ((!dd.ie || dd.iemac) && d_x == 'hand')? 'pointer' : d_x;
-};
-
-DDObj.prototype.setDraggable = function(d_x)
-{
- this.nodrag = !d_x*1;
- this._setCrs(d_x? this.cursor : 'auto');
-};
-
-DDObj.prototype.setResizable = function(d_x)
-{
- this.resizable = d_x*1;
- if (d_x) this.scalable = 0;
-};
-
-DDObj.prototype.setScalable = function(d_x)
-{
- this.scalable = d_x*1;
- if (d_x) this.resizable = 0;
-};
-
-DDObj.prototype.del = function(d_os, d_o)
-{
- if (this.parent && this.parent._removeChild) this.parent._removeChild(this);
- if (this.original)
- {
- this.hide();
- if (this.original.copies)
- {
- d_os = new Array();
- for (var d_i = 0; d_i < this.original.copies.length; d_i++)
- if ((d_o = this.original.copies[d_i]) != this) d_os[d_os.length] = d_os[d_o.name] = d_o;
- this.original.copies = d_os;
- }
- }
- else if (this.is_image)
- {
- this.hide();
- if (dd.n4 && this.oimg) this.oimg.src = this.defsrc;
- else if (this.oimg && this.oimg.style) this.oimg.style.visibility = 'visible';
- }
- else if (this.moveTo)
- {
- if (this.css) this.css.cursor = 'default';
- this.moveTo(this.defx, this.defy);
- this.resizeTo(this.defw, this.defh);
- }
- d_os = new Array();
- for (var d_i = 0; d_i < dd.elements.length; d_i++)
- {
- if ((d_o = dd.elements[d_i]) != this) d_os[d_os.length] = d_os[d_o.name] = d_o;
- else d_o._free();
- }
- dd.elements = d_os;
- if (!dd.op6 && !dd.n4) dd.recalc();
-};
-
-DDObj.prototype._free = function()
-{
- for (var d_i in this)
- this[d_i] = null;
- dd.elements[this.name] = null;
-};
-
-
-
-dd.n4RectVis = function(vis)
-{
- for (var d_i = 4; d_i--;)
- {
- dd.rectI[d_i].visibility = dd.rectA[d_i].visibility = vis? 'show' : 'hide';
- if (vis) dd.rectI[d_i].zIndex = dd.rectA[d_i].zIndex = dd.z+2;
- }
-};
-
-dd.n4RectPos = function(d_o, d_x, d_y, d_w, d_h)
-{
- d_o.x = d_x;
- d_o.y = d_y;
- d_o.clip.width = d_w;
- d_o.clip.height = d_h;
-};
-
-// NN4: draw img resize rectangle
-dd.n4Rect = function(d_w, d_h)
-{
- if (!dd.rectI)
- {
- dd.rectI = new Array();
- dd.rectA = new Array();
- }
- if (!dd.rectI[0])
- {
- for (var d_i = 4; d_i--;)
- {
- (dd.rectI[d_i] = new Layer(1)).bgColor = '#000000';
- (dd.rectA[d_i] = new Layer(1)).bgColor = '#ffffff';
- }
- }
- if (!dd.rectI[0].visibility || dd.rectI[0].visibility == 'hide') dd.n4RectVis(1);
- dd.obj.w = d_w;
- dd.obj.h = d_h;
- for (var d_i = 4; d_i--;)
- {
- dd.n4RectPos(dd.rectI[d_i], dd.obj.x + (!(d_i-1)? (dd.obj.w-1) : 0), dd.obj.y + (!(d_i-2)? (dd.obj.h-1) : 0), d_i&1 || dd.obj.w, !(d_i&1) || dd.obj.h);
- dd.n4RectPos(dd.rectA[d_i], !(d_i-1)? dd.rectI[1].x+1 : (dd.obj.x-1), !(d_i-2)? dd.rectI[2].y+1 : (dd.obj.y-1), d_i&1 || dd.obj.w+2, !(d_i&1) || dd.obj.h+2);
- }
-};
-
-dd.reszTo = function(d_w, d_h)
-{
- if (dd.n4 && dd.obj.is_image) dd.n4Rect(d_w, d_h);
- else dd.obj.resizeTo(d_w, d_h);
-};
-
-dd.embedVis = function(d_vis)
-{
- var d_o = new Array('iframe', 'applet', 'embed', 'object');
- var d_i = d_o.length; while (d_i--)
- {
- var d_p = dd.ie? document.all.tags(d_o[d_i]) : document.getElementsByTagName? document.getElementsByTagName(d_o[d_i]) : null;
- if (d_p)
- {
- var d_j = d_p.length; while (d_j--)
- {
- var d_q = d_p[d_j];
- while (d_q.offsetParent || d_q.parentNode)
- {
- if ((d_q = d_q.parentNode || d_q.offsetParent || null) == dd.obj.div)
- {
- d_p[d_j].style.visibility = d_vis;
- break;
- }
- }
- }
- }
- }
-};
-
-dd.maxOffX = function(d_x, d_y)
-{
- return (
- (dd.obj.maxoffl+1 && (d_y = dd.obj.defx-dd.obj.maxoffl)-d_x > 0
- || dd.obj.maxoffr+1 && (d_y = dd.obj.defx+dd.obj.maxoffr)-d_x < 0)? d_y
- : d_x
- );
-};
-
-dd.maxOffY = function(d_x, d_y)
-{
- return (
- (dd.obj.maxofft+1 && (d_y = dd.obj.defy-dd.obj.maxofft)-d_x > 0
- || dd.obj.maxoffb+1 && (d_y = dd.obj.defy+dd.obj.maxoffb)-d_x < 0)? d_y
- : d_x
- );
-};
-
-dd.inWndW = function(d_x, d_y)
-{
- var d_wx = dd.getScrollX(),
- d_ww = dd.getWndW();
- return (
- ((d_y = d_wx+2)-d_x > 0) || ((d_y = d_wx+d_ww+dd.obj.w-2)-d_x < 0)? d_y
- : d_x
- );
-};
-
-dd.inWndH = function(d_x, d_y)
-{
- var d_wy = dd.getScrollY(),
- d_wh = dd.getWndH();
- return (
- ((d_y = d_wy+2)-d_x > 0) || ((d_y = d_wy+d_wh+dd.obj.h-2)-d_x < 0)? d_y
- : d_x
- );
-};
-
-// These two funcs limit the size of element when mouseresized.
-// Implemented 22.5.2003 by Gregor Lütolf
, modified by Walter Zorn
-dd.limW = function(d_w)
-{
- return (
- (dd.obj.minw-d_w > 0)? dd.obj.minw
- : (dd.obj.maxw > 0 && dd.obj.maxw-d_w < 0)? dd.obj.maxw
- : d_w
- );
-};
-
-dd.limH = function(d_h)
-{
- return (
- (dd.obj.minh-d_h > 0)? dd.obj.minh
- : (dd.obj.maxh > 0 && dd.obj.maxh-d_h < 0)? dd.obj.maxh
- : d_h
- );
-};
-
-
-// Optional autoscroll-page functionality. Courtesy Cedric Savarese.
-// Implemented by Walter Zorn
-function DDScroll()
-{
- if (!dd.obj || !dd.obj.scroll && !dd.scroll || dd.op || dd.ie4 || dd.whratio)
- {
- dd.scrx = dd.scry = 0;
- return;
- }
- var d_bnd = 0x1c,
- d_wx = dd.getScrollX(), d_wy = dd.getScrollY();
- if (dd.msmoved)
- {
- var d_ww = dd.getWndW(), d_wh = dd.getWndH(), d_y;
- dd.scrx = ((d_y = dd.e.x-d_ww-d_wx+d_bnd) > 0)? (d_y>>=2)*d_y
- : ((d_y = d_wx+d_bnd-dd.e.x) > 0)? -(d_y>>=2)*d_y
- : 0;
- dd.scry = ((d_y = dd.e.y-d_wh-d_wy+d_bnd) > 0)? (d_y>>=2)*d_y
- : ((d_y = d_wy+d_bnd-dd.e.y) > 0)? -(d_y>>=2)*d_y
- : 0;
- }
- if (dd.scrx || dd.scry)
- {
- window.scrollTo(
- d_wx + (dd.scrx = dd.obj.is_resized? dd.limW(dd.obj.w+dd.scrx)-dd.obj.w : dd.obj.vertical? 0 : (dd.maxOffX(dd.obj.x+dd.scrx)-dd.obj.x)),
- d_wy + (dd.scry = dd.obj.is_resized? dd.limH(dd.obj.h+dd.scry)-dd.obj.h : dd.obj.horizontal? 0 : (dd.maxOffY(dd.obj.y+dd.scry)-dd.obj.y))
- );
- dd.obj.is_dragged? dd.obj.moveTo(dd.obj.x+dd.getScrollX()-d_wx, dd.obj.y+dd.getScrollY()-d_wy)
- : dd.reszTo(dd.obj.w+dd.getScrollX()-d_wx, dd.obj.h+dd.getScrollY()-d_wy);
- }
- dd.msmoved = 0;
- window.setTimeout('DDScroll()', 0x33);
-}
-
-
-
-function PICK(d_ev)
-{
- dd.e = new dd.evt(d_ev);
- if (dd.e.x >= dd.getWndW()+dd.getScrollX() || dd.e.y >= dd.getWndH()+dd.getScrollY()) return true; // on scrollbar
- var d_o, d_cmp = -1, d_i = dd.elements.length; while (d_i--)
- {
- d_o = dd.elements[d_i];
- if (dd.n4 && dd.e.but > 1 && dd.e.src == d_o.oimg && !d_o.clone) return false;
- if (d_o.visible && dd.e.but <= 1 && !d_o.nodrag && dd.e.x >= d_o.x && dd.e.x <= d_o.x+d_o.w && dd.e.y >= d_o.y && dd.e.y <= d_o.y+d_o.h)
- {
- if (d_o.z > d_cmp && dd.e.src.tag.indexOf('input') < 0 && dd.e.src.tag.indexOf('textarea') < 0 && dd.e.src.tag.indexOf('select') < 0 && dd.e.src.tag.indexOf('option') < 0)
- {
- d_cmp = d_o.z;
- dd.obj = d_o;
- }
- }
- }
- if (dd.obj)
- {
- dd.e.e.cancelBubble = true;
- var d_rsz = dd.e.modifKey && (dd.obj.resizable || dd.obj.scalable);
- if (dd.op && !dd.op6)
- {
- (d_o = document.getElementById('OpBlUr')).style.pixelLeft = dd.e.x;
- d_o.style.pixelTop = dd.e.y;
- (d_o = d_o.children[0].children[0]).focus();
- d_o.blur();
- }
- else if (dd.ie && !dd.ie4)
- {
- if (document.selection && document.selection.empty) document.selection.empty();
- dd.db.onselectstart = function()
- {
- event.returnValue = false;
- };
- }
- if (d_rsz)
- {
- dd.obj._setCrs('se-resize');
- dd.obj.is_resized = 1;
- dd.whratio = dd.obj.scalable? dd.obj.defw/dd.obj.defh : 0;
- if (dd.ie)
- {
- if (dd.ie4)
- {
- window.dd_x = dd.getScrollX();
- window.dd_y = dd.getScrollY();
- }
- setTimeout(
- 'if (dd.obj && document.selection && document.selection.empty)'+
- '{'+
- 'document.selection.empty();'+
- 'if (dd.ie4) window.scrollTo(window.dd_x, window.dd_y);'+
- '}'
- ,0);
- }
- dd.setEvtHdl(1, RESIZE);
- dd.reszTo(dd.obj.w, dd.obj.h);
- }
- else if (!dd.obj.nodrag)
- {
- dd.obj.is_dragged = 1;
- dd.setEvtHdl(1, DRAG);
- }
- dd.setEvtHdl(2, DROP);
- dd.embedVis('hidden');
- dd.obj.maximizeZ();
- dd.ofx = dd.obj.x+dd.obj.w-dd.e.x;
- dd.ofy = dd.obj.y+dd.obj.h-dd.e.y;
- if (window.my_PickFunc) my_PickFunc();
- DDScroll();
- return !(
- dd.obj.is_resized
- || dd.n4 && dd.obj.is_image
- || dd.n6 || dd.w3c
- );
- }
- if (dd.downFunc) return dd.downFunc(d_ev);
- return true;
-}
-
-function DRAG(d_ev)
-{
- if (!dd.obj || !dd.obj.visible) return true;
- if (dd.ie4 || dd.w3c || dd.n6 || dd.obj.children.length > 0xf)
- {
- if (dd.wait) return false;
- dd.wait = 1;
- setTimeout('dd.wait = 0;', 5);
- }
- dd.e = new dd.evt(d_ev);
- if (dd.ie && !dd.e.but)
- {
- DROP(d_ev);
- return true;
- }
- dd.msmoved = 1;
- dd.obj.moveTo(
- dd.obj.vertical? dd.obj.x : dd.maxOffX(dd.inWndW(dd.ofx+dd.e.x)-dd.obj.w),
- dd.obj.horizontal? dd.obj.y : dd.maxOffY(dd.inWndH(dd.ofy+dd.e.y)-dd.obj.h)
- );
-
- if (window.my_DragFunc) my_DragFunc();
- return false;
-}
-
-function RESIZE(d_ev)
-{
- if (!dd.obj || !dd.obj.visible) return true;
- if (dd.wait) return false;
- dd.wait = 1;
- setTimeout('dd.wait = 0;', 5);
- dd.e = new dd.evt(d_ev);
- if (dd.ie && !dd.e.but)
- {
- DROP(d_ev);
- return true;
- }
- dd.msmoved = 1;
- var d_w = dd.limW(dd.inWndW(dd.ofx+dd.e.x)-dd.obj.x);
- if (!dd.whratio) var d_h = dd.limH(dd.inWndH(dd.ofy+dd.e.y)-dd.obj.y);
- else
- {
- var d_h = dd.limH(dd.inWndH(Math.round(d_w/dd.whratio)+dd.obj.y)-dd.obj.y);
- d_w = Math.round(d_h*dd.whratio);
- }
- dd.reszTo(d_w, d_h);
- if (window.my_ResizeFunc) my_ResizeFunc();
- return false;
-}
-
-function DROP(d_ev)
-{
- if (dd.obj)
- {
- if (dd.obj.is_dragged)
- {
- if (!dd.obj.is_image) dd.getWH(dd.obj);
- }
- else if (dd.n4)
- {
- if (dd.obj.is_image)
- {
- dd.n4RectVis(0);
- dd.obj.resizeTo(dd.obj.w, dd.obj.h);
- }
- }
- if (!dd.n4 && !dd.op6 || !dd.obj.is_image) dd.recalc();
- dd.setEvtHdl(1, dd.moveFunc);
- dd.setEvtHdl(2, dd.upFunc);
- if (dd.db) dd.db.onselectstart = null;
- dd.obj._setCrs(dd.obj.cursor);
- dd.embedVis('visible');
- dd.obj._resetZ();
- if (window.my_DropFunc)
- {
- dd.e = new dd.evt(d_ev);
- my_DropFunc();
- }
- dd.msmoved = dd.obj.is_dragged = dd.obj.is_resized = dd.whratio = 0;
- dd.obj = null;
- }
- dd.setEvtHdl(0, PICK);
-}
-
-
-
-function SET_DHTML()
-{
- dd.elements = new Array();
- var d_a = SET_DHTML.arguments, d_ai, d_htm = '', d_o, d_i = d_a.length; while (d_i--)
- {
- if (dd.op6)
- {
- var d_t0 = (new Date()).getTime();
- while ((new Date()).getTime()-d_t0 < 0x99);
- }
- if (!(d_ai = d_a[d_i]).indexOf('c:')) dd.cursor = d_ai.substring(2);
- else if (d_ai == NO_ALT) dd.noalt = 1;
- else if (d_ai == SCROLL) dd.scroll = 1;
- else if (d_ai == RESET_Z) dd.re_z = 1;
- else if (d_ai == RESIZABLE) dd.resizable = 1;
- else if (d_ai == SCALABLE) dd.scalable = 1;
- else
- {
- d_o = new DDObj(d_ai);
- dd.addElt(d_o);
- d_htm += d_o.t_htm || '';
- if (d_o.oimg && d_o.cpy_n)
- {
- var d_j = 0; while (d_j < d_o.cpy_n)
- {
- var d_p = new DDObj(d_o.name+d_o.cmd, ++d_j);
- dd.addElt(d_p, d_o);
- d_p.defz = d_o.defz+d_j;
- d_p.original = d_o;
- d_htm += d_p.t_htm;
- }
- }
- }
- }
- if (dd.n4 || dd.n6 || dd.ie || dd.op || dd.w3c) document.write(
- (dd.n4? '<\/div>\n'
- : (dd.op && !dd.op6)? '