function h_HandleError (ErrorMessage, URL, LineNum) { var Z; Z = "QuickPlace Warning. Sorry, we were unable to process your request at this time. If you are unable to continue working in your QuickPlace, please dismiss this warning and then"; if (navigator.appName == "Microsoft Internet Explorer") { Z += " select View, Refresh from your browser's menu."; } else { Z += " select View, Reload from your browser's menu."; } alert (Z); if ('' == '1') { return false; } else { return true; } } window.onerror = h_HandleError; function b () { this.SH = 3; this.SI = 'Netscape'; this.SJ = 'Unknown'; this.SN = 'Unknown'; this.i = 1.0; this.SO = false; this.SP = true; this.m_hasJavaApplets = true; this.SQ = false; this.SR = false; this.SS = true; this.ST = false; this.SU = false; this.init = If; this.SW = JF; this.y = RK; this.SX = KD; this.hasJavaApplets = hasJavaApplets_ClientBrowserObject; this.SY = KF; this.SZ = KJ; this.Sa = KK; this.Sc = LZ; this.Sb = KT; this.Bf = Kl; this.Sd = Nu; this.Se = QD; this.Sf = RH; this.Sg = RI; this.CS = Rc; this.HN = Re; this.Ie = Rh; this.init (); } function If () { this.SH = parseInt (navigator.appVersion.charAt(0)); if (typeof (navigator.appName) != "undefined") this.SI = navigator.appName; if (typeof (navigator.userAgent) != "undefined") this.SJ = navigator.userAgent; if (typeof (navigator.platform) != "undefined") this.SN = navigator.platform; if (typeof (navigator.cookieEnabled) != "undefined") this.SS = navigator.cookieEnabled; this.ST = this.SI == "Microsoft Internet Explorer"; this.SU = this.SI == "Netscape"; this.SQ = this.ST; this.SO = this.SW(4); this.SP = this.ST && (navigator.appVersion.indexOf( "Win") != -1) && (!this.HN()); this.m_hasJavaApplets = navigator.javaEnabled(); this.SR = this.ST && this.SW(4); } function JF (neededBrowserLevel) { return (neededBrowserLevel < (this.SH+1)); } function KD () { return this.SP; } function hasJavaApplets_ClientBrowserObject () { return this.m_hasJavaApplets; } function KF () { return this.SQ; } function KJ () { return this.SO; } function KK () { return this.SR; } function KT () { return this.ST; } function Kl () { return this.SU; } function LZ () { return this.SS; } function Nu () { return (navigator.appVersion.indexOf("MSIE 3") != -1); } function QD () { return (navigator.appVersion.indexOf("MSIE 4") != -1); } function RH () { return (navigator.appName == "Netscape" && navigator.appVersion.charAt(0) == "3"); } function RI () { return (navigator.appName == "Netscape" && navigator.appVersion.charAt(0) == "4"); } function RK () { return this.i; } function Rc () { return (navigator.appVersion.indexOf("MSIE 5") != -1); } function Re () { return ((this.SN.indexOf("Mac") != -1) ? true : false); } function Rh () { return ((this.SN.indexOf("Win") != -1) ? true : false); } var h_ClientBrowser = new b (); var bG = new Object(); bH(); function bH(){ bG.Jx=""; bG.publishFolderTitle=""; bG.Jy=""; bG.publishFolderPageUnid=""; bG.Jz=""; bG.KA=""; bG.bI = new Array(); bG.bJ = new Array(); bG.BM = new Array(); bG.selectedFolderIndex=0; bG.Jk=""; } function Hk (CY) { var c = CY.substring(0,1); return c >= "0" && c <= "9"; } var Hl = null; function Hm ( bForce) { if ( typeof( bForce) == "undefined") { bForce = false; } if ( bForce || '' == 1) { if (Hl == null) { Hl = window.open("", "Hl", "toolbar,scrollbars=yes,height=480,width=480,top=0,left=0,resizable=yes"); } if ( typeof( Hl.dbgConsole) == "undefined") { Hl.document.open(); Hl.document.writeln(""); Hl.document.writeln(""); Hl.document.writeln(""); Hl.document.writeln("QuickPlace Console"); Hl.document.writeln(" "); Hl.document.writeln(""); Hl.document.writeln("
"); Hl.document.writeln("
"); Hl.document.writeln("
"); Hl.document.writeln(""); Hl.document.writeln("
"); Hl.document.writeln(""); Hl.document.close(); } } } function Hs (dbgMsg) { if (Hl != null) { Hl.document.dbgConsole.jsevaledcode.value = dbgMsg + "\n" + Hl.document.dbgConsole.jsevaledcode.value; } } function Hu(useRelativeURL) { var Hv = ""; if (( typeof( useRelativeURL) == "undefined") || (!useRelativeURL)) { Hv = getAbsoluteHaikuURL (self) + "$resources.nsf" + '?GetImage'; } else { Hv = '../../../' + "$resources.nsf" + '?GetImage'; } if (( typeof( this.Method) != "undefined") && ( this.Method != null) && ( this.Method != "")) { Hv += "&Method=" + this.Method; } if (( typeof( this.TextString) != "undefined") && ( this.TextString != null) && ( this.TextString != "")) { if (( typeof( this.TF) != "undefined") && ( this.TF != null) && ( this.TF == "escape")) { Hv += "&TextString=" + LL( escape(this.TextString), "+", "%2B"); } else { Hv += "&TextString=" + this.TextString; } } if (( typeof( this.OutRectWidth) != "undefined") && ( this.OutRectWidth != null) && ( this.OutRectWidth != "")) { Hv += "&OutRectWidth=" + this.OutRectWidth; } if (( typeof( this.OutRectHeight) != "undefined") && ( this.OutRectHeight != null) && ( this.OutRectHeight != "")) { Hv += "&OutRectHeight=" + this.OutRectHeight; } if (( typeof( this.OutOp) != "undefined") && ( this.OutOp != null) && ( this.OutOp != "")) { Hv += "&OutOp=" + this.OutOp; } if (( typeof( this.OutMaxLines) != "undefined") && ( this.OutMaxLines != null) && ( this.OutMaxLines != "")) { Hv += "&OutMaxLines=" + this.OutMaxLines; } if (( typeof( this.OutTransColor) != "undefined") && ( this.OutTransColor != null) && ( this.OutTransColor != "")) { Hv += "&OutTransColor=" + this.OutTransColor; } if (( typeof( this.Align) != "undefined") && ( this.Align != null) && ( this.Align != "")) { Hv += "&Align=" + this.Align; } if (( typeof( this.BkImgAlign) != "undefined") && ( this.BkImgAlign != null) && ( this.BkImgAlign != "")) { Hv += "&BkImgAlign=" + this.BkImgAlign; } if (( typeof( this.FontName) != "undefined") && ( this.FontName != null) && ( this.FontName != "")) { if (( typeof( this.TG) != "undefined") && ( this.TG != null) && ( this.TG == "escape")) { Hv += "&FontName=" + escape(this.FontName); } else { Hv += "&FontName=" + this.FontName; } } if (( typeof( this.FontPointSize) != "undefined") && ( this.FontPointSize != null) && ( this.FontPointSize != "")) { Hv += "&FontPointSize=" + this.FontPointSize; } if (( typeof( this.FontColor) != "undefined") && ( this.FontColor != null) && ( this.FontColor != "")) { Hv += "&FontColor=" + this.FontColor; } if (( typeof( this.FontBold) != "undefined") && ( this.FontBold != null) && ( this.FontBold != "")) { Hv += "&FontBold=" + this.FontBold; } if (( typeof( this.FontItalic) != "undefined") && ( this.FontItalic != null) && ( this.FontItalic != "")) { Hv += "&FontItalic=" + this.FontItalic; } if (( typeof( this.FontUnderline) != "undefined") && ( this.FontUnderline != null) && ( this.FontUnderline != "")) { Hv += "&FontUnderline=" + this.FontUnderline; } if (( typeof( this.FontStrikeout) != "undefined") && ( this.FontStrikeout != null) && ( this.FontStrikeout != "")) { Hv += "&FontStrikeout=" + this.FontStrikeout; } if (( typeof( this.FontAntiAliasColor) != "undefined") && ( this.FontAntiAliasColor != null) && ( this.FontAntiAliasColor != "")) { Hv += "&FontAntiAliasColor=" + this.FontAntiAliasColor; } if (( typeof( this.Opacity) != "undefined") && ( this.Opacity != null) && ( this.Opacity != "")) { Hv += "&Opacity=" + this.Opacity; } if (( typeof( this.FileFormat) != "undefined") && ( this.FileFormat != null) && ( this.FileFormat != "")) { Hv += "&FileFormat=" + this.FileFormat; } if (( typeof( this.JpegQuality) != "undefined") && ( this.JpegQuality != null) && ( this.JpegQuality != "")) { Hv += "&JpegQuality=" + this.JpegQuality; } if (( typeof( this.JpegProgressive) != "undefined") && ( this.JpegProgressive != null) && ( this.JpegProgressive != "")) { Hv += "&JpegProgressive=" + this.JpegProgressive; } if (( typeof( this.EffectType) != "undefined") && ( this.EffectType != null) && ( this.EffectType != "")) { Hv += "&EffectType=" + this.EffectType; } if (( typeof( this.BlurFactor) != "undefined") && ( this.BlurFactor != null) && ( this.BlurFactor != "")) { Hv += "&BlurFactor=" + this.BlurFactor; } if (( typeof( this.ShadowColor) != "undefined") && ( this.ShadowColor != null) && ( this.ShadowColor != "")) { Hv += "&ShadowColor=" + this.ShadowColor; } if (( typeof( this.ShadowXOffset) != "undefined") && ( this.ShadowXOffset != null) && ( this.ShadowXOffset != "")) { Hv += "&ShadowXOffset=" + this.ShadowXOffset; } if (( typeof( this.ShadowYOffset) != "undefined") && ( this.ShadowYOffset != null) && ( this.ShadowYOffset != "")) { Hv += "&ShadowYOffset=" + this.ShadowYOffset; } if (( typeof( this.BkColor) != "undefined") && ( this.BkColor != null) && ( this.BkColor != "")) { Hv += "&BkColor=" + this.BkColor; } if (( typeof( this.BkImage) != "undefined") && ( this.BkImage != null) && ( this.BkImage != "")) { Hv += "&BkImage=" + this.BkImage; } if (( typeof( this.BkImageAlt) != "undefined") && ( this.BkImageAlt != null) && ( this.BkImageAlt != "")) { Hv += "&BkImageAlt=" + this.BkImageAlt; } if (( typeof( this.BkEffect) != "undefined") && ( this.BkEffect != null) && ( this.BkEffect != "")) { Hv += "&BkEffect=" + this.BkEffect; } if (( typeof( this.BkMapColor) != "undefined") && ( this.BkMapColor != null) && ( this.BkMapColor != "")) { Hv += "&BkMapColor=" + this.BkMapColor; } if (( typeof( this.BevelSize) != "undefined") && ( this.BevelSize != null) && ( this.BevelSize != "")) { Hv += "&BevelSize=" + this.BevelSize; } if (( typeof( this.BevelLightSource) != "undefined") && ( this.BevelLightSource != null) && ( this.BevelLightSource != "")) { Hv += "&BevelLightSource=" + this.BevelLightSource; } if (( typeof( this.BevelType) != "undefined") && ( this.BevelType != null) && ( this.BevelType != "")) { Hv += "&BevelType=" + this.BevelType; } if (( typeof( this.BevelCorner) != "undefined") && ( this.BevelCorner != null) && ( this.BevelCorner != "")) { Hv += "&BevelCorner=" + this.BevelCorner; } if (( typeof( this.BaseImage) != "undefined") && ( this.BaseImage != null) && ( this.BaseImage != "")) { Hv += "&BaseImage=" + this.BaseImage; } if (( typeof( this.BaseMapColor) != "undefined") && ( this.BaseMapColor != null) && ( this.BaseMapColor != "")) { Hv += "&BaseMapColor=" + this.BaseMapColor; } if (( typeof( this.OverlayImage) != "undefined") && ( this.OverlayImage != null) && ( this.OverlayImage != "")) { Hv += "&OverlayImage=" + this.OverlayImage; } if (( typeof( this.OverlayMapColor) != "undefined") && ( this.OverlayMapColor != null) && ( this.OverlayMapColor != "")) { Hv += "&OverlayMapColor=" + this.OverlayMapColor; } if (( typeof( this.VAlign) != "undefined") && ( this.VAlign != null) && ( this.VAlign != "")) { Hv += "&VAlign=" + this.VAlign; } if (( typeof( this.XOrigin) != "undefined") && ( this.XOrigin != null) && ( this.XOrigin != "")) { Hv += "&XOrigin=" + this.XOrigin; } if (( typeof( this.YOrigin) != "undefined") && ( this.YOrigin != null) && ( this.YOrigin != "")) { Hv += "&YOrigin=" + this.YOrigin; } if (( typeof( this.TextMarginLeft) != "undefined") && ( this.TextMarginLeft != null) && ( this.TextMarginLeft != "")) { Hv += "&TextMarginLeft=" + this.TextMarginLeft; } if (( typeof( this.TextMarginRight) != "undefined") && ( this.TextMarginRight != null) && ( this.TextMarginRight != "")) { Hv += "&TextMarginRight=" + this.TextMarginRight; } if (( typeof( this.ImgMarginLeft) != "undefined") && ( this.ImgMarginLeft != null) && ( this.ImgMarginLeft != "")) { Hv += "&ImgMarginLeft=" + this.ImgMarginLeft; } if (( typeof( this.ImgMarginRight) != "undefined") && ( this.ImgMarginRight != null) && ( this.ImgMarginRight != "")) { Hv += "&ImgMarginRight=" + this.ImgMarginRight; } if (( typeof( this.Animation) != "undefined") && ( this.Animation != null) && ( this.Animation != "")) { Hv += "&Animation=" + this.Animation; } if (( typeof( this.AnFrames) != "undefined") && ( this.AnFrames != null) && ( this.AnFrames != "")) { Hv += "&AnFrames=" + this.AnFrames; } if (( typeof( this.AnDelay) != "undefined") && ( this.AnDelay != null) && ( this.AnDelay != "")) { Hv += "&AnDelay=" + this.AnDelay; } if (( typeof( this.AnLoop) != "undefined") && ( this.AnLoop != null) && ( this.AnLoop != "")) { Hv += "&AnLoop=" + this.AnLoop; } if (( typeof( this.AnExtra) != "undefined") && ( this.AnExtra != null) && ( this.AnExtra != "")) { Hv += "&AnExtra=" + this.AnExtra; } return Hv; } function Hw() { this.Method = ""; this.TextString = ""; this.TF = "escape"; this.OutRectWidth = ""; this.OutRectHeight = ""; this.OutOp = ""; this.OutMaxLines = ""; this.OutTransColor = ""; this.Align = ""; this.BkImgAlign = ""; this.FontName = ""; this.TG = "escape"; this.FontPointSize = ""; this.FontColor = ""; this.FontBold = ""; this.FontItalic = ""; this.FontUnderline = ""; this.FontStrikeout = ""; this.FontAntiAliasColor = ""; this.Opacity = ""; this.FileFormat = ""; this.JpegQuality = ""; this.JpegProgressive = ""; this.EffectType = ""; this.BlurFactor = ""; this.ShadowColor = ""; this.ShadowXOffset = ""; this.ShadowYOffset = ""; this.BkColor = ""; this.BkImage = ""; this.BkImageAlt = ""; this.BkEffect = ""; this.BkMapColor = ""; this.BevelSize = ""; this.BevelLightSource = ""; this.BevelType = ""; this.BevelCorner = ""; this.BaseImage = ""; this.BaseMapColor = ""; this.OverlayImage = ""; this.OverlayMapColor = ""; this.VAlign = ""; this.XOrigin = ""; this.YOrigin = ""; this.TextMarginLeft = ""; this.TextMarginRight = ""; this.ImgMarginLeft = ""; this.ImgMarginRight = ""; this.Animation = ""; this.AnFrames = ""; this.AnDelay = ""; this.AnLoop = ""; this.AnExtra = ""; this.Hu = Hu; this.TH = TH; this.TI = TI; this.TJ = TJ; } function TJ(color) { if (typeof(color) != "string") return(color); if (color.charAt(0) == '#') { color = color.substring(1, color.length); if (color.length == 3) { var col; for (i=0; i<3; i++) { for (j=0; j<2; j++) { col += color.charAt(i); } } color = col; } } return(color); } function TI() { var TK = new Array(); TK[TK.length] = 'OutTransColor'; TK[TK.length] = 'FontColor'; TK[TK.length] = 'FontAntiAliasColor'; TK[TK.length] = 'ShadowColor'; TK[TK.length] = 'BkColor'; TK[TK.length] = 'BkMapColor'; TK[TK.length] = 'BaseMapColor'; for (q in TK) { color = eval('this.' + TK[q]); if (color != "undefined") { normalizedColor = this.TJ(color); eval('this.' + TK[q] + '= normalizedColor;'); } } } function TH(qpToc) { var TL = new Array(); TL["font-family"] = "FontName"; TL["font-size"] = "FontPointSize"; TL["color"] = "FontColor"; TL["text-align"] = "Align"; TL["text-margin-left"] = "TextMarginLeft"; TL["text-margin-right"] = "TextMarginRight"; TL["background-position"] = "BkImgAlign"; TL["image-margin-left"] = "ImgMarginLeft"; TL["image-margin-right"] = "ImgMarginRight"; TL["text-shadow"] = "ShadowColor"; TL["background-color"] = "BkColor"; TL["backgroundimage"] = "BkImage"; TL["backgroundimage-2line"] = "BkImageAlt"; this.OutRectWidth = '144'; this.OutOp = 'CLIP_WORDWRAP'; this.OutMaxLines = '2'; for (q in TL) { if (typeof(qpToc[q]) != "undefined") { v = qpToc[q]; if (q == "backgroundimage" || q == "backgroundimage-2line") { v = Lf(self) + "/QuickPlace/" + HP + "/" + "$resources.nsf" + "/h_ResourcesByName/" + v + "/$FILE/" + v + "?OpenElement"; } var e = 'this.' + TL[q] + '=\'' + v + '\';'; eval(e); } } var TM = ''; var TN = ''; var bgColor = ''; var TP = 336699; if (typeof(qpToc['backgroundimage']) != "undefined") TM = qpToc['backgroundimage']; if (typeof(qpToc['backgroundimage-color']) != "undefined") TN = qpToc['backgroundimage-color']; if (typeof(qpToc['background-color']) != "undefined") bgColor = qpToc['background-color']; var SideBarBgColor = qpToc['sidebar-background-color']; if (TM != '') { if (TN != '') { this.FontAntiAliasColor = TN; } else { this.FontAntiAliasColor = SideBarBgColor; } this.BkImage = Lf(self) + "/QuickPlace/" + HP + "/" + "$resources.nsf" + "/h_ResourcesByName/" + TM + "/$FILE/" + TM + "?OpenElement"; } else { if (bgColor == '') { if (SideBarBgColor != '') this.FontAntiAliasColor = SideBarBgColor; else this.FontAntiAliasColor = TP; this.BkColor = this.FontAntiAliasColor; this.OutTransColor = this.FontAntiAliasColor; } else { this.FontAntiAliasColor = bgColor; this.OutTransColor = this.BkColor; } this.BkImage = ''; this.BkImageAlt = ''; } if (typeof(qpToc["font-weight"]) != "undefined") { fontWeight = qpToc["font-weight"].toLowerCase(); if (fontWeight == "bold") this.FontBold="1"; } else if (typeof(qpToc['font-effect']) != "undefined") { fontEffect = qpToc['font-effect'].toLowerCase(); if (fontEffect == "shadow") { this.EffectType = 'Shadow'; this.BlurFactor = '3'; this.ShadowXOffset = '1'; this.ShadowYOffset = '1'; } else if (fontEffect == "glow") { this.EffectType = 'Shadow'; this.BlurFactor = '8'; this.ShadowXOffset = '0'; this.ShadowYOffset = '0'; } else if (fontEffect == "hollowglow") { this.FontColor = this.FontAntiAliasColor; this.EffectType = 'Shadow'; this.BlurFactor = '6'; this.ShadowXOffset = '0'; this.ShadowYOffset = '0'; } else { this.EffectType = ""; this.BlurFactor = ""; this.ShadowXOffset = ""; this.ShadowYOffset = ""; } } this.TI(); } function TQ(FN, CX) { FN.Method = TS('&'+'Method'+'=', CX); FN.TextString = TS('&'+'TextString'+'=', CX); FN.TF = "escape"; FN.OutRectWidth = TS('&'+'OutRectWidth'+'=', CX); FN.OutRectHeight = TS('&'+'OutRectHeight'+'=', CX); FN.OutOp = TS('&'+'OutOp'+'=', CX); FN.OutMaxLines = TS('&'+'OutMaxLines'+'=', CX); FN.OutTransColor = TS('&'+'OutTransColor'+'=', CX); FN.Align = TS('&'+'Align'+'=', CX); FN.BkImgAlign = TS('&'+'BkImgAlign'+'=', CX); FN.FontName = TS('&'+'FontName'+'=', CX); FN.TG = "escape"; FN.FontPointSize = TS('&'+'FontPointSize'+'=', CX); FN.FontColor = TS('&'+'FontColor'+'=', CX); FN.FontBold = TS('&'+'FontBold'+'=', CX); FN.FontItalic = TS('&'+'FontItalic'+'=', CX); FN.FontUnderline = TS('&'+'FontUnderline'+'=', CX); FN.FontStrikeout = TS('&'+'FontStrikeout'+'=', CX); FN.FontAntiAliasColor = TS('&'+'FontAntiAliasColor'+'=', CX); FN.Opacity = TS('&'+'Opacity'+'=', CX); FN.FileFormat = TS('&'+'FileFormat'+'=', CX); FN.JpegQuality = TS('&'+'JpegQuality'+'=', CX); FN.JpegProgressive = TS('&'+'JpegProgressive'+'=', CX); FN.EffectType = TS('&'+'EffectType'+'=', CX); FN.BlurFactor = TS('&'+'BlurFactor'+'=', CX); FN.ShadowColor = TS('&'+'ShadowColor'+'=', CX); FN.ShadowXOffset = TS('&'+'ShadowXOffset'+'=', CX); FN.ShadowYOffset = TS('&'+'ShadowYOffset'+'=', CX); FN.BkColor = TS('&'+'BkColor'+'=', CX); FN.BkImage = TS('&'+'BkImage'+'=', CX); FN.BkImageAlt = TS('&'+'BkImageAlt'+'=', CX); FN.BkEffect = TS('&'+'BkEffect'+'=', CX); FN.BkMapColor = TS('&'+'BkMapColor'+'=', CX); FN.BevelSize = TS('&'+'BevelSize'+'=', CX); FN.BevelLightSource = TS('&'+'BevelLightSource'+'=', CX); FN.BevelType = TS('&'+'BevelType'+'=', CX); FN.BevelCorner = TS('&'+'BevelCorner'+'=', CX); FN.BaseImage = TS('&'+'BaseImage'+'=', CX); FN.BaseMapColor = TS('&'+'BaseMapColor'+'=', CX); FN.OverlayImage = TS('&'+'OverlayImage'+'=', CX); FN.OverlayMapColor = TS('&'+'OverlayMapColor'+'=', CX); FN.VAlign = TS('&'+'VAlign'+'=', CX); FN.XOrigin = TS('&'+'XOrigin'+'=', CX); FN.YOrigin = TS('&'+'YOrigin'+'=', CX); FN.TextMarginLeft = TS('&'+'TextMarginLeft'+'=', CX); FN.TextMarginRight = TS('&'+'TextMarginRight'+'=', CX); FN.ImgMarginLeft = TS('&'+'ImgMarginLeft'+'=', CX); FN.ImgMarginRight = TS('&'+'ImgMarginRight'+'=', CX); FN.Animation = TS('&'+'Animation'+'=', CX); FN.AnFrames = TS('&'+'AnFrames'+'=', CX); FN.AnDelay = TS('&'+'AnDelay'+'=', CX); FN.AnLoop = TS('&'+'AnLoop'+'=', CX); FN.AnExtra = TS('&'+'AnExtra'+'=', CX); } function TR(CX) { return TS('&'+'FontGroup'+'=', CX); } function TS(parameter, CX) { var returnValue = ''; var index = CX.indexOf( parameter); if ( index != -1) { returnValue = CX.substring( index+parameter.length); index = returnValue.indexOf('&'); if ( index != -1) { returnValue = returnValue.substring( 0, index); } } return returnValue; } function Hz (a_haikuTitle, a_haikuType, a_mailDb, a_placeId) { this.IA = a_haikuTitle; this.IB = a_haikuType; this.userName = ''; this.TT = ''; this.AbbrevUserName = ''; this.activeXDisabledOnServer = ('' == '0')?true:false; this.javaAppletsDisabledOnServer = ('' == '0')?true:false; this.emailUrlPrefix = ''; this.IC = a_mailDb; this.placeId = a_placeId; this.IE = Hx; this.IF = Hy; this.TU = Tp; this.TV = false; this.TW = Tk; this.TX = 'DMY'; this.TY = 'MDY'; this.TZ = 'YMD'; this.h_Intl_CurrencyDigits = "2"; this.h_Intl_CurrencyString = "$"; this.h_Intl_ThousandString = ","; this.h_Intl_DecimalString = "."; this.h_Intl_CurrencySuffix = false; this.h_Intl_CurrencySpace = false; this.h_Intl_NumberLeadingZero = true; this.h_Intl_DateFormat = "MDY"; this.h_Intl_Date4DigitYear = false; this.h_Intl_DaylightSavings = true; this.h_Intl_MilitaryTime = false; this.h_Intl_TimeZone = "5"; this.h_Intl_AMString = "AM"; this.h_Intl_PMString = "PM"; this.h_Intl_DateString = "/"; this.h_Intl_TimeString = ":"; this.h_Intl_YesterdayString = "Yesterday"; this.h_Intl_TodayString = "Today"; this.h_Intl_TomorrowString = "Tomorrow"; this.Ta = this.h_Intl_TimeZone; this.Tb = parseInt(this.Ta); if (this.Tb == 12 ) this.Tc = 'Dateland'; else if (this.Tb == 11 ) this.Tc = 'Samoa'; else if (this.Tb == 10 ) this.Tc = 'Hawaiian'; else if (this.Tb == 9 ) this.Tc = 'Alaskan'; else if (this.Tb == 8 ) this.Tc = 'Pacific'; else if (this.Tb == 7 ) this.Tc = 'Mountain'; else if (this.Tb == 6 ) this.Tc = 'Central'; else if (this.Tb == 5 ) this.Tc = 'Eastern'; else if (this.Tb == 4 ) this.Tc = 'Atlantic'; else if (this.Tb == 3003 ) this.Tc = 'Newfoundland'; else if (this.Tb == 3 ) this.Tc = 'South America Eastern'; else if (this.Tb == 2 ) this.Tc = 'Mid-Atlantic'; else if (this.Tb == 1 ) this.Tc = 'Azores'; else if (this.Tb == 0 ) this.Tc = 'Greenwich Mean Time'; else if (this.Tb == -1 ) this.Tc = 'Western Europe'; else if (this.Tb == -2 ) this.Tc = 'Eastern Europe'; else if (this.Tb == -3 ) this.Tc = 'Saudi Arabia'; else if (this.Tb == -3003) this.Tc = 'Iran'; else if (this.Tb == -4 ) this.Tc = 'Arabian'; else if (this.Tb == -3004) this.Tc = 'Afghanistan'; else if (this.Tb == -5 ) this.Tc = 'West Asia'; else if (this.Tb == -3005) this.Tc = 'India'; else if (this.Tb == -6 ) this.Tc = 'Central Asia'; else if (this.Tb == -7 ) this.Tc = 'Bangkok'; else if (this.Tb == -8 ) this.Tc = 'China'; else if (this.Tb == -9 ) this.Tc = 'Tokyo'; else if (this.Tb == -3009) this.Tc = 'Central Australia'; else if (this.Tb == -10 ) this.Tc = 'Eastern Australia'; else if (this.Tb == -11 ) this.Tc = 'West Pacific'; else if (this.Tb == -12 ) this.Tc = 'Central Pacific'; else this.Tc = ''; if (this.Tb != 0) { this.Tc += (this.Tc != '') ? ((this.h_Intl_DaylightSavings) ? ' Daylight Savings Time' : ' Standard Time') : ''; this.Tc += ' (GMT '; this.Tc += (this.Tb > 0)?'-':'+'; this.Tc += ((Math.abs(this.Tb) > 12) ? Math.abs(this.Tb%100) + ':' + Math.floor(Math.abs(this.Tb)/100) : Math.abs(this.Tb)+':00'); this.Tc += ')'; } var sl = this.h_Intl_DateString; this.Te = ''; if (this.h_Intl_DateFormat == this.TX) this.Te = 'DD'+ sl +'MM'+ sl +'YY'; else if (this.h_Intl_DateFormat == this.TZ) this.Te = 'YY'+ sl +'MM'+ sl +'DD'; else if (this.h_Intl_DateFormat == this.TY) this.Te = 'MM'+ sl +'DD'+ sl +'YY'; this.Tg = new makeSceneContextObject( ); this.Th = new Array( ); this.Ti = Ts; this.Tj = Tt; this.GetEmailUrlPrefix = HaikuObj_GetEmailUrlPrefix; } function HaikuObj_GetEmailUrlPrefix( ) { var szEmailPrefix = ""; if ( this.emailUrlPrefix != "") { szEmailPrefix = this.emailUrlPrefix } else { szEmailPrefix = Lk() + Lc(self); } return szEmailPrefix; } function Hx() { location.href = HX.Ij() + "?OpenDatabase&Login"; } function Hy() { return (this.userName == "Anonymous"); } function Tk() { if (!h_ClientBrowser.hasJavaApplets ()) { alert('In order to use Chat, Java Applets must be enabled.'); return; } if (!this.TV) { var resizable = "no"; if (h_ClientBrowser.Sb ()) resizable = "yes"; var date = new Date(); var Tl = window.open('about:blank','SameTime' + date.getTime(),'resizable=' + resizable + ',width=400,height=350,top=100,left=100,toolbar=no,scrollbars=no,menubar=no,status=no'); Tl.document.open (); var bgColor = "#d1def0"; var textColor = "#000d40"; var bgHeaderColor = "#f4f9ff"; var appletHeight = ""; var appletWidth = ""; if (h_ClientBrowser.Sb ()) { appletHeight = "100%"; appletWidth = "100%"; } else { appletHeight = "270"; appletWidth = "388"; } var Tm = ""; Tm += ''; Tm += 'QuickPlace Team Chat - ' + HX.Ib + ''; Tm += ''; Tm += ' '; Tm += ''; Tm += ''; Tm += ''; Tm += ''; Tm += ''; Tm += ''; Tm += ''; Tm += ''; Tm += ''; Tm += ''; Tm += '
' + 'Transcript' + '' + 'Who is here?' + '
'; var extSameTimeServer = ''; var sameTimeServerUrlLocation = (extSameTimeServer == "") ? (Lk()) : (location.protocol + '//' + extSameTimeServer); Tm += ''; var chathaikuName = haiku.IA; Tm += ''; Tm += ''; Tm += ''; Tm += ''; if (!h_ClientBrowser.HN() && h_ClientBrowser.ST && h_ClientBrowser.SW (4)) { Tm += ''; Tm += ''; Tm += ''; } else { Tm += ''; } Tm += ''; Tm += ''; Tm += ''; Tm += ''; Tm += ''; Tm += ''; Tm += ''; Tm += ''; Tm += ''; Tm += ''; Tm += ''; Tm += ''; Tm += ''; Tm += ''; Tm += ''; Tm += ''; Tm += ''; Tm += ''; Tm += ''; Tm += ''; Tm += ''; Tm += ''; Tm += 'function isVarAvailable() {if (typeof (window.opener.haiku) != "unknown" && typeof (window.opener.haiku) != "undefined" && typeof (window.opener.haiku.TV) != "undefined") return true; else return false;}'; Tm += 'function Tn() {if (isVarAvailable()) window.opener.haiku.TV = false; }'; Tm += 'function h_HandleError (ErrorMessage, URL, LineNum) {return true;} window.onerror = h_HandleError;'; Tm += 'function To() {if (isVarAvailable()) '; Tm += ' window.opener.haiku.TV = true; setTimeout ("To()", 1000);} '; Tm += ''; Tm += '
' + 'Type a message to your team here, then click "Send".' + '
' + 'To "page" one or more members in private, ctrl-click their names in the list, right-click, and select "Message".' + '
'; Tm += ''; Tl.document.write (Tm); Tl.document.close (); this.TV = true; } else { alert ('You are currently already participating in a Chat'); if (!h_ClientBrowser.Sb ()) this.TV = false; } } function Tp(startFolder, startPage, startRoom) { if (typeof(startPage) == "undefined") startPage = ""; if (typeof(startFolder) == "undefined") startFolder = ""; if (typeof(startRoom) == "undefined") startRoom = ""; var FB = La( self); if (startRoom != "" && startFolder == "" && startPage == "") { FB += startRoom; } else if (startRoom != "" && startFolder != "" && startPage == "") { FB += startRoom + '/' + "h_Toc" + '/' + startFolder; } else if ((startRoom != "" && startFolder != "" && startPage != "") || (startRoom != "" && startFolder == "" && startPage != "")) { FB += startRoom + '/' + "A7986FD2A9CD47090525670800167225" + '/' + startPage; } else { FB += "Main.nsf"; if (false) ; else ;; } location.href = FB; } function Ts( ) { this.Th[this.Th.length] = new dm( ); this.Th[this.Th.length-1].init( ); fB( this.Th[this.Th.length-1]); return this.Th[this.Th.length-1]; } function Tt( iComponentId ) { var Tu = null; for( var i=0; i < this.Th.length; i++) { if ( this.Th[i].IsForComponent( iComponentId)) { Tu = this.Th[i]; break; } } return Tu; } function II () { this.h_AeInheritFrom = ''; this.h_AeSideBarBgImgInherited = ''; this.h_AePgBgImgInherited = ''; this.h_AeNvPalette = ''; this.h_AeNvBgImage = ''; this.h_AeNvBgColor = ''; this.h_AeNvFontEffect = ''; this.h_AeNvFontFace = ''; this.h_AeNvFontSize = ''; this.h_AeNvFontStyle = ''; this.h_AeNvTocItemSetColor = ''; this.h_AeNvItemSeparation = ''; this.h_AeNvTextAlignment = ''; this.h_AeNvTextMarginLeft = ''; this.h_AeNvTextMarginRight = ''; this.h_AeNvImageAlignment = ''; this.h_AeNvImageMarginLeft = ''; this.h_AeNvImageMarginRight = ''; this.h_AeNvTocNormalBgColor = ''; this.h_AeNvTocNormalBgImage = ''; this.h_AeNvTocNormalBgImage2Line = ''; this.h_AeNvTocNormalBgImageColor = ''; this.h_AeNvTocNormalFontColor = ''; this.h_AeNvTocNormalShadowColor = ''; this.h_AeNvTocMouseoverBgColor = ''; this.h_AeNvTocMouseoverBgImage = ''; this.h_AeNvTocMouseoverBgImage2Line = ''; this.h_AeNvTocMouseoverBgImageColor = ''; this.h_AeNvTocMouseoverFontColor = ''; this.h_AeNvTocMouseoverShadowColor = ''; this.h_AeNvTocSelectedBgColor = ''; this.h_AeNvTocSelectedBgImage = ''; this.h_AeNvTocSelectedBgImage2Line = ''; this.h_AeNvTocSelectedBgImageColor = ''; this.h_AeNvTocSelectedFontColor = ''; this.h_AeNvTocSelectedShadowColor = ''; this.h_AePgPalette = ''; this.h_AePgBgImage = ''; this.h_AePgBgColor = ''; this.h_AePgFontFace = ''; this.h_AePgFontSize = ''; this.h_AePgFontColor = ''; this.h_AePgActionBarBgColor = ''; this.h_AePgButtonFontFace = ''; this.h_AePgButtonFontColor = ''; this.h_AePgButtonColor = ''; this.h_AeNvLogoCustom = ''; this.h_AeNvBgImageCustom = ''; this.h_AePgBgImageCustom = ''; this.h_AeNvLogoCustomUnqNum = ''; this.h_AeNvBgImageCustomUnqNum = ''; this.h_AePgBgImageCustomUnqNum = ''; this.IJ = IK; } function IK () { if (this.h_AeNvBgImage != '' && this.h_AeNvBgImage != 'h_None' ) this.h_AeNvBgImage = getAbsoluteHaikuURL (self) + "$resources.nsf" + "/h_ResourcesByName/" + this.h_AeNvBgImage + "/$FILE/" + this.h_AeNvBgImage + "?OpenElement"; if (this.h_AePgBgImage != '' && this.h_AePgBgImage != 'h_None') this.h_AePgBgImage = getAbsoluteHaikuURL (self) + "$resources.nsf" + "/h_ResourcesByName/" + this.h_AePgBgImage + "/$FILE/" + this.h_AePgBgImage + "?OpenElement"; if (this.h_AeNvTocNormalBgImage != '') this.h_AeNvTocNormalBgImage = Lf(self) + "/QuickPlace/" + HP + "/" + "$resources.nsf" + "/h_ResourcesByName/" + this.h_AeNvTocNormalBgImage + "/$FILE/" + this.h_AeNvTocNormalBgImage + "?OpenElement"; if (this.h_AeNvTocNormalBgImage2Line != '') this.h_AeNvTocNormalBgImage2Line = Lf(self) + "/QuickPlace/" + HP + "/" + "$resources.nsf" + "/h_ResourcesByName/" + this.h_AeNvTocNormalBgImage2Line + "/$FILE/" + this.h_AeNvTocNormalBgImage2Line + "?OpenElement"; if (this.h_AeNvTocMouseoverBgImage != '') this.h_AeNvTocMouseoverBgImage = Lf(self) + "/QuickPlace/" + HP + "/" + "$resources.nsf" + "/h_ResourcesByName/" + this.h_AeNvTocMouseoverBgImage + "/$FILE/" + this.h_AeNvTocMouseoverBgImage + "?OpenElement"; if (this.h_AeNvTocMouseoverBgImage2Line != '') this.h_AeNvTocMouseoverBgImage2Line = Lf(self) + "/QuickPlace/" + HP + "/" + "$resources.nsf" + "/h_ResourcesByName/" + this.h_AeNvTocMouseoverBgImage2Line + "/$FILE/" + this.h_AeNvTocMouseoverBgImage2Line + "?OpenElement"; if (this.h_AeNvTocSelectedBgImage != '') this.h_AeNvTocSelectedBgImage = Lf(self) + "/QuickPlace/" + HP + "/" + "$resources.nsf" + "/h_ResourcesByName/" + this.h_AeNvTocSelectedBgImage + "/$FILE/" + this.h_AeNvTocSelectedBgImage + "?OpenElement"; if (this.h_AeNvTocSelectedBgImage2Line != '') this.h_AeNvTocSelectedBgImage2Line = Lf(self) + "/QuickPlace/" + HP + "/" + "$resources.nsf" + "/h_ResourcesByName/" + this.h_AeNvTocSelectedBgImage2Line + "/$FILE/" + this.h_AeNvTocSelectedBgImage2Line + "?OpenElement"; if (this.h_AeNvLogoCustom != '') { if (this.h_AeNvLogoCustom.indexOf ("$resources.nsf") == 0) { this.h_AeNvLogoCustom = La (self) + this.h_AeNvLogoCustom; } else { this.h_AeNvLogoCustom = buildUrl("Main.nsf") + '/' + "$defaultview" + '/' + HX.settingsUnid + '/' + gw( this.h_AeNvLogoCustom, this.h_AeNvLogoCustomUnqNum); } } } var UM; function UN() { } UM = new UN(); UN.prototype.init = UO; UN.prototype.initField = UP; UN.prototype.getReadModeHTML = getReadHTML; function UO(kw,UQ,UR,KN,US, UT,UU,UV,kx){ this.initField(kw,UQ,UR,KN,US, UT,UU,UV,kx); } function UP(kw,UQ,UR,KN,US, UT,UU,UV,kx){ this.KP = kw; this.UQ = UQ; this.UR = UR; this.KN = KN; this.US = US; this.UT = UT; this.UU = UU; this.UV = UV; this.UW = new Array(); if (typeof kx != "undefined" && kx != "") { var i; for (i=0;i<999;i++) { UJ = (kx.indexOf("|") == -1) ? 999 : kx.indexOf("|"); this.UW[i] = kx.substring(0, UJ); kx = kx.substring(this.UW[i].length + 1); if (UJ == 999) break; } } } function getReadHTML(pageFrame, fieldIndex) { var UZ = eval('pageFrame.'+this.KP); if ( typeof( UZ) == "undefined") { UZ = ""; } UZ = convertToHTML(UZ); pageInput(pageFrame, UY.UQ, (typeof(UZ)=="undefined"?"":UZ)); } function pageInput(pageFrame, v, h, rU, bgClass) { var Tm = ''; var bc = ''; if ( typeof( rU) != "undefined") { if ( isNaN( rU)) { bc = rU; } else { bc = rU.toString(); } } else { bc = " "; } var bd = (h_CurrentSkinType=='h_Edit')?"h-fieldOrderEdit-bgtext":"h-fieldOrder-bgtext"; if (typeof bgClass=="undefined" || bgClass=="") var bf = (h_CurrentSkinType=='h_Edit')?"h-fieldHeaderEdit-bgtext":"h-fieldHeader-bgtext"; else var bf = bgClass; var bg = (h_CurrentSkinType=='h_Edit')?"h-fieldEdit-text":"h-page-text"; Tm += ''; if (h_CurrentSkinType=='h_Edit') { Tm += ' '; Tm += ' '; Tm += ' '; Tm += ' '; Tm += ' '; Tm += ' '; Tm += ' '; Tm += ' '; Tm += ' '; Tm += ' '; Tm += ' '; Tm += ' '; Tm += '
'; Tm += bc; Tm += ' '; } else { Tm += '
'; } Tm += v; Tm += '
 '; Tm += ' '; Tm += h; Tm += '
'; pageFrame.document.write(Tm); } function C(pageFrame, v, rU) { var Tm = ''; var bc = ''; if ( typeof( rU) != "undefined") { if ( isNaN( rU)) { bc = rU; } else { bc = rU.toString(); } } else { bc = " "; } var bd = (h_CurrentSkinType=='h_Edit')?"h-fieldOrderEdit-bgtext":"h-fieldOrder-bgtext"; var bf = (h_CurrentSkinType=='h_Edit')?"h-fieldHeaderEdit-bgtext":"h-fieldHeader-bgtext"; Tm += ' '; if (h_CurrentSkinType=='h_Edit') { Tm += ' '; Tm += ' '; Tm += ' '; Tm += ' '; Tm += ' '; Tm += '
'; Tm += bc; Tm += ' '; } else { Tm += '
'; } Tm += v; Tm += '
'; pageFrame.document.write(Tm); } function SE(currentDocChildren, publishedVersionUNID, qD) { var JC = (h_Context_InFolder==1?h_Context_InFolderName:'h_Toc'); if (currentDocChildren != 0) { alert ('This page can not be deleted because it has responses, revisions, and/or conflicts associated with it. You need to delete all of the page\'s responses, revisions, and conflicts before this page can be deleted.'); } else if (publishedVersionUNID == "") { if (qD == "") { if (confirm('Are you sure you want to delete this page?')) { location.href = Lh(self) + '/' + JC + '/' + LS.LQ + "/?EditDocument&Form=h_PageUI&PreSetFields=h_EditAction;h_Edit,h_SetEditScene;h_StdConfirmDeleteAnimation,h_SetEditCurrentScene;h_StdConfirmDeleteAnimation,h_SetEditNextScene;h_StdConfirmDeleteAnimation"; } } else if (confirm('Are you sure you want to delete this page and its draft?')) { location.href = Lh(self) + '/' + (h_Context_InFolder==1?h_Context_InFolderName:'h_Toc')+"/$new/?EditDocument&Form=h_PageUI"+"&PreSetFields=h_EditAction;"+"h_New"+",h_SetReadScene;"+'h_StdPageRead'+",h_SetEditScene;"+'h_StdConfirmDeleteAnimation'+",h_ReturnToPage;"+''+ ",h_IsInToc;" + h_IsInToc + ",h_SetDeleteList;" + LS.LQ + ",h_Type;" + "0"; } } else if (confirm('Are you sure you want to delete this page and its draft?')) { location.href = Lh(self) + '/' + JC + '/' + LS.LQ + "/?EditDocument&Form=h_PageUI&PreSetFields=h_EditAction;h_Edit,h_SetEditScene;h_StdConfirmDeleteAnimation"; } } function bX(currentDocChildren, publishedVersionUNID, qD) { var Dt=""; if (h_Context_InFolder == "1") { Dt = Lh(self) + '/' + h_Context_InFolderName + '/' + LS.LQ + "/?EditDocument&Form=h_PageUI&PreSetFields=h_SetEditScene;h_StdPageMoveCopy,h_SetSaveDoc;0,h_SetDeleteList;" + LS.LQ + ",h_Move;1"; } else { Dt = Lh(self) + '/' + "h_Toc" + '/' + LS.LQ + "/" + "?EditDocument&Form=h_PageUI&PreSetFields=h_SetEditScene;h_StdPageMoveCopy,h_SetSaveDoc;0,h_SetDeleteList;" + LS.LQ + ",h_Move;1"; } if (currentDocChildren != 0) { if (confirm ('Note: This page has responses which will be moved along with this page. Do you wish to proceed?')) Dt += ",h_HandleResponses;1"; else return; } location.href = Dt; } function bW(currentDocChildren, publishedVersionUNID, qD) { var Dt=""; if (h_Context_InFolder == "1") { Dt = Lh(self) + '/' + h_Context_InFolderName + '/' + LS.LQ + "/?EditDocument&Form=h_PageUI&PreSetFields=h_SetEditScene;h_StdPageMoveCopy,h_SetSaveDoc;0,h_SetDeleteList;" + LS.LQ + ",h_Move;0"; } else { Dt = Lh(self) + '/' + "h_Toc" + '/' + LS.LQ + "/" + "?EditDocument&Form=h_PageUI&PreSetFields=h_SetEditScene;h_StdPageMoveCopy,h_SetSaveDoc;0,h_SetDeleteList;" + LS.LQ + ",h_Move;0"; } if (currentDocChildren != 0) { if (confirm ('This page has responses. Do you want to copy all the responses in addition to the page?')) Dt += ",h_HandleResponses;1"; else Dt += ",h_HandleResponses;0"; } else Dt += ",h_HandleResponses;0"; location.href = Dt; } function confirmRevert() { if (confirm ('Are you sure you want to delete the draft version of this page?')) location.href = Lh(self) + '/' + Ir + '/' + h_PageUnid + "/?EditDocument&Form=h_PageUI&PreSetFields=h_EditAction;h_Edit,h_SetEditScene;h_StdPageAnimation,"+ "h_ReturnToPage;" + h_PublishedVersionUNID + ",h_InputAction;h_Revert"; } function bh(theFolderUnid, thePageUnid) { return ('