<!-- (c) Copyright IBM Corporation 1999, 2002   All rights reserved. Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. -->
<!-- $HaikuForm - 350654.72 -->


function h_HandleError (ErrorMessage, URL, LineNum) { var Z = "Avertissement. Votre requête ne peut pas être traitée pour le moment. Si vous n'arrivez pas à continuer à travailler dans votre espace, fermez ce message d'avertissement puis" + (( navigator.appName == "Microsoft Internet Explorer") ? " sélectionnez Affichage, Actualiser dans le menu du navigateur." : " sélectionnez Afficher, Actualiser dans le menu du navigateur." ); var ErrorStringExtended = "";  if ( '' == '1')  { ErrorStringExtended += "\n\n"; ErrorStringExtended += "Message : " + ErrorMessage + "\n"; ErrorStringExtended += "URL     : " + URL + "\n"; ErrorStringExtended += "Line    : " + LineNum + "\n"; } alert ( Z + ErrorStringExtended ); return !('' == '1'); } 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.m_hasSametimeAwareness	= true; this.m_hasSametimeMeetings		= true; this.SP				= true; this.m_hasJavaApplets		= true; this.SQ			= false; this.SR					= false; this.SS		= true; this.ST						= false; this.m_isGecko				= false; this.SU			= false; this.init						= If;  this.SW			= JF;  this.getRealMozVersion		= getRealMozVersion_ClientBrowserObject;  this.y				= RK;  this.hasSametimeAwareness	= hasSametimeAwareness_ClientBrowserObject;  this.hasSametimeMeetings	= hasSametimeMeetings_ClientBrowserObject;  this.SX				= KD;  this.hasMidas				= hasMidas_ClientBrowserObject; 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.isGecko			= isGecko_ClientBrowserObject;  this.HN	= Re;  this.Ie	= Rh;  this.hasCapability = hasCapability; this.parseVersion = parseVersion; 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.m_isGecko				= -1 != navigator.userAgent.indexOf("Gecko"); /* Netscape 6.1, Mozilla, other Mozilla based browsers */ this.SU			=  !this.m_isGecko && this.SI == "Netscape"; this.m_realMozVersion = parseFloat( navigator.userAgent.substr(navigator.userAgent.indexOf("rv:") + 3) ); 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.m_isGecko || this.ST) && this.SW(4); this.m_hasMidas				= this.m_isGecko && (this.m_realMozVersion >= 1.3); this.m_hasNativeRTEditor		= this.ST || (this.m_isGecko && this.m_realMozVersion >= 1.03); } function getRealMozVersion_ClientBrowserObject ()  { return this.m_realMozVersion; } function JF (neededBrowserLevel)  { return (neededBrowserLevel  < (this.SH+1)); } function hasSametimeAwareness_ClientBrowserObject () { return this.m_hasSametimeAwareness; } function hasSametimeMeetings_ClientBrowserObject () { return this.m_hasSametimeMeetings; } function KD () { return this.SP; } function hasMidas_ClientBrowserObject () { return this.m_hasMidas; } 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 (this.SU &&  navigator.appVersion.charAt(0) == "3"); } function RI ()  { return (this.SU &&  navigator.appVersion.charAt(0) == "4"); } function RK ()  { return this.i; } function Rc ()  { return (navigator.appVersion.indexOf("MSIE 5") != -1); } function isGecko_ClientBrowserObject() { return this.m_isGecko; } function Re () { return ((this.SN.indexOf("Mac") != -1) ? true : false); } function Rh () { return ((this.SN.indexOf("Win") != -1) ? true : false); } function hasCapability( nBrowserCapability ) { switch(nBrowserCapability) { case 1: return this.m_hasPersistentStore; case 2: return (this.ST && this.Ie() && this.m_realAppVersion >= 5.5) || (this.m_isGecko && (gW.haiku ? haiku.bDomino6_5 : true ) && this.m_realMozVersion >= 1.03); case 3: return (this.ST && this.Ie() && this.m_realAppVersion > 5) || (this.m_isGecko && (gW.haiku ? haiku.bDomino6_5 : true ) && this.m_realMozVersion >= 1.00); case 4: return this.SO; case 5: return this.SP; case 6: return this.m_hasLayers; case 7: return (this.ST && this.SH >= 4) | this.m_isGecko; case 8: return (this.ST && this.m_realAppVersion >= 5.0); case 9: return (this.ST && this.m_realAppVersion >= 5.5); case 10: return (this.ST && this.m_realAppVersion >= 6.0); case 11: return (this.ST && this.m_realAppVersion < 5.5); case 12: return this.m_isGecko; case 13: return (this.ST && this.m_realAppVersion >= 5.0); case 14: return this.m_hasNativeRTEditor; default: break; } return false; } function parseVersion(s,decExp) { if(!decExp) decExp = 100; var nValue=0; var exp=1; var aParts = s.split("."); for( var i=0;i<aParts.length;i++) { nValue += parseInt(aParts[i])/exp; exp *= decExp; } return nValue; } var h_ClientBrowser = new b (); var bG = new Object(); bH(); function bH(){ bG.Jx=""; bG.publishFolderTitle=""; bG.Jy=""; bG.publishFolderPageUnid=""; bG.publishFolderStyle=""; bG.publishFolderSort=""; bG.publishFolderSortColumn=""; 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) { if (typeof(TK[q]) != 'function') { 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" && typeof(TL[q]) != 'function') { 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.enableSTforLocalUsers			 = 'false'; this.calendarIntegrationDisabledOnServer = !('1'   == '1') ? true : false; this.isRichTextButtonAnimationEnabled =	'' == "true" ? true : false; this.userDirectoryHitsPerPage = parseInt( '100', 10); this.IC = a_mailDb; this.placeId = a_placeId; this.IE = Hx; this.Signout = HaikuObj_Signout; this.IF = Hy; this.TU = Tp; this.SetIsSametimeAwarenessAvailable	= HaikuObj_SetIsSametimeAwarenessAvailable; this.SetIsSametimeMeetingAvailable		= HaikuObj_SetIsSametimeMeetingAvailable; this.IsSametimeAwarenessAvailable		= false; this.IsSametimeMeetingAvailable			= false; this.IsSametimeUsingLDAP					= true; 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 = true;
 this.h_Intl_CurrencySpace = true;
 this.h_Intl_NumberLeadingZero = true;
 this.h_Intl_DateFormat = "DMY";
 this.h_Intl_Date4DigitYear = true;
 this.h_Intl_TimeZoneName = "";
 this.h_Intl_DaylightSavings = true;
 this.h_Intl_MilitaryTime = true;
 this.h_Intl_TimeZone = "-1";
 this.h_Intl_AMString = "";
 this.h_Intl_PMString = "";
 this.h_Intl_DateString = "/";
 this.h_Intl_TimeString = ":";
 this.h_Intl_YesterdayString = "Hier";
 this.h_Intl_TodayString = "Aujourd\'hui";
 this.h_Intl_TomorrowString = "Demain";
 this.Ta = this.h_Intl_TimeZone; this.Tb = parseInt(this.Ta); this.Tc = ''; if (this.h_Intl_TimeZoneName == 'Dateline') this.Tc = 'Ligne de changement de date'; else if (this.h_Intl_TimeZoneName == 'Samoa') this.Tc = 'Samoa'; else if (this.h_Intl_TimeZoneName == 'Hawaiian') this.Tc = 'Hawaïen'; else if (this.h_Intl_TimeZoneName == 'Alaskan') this.Tc = 'Alaskien'; else if (this.h_Intl_TimeZoneName == 'Pacific') this.Tc = 'Pacifique'; else if (this.h_Intl_TimeZoneName == 'Mountain') this.Tc = 'Montagnes'; else if (this.h_Intl_TimeZoneName == 'Mexico 2') this.Tc = 'Mexique 2'; else if (this.h_Intl_TimeZoneName == 'US Mountain') this.Tc = 'Montagnes (Etats-Unis)'; else if (this.h_Intl_TimeZoneName == 'Central') this.Tc = 'Central'; else if (this.h_Intl_TimeZoneName == 'Mexico') this.Tc = 'Mexique'; else if (this.h_Intl_TimeZoneName == 'Central America') this.Tc = 'Amérique centrale'; else if (this.h_Intl_TimeZoneName == 'Canada Central') this.Tc = 'Centre canadien'; else if (this.h_Intl_TimeZoneName == 'Eastern') this.Tc = 'Oriental'; else if (this.h_Intl_TimeZoneName == 'US Eastern') this.Tc = 'Est (Etats-Unis)'; else if (this.h_Intl_TimeZoneName == 'SA Pacific') this.Tc = 'Pacifique sud-américain'; else if (this.h_Intl_TimeZoneName == 'Atlantic') this.Tc = 'Atlantique'; else if (this.h_Intl_TimeZoneName == 'Pacific SA') this.Tc = 'Amérique du Sud Pacifique'; else if (this.h_Intl_TimeZoneName == 'SA Western') this.Tc = 'Ouest sud-américain'; else if (this.h_Intl_TimeZoneName == 'Newfoundland') this.Tc = 'Terre-Neuve'; else if (this.h_Intl_TimeZoneName == 'E. South America') this.Tc = 'Amérique du Sud-Est'; else if (this.h_Intl_TimeZoneName == 'Greenland') this.Tc = 'Greenland'; else if (this.h_Intl_TimeZoneName == 'SA Eastern') this.Tc = 'Est sud-américain'; else if (this.h_Intl_TimeZoneName == 'Mid-Atlnatic') this.Tc = 'Centre Atlantique'; else if (this.h_Intl_TimeZoneName == 'Azores') this.Tc = 'Açores'; else if (this.h_Intl_TimeZoneName == 'Cape Verde') this.Tc = 'Cap-Vert'; else if (this.h_Intl_TimeZoneName == 'GMT') this.Tc = 'GMT'; else if (this.h_Intl_TimeZoneName == 'Greenwich') this.Tc = 'Greenwich'; else if (this.h_Intl_TimeZoneName == 'W. Europe') this.Tc = 'Europe occidentale'; else if (this.h_Intl_TimeZoneName == 'Central Europe') this.Tc = 'Europe centrale'; else if (this.h_Intl_TimeZoneName == 'Central European') this.Tc = 'Centre européen'; else if (this.h_Intl_TimeZoneName == 'Romance') this.Tc = 'Roman'; else if (this.h_Intl_TimeZoneName == 'W. Central Africa') this.Tc = 'Afrique Centre Ouest'; else if (this.h_Intl_TimeZoneName == 'GTB') this.Tc = 'GTB'; else if (this.h_Intl_TimeZoneName == 'Egypt') this.Tc = 'Egypte'; else if (this.h_Intl_TimeZoneName == 'E. Europe') this.Tc = 'Europe de l\'Est'; else if (this.h_Intl_TimeZoneName == 'FLE') this.Tc = 'FLE'; else if (this.h_Intl_TimeZoneName == 'Israel') this.Tc = 'Israël'; else if (this.h_Intl_TimeZoneName == 'South Africa') this.Tc = 'Afrique du Sud'; else if (this.h_Intl_TimeZoneName == 'Russian') this.Tc = 'Russe'; else if (this.h_Intl_TimeZoneName == 'Arabic') this.Tc = 'Arabe'; else if (this.h_Intl_TimeZoneName == 'Arab') this.Tc = 'Arabe'; else if (this.h_Intl_TimeZoneName == 'E. Africa') this.Tc = 'Afrique orientale'; else if (this.h_Intl_TimeZoneName == 'Iran') this.Tc = 'Iran'; else if (this.h_Intl_TimeZoneName == 'Caucasus') this.Tc = 'Caucase'; else if (this.h_Intl_TimeZoneName == 'Arabian') this.Tc = 'Arabe'; else if (this.h_Intl_TimeZoneName == 'Afghanistan') this.Tc = 'Afghanistan'; else if (this.h_Intl_TimeZoneName == 'Ekaterinburg') this.Tc = 'Ekaterinburg'; else if (this.h_Intl_TimeZoneName == 'West Asia') this.Tc = 'Asie occidentale'; else if (this.h_Intl_TimeZoneName == 'India') this.Tc = 'Inde'; else if (this.h_Intl_TimeZoneName == 'Nepal') this.Tc = 'Népal'; else if (this.h_Intl_TimeZoneName == 'N. Central Asia') this.Tc = 'Asie centrale du Nord'; else if (this.h_Intl_TimeZoneName == 'Central Asia') this.Tc = 'Asie centrale'; else if (this.h_Intl_TimeZoneName == 'Sri Lanka') this.Tc = 'Sri Lanka'; else if (this.h_Intl_TimeZoneName == 'Myanmar') this.Tc = 'Myanmar'; else if (this.h_Intl_TimeZoneName == 'SE Asia') this.Tc = 'Asie du Sud-Est'; else if (this.h_Intl_TimeZoneName == 'North Asia') this.Tc = 'Asie du Nord'; else if (this.h_Intl_TimeZoneName == 'China') this.Tc = 'Chine'; else if (this.h_Intl_TimeZoneName == 'Singapore') this.Tc = 'Singapour'; else if (this.h_Intl_TimeZoneName == 'Taipei') this.Tc = 'Taipei'; else if (this.h_Intl_TimeZoneName == 'W. Australia') this.Tc = 'Australie occidentale'; else if (this.h_Intl_TimeZoneName == 'North Asia East') this.Tc = 'Asie du Nord-Est'; else if (this.h_Intl_TimeZoneName == 'Tokyo') this.Tc = 'Tokyo'; else if (this.h_Intl_TimeZoneName == 'Korea') this.Tc = 'Corée'; else if (this.h_Intl_TimeZoneName == 'Yakutsk') this.Tc = 'Iakoutsk'; else if (this.h_Intl_TimeZoneName == 'Cen. Australia') this.Tc = 'Australie centrale'; else if (this.h_Intl_TimeZoneName == 'AUS Central') this.Tc = 'Centre australien'; else if (this.h_Intl_TimeZoneName == 'AUS Eastern') this.Tc = 'Est australien'; else if (this.h_Intl_TimeZoneName == 'Tasmania') this.Tc = 'Tasmanie'; else if (this.h_Intl_TimeZoneName == 'Vladivostok') this.Tc = 'Vladivostok'; else if (this.h_Intl_TimeZoneName == 'E. Australia') this.Tc = 'Australie orientale'; else if (this.h_Intl_TimeZoneName == 'West Pacific') this.Tc = 'Pacifique Ouest'; else if (this.h_Intl_TimeZoneName == 'Central Pacific') this.Tc = 'Centre Pacifique'; else if (this.h_Intl_TimeZoneName == 'New Zealand') this.Tc = 'Nouvelle-Zélande'; else if (this.h_Intl_TimeZoneName == 'Fiji') this.Tc = 'Fidji'; else if (this.h_Intl_TimeZoneName == 'Tonga') this.Tc = 'Tonga'; if (this.Tc == '') { if (this.Tb == 12   ) this.Tc = 'Dateland'; else if (this.Tb == 11   ) this.Tc = 'Samoa'; else if (this.Tb == 10   ) this.Tc = 'Hawaii'; else if (this.Tb == 9    ) this.Tc = 'Alaska'; else if (this.Tb == 8    ) this.Tc = 'Pacifique'; else if (this.Tb == 7    ) this.Tc = 'Rocheuses'; else if (this.Tb == 6    ) this.Tc = 'Centre'; else if (this.Tb == 5    ) this.Tc = 'Est'; else if (this.Tb == 4    ) this.Tc = 'Atlantique'; else if (this.Tb == 3003 ) this.Tc = 'Terre-Neuve'; else if (this.Tb == 3    ) this.Tc = 'Amérique du Sud région est'; else if (this.Tb == 2    ) this.Tc = 'Milieu de l\'Atlantique'; else if (this.Tb == 1    ) this.Tc = 'Açores'; else if (this.Tb ==	0    ) this.Tc = 'Méridien de Greenwich'; else if (this.Tb == -1   ) this.Tc = 'Europe de l\'ouest'; else if (this.Tb == -2   ) this.Tc = 'Europe de l\'est'; else if (this.Tb == -3   ) this.Tc = 'Arabie Saoudite'; else if (this.Tb == -3003) this.Tc = 'Iran'; else if (this.Tb == -4   ) this.Tc = 'Arabe'; else if (this.Tb == -3004) this.Tc = 'Afghanistan'; else if (this.Tb == -5   ) this.Tc = 'Asie occidentale'; else if (this.Tb == -3005) this.Tc = 'Inde'; else if (this.Tb == -6   ) this.Tc = 'Asie centrale'; else if (this.Tb == -7   ) this.Tc = 'Bangkok'; else if (this.Tb == -8   ) this.Tc = 'Chine'; else if (this.Tb == -9   ) this.Tc = 'Tokyo'; else if (this.Tb == -3009) this.Tc = 'Australie centrale'; else if (this.Tb == -10  ) this.Tc = 'Australie de l\'est'; else if (this.Tb == -11  ) this.Tc = 'Pacifique ouest'; else if (this.Tb == -12  ) this.Tc = 'Pacifique central'; else this.Tc = ''; } if (this.Tb != 0) { this.Tc += (this.Tc != '') ? ((this.h_Intl_DaylightSavings) ? ' Heure d\'été' : ' Heure standard') : ''; 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 = 'JJ'+ sl +'MM'+ sl +'AA'; else if (this.h_Intl_DateFormat == this.TZ) this.Te = 'AA'+ sl +'MM'+ sl +'JJ'; else if (this.h_Intl_DateFormat == this.TY) this.Te = 'MM'+ sl +'JJ'+ sl +'AA'; 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 HaikuObj_Signout()  { if (confirm('Voulez-vous vraiment vous déconnecter ?')) { var dontUseLogoutFormWithActiveX =	''; var bDontUseLogoutFormWithActiveX = ( dontUseLogoutFormWithActiveX == "true"); if (h_ClientBrowser.SX() && !bDontUseLogoutFormWithActiveX) { location.href =  HX.Ij() + "?OpenDatabase&Form=h_QPLogout"; } else { var FB = HX.Ij() + "?Logout"; location.href = FB; } } } function Hy() { return (this.userName == "Anonymous"); } function HaikuObj_SetIsSametimeAwarenessAvailable() { if (currentMember.hv() && !(this.enableSTforLocalUsers == "true")) { this.IsSametimeAwarenessAvailable = false; return; } if (h_ClientBrowser.hasJavaApplets() && bSTLinksAvailable && h_ClientBrowser.hasSametimeAwareness() && !h_ClientBrowser.HN() &&  !haiku.IF() && !si() && h_SameTimeToken.length != 0 && h_SametimeCommunityServer != "") { this.IsSametimeAwarenessAvailable = true; this.IsSametimeUsingLDAP = 'true' == "false" ? false : true; } else  this.IsSametimeAwarenessAvailable = false; } function HaikuObj_SetIsSametimeMeetingAvailable () { if ((currentMember.hv() && !(this.enableSTforLocalUsers == "true")) || !h_ClientBrowser.hasSametimeMeetings()) { this.IsSametimeMeetingAvailable = false; return; } if (h_SameTimeToken != "" && h_SametimeMeetingServer != "" && !si()) this.IsSametimeMeetingAvailable = true; else this.IsSametimeMeetingAvailable = 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); } } } function makeCurrentMemberObject (BG)  { this.m_isAnonymous		= false; this.m_firstName			= ""; this.m_lastName			= ""; this.m_emailAddress		= ""; this.m_phoneNumber		= ""; this.m_qPName				= ""; this.m_domainName			= ""; this.m_userName			= ""; this.m_userDescription	= ""; this.m_disableWNEmail	= ""; this.m_isADAEnabled		= false; this.m_skinNameToUse		= ""; this.m_canonicalName		= ""; this.m_accessLevel		= ""; this.m_isLocalUser		= false; this.init					= init_CurrentMemberObject;  this.kK			= getAnonymous_CurrentMemberObject; this.firstName				= getFirstName_CurrentMemberObject; this.lastName				= getLastName_CurrentMemberObject; this.emailAddress			= getEmailAddress_CurrentMemberObject; this.phoneNumber			= getPhoneNumber_CurrentMemberObject; this.qPName					= getQPName_CurrentMemberObject; this.domainName			= getDomainName_CurrentMemberObject; this.userName				= getUserName_CurrentMemberObject; this.userDescription		= getUserDescription_CurrentMemberObject; this.disableWNEmail		= getDisableWNEmail_CurrentMemberObject; this.isADAEnabled			= getADAEnabled_CurrentMemberObject; this.skinNameToUse		= getSkinNameToUse_CurrentMemberObject; this.TT		= getCanonicalName_CurrentMemberObject; this.accessLevel			= getAccessLevel_CurrentMemberObject; this.hv			= getIsLocalUser_CurrentMemberObject; this.init (BG); } function init_CurrentMemberObject (BG) { if (BG.length == 1) { this.m_isAnonymous		= true; this.m_qPName				= haiku.IA; } else { this.m_firstName			= BG[0]; this.m_lastName			= BG[1]; this.m_emailAddress		= BG[2]; this.m_phoneNumber		= BG[3]; this.m_isLocalUser		= (BG[4] == "1"); this.m_qPName				= BG[5]; this.m_domainName			= BG[6]; this.m_userName			= BG[7]; this.m_userDescription	= BG[8]; this.m_disableWNEmail	= BG[9]; this.m_isADAEnabled		= BG[11]; this.m_skinNameToUse		= BG[12]; this.m_canonicalName		= 'Anonymous'; this.m_accessLevel		= 2; } } function getAnonymous_CurrentMemberObject () { return (this.m_isAnonymous); } function getFirstName_CurrentMemberObject () { return this.m_firstName; } function getLastName_CurrentMemberObject () { return this.m_lastName; } function getEmailAddress_CurrentMemberObject () { return this.m_emailAddress; } function getPhoneNumber_CurrentMemberObject () { return this.m_PhoneNumber; } function getQPName_CurrentMemberObject () { return this.m_QPName; } function getDomainName_CurrentMemberObject () { return this.m_domainName;  } function getUserName_CurrentMemberObject () { return this.m_userName; } function getUserDescription_CurrentMemberObject () { return this.m_userDescription; } function getDisableWNEmail_CurrentMemberObject () { return this.m_disableWNEmail; } function getADAEnabled_CurrentMemberObject () { return this.m_isADAEnabled; } function getSkinNameToUse_CurrentMemberObject () { return this.m_skinNameToUse; } function getCanonicalName_CurrentMemberObject () { return this.m_canonicalName; } function getAccessLevel_CurrentMemberObject () { return this.m_accessLevel; } function getIsLocalUser_CurrentMemberObject () { return this.m_isLocalUser; } 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 = ''; var rU = "&nbsp;"; /* 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"; var pageBgClassUsed = (h_CurrentSkinType=='h_Edit')? 'class=' + "h-edit-bg":''; Tm += '<TABLE width=100% border=0 cellspacing=0 cellpadding=1>'; if (h_CurrentSkinType=='h_Edit') { Tm += '<TR>'; Tm +=	'<TD class=' + bf + ' valign=top align=right>'; Tm +=		'<img width=10 height=1 border=0 src=' + "../../../../../qphtml/attachments/transparent.gif" + '>'; Tm +=	'</TD>'; Tm +=	'<TD class=' + bf + '>'; Tm +=		'<img width=10 height=1 border=0 src=' + "../../../../../qphtml/attachments/transparent.gif" + '>'; Tm +=	'</TD>'; Tm +=	'<TD class=' + bf + ' valign=top align=right>'; Tm +=		'<img width=10 height=1 border=0 src=' + "../../../../../qphtml/attachments/transparent.gif" + '>'; Tm +=	'</TD>'; Tm += '</TR>'; Tm += '<TR>'; Tm +=	'<TD class=' + bf + ' valign=top align=right>'; Tm +=		'&nbsp;'; Tm +=	'</TD>'; Tm +=	'<TD class=' + bf + ' width=97%>'; } else { Tm += '<TR class=' + "h-folderBanner-bg" + '>'; Tm +=	'<TD colspan=3 class=' + "h-folderBanner-text" + ' width=97%>'; } Tm +=	v; Tm +=	'</TD>'; if (h_CurrentSkinType=='h_Edit') { Tm +=	'<TD class=' + bf + ' valign=top align=right>'; Tm +=		'&nbsp;'; Tm +=	'</TD>'; } Tm += '</TR>'; Tm += '<TR ' + pageBgClassUsed + '>'; Tm +=	'<TD colspan=3>'; Tm +=		'<img width=1 height=1 border=0 src=' + "../../../../../qphtml/attachments/transparent.gif" + '>'; Tm +=	'</TD>'; Tm += '</TR>'; Tm += '<TR ' + pageBgClassUsed + '>'; Tm +=	'<TD><img width=1 height=1 border=0 src=' + "../../../../../qphtml/attachments/transparent.gif" + '></TD>'; Tm +=	'<TD class=' + bg + ' width=97%>'; Tm +=		h; Tm +=	'</TD>'; Tm +=	'<TD class=' + pageBgClassUsed + ' valign=top align=right><img width=1 height=1 border=0 src=' + "../../../../../qphtml/attachments/transparent.gif" + '></TD>'; Tm += '</TR>'; Tm += '<TR ' + pageBgClassUsed + '>'; Tm +=	'<TD colspan=3 width=3% height=8>'; Tm +=		'<img width=1 height=4 border=0 src=' + "../../../../../qphtml/attachments/transparent.gif" + '>'; Tm += '</TD></TR>'; Tm += '<tr><td colspan="3" class=h-sceneTitle-textbg>'; Tm +=		'<img width=1 height=4 border=0 src=' + "../../../../../qphtml/attachments/transparent.gif" + '>'; Tm += '</td></tr>'; Tm += '</TABLE>'; pageFrame.document.write(Tm); } function C(pageFrame, v, rU) { var Tm = ''; var bc = ''; var rU = "&nbsp;"; /* for 2.6 we're removing the numbering 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"; var pageBgClassUsed = (h_CurrentSkinType=='h_Edit')? 'class=' + "h-edit-bg":''; Tm += '<TABLE width=100% border=0 cellspacing=0 cellpadding=1>'; if (h_CurrentSkinType=='h_Edit') { Tm += '<TR>'; Tm +=	'<TD class=' + bf + ' valign=top align=right>'; Tm +=		'<img width=10 height=1 border=0 src=' + "../../../../../qphtml/attachments/transparent.gif" + '>'; Tm +=	'</TD>'; Tm +=	'<TD class=' + bf + ' valign=top align=right>'; Tm +=		'<img width=10 height=1 border=0 src=' + "../../../../../qphtml/attachments/transparent.gif" + '>'; Tm +=	'</TD>'; Tm +=	'<TD class=' + bf + ' valign=top align=right>'; Tm +=		'<img width=10 height=1 border=0 src=' + "../../../../../qphtml/attachments/transparent.gif" + '>'; Tm +=	'</TD>'; Tm += '</TR>'; Tm += '<TR>'; Tm +=	'<TD class=' + bf + ' valign=top align=right>'; Tm +=		'&nbsp;'; Tm +=	'</TD>'; Tm +=	'<TD class=' + bf + ' width=97%>'; } else { Tm += '<TR class=' + "h-folderBanner-bg" + '>'; Tm +=	'<TD colspan=3 class=' + "h-folderBanner-text" + ' width=97%>'; } Tm += v; Tm +=	'</TD>'; if (h_CurrentSkinType=='h_Edit') { Tm +=	'<TD class=' + bf + ' valign=top align=right>'; Tm +=		'<img width=1 height=4 border=0 src=' + "../../../../../qphtml/attachments/transparent.gif" + '>'; Tm +=	'</TD>'; } Tm += '</TR>'; Tm += '<TR ' + pageBgClassUsed + '>'; Tm +=	'<TD colspan=3 width=3% height=8>'; Tm +=		'<img width=1 height=4 border=0 src=' + "../../../../../qphtml/attachments/transparent.gif" + '>'; Tm += '</TD></TR>'; Tm += '<tr><td colspan="3" class=h-sceneTitle-textbg>'; Tm +=		'<img width=1 height=4 border=0 src=' + "../../../../../qphtml/attachments/transparent.gif" + '>'; Tm += '</td></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( 'Cette page ne peut pas être supprimée car des réponses, des copies de révision et/ou des conflits y sont associés. Vous devez supprimer tous les éléments associés avant de supprimer la page.'); } else if (publishedVersionUNID == "") { if (qD == "") { if ( confirm( 'Etes-vous sûr de vouloir supprimer cette page ?')) { location.href = Lh(self) + '/' + JC + '/' + LS.LQ + "/?EditDocument&Form=h_PageContentUI&PreSetFields=h_EditAction;h_Edit,h_SetEditScene;h_StdConfirmDeleteAnimation,h_SetEditCurrentScene;h_StdConfirmDeleteAnimation,h_SetEditNextScene;h_StdConfirmDeleteAnimation"; } } else if (confirm('Etes-vous sûr de vouloir supprimer cette page et son brouillon ?')) { location.href = 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_StdConfirmDeleteAnimation'+",h_ReturnToPage;"+''+ ",h_IsInToc;" + h_IsInToc + ",h_SetDeleteList;" + LS.LQ + ",h_Type;" + "0"; } } else if (confirm('Etes-vous sûr de vouloir supprimer cette page et son brouillon ?')) { location.href = Lh(self) + '/' + JC + '/' + LS.LQ + "/?EditDocument&Form=h_PageContentUI&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 ('Remarque : Cette page comporte des réponses qui seront déplacées avec à la page. Voulez-vous continuer&nbsp;?')) 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 ('Cette page comporte des réponses. Voulez-vous copier toutes les réponses en plus de la page&nbsp;?')) Dt += ",h_HandleResponses;1"; else Dt += ",h_HandleResponses;0"; } else Dt += ",h_HandleResponses;0"; location.href = Dt; } function confirmRevert() { if (confirm ('Voulez-vous vraiment supprimer le brouillon de cette page ?')) location.href = Lh(self) + '/' + Ir + '/' + h_PageUnid +  "/?EditDocument&Form=h_PageContentUI&PreSetFields=h_EditAction;h_Edit,h_SetEditScene;h_StdPageAnimation,"+ "h_ReturnToPage;" + h_PublishedVersionUNID +	",h_InputAction;h_Revert"; } function confirmEdit() { var showEditAction = true; if ((!h_ClientBrowser.SX() && !h_ClientBrowser.hasJavaApplets()) && (typeof(PageBody) != "undefined" && (PageBody.substring(0, 3).toLowerCase() == "<p>" || PageBody.substring(0, 5).toLowerCase() == "<div>"))) { showEditAction = confirm('Si vous modifiez cette page, la mise en page et les images seront supprimées.  Cliquez sur OK si vous êtes sûr de vouloir apporter des modifications.'); } if (showEditAction) { var Dt = Lh(self) + '/' + Ir + "/" + h_PageUnid +  "/?EditDocument&Form=h_PageUI&PreCopyDoc&PreSetFields=h_EditAction;h_Edit,h_SetEditScene;h_StdPageEdit,h_ReturnToPage;"+ ((typeof(h_PublishedVersionUNID) == "undefined" || h_PublishedVersionUNID == "") ? h_PageUnid : h_PublishedVersionUNID) +  ",h_IsConflict;" + isConflict; location.href = Dt; } } 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_DocLastEditor") { formObj.fieldDef[y] = new _DocLastEditorField; } 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_MeetingOptionsControl"){ formObj.fieldDef[y] = new _MeetingOptionsField; } else if (KN[z] == "h_RichText"){ if (!h_ClientBrowser.HN()) { if (h_ClientBrowser.SX ()/*mv*/ && navigator.appVersion.indexOf("Windows NT 6")==-1/*mv*/
) formObj.fieldDef[y] = new Yh; else if (h_ClientBrowser.hasMidas()) formObj.fieldDef[y] = new _GeckoRichTextControlField(); 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; } var regExp = eval("/" + kw[z] + "/i"); var fixedFieldValue = notesFieldNameList.match(regExp); if (typeof(fixedFieldValue) != "undefined" && fixedFieldValue!=null && typeof(fixedFieldValue[0]) != "undefined") { kw[z] = fixedFieldValue[0]; } 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; this.SendEvent			 = windowRef.h_SendEvent; this.h_EventEverSetToSend = windowRef.h_EventEverSetToSend; } } 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>' + 'Erreur' + '</td></tr>'); document.write('<tr><td colspan=4>&nbsp;</td></tr>'); document.write('<tr><td class=h-quickBrowseItem-text colspan=4 nowrap>' + 'Pour continuer à travailler dans votre espace,<br>fermez cette fenêtre et réessayez.' + '</td></tr>'); document.write('<tr><td colspan=4>&nbsp;</td></tr></table>'); } function getErrorHTML(errorTitle, errorGif, errorString, errorSolution, errorMargin) { var transparentGif = "../../../../../qphtml/attachments/transparent.gif"; var marginHeight = (typeof(errorMargin) == "undefined") ? 100 : errorMargin; var Tm= ''; Tm +='<table cellpadding="0" cellspacing="0" border="0">'; Tm +=	'<tr>'; Tm +=		'<td width="1"><img src="' + transparentGif + '" width="10" height="' + marginHeight + '" alt="" border="0"></td>'; Tm +=		'<td width="475"><img src="' + transparentGif + '" width="475" height="10" alt="" border="0"></td>'; Tm +=		'<td width="1"><img src="' + transparentGif + '" width="1" height="1" alt="" border="0"></td>'; Tm +=		'<td width="50%">&nbsp;</td>'; Tm +=	'</tr>'; Tm +=	'<tr>'; Tm +=		'<td>&nbsp;</td>'; Tm +=		'<td class="h-errorBanner-textbg">'; Tm +=			'<table cellpadding="0" cellspacing="0" border="0" width="100%">'; Tm +=				'<tr class="h-errorBanner-textbg">'; Tm +=					'<td width="21" ><img src="' + transparentGif + '" width="21"  height="2" alt="" border="0"></td>'; Tm +=					'<td width="63" ><img src="' + transparentGif + '" width="63"  height="1" alt="" border="0"></td>'; Tm +=					'<td width="13" ><img src="' + transparentGif + '" width="13"  height="1" alt="" border="0"></td>'; Tm +=					'<td width="348"><img src="' + transparentGif + '" width="348" height="1" alt="" border="0"></td>'; Tm +=					'<td width="30" ><img src="' + transparentGif + '" width="30"  height="1" alt="" border="0"></td>'; Tm +=				'</tr>'; Tm +=				'<tr class="h-errorBanner-textbg">'; Tm +=					'<td>&nbsp;</td>'; Tm +=					'<td colspan="3" class="h-errorBanner-textbg">'; Tm +=						'<span class="h-errorBanner-textbg">' + errorTitle + '</span>'; Tm +=					'</td>'; Tm +=					'<td>&nbsp;</td>'; Tm +=				'</tr>'; Tm +=				'<tr class="h-errorBanner-textbg">'; Tm +=					'<td colspan="5"><img src="' + transparentGif + '" width="1" height="4" alt="" border="0"></td>'; Tm +=				'</tr>'; Tm +=				'<tr class="h-errorContent-textbg">'; Tm +=					'<td colspan="5"><img src="' + transparentGif + '" width="1" height="24" alt="" border="0"></td>'; Tm +=				'</tr>'; Tm +=				'<tr class="h-errorContent-textbg">'; Tm +=					'<td><img src="' + transparentGif + '" width="1" height="80" alt="" border="0"></td>'; Tm +=					'<td valign="top"><img src="' + errorGif + '" width="63" height="54" alt="" border="0"></td>'; Tm +=					'<td>&nbsp;</td>'; Tm +=					'<td valign="top" class="h-errorContent-textbg">'; Tm +=						errorString;				 Tm +=						'<br><br>'; Tm +=						errorSolution; Tm +=					'</td>'; Tm +=					'<td>&nbsp;</td>'; Tm +=				'</tr>'; Tm +=				'<tr class="h-errorContent-textbg">'; Tm +=					'<td colspan="5"><img src="' + transparentGif + '" width="1" height="24" alt="" border="0"></td>'; Tm +=				'</tr>'; Tm +=				'<tr class="h-errorBanner-textbg">'; Tm +=					'<td colspan="5"><img src="' + transparentGif + '" width="1" height="1" alt="" border="0"></td>'; Tm +=				'</tr>'; Tm +=			'</table>'; Tm +=		'</td>'; Tm +=		'<td class="h-errorBanner-textbg">&nbsp;</td>'; Tm +=		'<td>&nbsp;</td>'; Tm +=	'</tr>'; Tm +=	'<tr>'; Tm +=		'<td width="50%"><img src="' + transparentGif + '" width="1" height="' + marginHeight + '" alt="" border="0"></td>'; Tm +=		'<td width="475"><img src="' + transparentGif + '" width="475" height="1" alt="" border="0"></td>'; Tm +=		'<td width="1"><img src="' + transparentGif + '" width="1" height="1" alt="" border="0"></td>'; Tm +=		'<td width="50%">&nbsp;</td>'; Tm +=	'</tr>'; Tm +='</table>'; return Tm; } function tryAgain() { history.back(); } function  Lg (page)  { var Ld = ""; Ld =  La (page);  Ld = Ld.substring(0, Ld.lastIndexOf('/'));  Ld = Ld.substring(0, Ld.lastIndexOf('/')+1); return Ld; } 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  Lc (page)  { var Ld = ""; var Le = "/QuickPlace/"; Ld =  Lg (page); Ld = Ld.substring(0, Ld.lastIndexOf('/')- Le.length + 1);  return Ld; } function buildAbsoluteUrl(sUrl, bForceHttp) { var sPath = window.location.pathname; var Du = window.location.href.indexOf(sPath); sUrl = window.location.href.substr(0, Du) + sUrl; return bForceHttp ? sUrl.replace(/https:/, "http:") : sUrl; } var gUndefined; function gotoHash(s) { location.hash = s; } function isNameInCanonicalFormat (someName) { var tmpName = someName.toLowerCase(); if (tmpName.indexOf("cn=") == 0 || tmpName.indexOf("uid=") == 0) return true; return false; } function bO( TT)  { var szCommonName = ""; var szCN  = "CN="; var szUID = "UID="; var szDNcomponentSeparator = "/"; if( TT.length > 3 ) { if ( TT.substring( 0, szCN.length).toUpperCase( ).indexOf( szCN) == 0)  { if ( TT.indexOf( szDNcomponentSeparator) > 3)  { szCommonName = TT.substring(3, TT.indexOf( szDNcomponentSeparator)); } else { szCommonName = TT.substring(3); } } else if ( TT.substring( 0, szUID.length).toUpperCase( ).indexOf( szUID) == 0)  { if ( TT.indexOf( szDNcomponentSeparator) > 4)  { szCommonName = TT.substring(4, TT.indexOf( szDNcomponentSeparator)); } else { szCommonName = TT.substring(4); } } else {  szCommonName = TT; } } else { szCommonName = TT; } return szCommonName; } function getCommonNames( nameList)  { var delimiter  = ", "; var CNnameList = "";  while ( nameList.length > 0) { var UJ = ( nameList.toUpperCase( ).indexOf( delimiter) == -1) ? nameList.length : nameList.toUpperCase( ).indexOf( delimiter); var TT = nameList.substring(0, UJ); CNnameList += ((CNnameList != "")? delimiter : "") + bO( TT);  nameList = (UJ < nameList.length) ? nameList.substring( TT.length + 2) : ""; } 	 return CNnameList; } 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  Lf (page)  { return Lk () + Lc ( page); } 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 title="' + 'Vous pouvez déplacer un élément du masque en le sélectionnant dans cette zone de liste modifiable puis en sélectionnant le lien "en haut" ou "en bas" à droite de ce champ.' + '" size=6 name=Lo>'; JV += '<option>' + '(utilisez les flèches pour changer l\'ordre des éléments)' + '</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 (currentMember.isADAEnabled()=="1")  { JV += '<a href="javascript:void 0" onclick="javascript:Lq(document.forms[\'h_PageUI\'].Lo, -1,' + cI + '); return false;">'; JV += 'Déplacer l\'entrée sélectionnée vers le haut'; JV += '</a><br>'; } else if ( h_ClientBrowser.SY()) { cJ = 'reorderUp'; bQ = ' border=0  width="23" height="24" '; bQ += ' onMouseOver="MN(this, 0,\'' + cJ + '\','; bQ += '\'' + "../../../../.." + "/qphtml/attachments/" + 'reorderuphilite.gif' + '\');"';  bQ += ' onMouseOut="MN(this, 0,\'' + cJ + '\',' + '\'' + "../../../../.." + "/qphtml/attachments/" + 'reorderup.gif' + '\');"'; JV += '<a href="javascript:void 0" onclick="javascript:Lq(document.forms[\'h_PageUI\'].Lo, -1,' + cI + '); return false;">'; JV += MP("../../../../.." + "/qphtml/attachments/" + "reorderup.gif",cJ,bQ, 'Haut'); 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="' + "../../../../.." + "/qphtml/attachments/" + 'reorderuphilite.gif' + '";\' onMouseOut=\'javascript:document.reorderUp.src="' + "../../../../.." + "/qphtml/attachments/" + 'reorderup.gif' + '";\'><img name="reorderUp" border=0 width="23" height="24" src='+ "../../../../.." + "/qphtml/attachments/" + 'reorderup.gif' + "></a><br>"; } JV += '<img scr="/icons/onepixel.gif" width="1" height="4"><br>'; if (currentMember.isADAEnabled()=="1")  { JV += '<a href="javascript:void 0" onclick="javascript:Lq(document.forms[\'h_PageUI\'].Lo, 1,' + cI + '); return false;">'; JV += 'Déplacer l\'entrée sélectionnée vers le bas'; JV += '</a><br>'; } else if ( h_ClientBrowser.SY()) { cJ = 'reorderDown'; bQ = ' border=0  width="23" height="24" '; bQ += ' onMouseOver="MN(this, 0,\'' + cJ + '\','; bQ += '\'' + "../../../../.." + "/qphtml/attachments/" + 'reorderdownhilite.gif' + '\');"';  bQ += ' onMouseOut="MN(this, 0,\'' + cJ + '\',' + '\'' + "../../../../.." + "/qphtml/attachments/" + 'reorderdown.gif' + '\');"'; JV += '<a href="javascript:void 0" onclick="javascript:Lq(document.forms[\'h_PageUI\'].Lo, 1,' + cI + '); return false;">'; JV += MP("../../../../.." + "/qphtml/attachments/" + "reorderdown.gif",cJ,bQ, 'Bas'); 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="' + "../../../../.." + "/qphtml/attachments/" + 'reorderdownhilite.gif' + '";\' onMouseOut=\'javascript:document.reorderDown.src="' + "../../../../.." + "/qphtml/attachments/" + 'reorderdown.gif' + '";\'><img name="reorderDown" border=0 width="23" height="24" src='+ "../../../../.." + "/qphtml/attachments/" + 'reorderdown.gif' + "></a><br>"; } JV += '</td><td valign="middle" align="left">' + '<font size="1">Vous pouvez changer la place d\'un élément de la liste en cliquant sur l\'élément, puis sur la flèche vers le haut ou vers le bas.</font>' + '</td></tr></table>'; if ( isNaN( listContext)) { pageInput(pageFrame, listContext, JV, sf); } else { if (listContext == 0)  pageInput(pageFrame, 'Voulez-vous changer l\'ordre des pages ?', JV, sf); else if (listContext == 1) pageInput(pageFrame, 'Voulez-vous changer l\'ordre des champs du masque ? ' + '', JV, sf); else if (listContext == 2) pageInput(pageFrame, 'Vous pouvez changer l\'ordre des colonnes de la liste ci-dessous :', JV, sf); else if (listContext == 3) pageInput(pageFrame, '<b>Changer ordre.</b> Voulez-vous changer l\'ordre de la table des matières de cette salle ?', JV, sf); else if (listContext == 4) pageInput(pageFrame, '<B>Changer ordre des masques.</B> Voulez-vous changer l\'ordre de présentation des masques aux auteurs ?', 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 ('Lorsqu\'elles sont visibles, les colonnes Titre, Auteur et Modifié correspondent toujours aux trois premières colonnes d\'un dossier. Sélectionnez la colonne dont vous voulez changer la position'); 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 = encodeURIComponent(name) + "=" + encodeURIComponent(value) + ((expires) ? "; expires=" + expires.toGMTString() : "") + "; path=" + ((path) ? path : "/") + ((domain) ? "; domain=" + domain : "") +    ((secure) ? "; secure" : ""); } function MB (radioControl, radioValue, radioFocus) { if (typeof(radioControl) != "undefined") { if (!isNaN (radioControl.length)) { var i; for (i = 0; i < radioControl.length; i++) { if (radioControl [i].value == radioValue) { radioControl [i].checked = true; if (typeof(radioFocus) != "undefined" && radioFocus== true) { radioControl[i].focus(); radioControl[i].select(); } break; } } } else { radioControl.checked = true; if (typeof(radioFocus) != "undefined" && radioFocus== true) { radioControl.focus(); radioControl.select(); } } } } function Bw( radioControl) { if (typeof(radioControl) != "undefined") { 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 (typeof(radioControl) != "undefined") { 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 (typeof(selectControl) != "undefined") { 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 (typeof(selectControl) != "undefined") { 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 (typeof(selectControl) != "undefined") { 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, ImgAlttext) { var MQ; var altString=''; if (ImgAlttext != 'undefined') altString = ' alt="' + ImgAlttext + (h_ClientBrowser.isGecko() ? '" title="'+ ImgAlttext + '"' : '"'); else  altString = ' alt=""'; MQ = '<img name=' + ImgName + ' src="' + URLString + '" ' + ImgExtra + altString + ' >'; 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 H(){ var K = location.href.lastIndexOf("&Login"); if (K > 0) { return location.href.substring(0, K); } else { return location.href; } } function L(newLoc) { location.href = newLoc; } 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 setAnimation(sceneName) { replaceFormInAction ('h_PageContentUI'); CV.h_SetEditNextScene.value = sceneName; } 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 += encodeURIComponent(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; var windowWidth=200; var windowHeight=440; 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;" +  encodeURIComponent(h_SearchString) + ",h_SearchAuthor;" + encodeURIComponent(h_SearchAuthor) + ",h_SearchDate;" + encodeURIComponent(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" + ",h_SearchFolderScope;" + h_SearchFolderScope + ",h_SearchRoomScope;" + h_SearchRoomScope + ",h_SearchType;" + h_SearchType;; }  else if (type == 2) { kV = La (self) + "Main.nsf" + "/?OpenDatabase&Form=h_SiteMapUI&NoWebCaching";  windowWidth=210; windowHeight=240; } 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=" + windowWidth + ",height=" + windowHeight + ",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("Veuillez raccourcir le commentaire."); theObj.CV.h_tmpMessage.focus(); return false; } else if (bR( theObj, "Commentaires", "h_tmpMessage",  false, "") == false) { theObj.CV.h_tmpMessage.focus(); return false; } else if (theObj.CV.h_SetPublishEmailSubject.value.length >= 1024) { alert("Veuillez raccourcir l\'objet."); theObj.CV.h_SetPublishEmailSubject.focus(); return false; } else if (bR( theObj, "Objet", "h_SetPublishEmailSubject",  false, "") == false) { theObj.CV.h_SetPublishEmailSubject.focus(); return false; }  else if (theObj.CV.h_SetPublishEmailAddresses.value.length >= 1024) { alert("Veuillez réduire le nombre d\'adresses dans le champ \"A\"."); theObj.CV.h_SetPublishEmailAddresses.focus(); return false; } else if (bR( theObj, "Pour", "h_SetPublishEmailAddresses",  false, "") == false) {					  theObj.CV.h_SetPublishEmailAddresses.focus(); return false; } else if (theObj.CV.h_SetPublishCCEmailAddresses.value.length >= 1024) { alert("Veuillez entrer un champ \"cc\" plus court."); 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("Veuillez entrer un champ \"cci\" plus court."); 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("../../../../../qphtml/attachments/singlepixel.gif",'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; var authorsList = h_Authors.toUpperCase(); if ((authorsList.indexOf(haiku.TT.toUpperCase()) > -1) || (haiku.userName != "Anonymous" && (authorsList.indexOf("H_MEMBERS") > -1 || authorsList.indexOf("*") > -1)) || (Iu == 6 && typeof(h_AllowEdit) != "undefined" && h_AllowEdit == "1") || (Iu == 6	&& authorsList.indexOf('[H_MANAGERS]') > -1 )){ bIsAuthor = true; } else if (stringList != "") { var szNameListUppercase = stringList.toUpperCase( ); for ( var i = 0; i < arrayGroups.length; i++) { if ( arrayGroups[i].toUpperCase( ) != "" && szNameListUppercase.indexOf( arrayGroups[i].toUpperCase( )) > -1) { bIsAuthor = true; break; } } } return bIsAuthor; } function isPageEditor( stringList, arrayGroups) {	 var bIsEditor = false; if( haiku.userName != "Anonymous"){ if( typeof(stringList) != "undefined" && stringList != ""){  if( isInStringCaseIndependent( stringList, haiku.TT, false)  || isInStringCaseIndependent( stringList, "h_Members",false)  || ( Iu == 6 && isInStringCaseIndependent( stringList, "h_Managers",false)) ){ bIsEditor = true; } else  {  var szNameListUppercase = stringList.toUpperCase( ); for ( var i = 0; i < arrayGroups.length; i++) { if ( arrayGroups[i].toUpperCase( ) != "" && szNameListUppercase.indexOf( arrayGroups[i].toUpperCase( )) > -1) { bIsEditor = true; break; } } } }else if( formObj.Jk == 'h_MultipleEditors'  || (Iu == 6 && typeof(h_AllowEdit) != "undefined" && h_AllowEdit == "1") ) {  bIsEditor = true; } } return bIsEditor; } 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 STLinkClicked (userName, linkTxt, linkStatus, event) { if (isInStringCaseIndependent( userName, haiku.TT, true)) { CurrentUsers_Menu.showMenu(); } else { if (Author_ModifiedMenu != null) Author_ModifiedMenu.showMenu(); else Users_SIMenu.showMenu(userName); } } function replaceFormInAction (UD) { var action = document.forms['h_PageUI'].action; var newAction = ''; var EB = action.indexOf ('&Form'); if (EB != -1) { newAction = action.substr(0, EB); newAction += '&Form=' + UD; var tmpAction = action.substr (EB + 1); var idx2 = tmpAction.indexOf ('&'); if (idx2 != -1) newAction += tmpAction.substr (idx2); } else { newAction += action + '&Form=' + UD; } document.forms['h_PageUI'].action = newAction; } function parseSTCommunityServerSetting () { var isTAM = false; isTAM = ((h_SameTimeServerUrlLocation.indexOf ('/') == 0) ? true : false); var stProtocolIdx = h_SameTimeServerUrlLocation.indexOf ('://'); if (stProtocolIdx == -1) { if ( isTAM) { ; } else { h_SameTimeServerUrlLocation = 'http://' + h_SameTimeServerUrlLocation; } } if ( isTAM) { h_SametimeCommunityServer = location.hostname; } else { stProtocolIdx = h_SameTimeServerUrlLocation.indexOf ('://'); var Dv = h_SameTimeServerUrlLocation.substring (stProtocolIdx + 3); var stPortIdx = Dv.indexOf (':'); if (stPortIdx == -1) h_SametimeCommunityServer = Dv; else h_SametimeCommunityServer = Dv.substring (0, stPortIdx - 1); } } function initSTLinksAppletParameters() { if (haiku.IsSametimeAwarenessAvailable) { setSTLinksURL (h_SameTimeServerUrlLocation + "/sametime/stlinks", "fr"); } } function writeLinksApplet_QP () { if (haiku.IsSametimeAwarenessAvailable) { writeSTLinksApplet (haiku.sametimeName, h_SameTimeToken, true); } } function formatMessage( sFmtString /*, ...*/ ) { var sResult = ""; var args = formatMessage.arguments; for (var iPre = 0, i = sFmtString.indexOf('%'); i != -1; iPre = i + 1, i = sFmtString.indexOf('%', iPre)) { sResult += sFmtString.substring(iPre, i); ++i;  if (sFmtString.charAt(i) == '%') { sResult += sFmtString.charAt(i); continue; } var num = parseInt(sFmtString.substr(i)); if (num > args.length) continue; sResult += args[num]; i += ("" + num).length - 1;  } sResult += sFmtString.substr(iPre); return sResult; } function getMemberInfoLink (memberDNName) { var s = ((window.h_printMode && window.h_printMode == '1') ? "&Form=h_PrintUI" : ""); return ( La (self) + "Main.nsf" + '/' + "$defaultview" + '/' + "7CB1ED9DCD9FCEAB852567C3006E2DBE"  + "/?OpenDocument&PreSetFields=h_SetReadScene;h_SecurityMemberInfo,h_MemberName;"  + encodeForUrl( encodeURIComponent( memberDNName)) + s ); } var g_dominoEncodeChars = new Array(); g_dominoEncodeChars[g_dominoEncodeChars.length] = new Object(); g_dominoEncodeChars[g_dominoEncodeChars.length-1].character = "+"; g_dominoEncodeChars[g_dominoEncodeChars.length-1].encoded = '_95c_'; g_dominoEncodeChars[g_dominoEncodeChars.length] = new Object(); g_dominoEncodeChars[g_dominoEncodeChars.length-1].character = "&"; g_dominoEncodeChars[g_dominoEncodeChars.length-1].encoded = '_s4o_'; function encodeForUrl( stringToEncode) { return ( encodeForUrlCustom( stringToEncode, g_dominoEncodeChars)); } function encodeForUrlCustom( stringToEncode, codeCharArray) { var Br = stringToEncode; for ( var index = 0; index < codeCharArray.length; index++) { Br = LL( Br, codeCharArray[index].character, codeCharArray[index].encoded); } return Br; } function isInStringCaseIndependent( string1, string2, bExactMatch) { var bIsInString = false; if (( typeof( string1) != "undefined") && ( typeof( string2) != "undefined")) { var string1Lower = string1.toLowerCase(); var string2Lower = string2.toLowerCase(); if ( bExactMatch) { if ( string1Lower == string2Lower) { bIsInString = true; } } else { if ( string1Lower.indexOf( string2Lower) > -1) { bIsInString = true; } } } return bIsInString; } function pageGetElementById(sID, doc) { if(!doc) doc = document; if(doc.getElementById(sID)) return doc.getElementById(sID); var aObjs = pageGetElementsByName(sID, doc); if(aObjs && aObjs.length) return aObjs[0]; return null; } function pageGetElementsByName(sID, doc) { if(!doc) doc = document; return doc.getElementsByName(sID); } function eventGetTarget(ev) { if(!ev) ev = window.event; if(!ev) return null; if(ev.srcElement) return ev.srcElement; else if(ev.target) { var target = ev.target; while(target && target.nodeName == '#text') target = target.parentNode; return target; } } Number.prototype.fill = function Number_fill( nPoint, nRadix ){ var sResult = ''; var sNum = ( typeof( nRadix ) == 'number' )? this.toString( nRadix ): this.toString(); for( var i = 0; i < nPoint - sNum.length; i++ ) sResult += '0'; return sResult + sNum; }; function fillZero( nToFill, nPoint ){ return nToFill.fill( nPoint ); } Array.prototype.indexOf = function Array_indexOf( vSearch, fnCompare ){ fnCompare = ( fnCompare )? fnCompare: Array_compare; for( var i = 0; i < this.length; i++ ) if( fnCompare( this[ i ], vSearch ) ) return i; return -1; }; function Array_compare( vElem1, vElem2 ){ return ( vElem1 && typeof( vElem1.isEqual ) == 'function' )? vElem1.isEqual( vElem2 ): vElem1 == vElem2; } Array.prototype.fill = function Array_fill( nTo, vValue ){ for( var i = 0; i <= nTo; i++ ){ if( typeof( this[ i ] ) == 'undefined' ) this[ i ] = vValue; } return this; }; function MakeArrayFromString( CY, delimiter, bTrimBlanks) { var jF = new Array(); var index = 0; var jG = 0; if  ( typeof( bTrimBlanks) == "undefined" || bTrimBlanks == "") bTrimBlanks = true; while ( index != -1) { index = CY.indexOf( delimiter, jG); if ( index != -1) { jF[jF.length] = CY.substring( jG, index); jG = index + 1; } else if ( jG <= CY.length) { jF[jF.length] = CY.substring( jG); } } if ( bTrimBlanks) for ( var i=0; i<jF.length; i++) jF[i] = TrimLeadingBlanks( jF[i]); return jF; } function TrimLeadingBlanks( CY) { for ( var i=0; i<CY.length; i++) if( CY.charAt(i) != " ")  break; return CY.substring(i); } function TrimStrList( CY, strDelimiter, outDelimiter, bSuppressEmpty) { if ( typeof( outDelimiter) == "undefined") outDelimiter = ","; if ( typeof( bSuppressEmpty) == "undefined") bSuppressEmpty = true; var jF = new Array( ); jF = MakeArrayFromString( CY, strDelimiter); var outString = ""; for (var i=0; i<jF.length; i++) { if ( typeof( jF[i]) == "undefined" || bSuppressEmpty && jF[i] == "") continue; if ( outString != "")  outString += outDelimiter; outString += jF[i]; } return outString; } function fixStyleSheetPrimaryColor(aColor) { var sColor = ''; var asColor = aColor.match( /^ *rgb\( *([0-9]+), *([0-9]+), *([0-9]+) *\) *$/ ); if( asColor ) sColor = ( asColor[ 1 ] - 0 ).fill( 2, 16 ) + ( asColor[ 2 ] - 0 ).fill( 2, 16 ) + ( asColor[ 3 ] - 0 ).fill( 2, 16 ); return sColor; } if (!window.encodeURIComponent)  { window.encodeURIBody = function (CY, asciiUnEnc){ var resultStr = ""; var i; var codePointSave; var surrogate = false; var vals = new Array(0,0,0,0); for (i = 0; i < CY.length; i++) { var codePoint = CY.charCodeAt(i); var nVals = 0; if (surrogate && codePoint >= 0xDC00 && codePoint <= 0xDFFF) { vals[0] = ((((codePointSave & 0x03C0) >> 6) + 1) >> 2 ) | 0xF0; vals[1] = (((((codePointSave & 0x03C0) >> 6) + 1) & 0x03) << 4) | ((codePointSave & 0x003C) >> 2) | 0x80; vals[2] = ((codePointSave & 0x0003) << 4) | ((codePoint & 0x03C0) >> 6) | 0x80; vals[3] = (codePoint & 0x003F) | 0x80; nVals = 4; surrogate = false; } else if (codePoint >= 0xD800 && codePoint <= 0xDBFF) { surrogate = true; codePointSave = codePoint; continue; } else { surrogate = false; if (codePoint > 0x07FF) { vals[0] = ((codePoint & 0xF000) >> 12) | 0xE0; vals[1] = (codePoint & 0xFC0) >> 6 | 0x80; vals[2] = (codePoint & 0x3F) | 0x80; nVals = 3; } else if (codePoint > 0x007F) { vals[0] = ((codePoint & 0x7C0) >> 6) | 0xC0; vals[1] = (codePoint & 0x3F) | 0x80; nVals = 2; } else if (asciiUnEnc.indexOf(CY.charAt(i)) < 0) { vals[0] = codePoint; nVals = 1; } } if (nVals > 0) { var j; for (j = 0; j < nVals; j++) { var hexStr = vals[j].toString(16).toUpperCase(); if (hexStr.length == 1) { hexStr = "0" + hexStr; } resultStr += "%" + hexStr; } } else { resultStr += CY.charAt(i); } } return resultStr; }; window.encodeURIComponent = function (CY){ var asciiUnEnc = "1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_.!~*'()"; var returnValue = encodeURIBody(CY, asciiUnEnc); return returnValue; }; } function toValidURIString(s) { return encodeURIComponent(s).replace(/%2c/gi, "%252c"); } function MakeArrayFromString( CY, delimiter, bTrimBlanks) { var jF = new Array(); var index = 0; var jG = 0; if  ( typeof( bTrimBlanks) == "undefined" || bTrimBlanks == "") bTrimBlanks = true; while ( index != -1) { index = CY.indexOf( delimiter, jG); if ( index != -1) { jF[jF.length] = CY.substring( jG, index); jG = index + 1; } else if ( jG <= CY.length) { jF[jF.length] = CY.substring( jG); } } if ( bTrimBlanks) for ( var i=0; i<jF.length; i++) jF[i] = TrimLeadingBlanks( jF[i]); return jF; } function TrimLeadingBlanks( CY) { for ( var i=0; i<CY.length; i++) if( CY.charAt(i) != " ")  break; return CY.substring(i); } function TrimStrList( CY, strDelimiter, outDelimiter, bSuppressEmpty) { if ( typeof( outDelimiter) == "undefined") outDelimiter = ","; if ( typeof( bSuppressEmpty) == "undefined") bSuppressEmpty = true; var jF = new Array( ); jF = MakeArrayFromString( CY, strDelimiter); var outString = ""; for (var i=0; i<jF.length; i++) { if ( typeof( jF[i]) == "undefined" || bSuppressEmpty && jF[i] == "") continue; if ( outString != "")  outString += outDelimiter; outString += jF[i]; } return outString; } 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, ""); var Dt = url + "&Form=h_PrintUI"; window.open( Dt,  "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; if(typeof(dH[szObjectMember]) == 'function') continue; 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) { if(typeof(this.cv[ContextIndex]) == 'function') continue; eval(this.cv[ContextIndex].GQ + '=  this.cv[ContextIndex].cu'); } } function SceneContext_UpdateContext( )  { for (var ContextIndex in this.cv) { if(typeof(this.cv[ContextIndex]) == 'function') continue; eval('this.cv[ContextIndex].cu = ' + this.cv[ContextIndex].GQ); } } function  SceneContext_GetContext( )  { var dL = ""; this.dA( ); for (var ContextIndex in this.cv) { if(typeof(this.cv[ContextIndex]) == 'function') continue; 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( ); this.m_aszAliases		  = 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, aszAliases) { 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; if ( typeof( aszAliases) != "undefined") this.m_aszAliases = aszAliases; } 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; } else { for (var j=0; i < this.m_aszAliases.length; j++) { if ( this.m_aszAliases[j].toUpperCase( ) == this.dO.dz[i].oldName.toUpperCase( )) { GQ = this.dO.dz[i].newName; break; } } } } 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, aszAliases) { 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, aszAliases); } 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 = 'Afficher les 30 premiers mots de chaque 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 QPComponentInit(sFormatString, sEmptyFormatString, sSelectedFormatString, sDelimiter, sPrefixHTML, sPostfixHTML, sReplaceString, sArgument) { h_QPComponent_FormatString=sFormatString;  h_QPComponent_EmptyFormatString=sEmptyFormatString;  h_QPComponent_SelectedFormatString=(sSelectedFormatString.length ? sSelectedFormatString : sFormatString); h_QPComponent_Delimiter=sDelimiter;  h_QPComponent_PrefixHTML=sPrefixHTML; h_QPComponent_PostfixHTML=sPostfixHTML; h_QPComponent_ReplaceString=sReplaceString; h_QPComponent_Argument=sArgument; } 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 = ""; szLink = "javascript:Ik('" + "Main.nsf" + "')"; 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="' + 'Aller à la page d\'accueil de cet espace' + '"'+ '>'; 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); var bShowSignIn = '' == "false" ? false : true; var bShowSignOut = '' == "false" ? false : true; if ((!haiku) || (haiku.userName == 'Anonymous') && bShowSignIn) { Tu.AddEntry( 'Connecter', "javascript:haiku.IE()", 'Se connecter à cet espace (membres uniquement)'); } else if ((haiku) && (haiku.userName != 'Anonymous') && bShowSignOut) { var bMSSO = ('' == '') ? false : true; var ltpaCookieVal = (Lx ("LtpaToken") == null) ? false : true; if (h_ClientBrowser.SX() || bMSSO) { if (!bMSSO || ltpaCookieVal) Tu.AddEntry( 'Se déconnecter', "javascript:haiku.Signout()", 'Se déconnecter'); } } return Tu.GenerateHTML( ); } function GeneratePeopleOnLineHTML() { if (G_ShowChat) { var Tu = haiku.Ti( ); fB( Tu); Tu.initComponentId(29); if (haiku.IsSametimeAwarenessAvailable) { Tu.AddEntry('Personnes connectées', "javascript:openPeopleOnline();", 'Cliquez pour voir les personnes en ligne', false, false, false); } return Tu.GenerateHTML( ); } else { return(''); } } function GenerateSelectTimeZoneHTML() { var dominotimezoneURL = Lf(self) + "/$preferences.nsf?OpenPreferences TARGET=blank"; var Tu = haiku.Ti( ); fB( Tu); Tu.initComponentId(32); Tu.AddEntry('Sélectionner fuseau horaire', dominotimezoneURL, 'Sélectionnez le fuseau horaire dans lequel vous souhaitez afficher la date et l\'heure', false, false, false); return Tu.GenerateHTML( ); } function GenerateMyPlacesLink() { if (G_ShowMyPlaces && !currentMember.hv() && !si()) { var Tu = haiku.Ti( ); fB( Tu); Tu.initComponentId(33); var enabledSetting = ''; var showInQPQPSetting = ''; var urlSetting		 = ''; var bIsEnabled = !(enabledSetting == "false") && !si(); var bShowInQPQP = !(showInQPQPSetting == "false"); if( bIsEnabled) { var myPlaceUrl = ""; if ( urlSetting == "") { if (bShowInQPQP) { myPlaceUrl = buildUrl( "Main.nsf", "quickplace") + "/" + "h_Toc" + "/" + "22049553D70E00EF85256BB60054A7CB" + "/?OpenDocument";	 } else { myPlaceUrl = buildUrl( "Main.nsf", HP) + "/" + "h_Toc" + "/" + "F56A0AF8146EE40185256D2F005241CB" + "/?OpenDocument";	 } } else { myPlaceUrl = urlSetting; } Tu.AddEntry('Mes espaces', myPlaceUrl, 'Afficher une liste des espaces dont vous êtes membre', false, false, false); } return Tu.GenerateHTML( ); } else { return(''); } } function GenerateMyStatusHTML() { var Tu = haiku.Ti( ); fB( Tu); Tu.initComponentId(28); if (!haiku.IF()) { if (haiku.IsSametimeAwarenessAvailable) { var bNeedsResolve = haiku.IsSametimeUsingLDAP; var outputHTML = prepareSametimeLink (haiku.sametimeName, haiku.userName, bNeedsResolve, "icon:yes;text:no;offlineLink:yes;"); Tu.AddEntry (outputHTML, "", "", false, false, false); } var memInfo = getMemberInfoLink (haiku.TT); if (haiku.IsSametimeAwarenessAvailable) { CurrentUsers_Menu = new PopupMenu("CurrentUsers_Menu"); CurrentUsers_Menu.addMenuItem(1, "Modifier l'état...", "javascript:openStatusWindow();"); if (G_ShowMemberProfileLink) CurrentUsers_Menu.addMenuItem(1, "Afficher le profil", memInfo, ((h_CurrentSkinType == "h_Edit") ? "_blank" : "_self")); CurrentUsers_Menu.writeMenu(); memInfo = "javascript:CurrentUsers_Menu.showMenu();"; Tu.AddEntry (haiku.userName, memInfo, "", false, false); } else Tu.AddEntry (haiku.userName, (G_ShowMemberProfileLink ? memInfo : "")); } return Tu.GenerateHTML (); } function openStatusWindow () { open(h_SameTimeServerUrlLocation + "/sametime/stlinks/" + "fr" + "/ChangeStatus.html", "_blank", "width=330,height=270,status=no,menubar=no,scrollbars=no,resizable=yes,location=no,directories=no,top=100,left=100"); } function openPeopleOnline () { var windowUrl = Lh(self) + '/' + (h_Context_InFolder==1?h_Context_InFolderName:'h_Toc') + '/$new/?EditDocument&Form=h_PeopleOnline'; open(windowUrl, "SameTime" + haiku.placeId,"width=330,height=330,status=no,menubar=no,scrollbars=no,resizable=yes,location=no,directories=no,top=100,left=100"); } function openSelectTimeZone () { document.location.href = Lf(self) + "/$preferences.nsf?OpenPreferences TARGET=blank"; } function fF( )  { var Tu = haiku.Ti( ); fB( Tu); Tu.initComponentId(4); if (haiku.IsSametimeAwarenessAvailable && G_ShowChat) { Tu.AddEntry('Discussion', "javascript:openPeopleOnline();", 'Afficher une liste des membres actuellement connectés', false, false, false); } return Tu.GenerateHTML( ); } function fG( )  { if (G_ShowOffline && !haiku.IF() && !h_ClientBrowser.isGecko() ) { return LW(); } else { return (''); } } function fH( )  { var Tu = haiku.Ti( ); fB( Tu); Tu.initComponentId( 6); Tu.AddEntry( 'Recherche', "javascript:gotoHash('search')"); return Tu.GenerateHTML( ); } function fI( )  { if (G_ShowHelp) { var Tu = haiku.Ti( ); fB( Tu); Tu.initComponentId( 7); if (HP != "Help") { Tu.AddEntry( 'Aide', "javascript:gotoHelp(Nt)", 'Active l\'aide de QuickPlace'); } return Tu.GenerateHTML( ); } else { return(''); } } function fJ ( )  { var Tu = haiku.Ti( ); fB( Tu); Tu.initComponentId( 8); if ((!haiku.IF())) { Tu.AddEntry( 'Notifier', "javascript:NotifyFormSubmit()", 'Envoie un courrier électronique contenant un lien vers cette page à d\'autres personnes'); } 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 = 'Accueil'; 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( )  { if (typeof(h_QPTocComponent_Text) != "undefined" && h_QPTocComponent_Text["imageType"] == "limerick") { iStyle = 1; if ( !currentRoom.Zw( )) h_QPComponent_ReplaceString = ""; } else iStyle = 0; var Tu = haiku.Ti( ); fB( Tu); Tu.initComponentId( 11); if ( !currentRoom.Zw( )) { Tu.AddEntry( "Arrière", 'javascript:currentRoom.Leave()', 'Aller à la salle précédente', 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 == "Oui"); 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"; } } } if (currentMember.isADAEnabled()=="1" && tB[i].unid == "ED8254464B105395852567EF0069625F") { Dt += "&PreSetFields=h_SetReadScene;h_TaskList"; } 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); Tu.initDelimiter( " "); 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, "'", "\'");  } if ( DJ != "")  { Tu.AddEntry( "Créé par :", "", "", false, false, false); if (typeof( h_Originator) != "undefined" &&  h_Originator != "Anonymous" && !haiku.IF( ) ) { var memInfo = getMemberInfoLink (h_Originator); if ( haiku.IsSametimeAwarenessAvailable) { var outputHTML = ""; var bNeedsResolve = haiku.IsSametimeUsingLDAP; outputHTML += prepareSametimeLink( h_Originator, DJ, bNeedsResolve, "icon:yes;text:no;offlineLink:yes;"); outputHTML += "&nbsp;"; if (isInStringCaseIndependent( h_Originator, haiku.TT, true)) { outputHTML += "<a href=\"javascript:CurrentUsers_Menu.showMenu();\">" + DJ + "</a>"; } else { Author_ModifiedMenu = new PopupMenu("Author_ModifiedMenu"); Author_ModifiedMenu.addMenuItem(1, "Discussion", "javascript:STLinksCreateIM('" + encodeURIComponent(h_Originator) + "');"); if (G_ShowMemberProfileLink) Author_ModifiedMenu.addMenuItem(1, "Afficher le profil", memInfo); outputHTML += Author_ModifiedMenu.writeMenu(true); outputHTML += "<a href=\"javascript:Author_ModifiedMenu.showMenu();\">" + DJ + "</a>"; } Tu.AddEntry (outputHTML, "", "", false, false, false); } else  { Tu.AddEntry( DJ, (G_ShowMemberProfileLink ? memInfo : "")); } } else  { Tu.AddEntry( DJ, ""); } } if (typeof( h_DocCreated) != "undefined") { Tu.AddEntry( au( h_DocCreated, " - "), ""); } if ( typeof(h_HasUpdates) != "undefined" && h_HasUpdates && typeof(h_LastEditor) != "undefined" && h_LastEditor != "")  { var memInfo = getMemberInfoLink( h_LastEditor); Tu.AddEntry( ((DJ != "")?"<br>":"") + "Mis à jour par :" , "", "", false, false, false); if ( !haiku.IF( ) ) Tu.AddEntry( h_LastEditorDisplayName, (G_ShowMemberProfileLink ? memInfo : "")); else Tu.AddEntry( h_LastEditorDisplayName, ""); if (typeof( h_ModifiedDate) != "undefined") { Tu.AddEntry( au( h_ModifiedDate, " - "), ""); } } } } return Tu.GenerateHTML( ); } function GeneratePageCreatedOnHTML( ) { var Tu = haiku.Ti( ); fB( Tu); Tu.initComponentId( 35); Tu.initDelimiter( " "); if (typeof( h_DocCreated) != "undefined") { Tu.AddEntry( au( h_DocCreated, " - "), ""); } return Tu.GenerateHTML( ); } function GeneratePageCreatedByHTML( ) { var Tu = haiku.Ti( ); fB( Tu); Tu.initComponentId( 34); Tu.initDelimiter( " "); 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, "'", "\'");  } if ( DJ != "")  { if (typeof( h_Originator) != "undefined" &&  h_Originator != "Anonymous" && !haiku.IF( ) ) { var memInfo = getMemberInfoLink (h_Originator); if ( haiku.IsSametimeAwarenessAvailable) { var outputHTML = ""; var bNeedsResolve = haiku.IsSametimeUsingLDAP; outputHTML += prepareSametimeLink( h_Originator, DJ, bNeedsResolve, "icon:yes;text:no;offlineLink:yes;"); outputHTML += "&nbsp;"; if (isInStringCaseIndependent( h_Originator, haiku.TT, true)) { outputHTML += "<a href=\"javascript:CurrentUsers_Menu.showMenu();\">" + DJ + "</a>"; } else { Author_ModifiedMenu = new PopupMenu("Author_ModifiedMenu"); Author_ModifiedMenu.addMenuItem(1, "Discussion", "javascript:STLinksCreateIM('" + encodeURIComponent(h_Originator) + "');"); if (G_ShowMemberProfileLink) Author_ModifiedMenu.addMenuItem(1, "Afficher le profil", memInfo); outputHTML += Author_ModifiedMenu.writeMenu(true); outputHTML += "<a href=\"javascript:Author_ModifiedMenu.showMenu();\">" + DJ + "</a>"; } Tu.AddEntry (outputHTML, "", "", false, false, false); } else  { Tu.AddEntry( DJ, (G_ShowMemberProfileLink ? memInfo : "")); } } else  { Tu.AddEntry( DJ, ""); } } } } return Tu.GenerateHTML( ); } function GeneratePageUpdatedOnHTML( ) { var Tu = haiku.Ti( ); fB( Tu); Tu.initComponentId( 36); Tu.initDelimiter( " "); if (typeof( h_ModifiedDate) != "undefined") { Tu.AddEntry( au( h_ModifiedDate, " - "), ""); } return Tu.GenerateHTML( ); } function GeneratePageUpdatedByHTML( ) { var Tu = haiku.Ti( ); fB( Tu); Tu.initComponentId( 37); Tu.initDelimiter( " "); if ( typeof(h_HasUpdates) != "undefined" && h_HasUpdates && typeof(h_LastEditor) != "undefined" && h_LastEditor != "" )  { var memInfo = getMemberInfoLink( h_LastEditor); if ( !haiku.IF( )) Tu.AddEntry( h_LastEditorDisplayName, (G_ShowMemberProfileLink ? memInfo : "")); else Tu.AddEntry( h_LastEditorDisplayName, ""); } return Tu.GenerateHTML( ); } function fX ( ) { var Tu = haiku.Ti( ); fB( Tu); Tu.initComponentId( 16); if ((GX || lt) && (h_DraftVersionUNID == "" && h_PublishedVersionUNID != "")) { Tu.AddEntry( 'Version publi&#233;e', ls); Tu.AddEntry( 'Brouillon en cours', location.href, "", true); } else if ((GX || lt) && (h_DraftVersionUNID != "" && h_PublishedVersionUNID == "")) { Tu.AddEntry( 'Version publi&#233;e', location.href, "", true); Tu.AddEntry( 'Brouillon en cours', 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>Cette page est un brouillon personnel. </b> Vous pouvez uniquement la visualiser ou la modifier. Pour reprendre la modification, cliquez sur <b>Modifier</b>. Pour publier ce brouillon de sorte que les autres personnes puissent le voir, cliquez sur <b>Publier maintenant</b>. Pour supprimer définitivement ce brouillon, cliquez sur <b>Rétablir</b>.</span><br><br>', "", "", false, false, false); } else if (h_IsPublished!=1) { Tu.AddEntry( '<span class=h-draft-text><b>Il s\'agit d\'un page personnel. </b> Vous seul pouvez la visualiser ou la modifier. Pour reprendre la modification, cliquez sur <b>Modifier</b>. Pour publier ce brouillon afin que les autres personnes puissent le voir, cliquez sur <b>Publier maintenant</b>.</span><br><br>', "", "", false, false, false); } } return Tu.GenerateHTML( ); } function fY( )  { var Tu = haiku.Ti( ); fB( Tu); Tu.initComponentId( 17); if (HP != "Help" && G_ShowTutorial) { Tu.AddEntry( 'Didacticiel', "javascript:cq('" + tC + "')", 'Visite guidée de QuickPlace'); } return Tu.GenerateHTML( ); } function fZ( )  { var Tu = haiku.Ti( ); fB( Tu); Tu.initComponentId( 19); Tu.AddEntry( 'Imprimer', "javascript:cs()", 'Ouvre le contenu de cette page dans une fenêtre distincte en vue d\'une impression'); return Tu.GenerateHTML( ); } function fa( )  { var Tu = haiku.Ti( ); fB( Tu); Tu.initComponentId( 21); if (G_ShowWhatsNew == "0") { return(''); } else if (G_ShowWhatsNew == "1") { Tu.AddEntry(  'Nouveautés', 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", "Affiche les nouveautés de cet espace (sur une journée)"); } else if (G_ShowWhatsNew == "2") { Tu.AddEntry(  'Nouveautés', 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", "Affiche les nouveautés de cet espace (sur une semaine)"); } else if (G_ShowWhatsNew == "3" || G_ShowWhatsNew == '') { Tu.AddEntry(  'Nouveaut&#233;s : ' + 'Du jour', 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", "Affiche les nouveautés de cet espace (sur une journée)"); Tu.AddEntry(  'De la semaine',  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", "Affiche les nouveautés de cet espace (sur une semaine)"); } return Tu.GenerateHTML( ); } function fb( )  { if (G_ShowSearch) { var Tu = haiku.Ti( ); fB( Tu); Tu.initComponentId( 20); Tu.AddEntry( 'Recherche étendue', "javascript:AdvSearchFormSubmit()", 'Recherche des pages par contenu, auteur et date'); return Tu.GenerateHTML( ); } else { return(''); } } function GenerateSiteMapLauncherHTML( )  { if (G_ShowSiteMap) { var Tu = haiku.Ti( ); fB( Tu); Tu.initComponentId( 26); Tu.AddEntry( 'Carte des salles', "javascript:openRemote(" + 2 + ")", 'Ouvre la carte des salles'); return Tu.GenerateHTML( ); } else { return(''); } } function GenerateDownloadFileHTML( )  { if (typeof (h_HTMLImport) != "undefined" && h_HTMLImport != "" && h_SetReadScene == "h_StdPageRead") { var Tu = haiku.Ti( ); fB( Tu); Tu.initComponentId( 30); var quoteIndex = h_HTMLImportFiles.substr(1).indexOf('\"'); var attachmentName = h_HTMLImportFiles; if (quoteIndex != -1) attachmentName = h_HTMLImportFiles.substr(1, quoteIndex); var urlString = Lh(self) + '/' + "$defaultview" + '/' +  h_PageUnid + '/$FILE/' + encodeURIComponent(attachmentName) + '?OpenElement'; if (h_ClientBrowser.Bf ()) entryURL = urlString; else entryURL = urlString + " onClick='openDownloadDialog(\"" + urlString + "\");return false;'"; var mouseoverText = (h_ClientBrowser.Bf())? 'Pour enregistrer cette page en tant que fichier sur votre ordinateur, cliquez sur ce lien avec le bouton droit de la souris, puis sélectionnez \"Enregistrer le lien sous...\"' : 'Pour enregistrer cette page en tant que fichier sur votre ordinateur, cliquez sur ce lien avec le bouton droit de la souris, puis sélectionnez \"Enregistrer la cible sous...\"'; Tu.AddEntry( 'Télécharger', entryURL, mouseoverText); return Tu.GenerateHTML( ); } else { return(''); } } function openDownloadDialog(urlString) { var downloadWindow = window.open(urlString, '', 'menubar, scrollbars'); } function GenerateSearchPlacesHTML( )  { var Tu = haiku.Ti( ); fB( Tu); Tu.initComponentId( 31); { Tu.AddEntry( 'Rechercher dans tous les espaces', "javascript:SearchPlacesFormSubmit()", 'Recherche des pages par contenu, auteur et 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( "Premier", Lc(self) + szFirst, 'Passe à la première page de ce dossier'); fe( "Précédent", Lc(self) + szPrevious, 'Passe à la page précédente'); } if (szNext != "") fe( "Suivant", Lc(self) + szNext, 'Passe à la page suivante'); if (szLast != "") fe( "Dernier", Lc(self) + szLast, 'Passe à la dernière page de ce dossier'); } fd( Lc(self) + szFolderBaseURL, kv, iNumberOfDocsInFolder); } function fd( szFolderBaseURL, kv, iNumberOfDocsInFolder) { if ( iNumberOfDocsInFolder > kv) { sx[sx.length] = new Object( ); sx[sx.length-1].title = 'Atteindre...'; sx[sx.length-1].href	 = "javascript:ff(" +  "'" + szFolderBaseURL + "')"; sx[sx.length-1].helpText	= 'Passe à une page précise du dossier'; } } 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( 'Pour aller à une page précise, entrez ci-dessous les premières lettres qui figurent dans la colonne en fonction de laquelle le dossier est trié:', ""); if ( fg != null) { var url =  szFolderBaseURL + '&StartKey=' + encodeURIComponent( fg); var K = url.indexOf("&ResortAscending"); if (K == -1 && typeof( h_FolderFirstSortedColumn) != "undefined") { url += '&ResortAscending=' + h_FolderFirstSortedColumn;  } location.href = url; } } var CurrentUsers_Menu = null; var Users_SIMenu = null; var Author_ModifiedMenu = null; var g_menuData = null; function GlobalMenuData() { this.menuParams = new Array(); this.menuParmsCt = 0; this.ActiveSingleInstance = -1; this.ActiveMenu = null; this.pageX = 0; this.pageY = 0; } function PopupMenu (label, bSingleInstance) { this.addMenuItem		= PopupMenu_addMenuItem; this.writeMenu			= PopupMenu_writeMenu; this.showMenu			= PopupMenu_showMenu; this.hideMenu			= PopupMenu_hideMenu; this.mouseTracker		= PopupMenu_mouseTracker; this.setMouseTracker = PopupMenu_setMouseTracker; if (g_menuData == null) { g_menuData = new GlobalMenuData(); this.setMouseTracker(); } this.SingleInstance = (typeof (bSingleInstance) == "undefined") ? false : bSingleInstance; if (this.SingleInstance) { this.beginParmAddIdx		= PopupMenu_beginaddMenuParametersIdx; this.ParmAddIdx			= PopupMenu_addMenuParametersIdx; this.endParmAddIdx		= PopupMenu_endaddMenuParametersIdx; this.beginParmAddStr		= PopupMenu_beginaddMenuParametersStr; this.ParmAddStr			= PopupMenu_addMenuParametersStr; this.endParmAddStr		= PopupMenu_endaddMenuParametersStr; this.menuCount				= 0; } this.MenuLabel = label; this.items = new Array(); this.itemType = new Array(); this.ActionItems = new Array(); this.Targets = new Array(); this.MenuWritten = false; } function PopupMenu_mouseTracker(e) { e = e || window.Event || window.event; g_menuData.pageX = e.pageX || e.clientX; g_menuData.pageY = e.pageY || e.clientY; } function PopupMenu_setMouseTracker() { if (document.captureEvents) { document.captureEvents(Event.MOUSEMOVE|Event.MOUSEUP|Event.CLICK|Event.MOUSEDOWN); } document.onmousemove = this.mouseTracker; document.onmouseup = this.hideMenu; document.onclick = this.mouseTracker; document.onmousedown = this.mouseTracker; } function PopupMenu_addMenuItem (menuItemType, label, action, target) { this.itemType[this.itemType.length] = menuItemType; if (typeof (label) == "undefined") label = ""; if (typeof (action) == "undefined") action = ""; if (typeof (target) == "undefined") target = "_self"; this.items[this.items.length] = label; var modAction = action; if (this.SingleInstance && menuItemType == 1) { modAction = modAction.replace(/__parm/g, "g_menuData.menuParams[g_menuData.ActiveSingleInstance]"); } this.ActionItems[this.ActionItems.length] = modAction; this.Targets[this.Targets.length] = target; } function PopupMenu_beginaddMenuParametersIdx () { g_menuData.menuParmsCt = 0; g_menuData.menuParams[this.menuCount] = new Array(); return this.menuCount; } function PopupMenu_addMenuParametersIdx (parm) { g_menuData.menuParams[this.menuCount][g_menuData.menuParmsCt] = parm; g_menuData.menuParmsCt++; } function PopupMenu_endaddMenuParametersIdx () { this.menuCount++; } function PopupMenu_beginaddMenuParametersStr (someStrIndex) { if (typeof(g_menuData.menuParams[someStrIndex]) == "undefined") { g_menuData.menuParmsCt = 0; g_menuData.menuParams[someStrIndex] = new Array(); return true; } return false; } function PopupMenu_addMenuParametersStr (someStrIndex, parm) { g_menuData.menuParams[someStrIndex][g_menuData.menuParmsCt] = parm; g_menuData.menuParmsCt++; } function PopupMenu_endaddMenuParametersStr () { } function PopupMenu_writeMenu (bReturnHtml) { bReturnHtml = (typeof (bReturnHtml) == "undefined") ? false : bReturnHtml; var container; var content = ""; if (h_ClientBrowser.Sb() || h_ClientBrowser.isGecko()) { content += '<SPAN style="visibility:hidden;" ID=' + this.MenuLabel + 'Menu>'; } else { if (!document.layers[this.MenuLabel + "Menu"]) { var layerContent = '<LAYER visibility=hide id="' + this.MenuLabel + 'Menu"> </LAYER>';  if (bReturnHtml) return layerContent; else document.writeln (layerContent); return; } } content += '<div id="' + this.MenuLabel + '_div" class="h-menu-div">'; content += '<table cellpadding="0" cellspacing="0" border="0" class="h-menu-bg"><tr><td>'; content += '<table id="' + this.MenuLabel + '_table" cellpadding="0" cellspacing="4" border="0">'; for (var n = 0; n < this.items.length; n++) { content += '<tr><td class="h-menu-text" nowrap>'; if (this.itemType[n] == 2) { content += "<hr>"; } else if (this.itemType[n] == 0) { content += '&nbsp;&nbsp;' + this.items[n] + '&nbsp;&nbsp;'; } else { content += '<a class=h-menu-text target=' + this.Targets[n] + ' href="' + this.ActionItems[n] + '">&nbsp;&nbsp;' + this.items[n] + '&nbsp;&nbsp;</a>'; } content += "</td></tr>"; } content += "</table></td></tr></table></div>"; if (h_ClientBrowser.Sb() || h_ClientBrowser.isGecko()) { content += '</SPAN>'; if (bReturnHtml)  return content; else document.writeln(content); } else { var tempMenu = document.layers [this.MenuLabel + "Menu"]; tempMenu.document.open ("text/html"); tempMenu.document.writeln (content); tempMenu.document.close (); this.MenuWritten = true; } } function PopupMenu_showMenu (whichMenuCt) { if (h_ClientBrowser.Sb()) g_menuData.ActiveMenu = document.all[this.MenuLabel + "Menu"]; else if (h_ClientBrowser.isGecko()) g_menuData.ActiveMenu = pageGetElementById(this.MenuLabel + "Menu"); else g_menuData.ActiveMenu = document.layers[this.MenuLabel + "Menu"]; if (!h_ClientBrowser.Sb() && !h_ClientBrowser.isGecko() && !this.MenuWritten) this.writeMenu (); if (h_ClientBrowser.Sb()) { var tableSize = document.all[this.MenuLabel + "_table"].offsetWidth; if (document.body.clientWidth < (5 + g_menuData.pageX + document.body.scrollLeft + tableSize)) g_menuData.ActiveMenu.style.pixelLeft = document.body.clientWidth - tableSize - 2; else g_menuData.ActiveMenu.style.pixelLeft = (5 + g_menuData.pageX + document.body.scrollLeft); g_menuData.ActiveMenu.style.pixelTop =  (5 + g_menuData.pageY + document.body.scrollTop); g_menuData.ActiveMenu.style.position = "absolute"; g_menuData.ActiveMenu.style.zIndex = 1000; g_menuData.ActiveMenu.style.visibility = "visible"; document.onmouseup = this.hideMenu; } else if (h_ClientBrowser.isGecko()) { var tableSize = pageGetElementById(this.MenuLabel + "_table").offsetWidth; if (document.body.clientWidth < (5 + g_menuData.pageX + document.body.scrollLeft + tableSize)) g_menuData.ActiveMenu.style.left = document.body.clientWidth - tableSize - 2; else g_menuData.ActiveMenu.style.left = (5 + g_menuData.pageX + document.body.scrollLeft); g_menuData.ActiveMenu.style.top =  (5 + g_menuData.pageY + document.body.scrollTop); g_menuData.ActiveMenu.style.position = "absolute"; g_menuData.ActiveMenu.style.zIndex = 1000; g_menuData.ActiveMenu.style.visibility = "visible"; document.onmouseup = this.hideMenu; } else { if (window.outerWidth < g_menuData.pageX + g_menuData.ActiveMenu.clip.width) g_menuData.ActiveMenu.left = window.outerWidth - g_menuData.ActiveMenu.clip.width - 2; else g_menuData.ActiveMenu.left = 5 + g_menuData.pageX; g_menuData.ActiveMenu.top = 5 + g_menuData.pageY; g_menuData.ActiveMenu.zIndex = 1000; g_menuData.ActiveMenu.visibility = "show"; } if (this.SingleInstance && typeof (whichMenuCt) != "undefined") { g_menuData.ActiveSingleInstance = whichMenuCt; } } function PopupMenu_hideMenu() { if (g_menuData.ActiveMenu) { if (h_ClientBrowser.Sb() || h_ClientBrowser.isGecko()) g_menuData.ActiveMenu.style.visibility = "hidden"; else { g_menuData.ActiveMenu.visibility = "hide"; } } } function PopupMenu_visitLink (locToVisit) { document.location.href = locToVisit; } 