<!-- (c) 1985-2001 Lotus Development Corporation. All rights reserved. This software is subject to the Lotus Software Agreement and applicable export regulations. Restricted Rights for U.S. government users. -->
<!-- $HaikuForm - 208113 -->


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("<head>"); Hl.document.writeln("<style>"); Hl.document.writeln(".debugArea { font-family: Arial, Helvetica, sans-serif; font-size: 8pt; text-decoration : none; }"); Hl.document.writeln("</style>"); Hl.document.writeln("<title>QuickPlace Console</title>"); Hl.document.writeln("</head>"); Hl.document.writeln("<body>"); Hl.document.writeln("<form name=dbgConsole>"); Hl.document.writeln("<textarea class=debugArea cols=90 rows=25 wrap=VIRTUAL name=jsevaledcode></textarea><br>"); Hl.document.writeln("<textarea class=debugArea cols=90 rows=2 wrap=VIRTUAL name=jscode></textarea><br>"); Hl.document.writeln("<input class=debugArea type=button value='Eval It' onClick='jsevaledcode.value=jsevaledcode.value+eval(jscode.value)+\"\\n\"' >"); Hl.document.writeln("</form>"); Hl.document.writeln("</body>"); 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		 = ('1' == '0')?true:false; this.javaAppletsDisabledOnServer  = ('1' == '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 = false;
 this.h_Intl_DateFormat = "DMY";
 this.h_Intl_Date4DigitYear = true;
 this.h_Intl_DaylightSavings = false;
 this.h_Intl_MilitaryTime = true;
 this.h_Intl_TimeZone = "-7";
 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 += '<html><head>'; Tm += '<title>QuickPlace Team Chat - ' + HX.Ib + '</title>'; Tm += '<style type=text/css>\n'; Tm += '.h-fieldHeaderEdit-bgtext { font-family: geneva, arial, sans-serif; font-size: 10pt; color: #000d40; background-color: #f4f9ff; vertical-align: top; }\n'; Tm += '.h-fieldEdit-text, .h-fieldEdit-text td { font-family: geneva,  arial, sans-serif; font-size: 10pt; color: #000d40; vertical-align:  top; }\n'; Tm += '.h-fieldSmallEdit-text { font-family: geneva, "ms sans serif", sans-serif ! important; font-size: 9pt ! important; vertical-align:  top; }\n'; Tm += 'applet { margin-bottom: 0px; }\n'; Tm += '.h-edit-bg { background-color: ' + bgColor + '; }\n'; Tm += '.h-fieldHeaderEdit-bgtext { background-color: ' + bgHeaderColor + '; }\n'; Tm += 'applet { margin-bottom: 0px; }\n'; Tm += '</style>'; Tm += '</head>'; Tm += '<body topmargin=6 leftmargin=6 rightmargin=6 bottommargin=6 onload=To() onunload=Tn() text=' + textColor + ' bgcolor=' + bgColor + '>'; Tm += '<table height=100% width=100% cellpadding=0 cellspacing=0 border=0>'; Tm += '<tr>'; Tm += 	'<td nowrap valign=bottom class=h-fieldSmallEdit-text><img src=' + getAbsoluteHaikuURL (self) + "$resources.nsf" + "/h_ResourcesByName/" + "transparent.gif" + "/$FILE/" + "transparent.gif" + "?OpenElement" + ' width=1 height=1 alt="" border="0">' + 'Transcript' + '</td>'; Tm += 	'<td nowrap valign=bottom align=right class=h-fieldSmallEdit-text>' + 'Who is here?' + '<img src=' + getAbsoluteHaikuURL (self) + "$resources.nsf" + "/h_ResourcesByName/" + "transparent.gif" + "/$FILE/" + "transparent.gif" + "?OpenElement" + ' width=1 height=1 alt="" border="0"></td>'; Tm += '</tr>'; Tm += '<tr><td align=center colspan=2 height=' + appletHeight + ' width=' + appletWidth + '>'; var extSameTimeServer = ''; var sameTimeServerUrlLocation = (extSameTimeServer == "") ? (Lk()) : (location.protocol + '//' + extSameTimeServer); Tm += '<APPLET CODE="com.lotus.placechat.PlaceChatApplet" codeBase=' + sameTimeServerUrlLocation + Lc(self) + '/st/ WIDTH=' + appletWidth + ' HEIGHT=' + appletHeight + '>'; var chathaikuName = haiku.IA; Tm += '<PARAM NAME="nickname" VALUE="' + haiku.userName + '/' + chathaikuName.toLowerCase() + '">'; Tm += '<PARAM NAME="password" VALUE="">'; Tm += '<PARAM NAME="token" VALUE="' + h_SameTimeToken + '">'; Tm += '<PARAM NAME="sametime_server" VALUE=' + extSameTimeServer + '>'; if (!h_ClientBrowser.HN() && h_ClientBrowser.ST && h_ClientBrowser.SW (4)) { Tm += '<PARAM NAME="useslibrary" VALUE="QuickPlace SameTime Applet">'; Tm += '<PARAM NAME="useslibrarycodebase" VALUE="QpSt.cab">'; Tm += '<PARAM NAME="useslibraryversion" VALUE="1,0,0,1">'; } else { Tm += '<PARAM NAME="archive" VALUE="QpChat.jar">'; } Tm += '<PARAM NAME="default_status_active" VALUE="' + "I Am Active" + '">'; Tm += '<PARAM NAME="default_status_dnd" VALUE="' + "Do Not Disturb Me" + '">'; Tm += '<PARAM NAME="default_status_away" VALUE="' + "I Am Away" + '">'; Tm += '<PARAM NAME="default_status_offline" VALUE="' + "Offline" + '">'; Tm += '<PARAM NAME="default_status_unresolved" VALUE="' + "Unresolved" + '">'; Tm += '<PARAM NAME="default_status_not_using" VALUE="' + "Not using computer" + '">'; Tm += '<PARAM NAME="conf_name" VALUE="' + "Private conference." + '">'; Tm += '<PARAM NAME="conf_invitation" VALUE="' + "Please join this private chat." + '">'; Tm += '<PARAM NAME="send_button_label" VALUE="' + "Send" + '">'; Tm += '<PARAM NAME="namelabel" VALUE="' + "User Name" + '">'; Tm += '<PARAM NAME="statuslabel" VALUE="' + "User Status" + '">'; Tm += '<PARAM NAME="descriptionlabel" VALUE="' + "" + '">'; Tm += '<PARAM NAME="chat_menu_label" VALUE="' + "Message..." + '">'; Tm += '<PARAM NAME="show_user_status" VALUE="false">'; Tm += '<PARAM NAME="show_status_icon" VALUE="false">'; Tm += '<PARAM NAME="bgcolor" VALUE="' + bgColor + '">'; Tm += '<PARAM NAME="placenames" VALUE="' + HX.Ib + '">'; Tm += '<PARAM NAME="placeids" VALUE="' + haiku.placeId + '">'; Tm += '<PARAM NAME="help_URL" VALUE="' + Lk (self) + Lg(self) + 'help/Main.nsf/h_Index/' + "3435B2C7436D1C4E052568B0006855ED" + '/?OpenDocument">'; Tm += '<PARAM NAME="help_target" VALUE="_blank">'; Tm += '</APPLET>'; Tm += '<scr' + 'ipt>'; 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 += '</scr' + 'ipt>'; Tm += '</td></tr>'; Tm += '<tr><td valign=top class=h-fieldEdit-text colspan=2><img align=left src=' + getAbsoluteHaikuURL (self) + "$resources.nsf" + "/h_ResourcesByName/" + "hSysChatArrowUp.gif" + "/$FILE/" + "hSysChatArrowUp.gif" + "?OpenElement" + ' width=15 height=15 alt="" border="0"> ' + 'Type a message to your team here, then click &quot;Send&quot;.' + '</td></tr>'; Tm += '<tr><td valign=top colspan=2><img align=left src=' + getAbsoluteHaikuURL (self) + "$resources.nsf" + "/h_ResourcesByName/" + "transparent.gif" + "/$FILE/" + "transparent.gif" + "?OpenElement" + ' width=1 height=6 alt="" border="0"></td></tr>'; Tm += '<tr><td class=h-fieldHeaderEdit-bgtext colspan=2><span class=h-fieldSmallEdit-text>' + 'To &quot;page&quot; one or more members in private, ctrl-click their names in the list, right-click, and select &quot;Message&quot;.' + '</span></td></tr>';  Tm += '</table>'; Tm += '</body></html>'; 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 = "&nbsp;"; } 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 += '<TABLE width=100% border=0 cellspacing=0 cellpadding=2>'; if (h_CurrentSkinType=='h_Edit') { Tm += '	<TR>'; Tm += '		<TD class=' + bd + ' valign=top width=3% align=right>'; Tm +=			bc; Tm += '		</TD>'; Tm += '		<TD class=' + bf + ' width=97%>'; } else { Tm += '	<TR class=' + "h-folderBanner-bg" + '>'; Tm += '		<TD colspan=2 class=' + "h-folderBanner-text" + ' width=97%>'; } Tm +=	v; Tm += '</TD>'; Tm += '	</TR>'; Tm += '	<TR>'; Tm += '		<TD width=3% >&nbsp;'; Tm += '		</TD>'; Tm += '		<TD class=' + bg + ' width=97%>'; Tm += h; Tm += '		</TD>'; Tm += '	</TR>'; Tm += '	<TR>'; Tm += '		<TD colspan=2 width=3% height=8></TD>'; Tm += '	</TR>'; Tm += '	</TABLE>'; 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 = "&nbsp;"; } 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 += '	<TABLE width=100% border=0 cellspacing=0 cellpadding=2>'; if (h_CurrentSkinType=='h_Edit') { Tm += '	<TR>'; Tm += '		<TD class=' + bd + ' valign=top width=3% align=right>'; Tm +=			bc; Tm += '		</TD>'; Tm += '		<TD class=' + bf + ' width=97%>'; } else { Tm += '	<TR class=' + "h-folderBanner-bg" + '>'; Tm += '		<TD colspan=2 class=' + "h-folderBanner-text" + ' width=97%>'; } Tm += v; Tm += '		</TD>'; Tm += '	</TR>'; Tm += '	</TABLE>'; 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 ('<script>location.href="' + "../../"+theFolderUnid+"/"+thePageUnid+"/?OpenDocument&Form=h_PageUI" + '";<\/script>'); } function B(pageFrame, titleText)  { return; } var bY = null; function bZ(folderToUse, pageToUse, useNewWindow) { var CX = Lk (self) + La (self) + currentRoom.IW + "/" + folderToUse + "/" + pageToUse; if (useNewWindow) { if (bY == null || bY.closed || (bY != null && bY.location.href == "")) { bY = window.open(CX); } else { bY.location.href = CX; bY.focus(); } } else{ location.href = CX; } } function MakeFormObject(formObj) { var y=0; for (var z=0;z<KN.length;z++) { if (KN[z] == "h_Attachments"){ formObj.fieldDef[y] = new XG; } if (KN[z] == "h_CalendarControl"){ formObj.fieldDef[y] = new Uk; } else if (KN[z] == "h_DateControl"){ formObj.fieldDef[y] = new VP; } else if (KN[z] == "h_DocAuthor") { formObj.fieldDef[y] = new Ue; } else if (KN[z] == "h_DocCreated"){ formObj.fieldDef[y] = new VJ; } else if (KN[z] == "h_DocModified"){ formObj.fieldDef[y] = new VW; } else if (KN[z] == "h_DocSize"){ formObj.fieldDef[y] = new WG; } else if (KN[z] == "h_NamePopup"){ formObj.fieldDef[y] = new Vc; } else if (KN[z] == "h_NotifyIndicator"){ formObj.fieldDef[y] = new Vj; } else if (KN[z] == "h_RichText"){ if (!h_ClientBrowser.HN()) { if (h_ClientBrowser.SX ()) formObj.fieldDef[y] = new Yh; else if (h_ClientBrowser.hasJavaApplets ()) formObj.fieldDef[y] = new ZY; else formObj.fieldDef[y] = new YX; } else formObj.fieldDef[y] = new YX; } else if (KN[z] == "h_Serial"){ formObj.fieldDef[y] = new WA; } else if (KN[z] == "h_Static"){ formObj.fieldDef[y] = new WM; } else if (KN[z] == "h_Subject"){ formObj.fieldDef[y] = new WV; } else if (KN[z] == "h_TaskControl"){ formObj.fieldDef[y] = new We; } else if (KN[z] == "h_TextInput"){ formObj.fieldDef[y] = new Wm; } else if (KN[z] == "h_TextArea"){ formObj.fieldDef[y] = new Ws; } else if (KN[z] == "h_TextPopup"){ formObj.fieldDef[y] = new Vr; } else if (KN[z] == "h_TimeControl"){ formObj.fieldDef[y] = new Wy; } else if (KN[z] == "h_Import"){ formObj.fieldDef[y] = new XW; } else if (KN[z] == "h_MultipleImport"){ formObj.fieldDef[y] = new Xh; } else if (KN[z] == "h_CreateMSWord"){ formObj.fieldDef[y] = new Xo; } else if (KN[z] == "h_CreateMSPowerPoint"){ formObj.fieldDef[y] = new Xw; } else if (KN[z] == "h_CreateMSExcel"){ formObj.fieldDef[y] = new Xs; } else if (KN[z] == "h_Html") { formObj.fieldDef[y] = new UN; } if (KN[z] != "h_Hidden"){ formObj.fieldDef[y].init (kw[z],UQ[z],UR[z],KN[z],US[z], UT[z],UU[z],UV[z],kx[z]); } y++; } } var LS = new LP (''); function Zp () { return (this.IW == "Main.nsf"); } function IX () { Ik (this.IW); } function IY () { Ik (this.Zr); } function IZ () { return buildUrl(this.IW); } function Zq (aRoom) { var n = this.h_RoomAncestorDbNames.length; var i; for (i = 0; i < n; i++) { var s1 = this.h_RoomAncestorDbNames[i].toLowerCase(); var s2 = aRoom.toLowerCase(); if (s1 == s2) { return true; } } return false; } function Ia (a_roomNsf) { this.IW = a_roomNsf; this.Ib = null; this.Id = 0; this.Zr = null; this.aesthetics = new II(); this.h_RoomAncestorNames = null; this.h_RoomAncestorDbNames = null; this.Ic = null; this.Id = null; this.settingsUnid = null; this.Zu = new Array (); this.Zv = new Array (); this.Enter = IX; this.Leave = IY; this.Ij = IZ; this.Zw = Zp; this.Zx = Zq; } function Ik (a_roomNsf, bNoSlide) { var Zy = getAbsoluteHaikuURL(self) + a_roomNsf + "?OpenDatabase"; location.href =  Zy; } function LO () { return "TBD"; } function LP (a_pageUnid) { this.LQ = a_pageUnid; this.LR = LO; this.bm = 0; this.bn = 0; this.bo = 0; this.bp = 0; this.bq = 0; this.br = ''; this.bs = ''; this.bt = ''; this.bu = false; this.Jy = ''; this.bv = ''; this.init = bw; } function bw (windowRef) { this.bv = windowRef; this.bm = windowRef.h_IsInToc; this.bn = windowRef.h_IsPublished; this.bo = windowRef.h_IsNewDoc; this.bp = windowRef.h_DraftVersionUNID; this.bq = windowRef.h_PublishedVersionUNID; if ( typeof windowRef.h_CalendarDate != "undefined" )	 { this.bu = true; this.Date	          = windowRef.h_CalendarDate; this.Time             = windowRef.h_CalendarTime; this.Duration         = windowRef.h_CalendarDuration; this.cA      = windowRef.h_AllDayEvent; this.Repeats          = windowRef.h_Repeats; this.cC  = windowRef.h_RepeatFrequency; this.cD     = windowRef.h_RepeatAmount; this.cE     = windowRef.cE; } } var LS = new LP (''); function writeRemoteErrorHTML () { document.write('<table border=0 cellpadding=1 cellspacing=0 width=100%>'); document.write('<tr class=h-folderBanner-bg><td class=h-quickBrowseTitle-text colspan=4 nowrap>' + 'QuickPlace Error' + '</td></tr>'); document.write('<tr><td colspan=4>&nbsp;</td></tr>'); document.write('<tr><td class=h-quickBrowseItem-text colspan=4 nowrap>' + 'To continue working in your QuickPlace,<br>close this window and try again.' + '</td></tr>'); document.write('<tr><td colspan=4>&nbsp;</td></tr></table>'); } function Lk () { return location.protocol + '//' + location.hostname + (location.port ? ':' + location.port : ''); } function  La (page)  { var Lb = ""; if (page)  Lb =  page.location.pathname; else Lb = location.pathname; if (location.port != "") { var cF = "/:" + location.port; var cG = Lb.lastIndexOf(cF); if (cG == 0) { Lb = Lb.substring(cF.length, Lb.length); } } var K = Lb.lastIndexOf(".nsf"); if (K > 0) { Lb = Lb.substring(0, K); Lb = Lb.substring(0, Lb.lastIndexOf('/')+1); return Lb; } return "/QuickPlace/" +  HP + "/"; } function  getAbsoluteHaikuURL ( page)  { return Lk () + La( page); } function gotoHash(s) { location.hash = s; } function bO( TT)  { var szCommonName = ""; if ( TT.length > 3 && TT.indexOf("/") > 3) { szCommonName = TT.substring(3, TT.indexOf("/")); } else {  szCommonName = TT; } return szCommonName; } function ag( CY) { var i; for( i=0; i<CY.length; i++) { if( CY.charCodeAt( i) < '0'.charCodeAt( ) ||  CY.charCodeAt( i) > '9'.charCodeAt( ))  return( false); } return( true); } function buildUrl (nsfName, HP) { if (HP) return getAbsoluteHaikuDirURL () + HP + "/" + nsfName; else return getAbsoluteHaikuURL () + nsfName; } function  Lc (page)  { var Ld = ""; var Le = "/QuickPlace/"; Ld =  Lg (page); Ld = Ld.substring(0, Ld.lastIndexOf('/')- Le.length + 1);  return Ld; } function  Lf (page)  { return Lk () + Lc ( page); } function  Lg (page)  { var Ld = ""; Ld =  La (page);  Ld = Ld.substring(0, Ld.lastIndexOf('/'));  Ld = Ld.substring(0, Ld.lastIndexOf('/')+1); return Ld; } function  getAbsoluteHaikuDirURL (page)  { return Lk () + Lg( page); } function  Lh (page)  { if (currentRoom && currentRoom.IW) { return Lk () + La (page) + currentRoom.IW; } else { return Lk () + La (page)  + "Main.nsf"; } } function  getAbsoluteRoomPath (page)  { if (currentRoom && currentRoom.IW) { return La (page) + currentRoom.IW; } else { return La (page) + "Main.nsf"; } } function Lj (page)  { return Lh (page) + "/$skip/$skip/"; }	 var Ll = new Array( "<",">"); var Lm = new Array("&lt;","&gt;");  function Ln(pageFrame, listContext, skipCt, sf) { var Lo		= pageFrame.Bo; var Lp	= pageFrame.Bq; var JV				= ""; var cI     = (typeof (skipCt) == "undefined" ? 1 : skipCt); JV = '<table border="0" width="100%" cellspacing="2" cellpadding="2"><tr><td width="5%" valign="middle">'; JV += '<select size=6 name=Lo>'; JV += '<option>' + '(use the arrows to reorder items)' + '</option>'; for (var i = 0; i < Lo.length; i++) { JV += '<option value=' + Lp[i] + '>' + MS(Lo[i],Ll,Lm); } JV += '</select></td>'; JV += '<td width="1%" valign="middle">'; var cJ=""; var bQ = ""; if ( h_ClientBrowser.SY()) { cJ = 'reorderUp'; bQ = ' border=0  width="23" height="24" '; bQ += ' onMouseOver="MN(this, 0,\'' + cJ + '\','; bQ += '\'' + "../../../$resources.nsf" + "/h_ResourcesByName/" + 'ReorderUpHiLite.gif' + "/$FILE/" + 'ReorderUpHiLite.gif' + '\');"';  bQ += ' onMouseOut="MN(this, 0,\'' + cJ + '\',' + '\'' + "../../../$resources.nsf" + "/h_ResourcesByName/" + 'ReorderUp.gif' + "/$FILE/" + 'ReorderUp.gif' + '\');"'; bQ += ' ALT=' + 'Up'; JV += '<a href="javascript:void 0" onclick="javascript:Lq(document.forms[\'h_PageUI\'].Lo, -1,' + cI + '); return false;">'; JV += MP("../../../$resources.nsf" + "/h_ResourcesByName/" + "ReorderUp.gif" + "/$FILE/" + "ReorderUp.gif",cJ,bQ); JV += '</a><br>'; } else { JV += '<a href="javascript:void 0" onclick="javascript:Lq(document.forms[\'h_PageUI\'].Lo, -1,' + cI + '); return false;" onMouseOver=\'javascript:document.reorderUp.src="' + "../../../$resources.nsf" + "/h_ResourcesByName/" + 'ReorderUpHiLite.gif' + "/$FILE/" + 'ReorderUpHiLite.gif' + '";\' onMouseOut=\'javascript:document.reorderUp.src="' + "../../../$resources.nsf" + "/h_ResourcesByName/" + 'ReorderUp.gif' + "/$FILE/" + 'ReorderUp.gif' + '";\'><img name="reorderUp" border=0 width="23" height="24" src='+ "../../../$resources.nsf" + "/h_ResourcesByName/" + 'ReorderUp.gif' + "/$FILE/" + 'ReorderUp.gif' + "></a><br>"; } JV += '<img scr="/icons/onepixel.gif" width="1" height="4"><br>'; if ( h_ClientBrowser.SY()) { cJ = 'reorderDown'; bQ = ' border=0  width="23" height="24" '; bQ += ' onMouseOver="MN(this, 0,\'' + cJ + '\','; bQ += '\'' + "../../../$resources.nsf" + "/h_ResourcesByName/" + 'ReorderDownHiLite.gif' + "/$FILE/" + 'ReorderDownHiLite.gif' + '\');"';  bQ += ' onMouseOut="MN(this, 0,\'' + cJ + '\',' + '\'' + "../../../$resources.nsf" + "/h_ResourcesByName/" + 'ReorderDown.gif' + "/$FILE/" + 'ReorderDown.gif' + '\');"'; bQ += ' ALT=' + 'Down'; JV += '<a href="javascript:void 0" onclick="javascript:Lq(document.forms[\'h_PageUI\'].Lo, 1,' + cI + '); return false;">'; JV += MP("../../../$resources.nsf" + "/h_ResourcesByName/" + "ReorderDown.gif" + "/$FILE/" + "ReorderDown.gif",cJ,bQ); JV += '</a><br>'; } else { JV += '<a href="javascript:void 0" onclick="javascript:Lq(document.forms[\'h_PageUI\'].Lo, 1,' + cI + '); return false;" onMouseOver=\'javascript:document.reorderDown.src="' + "../../../$resources.nsf" + "/h_ResourcesByName/" + 'ReorderDownHiLite.gif' + "/$FILE/" + 'ReorderDownHiLite.gif' + '";\' onMouseOut=\'javascript:document.reorderDown.src="' + "../../../$resources.nsf" + "/h_ResourcesByName/" + 'ReorderDown.gif' + "/$FILE/" + 'ReorderDown.gif' + '";\'><img name="reorderDown" border=0 width="23" height="24" src='+ "../../../$resources.nsf" + "/h_ResourcesByName/" + 'ReorderDown.gif' + "/$FILE/" + 'ReorderDown.gif' + "></a><br>"; } JV += '</td><td valign="middle" align="left">' + '<font size="1">You can reorder an item in the list by clicking on the item and then clicking on the up/down arrow.</font>' + '</td></tr></table>'; if ( isNaN( listContext)) { pageInput(pageFrame, listContext, JV, sf); } else { if (listContext == 0) 
 pageInput(pageFrame, 'Do you want to reorder the pages?', JV, sf); else if (listContext == 1) pageInput(pageFrame, 'Do you want to reorder the fields on this form? ' + '', JV, sf); else if (listContext == 2) pageInput(pageFrame, 'You can reorder the columns in the list below:', JV, sf); else if (listContext == 3) pageInput(pageFrame, '<b>Reorder.</b> Do you want to change the order of the table of contents of this room?', JV, sf); else if (listContext == 4) pageInput(pageFrame, '<B>Reorder forms.</B> Do you want to change the order in which the forms are presented to authors?', JV, sf); } } function Lq (reorderListArg, moveDirection, cI) { var Lr = reorderListArg.length; if (Lr == 1) return; var Ls = reorderListArg.selectedIndex; if (Ls == Lr - 1 && moveDirection == "1") return; if ((Ls < cI) || (Ls == cI && moveDirection == "-1")) { if (cI == 1 || Ls == 0) return; alert ('The Title, Author, and Modified columns, when visible, are always the first three columns in a folder. Please select any other column to reorder'); return; } var Lt = reorderListArg.options[Ls].text; var Lu = reorderListArg.options[Ls].value; reorderListArg.options[Ls].text = reorderListArg.options[Ls + moveDirection].text; reorderListArg.options[Ls].value = reorderListArg.options[Ls + moveDirection].value; reorderListArg.options[Ls + moveDirection].text = Lt; reorderListArg.options[Ls + moveDirection].value = Lu; reorderListArg.options[Ls + moveDirection].selected = true; } function F (name,value,expires,path,domain,secure)  { document.cookie = escape(name) + "=" + escape (value) + ((expires) ? "; expires=" + expires.toGMTString() : "") + "; path=" + ((path) ? path : "/") + ((domain) ? "; domain=" + domain : "") +    ((secure) ? "; secure" : ""); } function MB (radioControl, radioValue) { if (!isNaN (radioControl.length)) { var i; for (i = 0; i < radioControl.length; i++) { if (radioControl [i].value == radioValue) { radioControl [i].checked = true; break; } } } else { radioControl.checked = true; } } function Bw( radioControl) { if (!isNaN (radioControl.length)) { var i; for (i = 0; i < radioControl.length; i++) { if (radioControl [i].checked == true) { return radioControl [i].value; } } } else { return radioControl.value; } } function MC (radioControl) { if (!isNaN (radioControl.length)) { var i; for (i = 0; i < radioControl.length; i++) { radioControl [i].checked = false; } } else { radioControl.checked = false; } } function cL( selectControl) { if (!isNaN (selectControl.length)) { var i; for (i = 0; i < selectControl.length; i++) { if (selectControl[i].selected == true) { return selectControl[i].value; } } } else { return selectControl.value; } } function MD (selectControl, selectValue) { if (!isNaN (selectControl.length)) { var i; for (i = 0; i < selectControl.length; i++) { if (selectControl.options [i].value == selectValue) { selectControl.options [i].selected = true; selectControl.selectedIndex = i; break; } } } else { selectControl.selectedIndex = 0; } } function ME (selectControl, selectValue) { if (!isNaN (selectControl.length)) { var i; for (i = 0; i < selectControl.length; i++) { if (selectControl.options [i].text == selectValue) { selectControl.options [i].selected = true; selectControl.selectedIndex = i; break; } } } else { selectControl.selectedIndex = 0; } } var MM = new Array(); var cO = new Array(); function MN( winObj, nDirect, Cb, Hv) { checkImage = new Image(); checkImage.src = Hv; var	i; var MO; if ( typeof(winObj) == "undefined") { return; } if ( nDirect == 1) { MO = winObj; } else { MO = eval( "winObj.document." + Cb); } if (( typeof( MO) == "undefined") || ( typeof( MO.src) == "undefined")) { return; } for ( i = 0; i < MM.length; i++) { if ( MM[i].src == checkImage.src) { MO.src = MM[i].src; return; } } i = MM.length; MM[i] = checkImage; MO.src = MM[i].src; return; } function MP( URLString, ImgName, ImgExtra) { var MQ; MQ = '<img name=' + ImgName + ' src="' + URLString + '" ' + ImgExtra + ' >'; return MQ; } function MS( strToFix, VU, Wa) { var i; for ( i = 0; i < VU.length; i++) { strToFix = LL( strToFix, VU[i], Wa[i]); } return strToFix; } function LL( strToFix, VU, Wa) { var index; var Fb = false; var IH = strToFix; strToFix = ""; while ( !Fb) { index = IH.indexOf(VU); if ( index != -1) { strToFix += IH.substring( 0, index) + Wa; if ( index < (IH.length - VU.length)) { IH = IH.substring(index+VU.length); } else { Fb = true; } } else { strToFix += IH; Fb = true; } }	 return strToFix; } function convertToHTML(strToFix) { var strBrackets = new Array("<",">"); var strSafeBrackets = new Array("&lt;","&gt;"); strToFix = (typeof(strToFix) != "undefined") ? MS(strToFix, strBrackets, strSafeBrackets) : strToFix; return strToFix; } function stripLeadingAndTrailingSpaces(theString) { if (theString.length != 0) { while (theString.charAt(0) == " ") theString = theString.substring (1); } if (theString.length != 0) { while (theString.charAt(theString.length - 1) == " ") theString = theString.substring (0, theString.length - 1); } return (theString); } function MV( decNum) { hexVals = "0123456789ABCDEF"; if ( decNum > 255) { decNum = 255; } var i = decNum % 16; var j = ( decNum - 1) / 16; var result = hexVals.charAt(j); result += hexVals.charAt(i); return result; } var Sn = new Array(); var So = new Array(); var Sp = new Array(); var Sq = new Array(); function cP(tmpName){ if (typeof tmpName != "undefined") { var Bl = new Array("<", ">"); var Bm = new Array("&lt;", "&gt;"); C(self, MS(tmpName, Bl, Bm) + " " + v); } } function cQ( theObj, FP, bCenter) { var cR = ""; var cS = ""; if ( bCenter) { cR = '<center>'; cS = '</center>'; } theObj.document.write(cR + '<img src="' + FP + '">' + cS); } function ca( item, list) { for (var j = 0; j < list.length; j++) { if (item == list[j]) { return 1; } } return 0; } function cb(theString, theChar) { var cc; var MQ = ""; cc = theString.indexOf(theChar); if ( cc == -1) { return theString; } while ( cc != -1) { MQ = theString.substring(0, cc);				 MQ += escape(theChar); if ( cc < (theString.length - 1)) { MQ += theString.substring(cc+1); } theString = MQ; cc = theString.indexOf(theChar); } return MQ; } function openRemote( type, param) { var cg; var kV; if (type == 0) { kV = Lh(self) + '/' + (h_Context_InFolder==1?h_Context_InFolderName:'h_Toc')+"/$new/?EditDocument&Form=h_RemoteUI"+"&PreSetFields=h_EditAction;"+"h_New"+",h_SetReadScene;"+'h_StdPageRead'+",h_SetEditScene;"+'h_RemoteSearchResults'+",h_ReturnToPage;"+h_PageUnid + ",h_SetRemote;1,h_SearchString;" +  escape(h_SearchString) + ",h_SearchAuthor;" + escape(h_SearchAuthor) + ",h_SearchDate;" + escape(h_SearchDate) + ",h_SearchDateTypeString;" +  h_SearchDateTypeString + ",h_SearchOrder;" + h_SearchOrder + ",h_SearchCount;" + h_SearchCount + ",h_SearchStart;" +  h_SearchStart + ",h_SetErrorScene;h_RemoteError,h_SetEditCurrentScene;h_RemoteSearchResults,h_SetQuickBrowse;1"; } else { kV = Lh(self) + '/' + (h_Context_InFolder==1?h_Context_InFolderName:'h_Toc')+"/$new/?EditDocument&Form=h_PageContentUI"+"&PreSetFields=h_EditAction;"+"h_New"+",h_SetReadScene;"+'h_StdPageRead'+",h_SetEditScene;"+'h_WhatsNewResults'+",h_ReturnToPage;"+h_PageUnid +  ",h_SetErrorScene;h_RemoteError,h_SetUpdateWhatsNew;0,h_SetWhatsNewDays;" + param + ",h_SetQuickBrowse;1"; } cg = window.open( kV, "Remote", "resizable=yes,width=200,height=440,top=20,left=20,toolbar=no,scrollbars=yes,menubar=no,status=no"); if (cg != null) { cg.focus(); } } function changeOpenerUrl( url)  { if (typeof(opener) != "undefined") { if ( url.charAt(0) == "/") { opener.location.href  = Lf() + url; } else { opener.location.href  = url; } } } function cj( theObj) { if (theObj.CV.h_tmpMessage.value.length >= 32*1024) { alert("Please enter a shorter comment."); theObj.CV.h_tmpMessage.focus(); return false; } else if (bR( theObj, "Comment", "h_tmpMessage",  false, "") == false) { theObj.CV.h_tmpMessage.focus(); return false; } else if (theObj.CV.h_SetPublishEmailSubject.value.length >= 1024) { alert("Please enter a shorter subject."); theObj.CV.h_SetPublishEmailSubject.focus(); return false; } else if (bR( theObj, "Subject", "h_SetPublishEmailSubject",  false, "") == false) { theObj.CV.h_SetPublishEmailSubject.focus(); return false; }  else if (theObj.CV.h_SetPublishEmailAddresses.value.length >= 1024) { alert("Please enter a shorter \"To\" field."); theObj.CV.h_SetPublishEmailAddresses.focus(); return false; } else if (bR( theObj, "To", "h_SetPublishEmailAddresses",  false, "") == false) {					  theObj.CV.h_SetPublishEmailAddresses.focus(); return false; } else if (theObj.CV.h_SetPublishCCEmailAddresses.value.length >= 1024) { alert("Please enter a shorter \"cc\" field."); theObj.CV.h_SetPublishCCEmailAddresses.focus(); return false; } else if (bR( theObj, "CC", "h_SetPublishCCEmailAddresses",  false, "") == false) {					  theObj.CV.h_SetPublishCCEmailAddresses.focus(); return false; } else if (theObj.CV.h_SetPublishBCCEmailAddresses.value.length >= 1024) { alert("Please enter a shorter \"bcc\" field."); theObj.CV.h_SetPublishBCCEmailAddresses.focus(); return false; } else if (bR( theObj, "BCC", "h_SetPublishBCCEmailAddresses",  false, "") == false) {					  theObj.CV.h_SetPublishBCCEmailAddresses.focus(); return false; } return true; } function getFileNameFromTypeFileTag(UD, KP) { var theFileHolder = eval ("UD." + KP); if (typeof (theFileHolder) == "undefined") return (""); if (theFileHolder.value != '')  { theFileHolder.focus(); theFileHolder.blur(); var Bg = theFileHolder.value; if (h_ClientBrowser.HN()) { if (h_ClientBrowser.Sb() && Bg.indexOf('%2F') != -1) Bg = Bg.substring(Bg.lastIndexOf("%2F")+3); else if (Bg.indexOf('/') != -1) Bg = Bg.substring(Bg.lastIndexOf("/")+1); } else { Bg = Bg.substring(Bg.lastIndexOf("\\")+1); } return (Bg); } else  { return (""); } } function BR(i,t) { document.write('<table border="0" width="100%" cellspacing="2" cellpadding="2"><tr>'); document.write('<td align="left" valign="middle" width="11%">'); document.write('<img src=/icons/warningm.gif name=WarningMImg width="60" height="57">' + '</td>'); document.write('<td align="left" valign="middle" width="89%"><p><b>' + t + '</b></p></td>'); document.write('</tr></table>'); } function BS() { document.write('<table border="0" width="100%" cellspacing="0" cellpadding="0"><tr><td bgcolor="#FFFFCC">&nbsp;</td></tr></table><br>'); document.write('<table border="0" width="100%" cellspacing="2" cellpadding="2">'); document.write('<tr><td width="11%">'); document.write(MP("../../../$resources.nsf/h_ResourcesByName/singlepixel.gif/$FILE/singlepixel.gif?OpenElement",'OnePixelImg',' width="60" height="1" ') + '</td>'); document.write('</td><td width="89%"><table border="0" width="99%" cellspacing="0" cellpadding="4">'); } function BT() { document.write('<tr><td width="16%" align="left" valign="top">&nbsp; </td><td align="left" width="84%">&nbsp;</td></tr></table></td></tr>'); document.write('</table>'); document.write('<table border="0" width="100%" cellspacing="0" cellpadding="0"><tr><td bgcolor="#FFFFCC">&nbsp;</td></tr></table>'); document.write('<br>&nbsp;<p>&nbsp;</p>'); } function BU(label, text) { document.write('<tr><td width="16%" align="left" valign="top"><b>' + label + '</b></td>'); document.write('<td align="left" width="84%">' + text + '</td>'); document.write('</tr><tr><td width="16%" align="left" valign="top">&nbsp; </td><td align="left" width="84%">&nbsp;</td></tr>'); } function isInAnyTaskView() { if (	isInTaskListView() || isInToDoView() || isInMilestoneView() ) { return (true); } else { return (false); } } function isInTaskListView() { if (	(h_Context_InFolder==1?h_Context_InFolderName:'h_Toc') == "h_TaskList" || location.href.toUpperCase( ).indexOf( "h_TaskList".toUpperCase()) != -1	|| location.href.toUpperCase( ).indexOf( "D394FAD65829852F852567F20068D0CF".toUpperCase()) != -1) { return (true); } else { return (false); } } function isInToDoView() { if (	location.href.toUpperCase( ).indexOf( "h_TaskToDoList".toUpperCase())    != -1	|| location.href.toUpperCase( ).indexOf( "FC26FF80844B992B052568B0005C0ADA".toUpperCase()) != -1)	{ return (true); } else { return (false); } } function isInMilestoneView() { if ( location.href.toUpperCase( ).indexOf( "h_TaskMilestoneList".toUpperCase())    != -1	|| location.href.toUpperCase( ).indexOf( "3E4E4EF48A6899A0052568B0005C0AAC".toUpperCase()) != -1)	{ return (true); } else { return (false); } } function hv(fromWhere) { var hw; var hx = hy( fromWhere); if ( (typeof(hx) == "undefined") || (hx == "") || ((hx != "h_UserDirTypeNT") &&  (hx != "h_UserDirTypeLDAP") && (hx != "h_UserDirTypeNAB")) )  { hw = true; } else { hw = false; } return hw } function hy(directoryString) { var hz = ''; var index = directoryString.indexOf(':'); var iA; if ( index != -1) { iA = directoryString.indexOf(':', index+1); if ( iA != -1) { hz = directoryString.substring(index+1, iA); } } return hz; } function isPageAuthor( stringList, arrayGroups) { var bIsAuthor = false; if ((h_Authors.indexOf(haiku.TT) > -1) || (haiku.userName != "Anonymous" && (h_Authors.indexOf("h_Members") > -1 || h_Authors.indexOf("*") > -1)) || (Iu == 6 && (typeof(h_AllowEdit) != "undefined" && h_AllowEdit == "1"))){ bIsAuthor = true; } else { for ( var i = 0; i < arrayGroups.length; i++) { if ( stringList.indexOf( arrayGroups[i]) > -1) { bIsAuthor = true; break; } } } return bIsAuthor; } function GetUrlArgument( Dt, szArg) { var cu = ""; var K, EB; var szSearchString = "&" + szArg + "="; K = Dt.indexOf( szSearchString); if (K != -1) { bFound = true; EB = Dt.indexOf ("&", K+1); if (EB != -1)  { cu = Dt.substring(K + szSearchString.length, EB); } else { cu = Dt.substring(K + szSearchString.length); } } return cu; } function IsTextAbstractNotifiable( szTextAbstract) { var hw = true; if ( typeof( szTextAbstract) == "undefined") { szTextAbstract = ""; } if ( szTextAbstract == "")  { hw = false; } else if ( szTextAbstract == "1")  { hw = false; } else if ( typeof( h_Form) == "undefined") { hw = false; } else if ( h_Form == "E9077196440B29CF852567E500525B7F" ||  h_Form == "AA477BBFCF481B9A852567E50055D32C") { hw = false; } else if ( h_Form == "025BBAB4299CCFDF0525670800167246") { if ( typeof( h_HTMLImportOriginalFile) == "undefined" || h_HTMLImportOriginalFile == "") { hw = false; } else { var iIndexOfFileExtension = h_HTMLImportOriginalFile.lastIndexOf('.'); if ( iIndexOfFileExtension != -1)  { var szFileType = h_HTMLImportOriginalFile.substring( iIndexOfFileExtension+1); if ( szFileType.toLowerCase() == "xls" ||  szFileType.toLowerCase() == "ppt" )  { hw = false; } } } } return hw; } function ck( title, href, helpText, bDefault, bPriority) { if ( typeof( bDefault)  == "undefined") { bDefault = false; } if ( typeof( bPriority) == "undefined") { bPriority = false; } if ( typeof( helpText) == "undefined") { helpText = ""; } if ( bPriority) { Tw[Tw.length] = new Object( ); Tw[Tw.length-1].title = title; Tw[Tw.length-1].href	 = href; Tw[Tw.length-1].defaultEntry = bDefault; Tw[Tw.length-1].helpText = helpText; } else { sy[sy.length] = new Object( ); sy[sy.length-1].title = title; sy[sy.length-1].href	 = href; sy[sy.length-1].defaultEntry = bDefault; sy[sy.length-1].helpText = helpText; } } function cl( title, href, helpText) { if ( typeof( helpText) == "undefined") { helpText = ""; } sz[sz.length] = new Object( ); sz[sz.length-1].title = title; sz[sz.length-1].href	 = href; sz[sz.length-1].helpText = helpText; } function cm( title, href, helpText) { if ( typeof( helpText) == "undefined") { helpText = ""; } tA[tA.length] = new Object( ); tA[tA.length-1].title = title; tA[tA.length-1].href	 = href; tA[tA.length-1].helpText = helpText; } var Nt = "DDE9723EDA9D9ECE852566D5005D55E9"; function gotoHelp(helpUnid) { var co; var cp; if (typeof (helpUnid) != "undefined" && typeof (helpUnid) != "" && helpUnid != "") { co = helpUnid; } else { co = Nt; } window.open(Lk( ) + Lg( self) + 'help/Main.nsf/h_Index/' + co + '/?OpenDocument',  'Help',  'width=600,height=400,resizable=yes,scrollbars=yes,toolbar=yes'); } function cq(providedTutorialURL) { var cr = Lf(self) + '/tutorial'; if (typeof (providedTutorialURL) != "undefined" && typeof (providedTutorialURL) != "") { tutorialURLToUse = providedTutorialURL; } else { tutorialURLToUse = cr; } window.open(tutorialURLToUse,  'Tutorial',  'width=425,height=500,resizable=yes,scrollbars=yes,toolbar=yes'); } function cs( )  { var url = location.href; if ( url.toUpperCase( ).indexOf("?OPENFORM") == -1 && url.toUpperCase( ).indexOf("$NEW") == -1 && url.toUpperCase( ).indexOf( h_PageUnid.toUpperCase( )) == -1) { url = Lh(self) + '/' + "$defaultview" + '/' + h_PageUnid + "/" + "/?OpenDocument"; } if ( url.indexOf( "?") == -1) { if ( url.toUpperCase( ).substring( url.length-4) == ".NSF") {  url += "?OpenDatabase"; } else { url += "/?OpenDocument"; } }  url = url.replace( /\&Form\=[A-Za-z_0-9]*/i, ""); url += "&Form=h_PrintUI"; window.open( url,  "Print",  'width=425,height=500,resizable=yes,scrollbars=yes,menubar=yes,toolbar=yes'); } function makeContextObject ( szVariableName)  { this.GQ		= szVariableName; this.cu	= ""; } function makeSceneContextObject ()  { this.cv;			/* Array */ this.cw;			/* String */ /* private */ this.init					= SceneContext_init;	 this.cx			= SceneContext_ParseContext;  this.cy				= SceneContext_GetContext; this.cz			= SceneContext_ApplyContext; this.dA			= SceneContext_UpdateContext; this.dB		= SceneContext_AddContextVariable; this.dC		= SceneContext_AddContextObject; /* public */ this.dD				= SceneContext_AddContext; this.dE			= SceneContext_LoadContext; this.dF			= SceneContext_SaveContext; this.init( ); } function SceneContext_init( )  { this.cv	= new Array( ); this.cw	= ""; } function  SceneContext_AddContextVariable( szVariableName, szVariableValue)  { this.cv[szVariableName]	= new makeContextObject( szVariableName); if (typeof( szVariableValue) != "undefined") { this.cv[szVariableName].cu = szVariableValue; } } function  SceneContext_AddContext( GQ)  { var data; eval ( 'data = ' + GQ); if ( typeof( data) == "object") { this.dC( GQ); } else { this.dB ( GQ); } } function  SceneContext_AddContextObject( szObjectName) { var dH; eval ( 'dH = ' + szObjectName); for (var szObjectMember in dH) { var dI; eval( 'dI = ' + szObjectName + "['" + szObjectMember + "']"); if ( typeof( dI) == "object") { this.dC( szObjectName + "['" + szObjectMember + "']"); } else { this.dB( szObjectName + "['" + szObjectMember + "']"); } } } function  SceneContext_ParseContext( dK)  { var dJ = dK.split( "&&&"); for (var i=0; i < (dJ.length-1); i+=2) { this.dB( dJ[i], dJ[i+1]); } } function  SceneContext_LoadContext( dK)  { this.dA( ); if (typeof(dK) == "undefined") { this.cx( h_SceneContext.value); } else { this.cx( dK); } this.cz( ); } function  SceneContext_SaveContext( pForm)  { var dK = this.cy( ); pForm.h_SceneContext.value = dK; } function SceneContext_ApplyContext( ) { for (var ContextIndex in this.cv) { eval(this.cv[ContextIndex].GQ + '=  this.cv[ContextIndex].cu'); } } function SceneContext_UpdateContext( )  { for (var ContextIndex in this.cv) { eval('this.cv[ContextIndex].cu = ' + this.cv[ContextIndex].GQ); } } function  SceneContext_GetContext( )  { var dL = ""; this.dA( ); for (var ContextIndex in this.cv) { dL +=	this.cv[ContextIndex].GQ  + "&&&" +  this.cv[ContextIndex].cu + "&&&"; } return dL; } function dM( ) { } UM = new dM( ); function dN( ) { /* variables */ /* public */ this.dO	= null;  this.dP		= -1; this.dQ			= ""; this.dR			= ""; this.m_szHelpText		= ""; this.dS	= ""; this.dT	= false; this.dU		= false; /* protected */ this.dV = new Array( ); } /* start of functions */ /* protected */ dM.prototype.IsSelected						= de; dM.prototype.initLimerick					= dX; dM.prototype.initLimerickObject			= db; dM.prototype.GetName							= dc; dM.prototype.GetURL							= dd; dM.prototype.GenerateNameHTML				= dj; dM.prototype.GenerateNameHTMLUsingText	= dh; dM.prototype.GenerateNameHTMLUsingLimerick = df; dM.prototype.GenerateAnchorStartHTML		= di; /* public */ dM.prototype.initMenuEntry					= dN; dM.prototype.init								= dW; dM.prototype.GenerateHTML					= dk; /* end of functions */ function dW( eY, Tu, GQ, FB, bIsSelected, szHelpText, fQ) { this.initMenuEntry( );  if ( typeof (Tu) != "undefined") this.dO	= Tu; if ( typeof (GQ) != "undefined") this.dQ		= GQ; if ( typeof (FB) != "undefined") this.dR		= FB; if ( typeof (eY) != "undefined") this.dP	= eY; if ( typeof( szHelpText) != "undefined") this.m_szHelpText	= szHelpText; if ( typeof( bIsSelected) != "undefined") this.dT	= bIsSelected; if ( typeof( fQ) != "undefined") this.dU	= fQ; } function dX( ) { if (this.dV.length == 0) { var dY = new Hw( ); var dZ = new Hw(); var da = new Hw(); this.initLimerickObject( 0, dY); this.dV[0]		= dY.Hu( ); this.initLimerickObject( 1, dZ); this.dV[1]	= dZ.Hu( ); this.initLimerickObject( 2, da); this.dV[2]	= da.Hu( ); } } function db( state, oLimerick) { oLimerick.TextString = this.GetName( ); oLimerick.FontName = "Verdana"; oLimerick.FontPointSize = 10;  oLimerick.FontBold = '0';  oLimerick.FontColor = 'FFFFFF'; if ( state == 0)  { if (typeof(h_QPTocComponent_Text) != "undefined") oLimerick.TH(h_QPTocComponent_Text);  } else if ( state == 1)  { if (typeof(h_QPTocComponent_Hover) != "undefined") oLimerick.TH(h_QPTocComponent_Hover);  } else  { if (typeof(h_QPTocComponent_Selected) != "undefined") oLimerick.TH(h_QPTocComponent_Selected);  } var Jc = oLimerick.Hu( ); return (Jc); } function dc( ) { var GQ = this.dQ; for (var i=0; i < this.dO.dz.length; i++) { if ( this.dQ.toUpperCase( ) == this.dO.dz[i].oldName.toUpperCase( )) { GQ = this.dO.dz[i].newName; } } return GQ; } function dd( ) { return this.dR; } function de( ) { return this.dT; } function df(name) { var Tm = ""; Tm += '<img hspace=0 align=middle border=0 name="' + name +  '" src='; if ( this.IsSelected( )) { Tm += '"' + this.dV[2] + '"'; } else { Tm += '"' + this.dV[0] + '"'; } Tm += '>'; return Tm; } function dh() { return this.GetName( ); } function di(iStyle, name) { var Tm = "<a"; if (this.dS != "") {  Tm += " class=" + this.dS; } if (this.dU) { Tm += ' target=_blank'; } if (this.m_szHelpText != "") { Tm += ' title="' + this.m_szHelpText + '"'; } Tm += ' href=' + this.dR; if (iStyle == 1) { Tm += ' onMouseOver="document.' + name + '.src=' + "'" + this.dV[1] + "'" + ';"'; Tm += ' onMouseOut="document.' + name + '.src='; if (this.IsSelected()) { Tm += "'" + this.dV[2] + "'"; } else { Tm += "'" + this.dV[0] + "'"; } Tm += '"'; } Tm += '>'; return Tm; } function dj(iStyle) { var Tm = ""; var name = "h_MENU" + this.dP + "_" + gv(); if (iStyle == 1) this.initLimerick( ); if (this.dR != "")	 Tm += this.GenerateAnchorStartHTML(iStyle, name); if (iStyle == 1) { Tm += this.GenerateNameHTMLUsingLimerick(name); } else if (iStyle == 0) { Tm += this.GenerateNameHTMLUsingText( ); } else { Tm += this.GenerateNameHTMLUsingText( ); } if (this.dR != "")	 Tm += '</a>'; return Tm; } function dk( iStyle) { var Tm = ""; var dl; if (this.IsSelected( )) { dl = this.dO.dv; } else { dl = this.dO.du; } if ( this.dP > 0) { Tm += this.dO.dw; } for ( var i=0; i < dl.length; i++) { if ( dl[i].type == 1) { Tm += dl[i].text; } else  if ( dl[i].type == 0) { if ( typeof( dl[i].tokens["attribute"]) != "undefined") { if ( dl[i].tokens["attribute"].value.toLowerCase( ) == "anchor.href") { Tm += this.dR; } else  if ( dl[i].tokens["attribute"].value.toLowerCase( ) == "anchor.text") { Tm += this.dQ; } else  if ( dl[i].tokens["attribute"].value.toLowerCase( ) == "selected") { Tm += (this.dT ? "true" : "false"); } } else { if ( typeof( dl[i].tokens["class"]) != "undefined") { this.dS = dl[i].tokens["class"].value; } Tm += this.GenerateNameHTML( iStyle); } } } return Tm; } function dm( ) { } UM = new dM( ); dm.prototype.AddEntry			= eZ; dm.prototype.GenerateHTML		= ea; dm.prototype.init					= dn; dm.prototype.initMenu			= dp; dm.prototype.initEntries		= eX; dm.prototype.initIteratingValueFormatString				= eA; dm.prototype.initIteratingValueSelectedFormatString	= eB; dm.prototype.initEmptyFormatString							= eC; dm.prototype.initDelimiter										= eD; dm.prototype.initPrefix											= eF; dm.prototype.initPostfix										= eE; dm.prototype.initReplaceStrings								= eV; dm.prototype.initComponentId									= eG; dm.prototype.IsForComponent									= eH; dm.prototype.CopyMenu			= eb; dm.prototype.PreProcessEntries	= Menu_PreProcessEntries; dm.prototype.RemoveEmptyEntries	= Menu_RemoveEmptyEntries; dm.prototype.PreProcessString	= Menu_PreProcessString; dm.prototype.Tokenize			= eI; dm.prototype.TokenizeTag		= eO; function dn( ) { this.initMenu( ); } function dp( ) { /* variables */ this.dq										= new Array( ); this.dr										= ""; this.ds										= 0; this.dt								= ""; this.du							= new Array( ); this.dv				= new Array( ); this.dw										= ""; this.dx											= ""; this.dy											= ""; this.dz									= new Array( ); this.initIteratingValueFormatString( "<Item" + ">" + "&nbsp;"); this.initIteratingValueSelectedFormatString( "<Item" + ">" + "&nbsp;"); } function eA( szFormat)  { this.du = this.Tokenize( szFormat); } function eB( szFormat)  { this.dv = this.Tokenize( szFormat); } function eC( szFormat)  { this.dt	= szFormat; } function eD( szDelimiter) { this.dw	= szDelimiter; } function eE( szPostfix) { this.dy	= szPostfix; } function eF( szPrefix) { this.dx	= szPrefix; } function eG( iId) { this.ds	= iId; } function eH( iId) { return (this.ds	== iId); } function Menu_PreProcessString( string) { if ( h_ClientBrowser.SW (4)) { string = string.replace( /\<item/gi, "\<Item"); } else { if (FALSE) ; else ;; } return string; } function eI( string) { string = this.PreProcessString( string); var dl = new Array( ); var eJ = 0; var Fb = false; while ( !Fb) { var eK = string.indexOf( "<Item", eJ); var eL = string.indexOf( ">", eK); if ( eL == -1) { if (FALSE) ; else ;; eL = string.length-1; } if ( eK == -1) { if ( (eJ-1) != string.length) { var eM = new Object( ); eM.type	 = 1; eM.text = string.substring( eJ); dl[dl.length] = eM; } Fb = true; break; } if ( eJ != eK) { var eM = new Object( ); eM.type	 = 1; eM.text = string.substring( eJ, eK); dl[dl.length] = eM; } var eM = new Object( ); eM.type	 = 0; eM.text  = string.substring( eK, eL+1); eM.tokens = this.TokenizeTag( eM.text); dl[dl.length] = eM; eJ = eL+1; } return dl; }  function	eN( string) { while( string.charAt( 0) == ' ') string = string.substring( 1); return string; } function eO( string) { var dl = new Array( ); var eJ = "<Item".length; var eP = string.substring( eJ); var Fb = false; while ( !Fb) { var eQ;  eP = eN( eP); var eR = eP.indexOf( "="); if ( eR == -1) { Fb = true; break; } eQ = eP.substring( 0, eR); eP = eP.substring( eR+1); eP = eN( eP); var delimiter = " "; if ( eP.charAt( 0) == "\"" ||  eP.charAt( 0) == "{"   ||  eP.charAt( 0) == "\'") { if ( eP.charAt( 0) == "{") { delimiter = "}"; } else { delimiter = eP.charAt( 0); } eP = eP.substring( 1); } var eT = eP.indexOf( delimiter); if ( eT == -1) { eT = eP.length-1; } var eU = eP.substring( 0, eT); var eM = new Object; eM.name = eQ; eM.value = eU; dl[eQ] = eM; eP = eP.substring( eT+1); } return dl; }  function eV( szReplaceString) { var eW = szReplaceString.split( "&&"); for (var i=0; i < eW.length; i++) { var eR = eW[i].indexOf( "="); if ( eR != -1) { this.dz[this.dz.length] = new Object( ); this.dz[this.dz.length-1].oldName = eW[i].substring( 0, eR); this.dz[this.dz.length-1].newName = eW[i].substring( eR+1); if ( h_ClientBrowser.SW (4)) { this.dz[this.dz.length-1].oldName = this.dz[this.dz.length-1].oldName.replace( /^[\s\t\r\n]*/, ""); this.dz[this.dz.length-1].oldName = this.dz[this.dz.length-1].oldName.replace( /[\s\t\r\n]*$/, ""); this.dz[this.dz.length-1].newName = this.dz[this.dz.length-1].newName.replace( /^[\s\t\r\n]*/, ""); this.dz[this.dz.length-1].newName = this.dz[this.dz.length-1].newName.replace( /[\s\t\r\n]*$/, ""); } else { if (FALSE) ; else ;; } } } } function eX( aNames, aURLs) { this.dq = new Array( ); for (var eY=0; eY < aNames.length; eY++) { this.AddEntry( aNames[eY], aURLs[eY]); } } function eZ( GQ, FB, szHelpText, bIsSelected, fQ, bConvertToHTML) { if ( typeof( GQ) == "undefined") { GQ = ""; } if ( typeof( bConvertToHTML) == "undefined") { bConvertToHTML = true; } if ( bConvertToHTML) { GQ = convertToHTML(GQ); } this.dq[this.dq.length] = new dM( ); this.dq[this.dq.length-1].init( this.dq.length-1, this, GQ, FB, bIsSelected,  szHelpText, fQ); } function Menu_RemoveEmptyEntries( ) { if ( this.dz.length) { var bNeedToRecreate = false; for (var eY=0; eY < this.dq.length; eY++) { if ( this.dq[eY].GetName( ) == "") { bNeedToRecreate = true; break; } } if ( bNeedToRecreate) { var aiMenuEntries = new Array; for (var eY=0; eY < this.dq.length; eY++) { if ( this.dq[eY].GetName( ) != "") { aiMenuEntries[aiMenuEntries.length] = this.dq[eY]; } } this.dq = aiMenuEntries; } } } function Menu_PreProcessEntries( ) { this.RemoveEmptyEntries( ) } function ea( iStyle) { var Tm = ""; if (typeof (iStyle) == "undefined") iStyle = 0; this.PreProcessEntries( ); if ( this.dq.length > 0) { Tm += this.dx; for (var eY=0; eY < this.dq.length; eY++) { Tm += this.dq[eY].GenerateHTML( iStyle); } Tm += this.dy; } else { Tm += this.dt; } return Tm; } function eb( sourceMenu) { if ( typeof(sourceMenu) != "undefined") { /* variables */ this.dr										= sourceMenu.dr; this.ds										= sourceMenu.ds; this.dt								= sourceMenu.dt; this.du							= sourceMenu.du; this.dv				= sourceMenu.dv; this.dw										= sourceMenu.dw; this.dx											= sourceMenu.dx; this.dy											= sourceMenu.dy; this.dz									= sourceMenu.dz; } } function ec( ) { } UM = new ec( ); /* start of functions */ /* public */ ec.prototype.initQuickPlaceDocument	= ed; ec.prototype.init							= ep; /* end of functions */ function ed( ) { this.h_Unid				= ''; this.h_Name				= ''; this.h_SystemName		= ''; this.h_Position		= 0; this.h_IsInToc			= 0; this.h_IsPublished	= 0; this.h_IsSystem		= 0; this.h_Type							= "0"; this.h_DraftVersionUNID			= ''; this.h_PublishedVersionUNID	= ''; this.h_Authors						= ''; } function ep( ) { this.initQuickPlaceDocument( ); } function eq( ) { } UM = new eq( ); /* parent */ eq.prototype								= new ec( ); /* functions */ eq.prototype.initQuickPlaceFolderDocument	= er; eq.prototype.init									= fA; eq.prototype.doesFolderPreviewDocument		= QuickPlaceFolderDocument_doesFolderPreviewDocument; function er( ) { this.h_CanAddPages	= 1; this.h_NoOptions		= 0; this.h_NoCleanup		= 0; this.h_HideNewAction	= 0; this.h_FolderStorage	= ""; this.h_FolderStyle	= "0"; this.h_Type				= "1"; this.h_FolderOptionsAbstractTitle = 'Do you want to show the first 30 words of each page?'; this.h_FavoredForm   = ""; } function fA( ) { this.initQuickPlaceDocument( ); this.initQuickPlaceFolderDocument( ); } function QuickPlaceFolderDocument_doesFolderPreviewDocument( ) { var bDoesFolderPreviewDocument = false; if ( this.h_FolderStyle == "3" || this.h_FolderStyle == "4") {  bDoesFolderPreviewDocument = true; } return bDoesFolderPreviewDocument; } function fB( /*Menu */ Tu) { if ( typeof( h_QPComponent_FormatString) != "undefined" &&  h_QPComponent_FormatString != "") { Tu.initIteratingValueFormatString( h_QPComponent_FormatString); } if ( typeof( h_QPComponent_SelectedFormatString) != "undefined" &&  h_QPComponent_SelectedFormatString != "") { Tu.initIteratingValueSelectedFormatString( h_QPComponent_SelectedFormatString); } if ( typeof( h_QPComponent_EmptyFormatString) != "undefined" &&  h_QPComponent_EmptyFormatString != "") { Tu.initEmptyFormatString( h_QPComponent_EmptyFormatString); } if ( typeof( h_QPComponent_Delimiter) != "undefined" &&  h_QPComponent_Delimiter != "") { Tu.initDelimiter( h_QPComponent_Delimiter); } if ( typeof( h_QPComponent_PrefixHTML) != "undefined" &&  h_QPComponent_PrefixHTML != "") { Tu.initPrefix( h_QPComponent_PrefixHTML); } if ( typeof( h_QPComponent_PostfixHTML) != "undefined" &&  h_QPComponent_PostfixHTML != "") { Tu.initPostfix( h_QPComponent_PostfixHTML); } if ( typeof( h_QPComponent_ReplaceString) != "undefined" &&  h_QPComponent_ReplaceString != "") { Tu.initReplaceStrings( h_QPComponent_ReplaceString); } } function fC( ) { var Tu = haiku.Ti( ); fB( Tu); Tu.initComponentId( 1); var szLink = ""; if ( !h_isBeingEdited) { szLink = "javascript:HX.Enter()"; } var GA = ""; var fD; fD = HX.Ib; var convertLogoToHTML = true;  if (( typeof(tD) != "undefined") && ( tD != "")) { GA += '<img vspace=0 hspace=0 align=middle border=0 src=' +   tD + ' alt="' + HX.Ib + '"'+ '>'; convertLogoToHTML = false; }  else  { GA += fD; } Tu.AddEntry( GA, szLink, "", false, false, convertLogoToHTML); return Tu.GenerateHTML( ); } function fE( )  { var Tu = haiku.Ti( ); fB( Tu); Tu.initComponentId( 3); if ((!haiku) || (haiku.userName == 'Anonymous')) { Tu.AddEntry( 'Sign In', "javascript:haiku.IE()", 'Sign in to this QuickPlace (members only)'); } return Tu.GenerateHTML( ); } function fF( )  { var Tu = haiku.Ti( ); fB( Tu); Tu.initComponentId( 4); if (!h_ClientBrowser.HN() && !haiku.IF() && !si() &&  h_SameTimeToken.length != 0 && HP != "Help") { Tu.AddEntry( 'Chat', "javascript:haiku.TW()", 'Join the QuickPlace Team Chat, or chat in private with specific members'); } return Tu.GenerateHTML( ); } function fG( )  { return LW(); } function fH( )  { var Tu = haiku.Ti( ); fB( Tu); Tu.initComponentId( 6); Tu.AddEntry( 'Search', "javascript:gotoHash('search')"); return Tu.GenerateHTML( ); } function fI( )  { var Tu = haiku.Ti( ); fB( Tu); Tu.initComponentId( 7); if (HP != "Help") { Tu.AddEntry( 'Help', "javascript:gotoHelp(Nt)", 'Browse or search QuickPlace Help'); } return Tu.GenerateHTML( ); } function fJ ( )  { var Tu = haiku.Ti( ); fB( Tu); Tu.initComponentId( 8); if ((!haiku.IF())) { Tu.AddEntry( 'Notify', "javascript:NotifyFormSubmit()", 'Send email, with a link to this page, to other people'); } return Tu.GenerateHTML( ); } function fK ( )  { return ""; } function fL ( )  { var Tu = haiku.Ti( ); fB( Tu); Tu.initComponentId( 10);  var n = currentRoom.h_RoomAncestorDbNames.length; var CX; var Nk = 'Home'; var fM = "Main.nsf"; var i = n-1; while (n) { Tu.AddEntry( Nk, 'javascript:Ik("' + fM + '")'); if (i == 0) break; Nk = currentRoom.h_RoomAncestorNames[i-1]; fM = currentRoom.h_RoomAncestorDbNames[i-1]; i--; } if (n) { Nk = currentRoom.Ib; fM = currentRoom.IW; } Tu.AddEntry( Nk, 'javascript:Ik("' + fM + '")'); if ( (typeof( h_Context_InFolder) != "undefined" && h_Context_InFolder == 1) || (typeof( h_Type) && h_Type == "1")) { Tu.AddEntry( h_FolderDoc.h_Name,  "../.." + "/" + "h_Toc" +'/' + h_FolderDoc.h_Unid + '/?OpenDocument'); } return Tu.GenerateHTML( ); } function fN( FB) { var fO = false; if ( !h_Context_InFolder && FB.toUpperCase().indexOf( h_PageUnid.toUpperCase()) != -1) { fO = true; } else if ( typeof( h_Context_InFolderProxyDocUnid) != "undefined" &&  h_Context_InFolderProxyDocUnid != "" &&  FB.toUpperCase().indexOf( h_Context_InFolderProxyDocUnid.toUpperCase()) != -1) { fO = true; } else if ( typeof( h_Context_InFolderName) != "undefined" &&  h_Context_InFolderName != "" &&  FB.toUpperCase().indexOf( h_Context_InFolderName.toUpperCase()) != -1) { fO = true; } else if ( location.href.toUpperCase( ).indexOf( "CE4BF888D57FB3F60525670800167218".toUpperCase()) != -1 && FB.toUpperCase().indexOf( "7CB1ED9DCD9FCEAB852567C3006E2DBE".toUpperCase()) != -1) { fO = true; } return fO; } function fP( )  { var Tu = haiku.Ti( ); fB( Tu); Tu.initComponentId( 11); if (typeof(h_QPTocComponent_Text) != "undefined" && h_QPTocComponent_Text["imageType"] == "limerick") { iStyle = 1; } else iStyle = 0; if ( !currentRoom.Zw( )) { Tu.AddEntry( "[Go Back]", 'javascript:currentRoom.Leave()', "", false); } for( var i=0; i < tB.length; i++) { var Bj; if (iStyle == 1) Bj = tB[i].LimerickTitle; else Bj = tB[i].title; var Dt = ""; var fQ = false; if ( tB[i].type == "3") { Bj += ":"; Dt = "../../../" + tB[i].IW + "?OpenDatabase"; } else { fQ = (tB[i].bY == "Yes"); if ( tB[i].urlPointer != "") { Dt = tB[i].urlPointer; } else { Dt = "../../h_Toc/" + tB[i].unid + "/"; if (tB[i].autoEdit == '1') { Dt += "?EditDocument"; } else { Dt += "?OpenDocument"; } } } Tu.AddEntry( Bj, Dt, "", fN( tB[i].unid), fQ); } return Tu.GenerateHTML(iStyle); } function fR( ) { var Tu = haiku.Ti( ); fB( Tu); Tu.initComponentId( 12); for( var i=0; i < sw.length; i++) { Tu.AddEntry( sw[i].title, sw[i].href, sw[i].helpText); } return Tu.GenerateHTML( ); } function fS( ) { var Tu = haiku.Ti( ); fB( Tu); Tu.initComponentId( 13); for( var i=0; i < sx.length; i++) { Tu.AddEntry( sx[i].title, sx[i].href, sx[i].helpText); } return Tu.GenerateHTML( ); } function GenerateActionsHTML ( ) { var Tu = haiku.Ti( ); fB( Tu); Tu.initComponentId( 14); for( var i=0; i < Tw.length; i++) { Tu.AddEntry( Tw[i].title, Tw[i].href, Tw[i].helpText); } for( var i=0; i < tA.length; i++) { Tu.AddEntry( tA[i].title, tA[i].href, tA[i].helpText); } for( var i=0; i < sy.length; i++) { Tu.AddEntry( sy[i].title, sy[i].href, sy[i].helpText); } if ( !h_isBeingEdited) { if ( h_Type == "1" || (typeof(h_FolderDoc) != "undefined" && h_FolderDoc.doesFolderPreviewDocument( ))) { for( var i=0; i < sz.length; i++) { Tu.AddEntry( sz[i].title, sz[i].href, sz[i].helpText); } } } return Tu.GenerateHTML( ); } function fW( ) { var Tu = haiku.Ti( ); fB( Tu); Tu.initComponentId( 15); if ( 	h_isBeingEdited || typeof( h_NameIsBanner) == "undefined" || h_NameIsBanner != "0") { Tu.AddEntry( li, "", "", false, false, SceneTitleSkinComponentTitleTextConvertToHTML); } return Tu.GenerateHTML( ); } function GenerateAuthorAndModifiedHTML( ) { var Tu = haiku.Ti( ); fB( Tu); Tu.initComponentId( 22); if ( 	!h_isBeingEdited && h_Type == "0" &&  (typeof( h_IsSystem) == "undefined" || h_IsSystem != "1") && (typeof( h_IsInTailor) == "undefined" || h_IsInTailor != "1"))  { if ( typeof( h_NameIsBanner) == "undefined" || h_NameIsBanner != "0") { var Wb = ""; var DJ = ""; if ( typeof(h_PageType) != "undefined" &&  typeof( h_Originator) != "undefined") { if (h_PageType!="h_Mail") { Wb = bO(h_Originator); } } if ( typeof(h_AlternateName) == "undefined" ||  h_AlternateName == "") { DJ = Wb; } else { DJ = LL( h_AlternateName, "'", "\'")+ " (" + Wb + ")"; } if ( DJ != "") { Tu.AddEntry( DJ, ""); } if (typeof( h_ModifiedDate) != "undefined") { Tu.AddEntry( au(h_ModifiedDate, " - "), ""); } } } return Tu.GenerateHTML( ); } function fX ( ) { var Tu = haiku.Ti( ); fB( Tu); Tu.initComponentId( 16); if ((GX || lt) && (h_DraftVersionUNID == "" && h_PublishedVersionUNID != "")) { Tu.AddEntry( 'Published Version', ls); Tu.AddEntry( 'Draft In Progress', location.href, "", true); } else if ((GX || lt) && (h_DraftVersionUNID != "" && h_PublishedVersionUNID == "")) { Tu.AddEntry( 'Published Version', location.href, "", true); Tu.AddEntry( 'Draft In Progress', lr); } return Tu.GenerateHTML( ); } function GenerateDraftTextHTML ( ) { var Tu = haiku.Ti( ); fB( Tu); Tu.initComponentId( 25); if (GX && !EV) { if (h_DraftVersionUNID == "" && h_PublishedVersionUNID != "") { Tu.AddEntry( '<span class=h-draft-text><b>This is a private draft. </b> Only you can see or edit this page. To resume editing, click <b>Edit</b>. To publish this draft so others can see it, click <b>Publish Now</b>. To permanently delete this draft, click <b>Revert</b>.</span><br><br>', "", "", false, false, false); } else if (h_IsPublished!=1) { Tu.AddEntry( '<span class=h-draft-text><b>This is a private draft. </b> Only you can see or edit this page. To resume editing, click <b>Edit</b>. To publish this draft so others can see it, click <b>Publish Now</b>.</span><br><br>', "", "", false, false, false); } } return Tu.GenerateHTML( ); } function fY( )  { var Tu = haiku.Ti( ); fB( Tu); Tu.initComponentId( 17); if (HP != "Help") { Tu.AddEntry( 'Tutorial', "javascript:cq('" + tC + "')", 'Take a quick tour through QuickPlace'); } return Tu.GenerateHTML( ); } function fZ( )  { var Tu = haiku.Ti( ); fB( Tu); Tu.initComponentId( 19); Tu.AddEntry( 'Print', "javascript:cs()", 'Open the contents of this page into a separate window, formatted for printing'); return Tu.GenerateHTML( ); } function fa( )  { var Tu = haiku.Ti( ); fB( Tu); Tu.initComponentId( 21); Tu.AddEntry(  'News: ' + 'Daily', 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_WhatsNewResults'+",h_ReturnToPage;"+h_PageUnid + ",h_SetUpdateWhatsNew;0,h_SetWhatsNewDays;1", "See what's new in this Quickplace (one-day format)"); Tu.AddEntry(  'Weekly',  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_WhatsNewResults'+",h_ReturnToPage;"+h_PageUnid + ",h_SetUpdateWhatsNew;0,h_SetWhatsNewDays;7", "See what's new in this Quickplace (one-week format)"); return Tu.GenerateHTML( ); } function fb( )  { var Tu = haiku.Ti( ); fB( Tu); Tu.initComponentId( 20); if ((!haiku.IF())) { Tu.AddEntry( 'Advanced Search', "javascript:AdvSearchFormSubmit()", 'Search for pages by text content, author, and date'); } return Tu.GenerateHTML( ); } function fc( szFolderBaseURL, szStart, szFirst, szPrevious, szNext, szLast, kv, iNumberOfDocsInFolder) { if (typeof ( kv) != "undefined" && typeof ( iNumberOfDocsInFolder) != "undefined") { if ( szStart != "1")  { fe( "First", Lc(self) + szFirst, 'Go to the first page in this folder'); fe( "Previous", Lc(self) + szPrevious, 'Go to the previous page'); } fe( "Next", Lc(self) + szNext, 'Go to the next page'); fe( "Last", Lc(self) + szLast, 'Go to the last page in this folder'); } fd( Lc(self) + szFolderBaseURL, kv, iNumberOfDocsInFolder); } function fd( szFolderBaseURL, kv, iNumberOfDocsInFolder) { if ( iNumberOfDocsInFolder > kv) { sx[sx.length] = new Object( ); sx[sx.length-1].title = 'Jump...'; sx[sx.length-1].href	 = "javascript:ff(" +  "'" + szFolderBaseURL + "')"; sx[sx.length-1].helpText	= 'Jump to a specific page anywhere in this folder'; } } function fe( title, href, helpText) { if ( typeof ( helpText) == "undefined") { helpText	 = ""; } sw[sw.length] = new Object( ); sw[sw.length-1].title		= title; sw[sw.length-1].href		= href; sw[sw.length-1].helpText	= helpText; } function ff( szFolderBaseURL, kv) { var fg = prompt( 'You can "jump" to a page by entering the first few letters that appear in the column that this folder is currently sorted by. Enter the text below:', ""); if ( fg != null) { var url =  szFolderBaseURL + '&StartKey=' + escape( fg); var K = url.indexOf("&ResortAscending"); if (K == -1 && typeof( h_FolderFirstSortedColumn) != "undefined") { url += '&ResortAscending=' + h_FolderFirstSortedColumn;  } location.href = url; } } 