var ua = navigator.userAgent, nv = navigator.vendor, isIeObject = !1, d = document, _MAPCount = 0, vul_dir = "", webkit = !(!ua || ua.indexOf("WebKit") == -1); isFF = !1; var imgCache = new Object(); imgCache[1] = new Image(733, 617); imgCache[1].src = vul_dir + "/img/pop/christmasPine.jpg"; if(isTouch==false){ var vul_butt_sz=19, vul_butt_min="data:image/gif;base64,R0lGODlhEwATAKIAAP///8PSwzZoNilOKSZIJgAzAAAAAAAAACH5BAQUAP8ALAAAAAATABMAAAM4CLrcW0DISasA0OqJ49bdB2ZiFZbUiUrq2qJvGYsnMdx4zpFE4P/AnWd1IRFnn45jySg4n9BoNAEAOw==", vul_butt_max="data:image/gif;base64,R0lGODlhEwATAKIAAP///8PSwzZoNilOKQAzAAAAAAAAAAAAACH5BAQUAP8ALAAAAAATABMAAANJCLrcS0DISasA0OqJoxhgKA5c9gVoqpbeEGguK8UWfZk2ZXfzW/u3FlAH5J1gRdxwslOOQkmhairbaIzWCjbLcngZhLB4TCYnAAA7", vul_butt_exit="data:image/gif;base64,R0lGODlhEwATAKIAAP///8PSw8bMwLConDZoNkBTKwAzAAAAACH5BAQUAP8ALAAAAAATABMAAANSCLrca4DISSsB0OqJoyyFFXIZUQTB+KGkd6LjK7TTm8pUR9nonJc1VGBg0e2EqYpxNRSqLkCcTWXEMQM0ScAXxEqWGyUw/POQy440w8Buu9/vBAA7"; }else{ var vul_butt_sz=37, vul_butt_min="data:image/gif;base64,R0lGODlhJQAlAKIAAAAzAMPSwzNmM////0BTKwAAAAAAAAAAACH5BAQUAP8ALAAAAAAlACUAAAOKOLrc/g5ISOuTwGqLl/hgKI7k0ilkqobmhK7w2GZvbAuzd9t5va+9wS8WHMKKRhUyWVKchMzm4BmVUquiJfaj3Xax32o4OmaWk2fjksBuu99wAmgZqNvv+Hxg7nRBBXqBenxTfiCCiHaEV1tcfTR/jWlDQRuWDE+XmpmalhifoKGio6SlpqeoqacJADs=", vul_butt_max="data:image/gif;base64,R0lGODlhJQAlAKIAAAAzAMPSw////zNmM0BTKwAAAAAAAAAAACH5BAQUAP8ALAAAAAAlACUAAAO9KLrc/g5ISOuTwGqL1/hgKI7k0ilkqobmhA5ELM90HYNt9hJB7//AYACnOAk+PKEySBQYkcuor/mETVeh5PCT81h72Ox10N2Nw1qq6/jdhttqHTv9hnOLayi4Tifj5XpuaGNlc2dYfYWBdXZ+TnmNg3uOVX2SboqRiIR/Xpabk5mfK4mdZpOXcZ4+Nq2lj4BtUkqqp7O0d7Crt7iUkIxYmcArwsMphRvJDEbKzczNyRjS09TV1tfY2drb3NoJADs=", vul_butt_exit="data:image/gif;base64,R0lGODlhJQAlAKIAAAAzAMPSwzNmM////0BTKwAAAAAAAAAAACH5BAQUAP8ALAAAAAAlACUAAAPIOLrc/g5ISOuTwGqLl/hgKI7k0ilkqobmhK7w2GavENxE/BF3AM6eTy+Qg/F6P8VpABoSV0fkB1iL4lLW51TpYoKyxRCYxaV5v86wYEweLEdsdvsNT8vnXawznaKe63taJWVBenwqflB7ajKENYCLiI5/YoE9jElueZA4d5l0lUNFngKJoZenV3hmqYJooquFpDuHpZNNsCpZn5s2qEZDvKxCqjFRwoU6MabKy7fNzppmG9QMS9XY19jUGN3e3+Dh4uPk5ebn5QkAOw=="; } var ieVer = "number" == typeof ieVer ? ieVer : 0, oWinMan = {}, //exitimageInactive = vul_dir + "/img/lb_xx.jpg", exitalternative = "Exit", exitimageclass = "popExit", img7 = new Object; img7[1] = new Image(vul_butt_sz,vul_butt_sz), img7[1].alt="exit", img7[1].src = vul_butt_exit, img7[2] = new Image(vul_butt_sz,vul_butt_sz), img7[2].alt="min", img7[2].src = vul_butt_min, img7[3] = new Image(vul_butt_sz,vul_butt_sz), img7[3].alt="max", img7[3].src = vul_butt_max, img7[4] = new Image(19,19), img7[4].alt="xg", img7[4].src = "data:image/gif;base64,R0lGODlhEwATAKIAAP///8PSw8bMwLConDZoNkBTKwAzAAAAACH5BAQUAP8ALAAAAAATABMAAANSCLrca4DISSsB0OqJoyyFFXIZUQTB+KGkd6LjK7TTm8pUR9nonJc1VGBg0e2EqYpxNRSqLkCcTWXEMQM0ScAXxEqWGyUw/POQy440w8Buu9/vBAA7", img7[5] = new Image(19,19), img7[5].alt="xo", img7[5].src = "data:image/gif;base64,R0lGODlhEwATAKIAAMxmAMzBpP+lAP///8yOFPbas//ks////yH5BAUUAAcALAAAAAATABMAAANSOLrcC0PISasY0OqJoySEFXKZQBjG+KGkd6LjW7TTm8pUR9nonJc1lCFg0e2EqYpxNRSqLkCcTWXEMQ00icEXxEqWGyUw/POQy440A8Buu9/vBAA7"; img7[6] = new Image(19,19), img7[6].alt="xr", img7[6].src = "data:image/gif;base64,R0lGODlhEwATAKIAAFEAAOqzs8wAAP///6MKFMCZpPCzs////yH5BAUUAAcALAAAAAATABMAAANQOLrcC0PISasY0OqJoySEFXKZQBjG+KGkd6Lja7STDKIzXeN41VWyguVHkaV8pZWhgFNdkjJTUxdV5p4eAau4xW42xC8yK245zgyAes1utxMAOw=="; //img7[11] = new Image, //img7[11].src = vul_dir + "/img/pop/loading.png", //img7[13] = new Image, //img7[13].src = vul_dir + "/img/pop/confirm.png", //img7[14] = new Image, //img7[14].src = vul_dir + "/img/pop/alert.png", //img7[15] = new Image(30, 30), //img7[15].src = vul_dir + "/img/pop/success.png", //img7[16] = new Image(113, 219), //img7[16].src = vul_dir + "/img/pop/vulpinemobile.png", var deltaX = 0, deltaY = 0, mousex = 0, mousey = 0, popID = 0, domType = "[unknown]", id = 0, saw = screen.availWidth ? screen.availWidth : "0", sah = screen.availHeight ? screen.availHeight : "0", scrcd = screen.colorDepth, scrpd = screen.pixelDepth, bws = navigator.appName, bwv = navigator.appVersion, min_wd = 150 + (saw > 400 ? 250 : 0), min_hd = 200, timeo = !1; if (!w3c) { var myRegex = new RegExp("\\d\\.\\d{0,2}"); bwv = myRegex.exec(bwv) } var wd = 200, hd = 200, padw = 15, padh = 15; saw && saw >= 160 && saw <= 200 ? (wd = saw - 2 * padw, hd = sah) : saw && saw > 200 ? wd = 200 : (padw = 2, saw && (wd = saw - 4)); var _console = null; debug = function(a) { if ((_console === null) || (_console.closed)) { _console = window.open("", "console", "width=400,height=300,resizeable,scrollbars"); _console.document.open("text/plain"); } _console.focus(); Stamp = new Date(); var Hours = Stamp.getHours(); var Mins = Stamp.getMinutes(); var Secs = Stamp.getSeconds(); var Millis = Stamp.getMilliseconds(); _console.document.writeln("
" + Hours + ":" + Mins + ":" + Secs + "." + Millis + " " + a + ""); } //debug("This is a test"); //console.log("This is a test"); var VULPINE = function() { return { pX: 0, pY: 0, dX: 0, dY: 0, sX: 0, sY: 0, wX: 0, wY: 0, tbiw: 6 == ieVer ? 75 : 13, tbtiw: 6 == ieVer ? 75 : 64, tbtiw: 1 != isTouch ?((ieVer == 6) ? 75 : 64): 118, pmnwd: 255, ppad: 27, deltaX: 0, deltaY: 0, focus: !1, oWinTop: Object(), winID: Array(), dxsl: vul_dir + "xsl/", dxml: vul_dir + "xml/" + xd9, dphp: vul_dir + "php/", dajx: vul_dir + "ajx/", djs: vul_dir + "js/", retStat: 0, zcount: 1500, winOpen: 0, winLock: !1, winActive: 0, winCount: 0, B_DV: 8, err: function(a) { this.errAlert = 1 == a, this.error = !1, this.errW3c = !1, this.errActive = !1, this.errLock = !1, this.errCnt = 0, this.errNotify = !1, this.errFatal = !1, this.errMsg = new Object, this.errMsgCnt = 0, this.errDisplay = !1; }, alertAttribute: function() { return this.ii = 0, this.ic = "pwicon30", this.is = "", this.iw = 30, this.ih = 40, this.ia = "", this.it = "", this.id = ""; }, alertType: function(a) { this.alert = "alert" == a.toLowerCase(), this.success = "success" == a.toLowerCase(), this.confirm = "confirm" == a.toLowerCase(), this.info = "info" == a.toLowerCase(); }, alertMsg: function() { this.title = "Alert", this.msg = "", this.type = new VULPINE.alertType(t); }, getTitle: function() { if (this.oB.pts = "", "string" == typeof pt) if (pt.length > 18) { var a = pt.split(" "); for (i in a) { if (!(this.oB.pts.length + a[i].length < 19)) break; this.oB.pts += (this.oB.pts ? " " : "") + a[i] } this.oB.pts += " ..." } else this.oB.pts = pt }, getOptions: function(a) { function b(a) { var b = new RegExp("^true$|^t$|^yes$|^y$|^1$"); if (b.exec(a)) return !0; var c = new RegExp("^false$|^f$|^no$|^n$|^0$"); return !c.exec(a) && ("number" == typeof a ? parseInt(a) : a.toLowerCase()); } o = new Array, o.alert = !1, o.alerttype = 0, o.buttonactive = !1, o.button = !1, o.confirm = !1, o.timeo = !1, o.width = 0, o.minwidth = 0, o.maxwidth = 0, o.center = !1, o.single = !1, o.bkgimg1 = !1, o.bkgimg2 = !1, o.bkgimg3 = !1, o.uw = !1, o.cache = !1, o.smallfont = !1, o.winlock = !1, o.msg = "", o.js = "", o.ajx = "", o.php = "", o.xsl = "", o.xml = "", o.p1 = "", o.p2 = ""; var c, d; if (a_options = new Array, "object" == typeof a) o = a; else if ("string" == typeof a && (a_options = a.split(","), a_options)) for (c in a_options) d = a_options[c].split("="), null != d[1] ? "msg" == d[0].toLowerCase() ? o[d[0].toLowerCase()] = d[1] : o[VULPINE.trim(d[0].toLowerCase())] = b(VULPINE.trim(d[1].toLowerCase())) : "msg" == a.toLowerCase() ? o[a.toLowerCase()] = b(a) : o[a.toLowerCase()] = b(a.toLowerCase()); return o.xml || (o.xml = o.xsl), o }, getHTML: function(a) { var b = b.createElement("div"); b.innerHTML = a; for (var c = b.createDocumentFragment(), d = 0, e = b.childNodes.length; d < e; ++d) c.appendChild(b.childNodes[d]); return c }, compactArray: function(a) { b = new Array; for (var c in a) null !== c && "undefined" != typeof c && (b[c] = a[c]); return b }, getScrollXY: function() { return this.sX = 0, this.sY = 0, "number" == typeof window.pageYOffset ? (this.sY = window.pageYOffset, this.sX = window.pageXOffset) : d.documentElement && "undefined" != typeof d.documentElement.scrollLeft ? (this.sY = d.documentElement.scrollTop, this.sX = d.documentElement.scrollLeft) : d.body && "undefined" != typeof d.body.scrollLeft && (this.sY = d.body.scrollTop, this.sX = d.body.scrollLeft), this //var supportPageOffset = window.pageXOffset !== undefined; //var isCSS1Compat = ((document.compatMode || "") === "CSS1Compat"); //var x = supportPageOffset ? window.pageXOffset : isCSS1Compat ? // document.documentElement.scrollLeft : document.body.scrollLeft; //var y = supportPageOffset ? window.pageYOffset : isCSS1Compat ? // document.documentElement.scrollTop : document.body.scrollTop; }, getMouseXY: function(a) { return a = a || window.event, this.pX = a.clientX || a.pageX, this.pY = a.clientY || a.pageY, this }, getTouchXY: function(a) { a = a || window.event; var b = a.targetTouches[0]; return this.pX = parseInt(b.clientX || b.pageX), this.pY = parseInt(b.clientY || b.pageY), this }, getPositionXY: function(a) { return a = a || window.event, handleX = parseInt(this.parentWin.oB.style.left), handleY = parseInt(this.parentWin.oB.style.top), scrollXY = VULPINE.getScrollXY(a), mouseXY = VULPINE.getMouseXY(a), this.x = mouseXY.pX - handleX + scrollXY.sX, this.y = mouseXY.pY - handleY + scrollXY.sY, this }, getOffset: function(a, b) { var c = a.ownerDocument && a.ownerDocument.defaultView && a.ownerDocument.defaultView.getComputedStyle && a.ownerDocument.defaultView.getComputedStyle(a, null), d = c && c.getPropertyValue(b ? "height" : "width") || ""; return d = d && d.indexOf(".") > -1 ? parseFloat(d) + parseInt(c.getPropertyValue(b ? "padding-top" : "padding-left")) + parseInt(c.getPropertyValue(b ? "padding-bottom" : "padding-right")) + parseInt(c.getPropertyValue(b ? "border-top-width" : "border-left-width")) + parseInt(c.getPropertyValue(b ? "border-bottom-width" : "border-right-width")) : b ? a.offsetHeight : a.offsetWidth }, getOffsetWidth: function(a) { return VULPINE.getOffset(a) }, getOffsetHeight: function(a) { return VULPINE.getOffset(a, !0) }, goBeep: function(a) { if (ieVer >= 1) return (b = d.getElementById("beep1")) ? b.src = vul_dir + "/img/sound/beep-8.wav" : (b = new VULPINE.DOMel("bgsound", 0, 0, 0), b.id = "beep1", b.src = vul_dir + "/img/sound/beep-8.wav", d.appendChild(b)), a; var b = d.createElement("object"); b.setAttribute("width", "0px"), b.setAttribute("height", "0px"), b.setAttribute("type", "audio/x-wav"), b.setAttribute("data", vul_dir + "/img/sound/beep-8.wav"), b.setAttribute("id", "securityAudio"); var c = d.createElement("param"); c.setAttribute("name", "src"), c.setAttribute("value", vul_dir + "/img/sound/beep-8.wav"), b.appendChild(c); var e = d.getElementsByTagName("body")[0]; return e.appendChild(b), a }, trim: function(a) { function b(a) { return a.replace(/^\s+/gm, "") } function c(a) { return a.replace(/\s+$/gm, "") } return b(c(a)) }, winSizeXY: function() { return this.wX = 0, this.hY = 0, "number" == typeof window.innerWidth ? (this.wX = window.innerWidth, this.hY = window.innerHeight) : d.documentElement && (d.documentElement.clientWidth || d.documentElement.clientHeight) ? (this.wX = d.documentElement.clientWidth, this.hY = d.documentElement.clientHeight) : d.body && (d.body.clientWidth || d.body.clientHeight) && (this.wX = d.body.clientWidth, this.hY = d.body.clientHeight), this }, winMakeActive: function(a, b) { return function(b) { b = b || window.event, b.stopPropagation ? b.stopPropagation() : b.cancelBubble = !0, VULPINE.oWinTop.active.vid != a.vid && null != VULPINE.winID[a.vid] && VULPINE.winBringFront(a, b, !1), VULPINE.focus = !1 } }, winResetZcount: function() { VULPINE.zcount = 1500; for (var a in VULPINE.winID) VULPINE.winID[a].oB.style.zIndex = ++VULPINE.zcount, VULPINE.winID[a].zIndex = VULPINE.zcount; VULPINE.oWinTop.active.oB.style.zIndex = ++VULPINE.zcount, VULPINE.oWinTop.active.zIndex = VULPINE.zcount }, winFadeOut: function(a, b) { b >= 0 ? (VULPINE.winOpacity(a, b), b -= 5, a.oB.timer = setTimeout(function() { VULPINE.winFadeOut(a, b) }, 100)) : VULPINE.winRemoveID(a) }, winOpacity: function(a, b) { null != a.oB && (w3c ? a.oB.style.opacity = b / 100 : a.oB.style.filter = "alpha(opacity=" + b + ")") }, winTimeOutRem: function(a, b) { if (null != a.parentID.oB.parentNode) { var c = d.getElementById(a.parentID.oB.id); if (c.parentNode.removeChild(c), VULPINE.winOpen && (delete VULPINE.winID[a.parentID.vid], VULPINE.winOpen--, VULPINE.winOpen)) { for (var e in VULPINE.winID) if (null != VULPINE.winID[e].oB && "object" == VULPINE.winID[e].oB) var f = VULPINE.winID[e].oB.parentWin; "object" == typeof f && null != f.evt && VULPINE.winBringFront(f, f.evt, !0) } } null != a.oB.parentNode && VULPINE.winFadeOut(a, 100), ob = null }, winTimeOut: function(a, b) { var c = new Object; c.x = a.oB.offsetLeft + 5, c.y = a.oB.offsetTop + 20, c.id = a.id, c.obj = a, c.vid = a.vid + "_timeo", c.uw = !1, c.timeo = !1, a.options.msg = "Timeout before data could be retrieved.\r\nCheck your network connection and try again.", VULPINE.popAlert(a, a.vid, "", a.evt) }, winRemoveID: function(a) { VULPINE.winPreviousActive(); var b = d.getElementById(a.oB.id); null != b && b.parentNode.removeChild(b), VULPINE.winBringFront(VULPINE.oWinTop.inactive, a.evt, !0) }, winBringFront: function(a, b, c) { if ((1 != VULPINE.winLock || !VULPINE.popLocked(a.vid)) && VULPINE.oWinTop.active != a && null != a && 1500 != a.zIndex) { var b = b || window.event; if (null != VULPINE.oWinTop.active && null != VULPINE.oWinTop.active.oB) { if ("undefined" != typeof VULPINE.oWinTop.inactive && 1 == VULPINE.oWinTop.inactive.staydown) return void(VULPINE.oWinTop.inactive.staydown = !1); if (null != b) { var d = w3c ? b.currentTarget : b.srcElement; null != d && d.className && d.className.match(/poptop/gi) && (isFF && debug("Return : " + a.id + " without bringing to the front, ClassName: " + ("undefined" != typeof d ? d.className : "n/a")), VULPINE.oWinTop.active.staydown = !0) } VULPINE.oWinTop.active.oTB.style.opacity = ".4", VULPINE.oWinTop.active.oCA.style.opacity = ".5", ieVer <= 8 && 0 != ieVer && (VULPINE.oWinTop.active.oTB.style.filter = "alpha(opacity=40)", VULPINE.oWinTop.active.oCA.style.filter = "alpha(opacity=50)"), VULPINE.oWinTop.inactive = VULPINE.oWinTop.active, isFF && debug("Object " + VULPINE.oWinTop.inactive.id + " sent to the back") } return VULPINE.oWinTop.active = a, VULPINE.oWinTop.active.oTB.style.opacity = "1", VULPINE.oWinTop.active.oCA.style.opacity = "1", ieVer <= 8 && 0 != ieVer && (VULPINE.oWinTop.active.oTB.style.filter = "alpha(opacity=100)", VULPINE.oWinTop.active.oCA.style.filter = "alpha(opacity=100)"), isFF && "undefined" != typeof VULPINE.oWinTop.inactive && debug("Inactive ID: " + VULPINE.oWinTop.inactive.vid + " zIndex: " + VULPINE.zcount), VULPINE.oWinTop.active.oB.style.zIndex = ++VULPINE.zcount, VULPINE.winID[a.vid].zIndex = VULPINE.zcount, VULPINE.zcount > 30999 && VULPINE.winResetZcount(), isFF && debug("Active ID: " + VULPINE.oWinTop.active.vid + " zIndex: " + VULPINE.zcount), VULPINE.oWinTop } }, winPreviousActive: function() { var a = 0; VULPINE.oWinTop.inactive = { zIndex: 1500, id: "", vid: "" }; for (var b in VULPINE.winID) null != VULPINE.winID[b] && (1 == VULPINE.winID[b].options.winLock && a++, "hidden" != VULPINE.winID[b].oB.style.visible && (isFF && debug("Previous: " + VULPINE.winID[b].vid + " zIndex: " + VULPINE.winID[b].zIndex), VULPINE.winID[b].zIndex > VULPINE.oWinTop.inactive.zIndex && (VULPINE.oWinTop.inactive = VULPINE.winID[b]))); return 0 == a && (VULPINE.winLock = !1), isFF && debug("Previous Active found: " + VULPINE.oWinTop.inactive.vid + " zIndex: " + VULPINE.oWinTop.inactive.zIndex), !0 }, winMoveStart: function(a, b) { return function(b) { return b = b || window.event, VULPINE.winBringFront(a, b, !1), handleX = parseInt(a.oB.style.left), handleY = parseInt(a.oB.style.top), scrollXY = VULPINE.getScrollXY(), mouseXY = isTouch ? VULPINE.getTouchXY(b) : VULPINE.getMouseXY(b), deltaX = mouseXY.pX - handleX + scrollXY.sX, deltaY = mouseXY.pY - handleY + scrollXY.sY, oWinMan.moveSet = !0, d.addEventListener ? isTouch ? (d.addEventListener("touchmove", VULPINE.winTouchMove, !1), d.addEventListener("touchend", VULPINE.winTouchEnd, !1)) : (d.addEventListener("mousemove", VULPINE.winMoveDo, !1), d.addEventListener("mouseup", VULPINE.winMoveStop, !1)) : (d.attachEvent("onmousemove", VULPINE.winMoveDo), d.attachEvent("onmouseup", VULPINE.winMoveStop)), b.stopPropagation ? b.stopPropagation() : b.cancelBubble = !0, b.preventDefault ? b.preventDefault() : b.returnValue = !1, this.dX = (b.clientX || b.pageX) - deltaX - 5, this.dY = (b.clientY || b.pageY) - deltaY - 5, this } }, winTouchMove: function(a) { a = a || window.event, scrollXY = VULPINE.getScrollXY(a), mouseXY = VULPINE.getTouchXY(a), posX = mouseXY.pX - deltaX + scrollXY.sX - 5, posY = mouseXY.pY - deltaY + scrollXY.sY - 5, posX > 0 && (VULPINE.oWinTop.active.oB.style.left = posX + "px"), posY > 0 && (VULPINE.oWinTop.active.oB.style.top = posY + "px"), a.stopPropagation ? a.stopPropagation() : a.cancelBubble = !0, a.preventDefault ? a.preventDefault() : a.returnValue = !1 }, winTouchEnd: function(a) { d.removeEventListener ? d.removeEventListener("touchmove", VULPINE.winTouchMove, !1) : (d.detachEvent("ontouchmove", VULPINE.winTouchMove), d.releaseCapture()) }, winMoveDo: function(a) { a = a || window.event, scrollXY = VULPINE.getScrollXY(a), mouseXY = VULPINE.getMouseXY(a), posX = mouseXY.pX - deltaX + scrollXY.sX - 5, posY = mouseXY.pY - deltaY + scrollXY.sY - 5, posX > 0 && (VULPINE.oWinTop.active.oB.style.left = posX + "px"), posY > 0 && (VULPINE.oWinTop.active.oB.style.top = posY + "px"), a.stopPropagation ? a.stopPropagation() : a.cancelBubble = !0, a.preventDefault ? a.preventDefault() : a.returnValue = !1 }, winMoveStop: function(a) { d.removeEventListener ? d.removeEventListener("mousemove", VULPINE.winMoveDo, !1) : (d.detachEvent("onmousemove", VULPINE.winMoveDo), d.releaseCapture()) }, winResize: function(a) { a.addEventListener ? a.addEventListener("mousedown", VULPINE.winMiniDo(a, evt), !1) : a.onmouse = VULPINE.winMiniDo(a, evt) }, winResizeDo: function(a) { if (this.minimize.oCA.style.display = "none", this.minimize.oCA.style.visible = "hidden", 6 == ieVer) { var b = d.getElementById(this.minimize.oB.id).offsetHeight, c = d.getElementById(this.minimize.oB.id).offsetWidth; this.minimize.oIfm.style.width = c + "px", this.minimize.oIfm.style.height = b + "px" } }, winMini: function(a, b) { a.addEventListener ? (a.addEventListener("click", VULPINE.winMiniDo(a, b), !1), a.addEventListener("touchstart", VULPINE.winMiniDo(a, b), !1)) : a.onclick = VULPINE.winMiniDo(a, b) }, winMiniDo: function(a, b) { return function(b) { if (1 != VULPINE.winLock || !VULPINE.popLocked(a.vid)) { if (this.minimize.oCA.style.display = "none", this.minimize.oCA.style.visible = "hidden", this.minimize.oB.style.width = VULPINE.pmnwd + "px", this.minimize.oTBT.style.width = VULPINE.pmnwd - (VULPINE.tbtiw + (8 == ieVer ? 10 : 15)) + "px", ieVer <= 7 && 0 != ieVer && 6 == ieVer) { var c = d.getElementById(this.minimize.oB.id).offsetHeight; this.minimize.oIfm.style.width = VULPINE.pmnwd + "px", this.minimize.oIfm.style.height = c + "px" } this.minimize.oTBT.childNodes[0].nodeValue = this.minimize.oB.pt } } }, winNorm: function(a, b) { a.addEventListener ? (a.addEventListener("click", VULPINE.winNormDo(a, b), !1), a.addEventListener("touchstart", VULPINE.winNormDo(a, b), !1)) : a.onclick = VULPINE.winNormDo(a, b) }, winNormDo: function(a, b) { return function(b) { 1 == VULPINE.winLock && VULPINE.popLocked(a.vid) || (this.maximize.oB.style.width = parseInt(this.maximize.oB.maxwidth) ? this.maximize.oB.maxwidth + "px" : "auto", this.maximize.oTB.style.width = "auto", this.maximize.oTBT.style.width = this.maximize.oB.width - (VULPINE.tbtiw + VULPINE.tbiw) + "px", this.maximize.oCA.style.display = "block", this.maximize.oCA.style.visible = "visible", ieVer <= 7 && 0 != ieVer && (this.maximize.oTB.style.width = "100%"), this.maximize.oB.width > 240 && (this.maximize.oTBT.childNodes[0].nodeValue = this.maximize.oB.pt)) } }, winClose: function(a, b) { b = b || window.event; if (w3c) { a.addEventListener("click", VULPINE.winCloseDo(a, b), false); } else { a.onclick = VULPINE.winCloseDo(a, b); } if (a.exit.callback != null) { if (isFF) debug("Call-back: [" + b.exit.callback + "]"); if (w3c) { b.addEventListener("click", b.exit.callback, false); } else { b.onclick = b.exit.callback; } } //b = b || window.event, w3c ? isTouch ? a.addEventListener("touchstart", VULPINE.winCloseDo(a, b), !1) : a.addEventListener("click", VULPINE.winCloseDo(a, b), !1) : a.onclick = VULPINE.winCloseDo(a, b), null != a.exit.callback && (isFF && debug("Call-back: [" + a.exit.callback + "]"), w3c ? (a.addEventListener("touchstart", a.exit.callback, !1), a.addEventListener("click", a.exit.callback, !1)) : a.onclick = a.exit.callback) }, // Close the popup windows via the Exit icon. winCloseDo: function(a, b) { return function(b) { if (VULPINE.winLock == true) { if (VULPINE.popLocked(((typeof(this.exit) != "undefined") ? this.exit.vid : a.vid))) return; } b = b || window.event; if (typeof(this.exit) != "undefined") { this.exit.oB.style.display = "none"; this.exit.oB.style.visible = "hidden"; if (VULPINE.winID[this.exit.vid] != null) { VULPINE.winID[this.exit.vid].oB.style.visible = "hidden"; VULPINE.winID[this.exit.vid].options.winLock = false; delete VULPINE.winID[this.exit.vid]; VULPINE.winOpen--; } if (isFF) debug("Exit and delete on close button [" + this.exit.oB.id + "] "); this.exit.options.winLock = false; } else { var i = 0; while (a.id.substring(0, 6) != "vulid_" && a.nodeName.toLowerCase() != 'body') { obj = VULPINE.winFindPop(a, b); if (i++ > 15) break; } if (a.nodeName.toLowerCase() != "body" && i < 15) { a.style.display = "none"; a.style.visible = "hidden"; if (VULPINE.winID[a.id] != null) { VULPINE.winID[a.id].oB.style.visible = "hidden"; } if (isFF) debug("Parsed exit window ID [" + a.id + "] "); } } VULPINE.winPreviousActive(); VULPINE.winBringFront(VULPINE.oWinTop.inactive, b, true); delete a; return false; } //return function(b) { // if (1 != VULPINE.winLock || !VULPINE.popLocked("undefined" != typeof this.exit ? this.exit.vid : a.vid)) { // if (b = b || window.event, "undefined" != typeof this.exit) this.exit.oB.style.display = "none", this.exit.oB.style.visible = "hidden", null != VULPINE.winID[this.exit.vid] && (VULPINE.winID[this.exit.vid].oB.style.visible = "hidden", VULPINE.winID[this.exit.vid].options.winLock = !1, delete VULPINE.winID[this.exit.vid], VULPINE.winOpen--), isFF && debug("Exit and delete on close button [" + this.exit.oB.id + "] "), this.exit.options.winLock = !1; // else { // for (var c = 0; // "vulid_" != a.id.substring(0, 6) && "body" != a.nodeName.toLowerCase() && (a = VULPINE.winFindPop(a, b), !(c++ > 15));); // "body" != a.nodeName.toLowerCase() && c < 15 && (a.style.display = "none", a.style.visible = "hidden", null != VULPINE.winID[a.id] && (VULPINE.winID[a.id].oB.style.visible = "hidden"), isFF && debug("Parsed exit window ID [" + a.id + "] ")) // } // return VULPINE.winPreviousActive(), VULPINE.winBringFront(VULPINE.oWinTop.inactive, b, !0), delete a, !1 // } //} }, winRemove: function(a) { a.addEventListener ? (a.addEventListener("click", VULPINE.winRemoveEvt(a, evt), !1), a.addEventListener("touchstart", VULPINE.winRemoveEvt(a, evt), !1)) : a.onclick = VULPINE.winRemoveEvt(a, evt) }, winRemoveEvt: function(a, b) { return function(b) { return VULPINE.winRemoveDo(a, b) } }, winRemoveDo: function(a, b) { if (VULPINE.winLock == true) { if (VULPINE.popLocked(a.vid)) return; } if (typeof(a.oB) != "undefined") { VULPINE.winOpen--; a.oB.parentNode.removeChild(a.oB); if (VULPINE.winID[a.vid] != null) { delete VULPINE.winID[a.vid]; if (isFF) debug("Exit known object and remove window and clear memory"); } a = null; } else { var i = 0; while (a.id.substring(0, 6) != "vulid_" && a.nodeName.toLowerCase() != 'body') { a = VULPINE.winFindPop(a, b); } if (a.nodeName.toLowerCase() != "body" && i < 30) { VULPINE.winOpen--; a.parentNode.removeChild(a); if (a.id.indexOf("vulid_") != -1) { var obvid = a.id.substring(6); if (obvid.indexOf("_")) { obvid = obvid.substring(0, obvid.indexOf("_")); } delete VULPINE.winID["vulid_" + obvid]; VULPINE.winID["vulid_" + obvid] = null; if (isFF) debug("Parsed remove window ID [vulid_" + obvid + "] " + "and clear memory"); } else if (isFF) debug("Parsed remove window ID [" + obj.id + "] "); } } VULPINE.winPreviousActive(); VULPINE.winBringFront(VULPINE.oWinTop.inactive, b, true); delete a; return false; //if (1 != VULPINE.winLock || !VULPINE.popLocked(a.vid)) { // if ("undefined" != typeof a.oB) VULPINE.winOpen--, a.oB.parentNode.removeChild(a.oB), null != VULPINE.winID[a.vid] && (delete VULPINE.winID[a.vid], isFF && debug("Exit known object and remove window and clear memory")), a = null; // else { // for (var c = 0; // "vulid_" != a.id.substring(0, 6) && "body" != a.nodeName.toLowerCase();) a = VULPINE.winFindPop(a, b); // if ("body" != a.nodeName.toLowerCase() && c < 30) // if (VULPINE.winOpen--, a.parentNode.removeChild(a), a.id.indexOf("vulid_") != -1) { // var d = a.id.substring(6); // d.indexOf("_") && (d = d.substring(0, d.indexOf("_"))), delete VULPINE.winID["vulid_" + d], VULPINE.winID["vulid_" + d] = null, isFF && debug("Parsed remove window ID [vulid_" + d + "] and clear memory") // } else isFF && debug("Parsed remove window ID [" + a.id + "] ") // } // return VULPINE.winPreviousActive(), VULPINE.winBringFront(VULPINE.oWinTop.inactive, b, !0), delete a, !1 //} }, winRemoveTimer: function(a, b) { clearTimeout(a.oB.timer), oLoad = d.getElementById("vp-lpc"), null != oLoad && oLoad.parentNode.removeChild(oLoad) }, winCropText: function(a, b) {}, winFindPop: function(a, b) { var c = 0; do if (a = a.parentNode, c++ > 15) break; while (("div" != a.nodeName.toLowerCase() || !a.getAttribute("id")) && "body" != a.nodeName.toLowerCase()); return a }, winXmlContent: function(obj, evt) { if (this.winRemoveTimer(obj, evt), obj.oB.style.width = parseInt(obj.oB.maxwidth) ? obj.oB.maxwidth + "px" : 6 == ieVer || 7 == ieVer ? "" : "auto", obj.oB.childNodes[0].style.width.nodeValue = "auto", ieVer <= 7 && 0 != ieVer) if (parseInt(obj.oB.maxwidth) > 10) obj.oB.style.width = obj.oB.maxwidth + "px", obj.oTBT.style.width = parseInt(obj.oB.maxwidth) - VULPINE.tbtiw + "px"; else if (obj.oDA.childNodes.length >= 0) for (i = 0; i < obj.oDA.childNodes.length; i++) if (1 == obj.oDA.childNodes[i].nodeType && (isFF && debug("Node: " + obj.oDA.childNodes[i].nodeName + " ID: " + obj.oDA.childNodes[i].id + " Object ID: " + obj.oB.id), obj.oDA.childNodes[i].id == "dyn-" + obj.oB.id)) { obj.oB.maxwidth = parseInt(obj.oDA.childNodes[i].dynsize) + 46, obj.oB.style.width = obj.oB.maxwidth + "px", obj.oTBT.style.width = parseInt(obj.oB.maxwidth) - VULPINE.tbtiw + "px"; break } 1 != obj.options.winLock ? (obj.oMA.className += " popmaBorder", obj.oMA.style.minHeight = "50px") : (obj.oMA.style.minHeight = "10px", obj.oCA.style.minHeight = "10px"), obj.oMA.style.height = "auto", obj.oMA.style.background = "transparent", obj.oMA.style.marginTop = "0", obj.oMA.style.paddingTop = "0", obj.oMA.style.paddingBottom = "1em", obj.oMA.style.display = "block", 1 == obj.options.bkgimg1 && (obj.oMA.className += " bkgimg1"), obj.options.smallFont && (obj.oMA.style.fontSize = "0.9em"); var buttId = ""; if (obj.oDA.childNodes.length >= 0) for (i = 0; i < obj.oDA.childNodes.length; i++) 1 == obj.oDA.childNodes[i].nodeType && "undefined" != typeof obj.oDA.childNodes[i].id && (buttId = obj.oDA.childNodes[i].id); obj.oMA.appendChild(obj.oDA); var wd = parseInt(d.getElementById(obj.oB.id).clientWidth); 1 == isTouch && (obj.oTB.style.height = "3em"); if (obj.oTB.style.width = "auto", obj.oB.width = wd, obj.oTBT.style.width = wd - (VULPINE.tbtiw + VULPINE.tbiw) + "px", wd > 240 ? obj.oTBT.childNodes[0].nodeValue = obj.oB.pt : "", "number" != typeof obj.err.errCnt || obj.err.errCnt <= 1) var oButt = VULPINE.winCreateButtonHead(isFocus = !0, evt); if (buttId == "vbutton_" + obj.oB.id) { var vbutt = d.getElementById(buttId).childNodes; for (i = 0; i < vbutt.length; i++) 1 == vbutt[i].nodeType && (oButt.oNB = d.createElement("button"), oButt.oNB.id = "butt_" + obj.id + i, oButt.oNB.className = vbutt[i].getAttributeNode("class").nodeValue, oButt.oNB.appendChild(d.createTextNode(vbutt[i].attributes.value.nodeValue)), w3c ? (oButt.oNB.type = "submit", oButt.oNB.setAttribute("onclick", vbutt[i].getAttributeNode("onclick").nodeValue)) : (oButt.oNB.handler = vbutt[i].getAttributeNode("onclick").nodeValue, oButt.oNB.onclick = function() { eval(this.handler) }), oButt.appendChild(oButt.oNB)) } else oButt = this.winCreateButtonOK(obj, oButt, "OK"), obj.options.buttonActive || (obj.options.buttonActive = !0, oButt.appendChild(oButt.oNB), obj.options.alert && 1 == obj.options.confirm && (oButt.oNB = d.createElement("button"), oButt.oNB.id = "butt_" + obj.id + 0, oButt.oNB.className = "popbutt", oButt.oNB.appendChild(d.createTextNode("Cancel")), w3c ? (oButt.oNB.focus(), oButt.oNB.addEventListener("click", function(a) { VULPINE.winRemoveDo(obj, a) }, !1)) : oButt.oNB.onclick = function(a) { VULPINE.winRemoveDo(obj, a) }, oButt.appendChild(oButt.oNB))); return 0 == obj.options.alert && (obj.oTBI1 = new VULPINE.DOMimg(0, 0, img7[2].src, 0, 0, "[Min]", "Mininize"), obj.oTBI1.minimize = obj, VULPINE.winMini(obj.oTBI1, evt), obj.oTBI.insertBefore(obj.oTBI1, obj.oTBI3), obj.oTBI2 = new VULPINE.DOMimg(0, 0, img7[3].src, 0, 0, "[Max]", "Maximize"), obj.oTBI2.maximize = obj, VULPINE.winNorm(obj.oTBI2, evt), obj.oTBI.insertBefore(obj.oTBI2, obj.oTBI3)), VULPINE.winDisplayButton(obj, oButt, isFocus = !1, evt), 6 == ieVer && VULPINE.DOMie6(obj.oB, obj.oIfm, 0, 0, 1), obj }, replaceTags: function(a) { var b = /<([^<>]*)>/g, c = a.replace(b, "<$1>"); return c }, reportParseError: function(a) { for (var b = "", c = 1; c < a.linepos; c++) b += " "; var d = "XML Error loading " + a.url; return d += "\r\n" + a.reason, a.line > 0 && (d += "\r\nat line " + a.line + ", character " + a.linepos + "\r\n" + a.srcText + "\r\n" + b), d }, winAjxContent: function(a) { var b, c = !0; if (void 0 != a.xhr) { var b = a.xhr.getResponseHeader("Content-Type"); w3c || (b = "text/html") } else b = "text/html", c = !1; switch (b) { case "text/xml": case "application/xml": case "application/xhtml+xml": a.oDA = VULPINE.DOMXmlHtml(a.xhr.responseXML.documentElement); break; case "text/plain": case "text/html": w3c && (a.err.errW3c = !0), a.oDA = new VULPINE.DOMdiv(0, 0, 0, 0, 0, 0), c ? a.oDA.innerHTML = a.xhr.responseText : a.err.errMsg ? (a.err.error = !0, a.err.errFatal = !0, a.oDA.innerHTML = "
" + a.err.errMsg.message + "
") : a.options.msg && (a.error = !0, a.err.errFatal = !0, a.oDA.innerHTML = "" + a.msg + "
"); break; default: a.err.error = !0, a.oDA = new VULPINE.DOMdiv(0, 0, 0, 0, 0, 0), a.oDA.appendChild(VULPINE.DOMel("p", 0, "pc", d.createTextNode("This query has not returned any results."))) } return a = VULPINE.winXmlContent(a, evt = 0) }, jsLoad: function(id, opt, evt) { var ev = "object" == typeof evt.currentTarget ? evt.currentTarget : evt.srcElement; if (w3c) jsDoc = VULPINE.xhr(), jsDoc.open("GET", VULPINE.djs + opt.js + ".js", !1), jsDoc.send(null), window.execScript ? window.execScript(jsDoc.responseText, "javascript") : eval(jsDoc.responseText); else { var req = new ActiveXObject("Microsoft.XMLHTTP"); req.open("GET", VULPINE.djs + opt.js + ".js", !1), req.send(null), eval(req.responseText) } }, winContent: function(a, b, c, e) { if (a.err.error = !1, a.id = b, a.evt.ev = "object" == typeof a.evt.currentTarget ? a.evt.currentTarget : a.evt.srcElement, c.ajx) { var f = VULPINE.DOMparsePost(); if (f += (f.length ? "&" : "") + "vulid=" + a.oB.id + "&vp1=" + a.vid + (c.p1.length ? "&p1=" + c.p1 : ""), a.xhr = VULPINE.xhr(), 4 == a.xhr.readyState || 0 == a.xhr.readyState) try { a.xhr.onreadystatechange = function() { return function() { if (4 == a.xhr.readyState && 200 == a.xhr.status) try { a = VULPINE.winAjxContent(a) } catch (b) { a.err.error = !0, a.oDA = VULPINE.DOMel("span", 0, "sprc", d.createTextNode(b.toString())), a = VULPINE.winXmlContent(a, e) } } }(e), isFF && debug("File AJX: " + VULPINE.dphp + c.ajx + ".php"), a.xhr.open("POST", VULPINE.dphp + c.ajx + ".php", !0), a.xhr.setRequestHeader("X-Requested-With", "XMLHttpRequest"), a.xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"), a.xhr.send(f) } catch (b) { a.xhr = null, a.err.error = !0, a.oDA = VULPINE.DOMel("span", 0, "sprc", d.createTextNode("Error: " + b.toString())), a = VULPINE.winXmlContent(a, e) } } else if (isIe >= 1 && c.xsl) try { var g = new ActiveXObject("Msxml2.XSLTemplate"), h = new ActiveXObject("Msxml2.DOMDocument"), i = new ActiveXObject("Msxml2.FreeThreadedDOMDocument"), j = function() { if (4 == i.readyState && 4 == h.readyState) try { g.stylesheet = i; var b = g.createProcessor(); b.input = h, b.addParameter("oid", a.oB.id), b.addParameter("url", location.href), b.addParameter("isDesk", !0), b.addParameter("isXslt", !0), b.addParameter("isIe", isIe), b.addParameter("p1", c.p1), b.addParameter("p2", c.p2), b.addParameter("vulid", a.oB.id), b.addParameter("vulesrc", null != a.evt.ev && a.evt.ev.src ? a.evt.ev.src : ""), b.addParameter("vulealt", null != a.evt.ev && a.evt.ev.alt ? a.evt.ev.alt : ""), b.addParameter("vuletitle", null != a.evt.ev && a.evt.ev.title ? a.evt.ev.title : ""), b.addParameter("vuleid", null != a.evt.ev && a.evt.ev.id ? a.evt.ev.id : ""), b.addParameter("vuleclass", null != a.evt.ev && a.evt.ev.className ? a.evt.ev.className : ""), b.transform(), a.oDA = new VULPINE.DOMdiv(0, 0, 0, 0, 0, 0), a.oDA.innerHTML = b.output, a = VULPINE.winXmlContent(a, e) } catch (b) { a.err.errMsg = b, a = VULPINE.winAjxContent(a, e) } }; h.async = !0, h.resolveExternals = !0, h.onreadystatechange = j, h.load(VULPINE.dxml + c.xml + ".xml"), i.async = !0, i.setProperty("AllowXsltScript", !0), i.setProperty("AllowDocumentFunction", !0), i.resolveExternals = !0, i.onreadystatechange = j, i.load(VULPINE.dxsl + c.xsl + ".xsl") } catch (b) { a.err.errMsg = b, a = VULPINE.winAjxContent(a, e) } else if (c.xsl) try { var i = VULPINE.xhr(), h = VULPINE.xhr(), k = 1, l = function() { return function() { try { if (4 == i.readyState && 4 == h.readyState && 1 == k) { k++; var b = new XSLTProcessor; b.importStylesheet(i.responseXML), b.setParameter(null, "oid", a.oB.id), b.setParameter(null, "url", location.href), b.setParameter(null, "isDesk", 1), b.setParameter(null, "isXslt", 1), b.setParameter(null, "isIe", 0), b.setParameter(null, "p1", c.p1), b.setParameter(null, "p2", c.p2), b.setParameter(null, "vulid", a.oB.id), b.setParameter(null, "vulesrc", null != a.evt.ev && a.evt.ev.src ? a.evt.ev.src : ""), b.setParameter(null, "vulealt", null != a.evt.ev && a.evt.ev.alt ? a.evt.ev.alt : ""), b.setParameter(null, "vuletitle", null != a.evt.ev && a.evt.ev.title ? a.evt.ev.title : ""), b.setParameter(null, "vuleid", null != a.evt.ev && a.evt.ev.id ? a.evt.ev.id : ""), b.setParameter(null, "vuleclass", null != a.evt.ev && a.evt.ev.className ? a.evt.ev.className : ""), a.oDA = b.transformToFragment(h.responseXML, document), isFF && debug("XSLT actioned xml: " + VULPINE.dxml + c.xml + ".xml xsl: " + VULPINE.dxsl + c.xsl + ".xsl"), 0 == VULPINE.winLock && (a = VULPINE.winXmlContent(a, e)) } } catch (b) { a.err.errMsg = b, a = VULPINE.winAjxContent(a, e) } } }(a); h.onreadystatechange = l, h.open("GET", VULPINE.dxml + c.xml + ".xml", !0), a.options.cache || h.setRequestHeader("Cache-Control", "no-cache,no-store,max-age=0"), h.send(null), i.onreadystatechange = l, i.open("GET", VULPINE.dxsl + c.xsl + ".xsl", !0), a.options.cache || (i.setRequestHeader("X-Requested-With", "XMLHttpRequest"), i.setRequestHeader("Cache-Control", "no-cache,no-store,max-age=0")), i.send(null) } catch (b) { a.err.errMsg = b, a = VULPINE.winAjxContent(a, e) } return a }, winPopHead: function(a, b, c, e, f, g, h, j) { if (this.oB = new VULPINE.DOMdiv(f, g, 1 == h.uw ? wd : e, 0, 0, 1), this.oB.width = e, this.oB.minwidth = parseInt(h.minwidth) ? h.minwidth : 0, this.oB.maxwidth = parseInt(h.maxwidth) ? h.maxwidth : 0, this.oB.id = "vulid_" + a + "_" + Math.floor(401 * Math.random()) + 100, this.vid = "vulid_" + a, this.id = a, this.action = 0, this.callback = null, this.err = new VULPINE.err((!!h.alert)), this.evt = j, this.oB.className = "pw1" + (ieVer <= 8 && 0 != ieVer ? " ie-pw1" : ""), this.oB.style.zIndex = 32e3, 6 == ieVer && (this.oIfm = VULPINE.DOMel("iframe", 0, 0, 0), this.oB.appendChild(this.oIfm), isFF && debug("IE6 iFrame implemented")), this.oB2 = VULPINE.DOMdiv(8, 8, 0, 0, c ? c : "", 0), this.oB2.className = "pw2", this.oTB = new VULPINE.DOMdiv(0, 0, 0, 0, c ? c : "", 0), this.oTB.id = "tb" + a, this.oTB.className = "tb", 1 == isTouch && (this.oTB.className += " tb_touch"), this.oB.pt = b, this.oTBT = new VULPINE.DOMel("span", "tb_t" + a, "tb_st",d.createTextNode(this.oB.pt)), this.oTBT.style.width = (1 == h.uw ? wd : e) - VULPINE.tbtiw + "px", 1 == isTouch && (this.oTBT.className += " tb_st_touch"), this.oTBL = new VULPINE.DOMdiv(0, 0, 0, 0, 0, 0), this.oTBL.id = "tb_l" + a, this.oTBL.className = "tb_l", this.oTBL.appendChild(this.oTBT), this.oTB.appendChild(this.oTBL), this.oTBI = new VULPINE.DOMdiv(0, 3, 0, 0, 0, 0), this.oTBI.id = "tbi" + a, this.oTBI.className = "tb_r", this.oTBI3 = new VULPINE.DOMimg(0, 0, img7[1].src, 0, 0, "[Exit]", "Exit"), //1 == isTouch && (this.oTBI3.className = " tb_img_touch"), this.oTBI3.exit = this, VULPINE.winClose(this.oTBI3, j), this.oCA = new VULPINE.DOMdiv(0, 0, 0, 0, 0, 0), this.oCA.className = "popca", this.oMA = new VULPINE.DOMdiv(0, 0, 0, 0, 0, 0), this.oMA.id = "vulma_" + a, this.oMA.className = "popma", this.oTBI.appendChild(this.oTBI3), this.oTB.appendChild(this.oTBI), w3c ? (isTouch ? this.oTB.addEventListener("touchstart", VULPINE.winMoveStart(this, j), !1) : this.oTB.addEventListener("mousedown", VULPINE.winMoveStart(this, j), !1), this.oB.addEventListener("click", VULPINE.winMakeActive(this, j), !1)) : (this.oTB.onmousedown = VULPINE.winMoveStart(this, j), this.oB.onclick = VULPINE.winMakeActive(this, j)), this.parentWin = this, 1 == h.timeo) { var l = this.parentWin; this.oB.timer = setTimeout(function() { VULPINE.winTimeOut(l, 100) }, 18e3) } return isFF && debug("Pop window completed"), this }, winPopFoot: function(a, b, c, e) { return b.oCA.appendChild(b.oMA), b.oB2.appendChild(b.oTB), b.oB2.appendChild(b.oCA), b.oB.appendChild(b.oB2), b.oB.style.visible = "visible", d.body.appendChild(b.oB), b; }, winCreateButtonHead: function(a, b) { return oButt = new VULPINE.DOMdiv(0, 0, 0, 0, "transparent", 0), oButt.className = "popbu2", oButt }, winCreateButtonBody: function(a, b, c) { return oBu = d.createElement("button"), oBu.id = "butt_" + a.oNB.id + i, oBu.className = "popbutt", 1 == b && oBu.focus(), oBu.appendChild(a.oNB), a.appendChild(oBu), a }, winCreateButtonOK: function(a, b, c) { return b.oNB = d.createElement("button"), b.oNB.id = "butt_" + a.id + 0, b.oNB.className = "popbutt", b.oNB.appendChild(d.createTextNode(c)), w3c ? (b.oNB.focus(), b.oNB.addEventListener("click", function(b) { VULPINE.winRemoveDo(1 == a.options.winLock ? a : this.parentNode, b) }, !1)) : b.oNB.onclick = function(b) { VULPINE.winRemoveDo(1 == a.options.winLock ? a : this.parentNode, b) }, b }, winCreateButtonConfirm: function(obj, oButt, lbl) { for (i = 0; i < obj.confirm.butt.length; i++) oButt.oNB = d.createElement("button"), oButt.oNB.id = "butt_" + obj.confirm.butt[i].id + i, oButt.oNB.className = "popbutt " + obj.confirm.butt[i].className, oButt.oNB.appendChild(d.createTextNode(obj.confirm.butt[i].name)), w3c ? (oButt.oNB.type = "submit", obj.confirm.butt[i].callback && oButt.oNB.setAttribute("onclick", obj.confirm.butt[i].callback)) : obj.confirm.butt[i].callback && (oButt.oNB.handler = obj.confirm.butt[i].callback, oButt.oNB.onclick = function() { eval(this.handler) }), obj.confirm.butt[i].focus && oButt.oNB.focus(), oButt.appendChild(oButt.oNB); return oButt }, winDisplayButton: function(a, b, c, d) { a.oBA = new VULPINE.DOMdiv(0, 0, 0, 0, "transparent", 0), a.oBA.className = "popbu", a.oBA.appendChild(b), a.oCA.appendChild(a.oBA) }, //winPop: function(id, pt, opt, evt) { winPop: function(a, b, c, e){ if (VULPINE.winCount++, e) var f = e.clientY ? e.clientY : e.pageY, g = e.clientX ? e.clientX : e.pageX; if (scrollXY = VULPINE.getScrollXY(), parseInt(c.width) > 0) var h = parseInt(c.width); else var h = wd; g && wd < 200 && (g = 0), g = 10 + (VULPINE.winOpen ? c.single ? 0 : 10 * VULPINE.winOpen : 0), f = 25 + (VULPINE.winCount && VULPINE.winCount % 10 ? c.single ? 0 : 20 * VULPINE.winCount : VULPINE.winCount = 0); var i = VULPINE.winSizeXY(); "number" == typeof a && parseInt(a) < 10 ? (alert("Y is incremented with scrolling"), f += 30 + scrollXY.sY, c.alertID = a, c.alert = !0, c.center = !0) : f += scrollXY.sY, c.center && (g = i.wX / 2 - c.maxwidth / 2 + scrollXY.sX - 15), c.uw = !0, c.timeo = !0, this.oPW = new VULPINE.winPopHead(a, b, 0, h, g + padw, f - 15, c, e), this.oPW.oMAT = VULPINE.DOMel("span", "vp-lpc", 0, d.createTextNode("Loading...")), this.oPW.oMA.appendChild(this.oPW.oMAT), this.oPW.options = c, this.oPW.button = !0, this.oPW = VULPINE.winPopFoot(a, this.oPW, h), 6 == ieVer && VULPINE.DOMie6(this.oPW.oB, this.oPW.oB.oIfm, h + 27, 50, 1), c.js && VULPINE.jsLoad(a, c, e); new Image(1, 1); return this.oPW }, DOMparsePost: function() { var a = "", b = 0; if ("undefined" != typeof d.forms[0]) for (var c = 0; c < d.forms[0].elements.length; c++) { var e = d.forms[0].elements[c]; if ("select-multiple" == e.type || "select-one" == e.type) for (k = 0; k < e.options.length; k++) e.options[k].selected && (a += (b ? "&" : "") + e.name + "=" + e.options[k].value, b++); else a += (b ? "&" : "") + e.name + "=" + e.value, b++ } return isFF && debug("Parse the form" + d.forms[0]), a }, DOMXmlHtml: function(a) { function c(a, b) { for (var c = new Object, d = 0; d < a.childNodes.length; d++) c = e(a.childNodes.item(d)), b.appendChild(c); return b } function e(a) { switch (a.nodeType) { case 1: for (var b = d.createElement(a.nodeName), e = 0; e < a.attributes.length; e++) null != a.attributes.item(e).nodeValue && ("class" == a.attributes.item(e).nodeName ? b.className = a.attributes.item(e).nodeValue : b.setAttribute(a.attributes.item(e).nodeName, a.attributes.item(e).nodeValue)); b = c(a, b); break; case 3: var b = d.createTextNode(a.nodeValue); break; case 4: var b = createCDATASection(a.nodeName, a.nodeValue); break; case 5: var b = createEntityReference(a.nodeName); break; case 7: var b = createProcessingInstruction(a.nodeValue); break; case 8: var b = d.createComment(a.nodeValue) } return b } new Object; return e(a) }, DOMie6: function(a, b, c, e, f) { var g = d.getElementById(a.id), b = g.getElementsByTagName("iframe"); if (null != g) { var e = g.offsetHeight - 5, c = g.offsetWidth; b[0].style.height = e + "px", b[0].style.width = c + "px", isFF && debug("Frame Width:" + c + "Height:" + e) } }, DOMdiv: function(a, b, c, e, f, g) { var h = d.createElement("div"); return g && (h.style.position = "absolute"), a && (h.style.left = a + "px"), b && (h.style.top = b + "px"), c && (h.style.width = c + "px"), e && (h.style.height = e + "px"), h.style.visibility = "visible", f && (h.style.backgroundColor = f), h }, DOMimg: function(a, b, c, e, f, g, h) { var i = d.createElement("img"); return a && (i.id = a), b && (i.className = b), c && (i.src = c), g && (i.alt = g), h && (i.title = h), e && (i.width = e), f && (i.height = f), i }, DOMerror: function(a, b, c, d) { var e = "object" == typeof d.currentTarget ? d.currentTarget : d.srcElement; null != e && e.src ? e.src : "" }, DOMel: function(a, b, c, e) { var f = d.createElement(a); return b && (f.id = b), c && (f.className = c), e && f.appendChild(e), f }, xhr: function() { try { xhr = new XMLHttpRequest } catch (c) { for (var a = new Array("MSXML2.XMLHTTP.6.0", "MSXML2.XMLHTTP.5.0", "MSXML2.XMLHTTP.4.0", "MSXML2.XMLHTTP.3.0", "MSXML2.XMLHTTP", "Microsoft.XMLHTTP"), b = 0; b < a.length && !xhr; b++) try { xhr = new ActiveXObject(a[b]) } catch (a) {} } return !!xhr && xhr }, msxsl: function() { for (var a, b = new Array("Msxml2.DOMd.6.0", "Msxml2.DOMd.5.0", "Msxml2.DOMd.4.0"), c = 0; c < b.length && !a; c++) try { a = new ActiveXObject(b[c]), isIeObject = !0 } catch (a) {} return a ? a : void VULPINE.popup("Alert", "9", "msg=Please upgrade your MSXML version from\nhttp://msdn.microsoft.com/XML/XMLDownloads/default.aspx", windows.event) }, cursor: function(a, b) { var c = w3c ? b.currentTarget.id : b.srcElement.id, e = d.getElementById(c); if (a) e.className += " waitCursor"; else { var f = new RegExp("(\\s|^)waitCursor(\\s|$)"); e.className = e.className.replace(f, " ") } return !0 }, popLocked: function(a) { var b = 0; for (var c in VULPINE.winID) if (null != VULPINE.winID[c]) if (1 == VULPINE.winID[c].options.winLock && a != c) b++; else if (1 == VULPINE.winID[c].options.winLock && a == c) return !1; return 0 != b || (VULPINE.winLock = !1, !1) }, popAlertIcon: function(a, b) { var c = new VULPINE.DOMdiv(3, 3, 30, 30, 0, (!1)); c.className = "pwal2"; var d = new this.DOMimg(a.art.ii, a.art.ic, a.art.is, a.art.iw, a.art.ih, a.art.ia, a.art.it); return c.appendChild(d), c }, popConfirm: function(a, b, c, d) { if (!(a = VULPINE.popAlertParse(a, b, c, d))) return !1; a.oTB.className += " tbBlue", a.oTBI3.src = img7[4].src, a.options.alertType = 2, a.art = VULPINE.alertAttribute(), a.art.ih = 30, a.art.iw = 30, a.art.is = vul_dir + "/img/pop/confirm.png", a.art.ia = "Confirm", a = VULPINE.popAlertBuild(a, d), a.oDA4 = new this.DOMdiv(0, 0, 0, 0, 0, (!1)), a.oDA4.className = "pwal4", a.options.msg.length > 0 && (a.oDA4 = new this.popMsg(a.oDA4, a.options.msg)), a.oDA3.appendChild(a.oDA4), "undefined" != typeof a.oDA && a.oDA3.appendChild(a.oDA), a.oDA = new this.DOMdiv(0, 0, 0, 0, 0, (!1)), a.oDA.className = "pwal", a.oDA.appendChild(a.oDA3), a.oMA.appendChild(a.oDA), a.confirm = new Object, a.confirm.butt = new Array, a.confirm.butt[0] = new Array, a.confirm.butt[0].name = "OK", a.confirm.butt[0].id = b, a.confirm.butt[0].callback = a.callback, a.confirm.butt[0].className = "", a.confirm.butt[1] = new Array, a.confirm.butt[1].name = "Cancel", a.confirm.butt[1].id = b, a.confirm.butt[1].className = "", a.confirm.butt[1].callback = null; var e = new VULPINE.winCreateButtonHead(isFocus = !0, d); e = new VULPINE.winCreateButtonConfirm(a, e, lbl = "OK"), a.options.buttonActive = !0, e.appendChild(e.oNB), VULPINE.winDisplayButton(a, e, isFocus = !1, d) }, popSuccess: function(a, b, c, d) { if (!(a = VULPINE.popAlertParse(a, b, c, d))) return !1; a.options.alertType = 3, a.oTB.className += " tbGreen", a.oTBI3.src = img7[4].src, a.art = new this.alertAttribute, a.art.ic = "pwalerticon", a.art.ih = 30, a.art.is = vul_dir + "/img/pop/success.png", a.art.ia = "Success", a = VULPINE.popAlertBuild(a, d), a.oDA4 = new this.DOMdiv(0, 0, 0, 0, 0, (!1)), a.oDA4.className = "pwal4", a.options.msg.length > 0 && (a.oDA4 = new this.popMsg(a.oDA4, a.options.msg)), a.oDA3.appendChild(a.oDA4), "undefined" != typeof a.oDA && a.oDA3.appendChild(a.oDA), a.oDA = new this.DOMdiv(0, 0, 0, 0, 0, (!1)), a.oDA.className = "pwal", a.oDA.appendChild(a.oDA3), a.oMA.appendChild(a.oDA); var e = new VULPINE.winCreateButtonHead(isFocus = !0, d); e = new VULPINE.winCreateButtonOK(a, e, lbl = "OK"), a.options.buttonActive = !0, e.appendChild(e.oNB), VULPINE.winDisplayButton(a, e, isFocus = !1, d) }, popInfo: function(a, b, c, d) { if (!(a = VULPINE.popAlertParse(a, b, c, d))) return !1; a.oTB.className += " tbBlue", a.oTBI3.src = img7[4].src, a.options.alertType = 4, a.art = VULPINE.alertAttribute(), a.art.is = vul_dir + "/img/pop/information.png", a.art.ia = "Info", a = VULPINE.popAlertBuild(a, d), a.oDA4 = new this.DOMdiv(0, 0, 0, 0, 0, (!1)), a.oDA4.className = "pwal4", a.options.msg.length > 0 && (a.oDA4 = new this.popMsg(a.oDA4, a.options.msg)), a.oDA3.appendChild(a.oDA4), "undefined" != typeof a.oDA && a.oDA3.appendChild(a.oDA), a.oDA = new this.DOMdiv(0, 0, 0, 0, 0, (!1)), a.oDA.className = "pwal", a.oDA.appendChild(a.oDA3), a.oMA.appendChild(a.oDA); var e = new VULPINE.winCreateButtonHead(isFocus = !0, d); e = new VULPINE.winCreateButtonOK(a, e, lbl = "OK"), a.options.buttonActive = !0, e.appendChild(e.oNB), VULPINE.winDisplayButton(a, e, isFocus = !1, d) }, popAlert: function(a, b, c, d) { if (!(a = VULPINE.popAlertParse(a, b, c, d))) return !1; a.options.alertType = 9, a.oTB.className += " tbRed", a.oTBI3.src = w_butt, a.art = new this.alertAttribute, a.art.ic = "pwalerticon", a.art.is = vul_dir + "/img/pop/alert.png", a.art.ih = 26, a.art.ia = "Alert", a = VULPINE.popAlertBuild(a, d), a.oDA4 = new this.DOMdiv(0, 0, 0, 0, 0, (!1)), a.oDA4.className = "pwal4", a.options.msg.length > 0 && (a.oDA4 = new this.popMsg(a.oDA4, a.options.msg)), a.oDA3.appendChild(a.oDA4), "undefined" != typeof a.oDA && a.oDA3.appendChild(a.oDA), a.oDA = new this.DOMdiv(0, 0, 0, 0, 0, (!1)), a.oDA.className = "pwal", a.oDA.appendChild(a.oDA3), a.oMA.appendChild(a.oDA); var e = new VULPINE.winCreateButtonHead(isFocus = !0, d); e = new VULPINE.winCreateButtonOK(a, e, lbl = "OK"), a.options.buttonActive = !0, e.appendChild(e.oNB), VULPINE.winDisplayButton(a, e, isFocus = !1, d), 6 == ieVer && VULPINE.DOMie6(a.oB, a.oIfm, 0, 0, 1) }, popAlertParse: function(a, b, c, d) { if (1 == VULPINE.winLock) return !1; if (VULPINE.winLock = !0, "Object" != typeof a || 1 == a.action) { var e = "vulid_" + b; if (1 == a.action) var f = a.pt; else var f = a; return VULPINE.winID[e] = new VULPINE.winPop(b, f, c, d), VULPINE.winID[e].options.winLock = !0, this.retVal = this.winBringFront(VULPINE.winID[e], d, !0), 1 == a.action && ("undefined" != typeof a.callback && (VULPINE.winID[e].callback = a.callback), VULPINE.winID[e].action = a.action), VULPINE.winID[e] } return VULPINE.winLock = !0, a.options.winLock = !0, a }, popAlertBuild: function(a, b) { this.winRemoveTimer(a); var c = saw > 200 ? 400 : wd; this.areaXY = this.winSizeXY(); "al" + this.winCount; return a.oB.width = c, a.err.errCnt++, isFF && debug("Width of error message window: " + c), a.oB.style.width = a.oB.width + "px", a.oTBT.style.width = parseInt(a.oB.width) - VULPINE.tbiw + "px", a.oMA.style.minHeight = "20px", a.oCA.style.minHeight = "20px", a.oMA.style.height = "auto", a.oMA.style.background = "transparent", a.oMA.style.marginTop = "0", a.oMA.style.paddingTop = "0.5em", a.oMA.style.paddingBottom = "1em", a.oMA.style.display = "block", a.oMA.className = "popma", a.options.smallFont && (a.oMA.style.fontSize = "0.9em"), a.oTBT.childNodes[0].nodeValue = a.oB.pt, a.oDA3 = new this.DOMdiv(0, 0, 0, 0, 0, (!1)), a.oDA3.className = "pwal3", a.err.errCnt < 2 && a.oDA3.appendChild(this.popAlertIcon(a, b)), a }, popMsg: function(a, b) { var c = 0, e = b.split("\r\n"); for (c in e) a.appendChild(VULPINE.DOMel("p", 0, "pwalert", d.createTextNode(e[c]))); return a }, popup: function(a, b, c, d) { var e = "vulid_" + b; if (1 == VULPINE.winLock) return !1; var f; if (this.options = new VULPINE.getOptions(c), VULPINE.winID[e] && this.options.single && (VULPINE.winRemoveDo(VULPINE.winID[e], d), delete VULPINE.winID[e], VULPINE.winActive--), VULPINE.winID[e]) VULPINE.winID[e].oB.style.display = "block", VULPINE.winID[e].oB.style.visible = "visible", VULPINE.winID[e].focus ? VULPINE.focus = !0 : VULPINE.focus = !1, this.retVal = this.winBringFront(VULPINE.winID[e], d, !0); else { VULPINE.winID[e] = new VULPINE.winPop(b, a, this.options, d), this.retVal = this.winBringFront(VULPINE.winID[e], d, !0), 1 == VULPINE.winID[e].options.alert ? VULPINE.popAlert(VULPINE.winID[e], b, VULPINE.winID[e].options, d) : (VULPINE.winContent(VULPINE.winID[e], b, VULPINE.winID[e].options, d), d.stopPropagation ? d.stopPropagation() : d.cancelBubble = !0, d.preventDefault ? d.preventDefault() : d.returnValue = !1), VULPINE.winOpen++, VULPINE.winActive = 0; for (f in VULPINE.winID) VULPINE.winActive++; VULPINE.winID[e].options.reset && (isFF && debug("Reset: " + VULPINE.winID[e].options.reset), delete VULPINE.winID[e], VULPINE.winActive--) } return !1 } } }();