<!-- (c) Copyright IBM Corporation 1999, 2002   All rights reserved. Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. -->
<!-- $HaikuForm - 350654.4 -->

function UB (UD, UE, UF, UG, UH, Jk, workflowOptionsStr, mQ) { var UC; this.UD = UD; this.UE = UE; this.UF = UF; this.UG = UG; this.UH = UH; this.Jk = Jk; this.UI = new Array(); this.Jl = new Array (); if (Jk == "h_ApprovalCycle" || Jk == "h_EditorInChief") { for (UC=0;UC<7;UC++) { var UJ = (workflowOptionsStr.indexOf(":") == -1) ? 999 : workflowOptionsStr.indexOf(":"); this.UI[UC] = workflowOptionsStr.substring(0, UJ); workflowOptionsStr = workflowOptionsStr.substring(this.UI[UC].length + 1); } this.UI["apprRead"] = this.UI[0]; this.UI["apprEdit"] = this.UI[1]; this.UI["apprPutHow"] = this.UI[2]; this.UI["apprFolder"] = this.UI[3]; this.UI["rejectDest"] = this.UI[4]; this.UI["inProccessFolder"] = this.UI[6]; for (UC=0;UC<4;UC++) { var UJ = (mQ.indexOf(":") == -1) ? 999 : mQ.indexOf(":"); var UK = mQ.substring(0, UJ); if (UK != "") { this.Jl[UC] = UK; mQ = mQ.substring(this.Jl[UC].length + 1); } else { break; } } } else { this.UI[0] = workflowOptionsStr; } this.fieldDef = new Array (); } function Ue() { } UM = new Ue(); Ue.prototype = new UN(); Ue.prototype.init = Uf; Ue.prototype.initChild = Ug; Ue.prototype.getEditModeHTML = Uh; Ue.prototype.getReadModeHTML = Ui; function Uf(kw,UQ,UR,KN,US, UT,UU,UV,kx) { this.initField(kw,UQ,UR,KN,US, UT,UU,UV,kx); this.initChild(); } function Ug(){ } function Uh(pageFrame, fieldIndex) { var UY = currentRoom.Zv[pageFrame.h_Form].fieldDef[fieldIndex]; pageInput(pageFrame, UY.UQ + ". " + UY.UR, pageFrame.h_OriginatorDisplayName, (fieldIndex+1)-staticTextCount + "."); } function Ui(pageFrame, fieldIndex) { var UY = currentRoom.Zv[pageFrame.h_Form].fieldDef[fieldIndex]; pageInput(pageFrame, UY.UQ, pageFrame.h_OriginatorDisplayName); } function VJ() { } UM = new VJ(); VJ.prototype = new UN(); VJ.prototype.init = VK; VJ.prototype.initChild = VL; VJ.prototype.getEditModeHTML = VM; VJ.prototype.getReadModeHTML = VN; function VK(kw,UQ,UR,KN,US, UT,UU,UV,kx) { this.initField(kw,UQ,UR,KN,US, UT,UU,UV,kx); this.initChild(); } function VL(){ } function VM(pageFrame, fieldIndex) { var UY = currentRoom.Zv[pageFrame.h_Form].fieldDef[fieldIndex]; pageInput(pageFrame, UY.UQ + ". " + UY.UR, au(pageFrame.h_DocCreated, " "), (fieldIndex+1)-staticTextCount + "."); } function VN(pageFrame, fieldIndex) { var UY = currentRoom.Zv[pageFrame.h_Form].fieldDef[fieldIndex]; pageInput(pageFrame, UY.UQ, au(pageFrame.h_DocCreated, " ")); } function VP() { } UM = new VP(); VP.prototype = new UN(); VP.prototype.init = VQ; VP.prototype.initChild = VR; VP.prototype.getEditModeHTML = VS; VP.prototype.Ub = VT; VP.prototype.Uc = VV; function VQ(kw,UQ,UR,KN,US, UT,UU,UV,kx) { this.initField(kw,UQ,UR,KN,US, UT,UU,UV,kx); this.initChild(); } function VR(){ } function VS(pageFrame, fieldIndex) { var currentFieldValue = eval(this.KP); var UZ=""; if (pageFrame.h_IsNewDoc=="1") { if(currentFieldValue=="") { UZ = Ko(); } else { UZ = currentFieldValue; } } else { UZ = currentFieldValue; } var h = "<INPUT TITLE=\"" + this.UQ + "\" TYPE=text NAME=" + this.KP + " SIZE=" + "10" + " VALUE=\"" + UZ + "\">"; if (currentMember.isADAEnabled()!="1") h += D_DatePickerHTML( this.KP); pageInput (pageFrame, this.UQ + ". " + this.UR, h, (fieldIndex+1)-staticTextCount + "."); } function VT(pageFrame) { var VU = new Array("'", "\"","<",">");var Wa = new Array("\\\'", "&quot;","&lt;","&gt;"); pageFrame.document.write("<INPUT type=hidden NAME=\"h_FieldDefaultValue\" VALUE=\"" + MS(pageFrame.h_FieldDefaultValue, VU, Wa) + "\">"); pageInput (pageFrame, 'Other settings:', '<table border=0 width=100% cellpadding=0 cellspacing=0><tr><td align=right width=3% valign=top><INPUT TITLE="' + 'Required field' + '" TYPE=checkbox NAME="h_getFieldIsRequired" VALUE="h_True"' + ((pageFrame.h_FieldIsRequired=='h_True')?' checked':'') + '><INPUT TYPE=hidden NAME="h_FieldIsRequired"></td><td valign=top>' + 'Alert the author if they forget to fill out this field.' + '</td></tr></table>'); } function VV(pageFrame) { h_FieldDefaultValue = CV.h_FieldDefaultValue.value; CV.h_FieldIsRequired.value = (CV.h_getFieldIsRequired.checked)?'h_True':''; } function _DocLastEditorField() { } UM = new _DocLastEditorField(); _DocLastEditorField.prototype = new UN(); _DocLastEditorField.prototype.init				 = lastEditorField_init; _DocLastEditorField.prototype.initChild		 = lastEditorField_initChild; _DocLastEditorField.prototype.getEditModeHTML = getLastEditorEditHTML; _DocLastEditorField.prototype.getReadModeHTML = getLastEditorReadHTML; function lastEditorField_init(kw,UQ,UR,KN,US, UT,UU,UV,kx)  { this.initField(kw,UQ,UR,KN,US, UT,UU,UV,kx); this.initChild(); } function lastEditorField_initChild() { } function getLastEditorEditHTML(pageFrame, fieldIndex) { var UY = currentRoom.Zv[pageFrame.h_Form].fieldDef[fieldIndex]; pageInput(pageFrame, UY.UQ + ". " + UY.UR, pageFrame.h_LastEditorDisplayName, (fieldIndex+1)-staticTextCount + "."); } function getLastEditorReadHTML(pageFrame, fieldIndex) { var UY = currentRoom.Zv[pageFrame.h_Form].fieldDef[fieldIndex]; pageInput(pageFrame, UY.UQ, pageFrame.h_LastEditorDisplayName); } function VW() { } UM = new VW(); VW.prototype = new UN(); VW.prototype.init = VX; VW.prototype.initChild = VY; VW.prototype.getEditModeHTML = VZ; VW.prototype.getReadModeHTML = Va; function VX(kw,UQ,UR,KN,US, UT,UU,UV,kx) { this.initField(kw,UQ,UR,KN,US, UT,UU,UV,kx); this.initChild(); } function VY(){ } function VZ(pageFrame, fieldIndex) { var UY = currentRoom.Zv[pageFrame.h_Form].fieldDef[fieldIndex]; pageInput(pageFrame, UY.UQ + ". " + UY.UR, au(pageFrame.h_ModifiedDate, " "), (fieldIndex+1)-staticTextCount + "."); } function Va(pageFrame, fieldIndex) { var UY = currentRoom.Zv[pageFrame.h_Form].fieldDef[fieldIndex]; pageInput(pageFrame, UY.UQ, au(pageFrame.h_ModifiedDate, " ")); } function WG() { } UM = new WG(); WG.prototype = new UN(); WG.prototype.init = WH; WG.prototype.initChild = WI; WG.prototype.getEditModeHTML = WJ; WG.prototype.getReadModeHTML = WK; function WH(kw,UQ,UR,KN,US, UT,UU,UV,kx) { this.initField(kw,UQ,UR,KN,US, UT,UU,UV,kx); this.initChild(); } function WI(){ } function WJ(pageFrame, fieldIndex) { var UY = currentRoom.Zv[pageFrame.h_Form].fieldDef[fieldIndex]; pageInput(pageFrame, UY.UQ + ". " + UY.UR, pageFrame.h_DocSize, (fieldIndex+1)-staticTextCount + "."); } function WK(pageFrame, fieldIndex) { var UY = currentRoom.Zv[pageFrame.h_Form].fieldDef[fieldIndex]; pageInput(pageFrame, UY.UQ, pageFrame.h_DocSize); } function WM() { } UM = new WM(); WM.prototype = new UN(); WM.prototype.init = WN; WM.prototype.initChild = WO; WM.prototype.getEditModeHTML = WP; WM.prototype.getReadModeHTML = WP; WM.prototype.Ub = WQ; WM.prototype.Uc = WR; function WN(kw,UQ,UR,KN,US, UT,UU,UV,kx) { this.initField(kw,UQ,UR,KN,US, UT,UU,UV,kx); this.initChild(); } function WO(){ } function WP(pageFrame, fieldIndex) { var UY = currentRoom.Zv[pageFrame.h_Form].fieldDef[fieldIndex]; pageFrame.document.write(UY.UU); } function WQ(pageFrame) { pageFrame.document.write('<input name=PageBody type=hidden>'); pageFrame.document.write('<input name=h_FieldDefaultValue type=hidden>'); C(pageFrame, 'Non-editable rich text may be added (or replaced) in your form by clicking the <b>Edit Text</b> button at the bottom of the page.'); pageFrame.document.write(pageFrame.PageBody + "<br>"); } function WR(pageFrame) { var Ps = (h_PublishedVersionUNID=="")?h_PageUnid:h_PublishedVersionUNID; CV.PageBody.value = PageBody; if (PageBody.indexOf('src=\"$FILE/') > -1){ PageBody = LL(PageBody, 'src=\"$FILE/', 'src=\"' + "../../$defaultview" + "/" + Ps + '/$FILE' + "/"); } else if (PageBody.indexOf('SRC=$FILE/') > -1){ var WS = PageBody.substring(0, PageBody.indexOf('SRC=$FILE/')); var WT = 'SRC=' + "../../$defaultview" + "/" + Ps + "/"; var WU = PageBody.substring(PageBody.indexOf('$FILE/')); PageBody=WS+WT+WU; } CV.h_FieldDefaultValue.value = PageBody; } function DN( Oc, bOver, bWidth) { Oc.OutRectWidth=(bWidth) ? bWidth : 75; Oc.OutRectHeight=22; Oc.OutMaxLines=1; Oc.OutTransColor='ffffff'; Oc.Align='CENTER'; Oc.FontName="Verdana"; Oc.FontPointSize=8; Oc.FontColor='fffff0'; Oc.FontAntiAliasColor='007f7f'; Oc.BlurFactor=5; Oc.EffectType='Shadow'; Oc.ShadowColor='cccccc'; Oc.ShadowXOffset='0'; Oc.ShadowYOffset='0'; Oc.BkColor='007f7f'; if ( bOver) { Oc.BkEffect='BEVELHILITE';	 } else { Oc.BkEffect='BEVEL';	 } Oc.BevelSize='4'; Oc.BevelLightSource='UPPER_LEFT'; Oc.BevelType='SIMPLE_OUTER'; Oc.BevelCorner='ROUNDED'; Oc.OutOp='CLIP_WORDWRAP'; } function LU( RC, buttonArray) { if (h_ClientBrowser.SW (4))  { var V; if (  h_ClientBrowser.SY()) { MN(eval('document.' +  RC),1,RC,eval(buttonArray + '[1]')); } else { V = buttonArray + '[1]'; eval ('document.' + RC + '.src=' + V + ';'); } } } function Qp( RC, buttonArray) { if (h_ClientBrowser.SW (4))  { var V; if (  h_ClientBrowser.SY()) { MN(eval('document.' +  RC),1,RC,eval(buttonArray + '[0]')); } else { V = buttonArray + '[0]'; eval ('document.' + RC + '.src=' + V + ';'); } } } function XW() { } UM = new XW(); XW.prototype = new UN(); XW.prototype.init = XX; XW.prototype.initChild = XY; XW.prototype.getReadModeHTML = XZ; XW.prototype.getEditModeHTML = Xc; XW.prototype.Ud = Xe; function XX(kw,UQ,UR,KN,US, UT,UU,UV,kx) { this.initField(kw,UQ,UR,KN,US, UT,UU,UV,kx); this.initChild(); } function XY(){ } function XZ(pageFrame, fieldIndex) { } var h_DeleteButton; var Xb = false; function Xc(pageFrame, fieldIndex) { if (h_ClientBrowser.SX ()) { kz = true; var XQ; XQ = '<object title="' + 'Upload control' + '" ID="UploadControl" '; XQ = XQ + 'width=100% '; XQ = XQ + 'height=' + 138 + ' '; XQ = XQ + 'classid="clsid:05D96F71-87C6-11D3-9BE4-00902742D6E0" '; XQ = XQ + 'codebase="' + Lk () + Lc(self) + '/qp2.cab#Version=' + "6,5,1,2" + '"'; XQ = XQ + '>'; XQ = XQ + '<param name="General_Mode" value=' + 2 + '>'; XQ = XQ + '<param name="General_URL" value="' + getAbsoluteRoomPath(self) + '/' + "$defaultview" + '/' + h_PageUnid + '">'; XQ = XQ + '<param name="General_CurrentEditScene" value="' + CV.h_SetEditCurrentScene.value + '">'; XQ = XQ + '<param name="General_ServerName" value="' + Lk () + '">'; XQ = XQ + '<param name="General_MaxFileSize" value="' + h_MaxFileSizeAllowedToUpload + '">'; XQ = XQ + '<param name="General_BgColor" value="' + h_CurrentBgColor + '">'; var XSS_ImportHTML = ''; if ( XSS_ImportHTML == "false") XQ = XQ + '<param name="General_PreSetFields" value="' + 'checkXSS' + '">'; XQ = XQ + '<param name="Import_OriginalFile" value="' + h_HTMLImportOriginalFile + '">'; XQ = XQ + '<param name="Import_Names" value=\'' + h_HTMLImportFiles + '\'>'; XQ = XQ + '<param name="Import_Lengths" value="' + h_AttachmentLengths + '">'; XQ = XQ + '<param name="Import_Times" value="' + h_AttachmentTimes + '">'; XQ = XQ + '<param name="Import_NewDoc" value="' + h_NewDoc + '">'; XQ = XQ + '<param name="Import_NSImport" value="' + h_NSImport + '">'; XQ = XQ + '</object>'; XQ = XQ + '<input name=h_AttachmentTimes type=hidden>'; XQ = XQ + '<input name=h_HTMLImport type=hidden>'; XQ = XQ + '<input name=h_HTMLImportUnqNum type=hidden>'; XQ = XQ + '<input name=h_HTMLImportFiles type=hidden>'; XQ = XQ + '<input name=h_HTMLImportOriginalFile type=hidden>'; XQ = XQ + '<input name=h_HTMLImportStyleSheet type=hidden>'; XQ = XQ + '<input name=h_NSImport type=hidden>'; XQ = XQ + '<input name=h_NewDoc type=hidden>'; if (typeof pageFrame.h_LastTimePutAway == "undefined") pageInput(pageFrame, "You can import a Microsoft Word, PowerPoint, Excel, HTML, JPEG or GIF file by clicking the folder icon below and selecting a file. You can also drag files from your desktop.", XQ, (fieldIndex+1)-staticTextCount + "."); else pageInput(pageFrame, "You can edit the document by double-clicking its icon, or you can replace the document with another from your computer by clicking Replace.", XQ, (fieldIndex+1)-staticTextCount + "."); } else { var X = new Hw(); DN( X, false, false); var Y = new Hw(); DN( Y, true, false); X.TextString = "Replace..."; Y.TextString = "Replace..."; h_DeleteButton = new Array(X.Hu(), Y.Hu()); if (h_HTMLImport != "") { document.write('<input name=h_SetDeleteAttachments value="" type=hidden>'); var Xd = ""; if (h_ClientBrowser.SW (4))  Xd = ' onMouseOver=javascript:LU("h_DeleteButtonName","h_DeleteButton") onMouseOut=javascript:Qp("h_DeleteButtonName","h_DeleteButton")'; pageInput (self, 'The HTML file currently used by this page is:', '<table border="0" width="100%"><tr><td nowrap align="right" valign="top"><a href="javascript:P(\'h_DeleteFiles\')" ' + Xd + ' >' + MP(h_DeleteButton[0], 'h_DeleteButtonName', ' border="0" width="75" height="22"', "Replace File") + '</a></td><td width="457"><a target=_blank href="' + "../../$defaultview" + "/" + h_PageUnid + "/" + gw(h_HTMLImport,h_HTMLImportUnqNum) + '">' + h_HTMLImport + '</a></td></tr></table>', (fieldIndex+1)-staticTextCount + "."); C (self, 'To download this file right click on the link and select "Save Link As," or to replace this file click on "Replace."'); } else { pageInput (self, 'Import the HTML file that you want to publish, by clicking the browse button below and selecting the desired file. ', '<input type=file name="HaikuUploadAttachment">', (fieldIndex+1)-staticTextCount + "."); CV.encoding='multipart/form-data'; } document.write('<input name=h_HTMLImport type=hidden>'); document.write('<input name=h_HTMLImportUnqNum type=hidden>'); document.write('<input name=h_HTMLImportFiles type=hidden>'); document.write('<input name=h_HTMLImportOriginalFile type=hidden>'); document.write('<input name=h_HTMLImportStyleSheet type=hidden>'); document.write('<input name=h_NSImport type=hidden>'); document.write('<input name=h_NewDoc type=hidden>'); } } function Xe(pageFrame, submitAction) { if (h_ClientBrowser.SX ()) { CV.UploadControl.General_SubmitAction = submitAction; if (CV.UploadControl.General_CancelSubmit) { return false; } } if (submitAction == "h_Next" || submitAction == "h_Jump" || submitAction == "h_TempSave") { if (h_ClientBrowser.SX ()) { var EZ = CV.UploadControl.Import_HTMLFileName; if (EZ == "") { alert('Please specify one or more files to import.'); return false; } if ((submitAction == "h_Jump" || submitAction == "h_TempSave") &&	 !Xm()) { if (!CV.UploadControl.Import_UploadImportedFiles("", h_Authors)) { return false; } CV.h_HTMLImport.value = EZ; } if (Xb) { if (!Xm()) { CV.h_Form.value = "025BBAB4299CCFDF0525670800167246"; } else { CV.h_Form.value = h_Form; } } CV.h_HTMLImportUnqNum.value = ""; if (CV.h_Name.value == "") { CV.h_Name.value = CV.UploadControl.Import_FileName; } CV.h_HTMLImportUnqNum.value = gv(); CV.h_HTMLImportFiles.value = CV.UploadControl.Import_Names; CV.h_AttachmentTimes.value = CV.UploadControl.Import_Times; CV.h_NewDoc.value = CV.UploadControl.Import_NewDoc; CV.h_HTMLImportOriginalFile.value = CV.UploadControl.Import_OriginalFile; CV.h_HTMLImportStyleSheet.value = CV.UploadControl.Import_StyleSheetFileName; CV.h_NSImport.value = CV.UploadControl.Import_NSImport; } else { if (typeof(CV.HaikuUploadAttachment) != "undefined") { var upload = CV.HaikuUploadAttachment; upload.focus(); upload.blur(); var Bg = upload.value; if (Bg == "") { alert('Please specify an HTML file.'); upload.focus(); return false; } var ext = Bg.substring(Bg.lastIndexOf(".")+1); ext = ext.toLowerCase(); if (ext != "htm" && ext != "html") { alert('You must specify a file with an .HTML or .HTM extension. Please try again.'); upload.focus(); return false; } Bg = Bg.substring(Bg.lastIndexOf("\\")+1); Bg = Bg.substring(Bg.lastIndexOf("/")+1); CV.h_HTMLImport.value = Bg; CV.h_HTMLImportUnqNum.value = gv(); CV.h_HTMLImportFiles.value = Bg; } else { CV.h_HTMLImport.value = h_HTMLImport; CV.h_HTMLImportUnqNum.value = h_HTMLImportUnqNum; CV.h_HTMLImportFiles.value = h_HTMLImportFiles; } CV.h_NSImport.value = "1"; } } else { CV.h_HTMLImport.value = ""; CV.h_HTMLImportUnqNum.value = ""; CV.h_HTMLImportFiles.value = ""; } return submitAction; } function Xf() { document.writeln('<OBJECT title="' + 'Upload control' + '" ID="UploadControl" '); document.writeln('width=0'); document.writeln('height=0'); document.writeln('classid="clsid:05D96F71-87C6-11D3-9BE4-00902742D6E0"'); document.writeln('codebase="' + Lk () + Lc(self) + '/qp2.cab#Version=' + "6,5,1,2" + '"'); document.writeln('>'); document.writeln('<param name="General_Mode" value=' + 2 + '>'); document.writeln('<param name="General_URL" value="' + getAbsoluteRoomPath(self) + '/' + "$defaultview" + '/' + h_PageUnid + '">'); document.writeln('<param name="General_ServerName" value="' + Lk () + '">'); document.writeln('<param name="General_MaxFileSize" value="' + h_MaxFileSizeAllowedToUpload + '">'); document.writeln('<param name="Import_Names" value=\'' + h_HTMLImportFiles + '\'>'); document.writeln('<param name="General_CurrentEditScene" value="h_StdPageEdit">'); document.writeln('</OBJECT>'); } function Xg() { if (!CV.UploadControl.Import_UploadImportedFiles(bG.Jy, h_Authors)) { return false; } CV.h_HTMLImportFiles.value = CV.UploadControl.Import_Names; CV.h_HTMLImport.value = CV.UploadControl.Import_HTMLFileName; if (Xm()) bG.Jx = "h_Publish"; return true; } function Xh() { } UM = new Xh(); Xh.prototype = new XW(); Xh.prototype.init = Xi; Xh.prototype.initChild = Xj; Xh.prototype.getReadModeHTML = XZ; Xh.prototype.getEditModeHTML = Xk; Xh.prototype.Ud = Xl; function Xi(kw,UQ,UR,KN,US, UT,UU,UV,kx) { this.initField(kw,UQ,UR,KN,US, UT,UU,UV,kx); this.initChild(); } function Xj(){ } function Xk(pageFrame, fieldIndex) { if (h_ClientBrowser.SX ()) { if (typeof pageFrame.h_LastTimePutAway == "undefined") { kz = true; XQ = '<object title="' + 'Upload control' + '" ID="UploadControl" '; XQ = XQ + 'width=100% '; XQ = XQ + 'height=' + 250 + ' '; XQ = XQ + 'classid="clsid:05D96F71-87C6-11D3-9BE4-00902742D6E0" '; XQ = XQ + 'codebase="' + Lk () + Lc(self) + '/qp2.cab#Version=' + "6,5,1,2" + '"'; XQ = XQ + '>'; XQ = XQ + '<param name="General_Mode" value=' + 3 + '>'; XQ = XQ + '<param name="General_URL" value="' + getAbsoluteRoomPath(self) + '/' + "$defaultview" + '/' + h_PageUnid + '">'; XQ = XQ + '<param name="General_CurrentEditScene" value="' + CV.h_SetEditCurrentScene.value + '">'; XQ = XQ + '<param name="General_ServerName" value="' + Lk () + '">'; XQ = XQ + '<param name="General_MaxFileSize" value="' + h_MaxFileSizeAllowedToUpload + '">'; XQ = XQ + '<param name="General_BgColor" value="' + h_CurrentBgColor + '">'; XQ = XQ + '<param name="Import_Names" value=\'' + h_HTMLImportFiles + '\'>'; XQ = XQ + '<param name="Import_OriginalFile" value="' + h_HTMLImportOriginalFile + '">'; XQ = XQ + '<param name="Import_Lengths" value="' + h_AttachmentLengths + '">'; XQ = XQ + '<param name="Import_Times" value="' + h_AttachmentTimes + '">'; XQ = XQ + '<param name="Import_NewDoc" value="' + h_NewDoc + '">'; XQ = XQ + '</object>'; XQ = XQ + '<input name=h_AttachmentTimes type=hidden>'; XQ = XQ + '<input name=h_HTMLImport type=hidden>'; XQ = XQ + '<input name=h_HTMLImportUnqNum type=hidden>'; XQ = XQ + '<input name=h_HTMLImportFiles type=hidden>'; XQ = XQ + '<input name=h_HTMLImportOriginalFile type=hidden>'; XQ = XQ + '<input name=h_HTMLImportStyleSheet type=hidden>'; XQ = XQ + '<input name=h_NSImport type=hidden>'; XQ = XQ + '<input name=h_NewDoc type=hidden>'; XQ = XQ + '<input name=h_Name type=hidden>'; XQ = XQ + '<input name=h_Form type=hidden>'; XQ = XQ + '<input name=h_MultipleImport type=hidden>'; pageInput(pageFrame, "You can import several Word, PowerPoint, Excel, HTML, JPEG or GIF files at once by clicking the folder icon below and selecting the desired files. Each file will be converted into a separate page in the place. You can also drag files from your desktop.", XQ, (fieldIndex+1)-staticTextCount + "."); } else { Xc(pageFrame, fieldIndex); } } } function Xl(pageFrame, submitAction) { Xb = true; if (submitAction == "h_Next" || submitAction == "h_Jump") { CV.h_MultipleImport.value = CV.UploadControl.General_FileCount; } submitAction = Xe(pageFrame, submitAction); return submitAction; } function Xm() { if (typeof(CV.h_MultipleImport) == "undefined" ||  CV.h_MultipleImport.value == "" ||  CV.h_MultipleImport.value == 0 ||  CV.h_MultipleImport.value == 1) return false; return true; } function YA() { } UM = new YA(); YA.prototype								= new UN(); YA.prototype.init						= YB; YA.prototype.initBase					= YC; YA.prototype.getReadModeHTML			= YW; YA.prototype.preProcessPageBody		= RichTextControlField_preProcessPageBody; function YB(kw,UQ,UR,KN,US, UT,UU,UV,kx)  { this.initBase(kw,UQ,UR,KN,US,UT,UU,UV,kx); } function YC(kw,UQ,UR,KN,US, UT,UU,UV,kx)  { this.Fn			= 0; this.Fo			= 0; this.EJ		= null; this.YD		= "0"; this.YE					= "4"; this.YF = ""; this.initField(kw,UQ,UR,KN,US,UT,UU,UV,kx); } function YW(pageFrame, fieldIndex) { if (typeof PageBody != "undefined") { if (fieldIndex > 0 && !(fieldIndex==1 && formObj.fieldDef[0].KN=="h_Subject")) { if ( this.UQ != "" && this.UQ != "Untitled") { C(pageFrame, this.UQ); } } document.write(this.preProcessPageBody(PageBody) + '<br>&nbsp;'); } } function lG( theColorArray, theColor) { var hw = false; if ( theColor != '') { hw = lH( theColorArray, theColor); } return hw; } function lH( jF, theColor) { var hw = false; if ( typeof(jF) != "undefined") { for ( i = 0; i < jF.length; i++) { if ( jF[i] == theColor) { hw = true; break; }		 } } return hw; } function OV ( a_Field, a_colorArray, a_FunctionCallBack) { document.write(lI ( a_Field, a_colorArray, a_FunctionCallBack)); } function lI ( a_Field, a_colorArray, a_FunctionCallBack) { var lJ = '<table cellpadding="0" cellspacing="1" border="0" bordercolor="#ffffff" bgcolor="#ffffff" width="456">'; var DU = 19; var lK = a_colorArray.length/19; var i; var j; var k; for ( i = 0; i < lK; i++) { lJ += '<tr align="CENTER" valign="MIDDLE" style="">'; for ( j = 0; j < 19; j++) { k = (i*19)+j; lJ += '<td width=23 height=23 bgcolor="#' + a_colorArray[k] +'"> '; lJ += '<input type="radio" name="' + a_Field + '" value=' + a_colorArray[k]; if (a_FunctionCallBack)  { lJ += ' onclick=' + a_FunctionCallBack + '("' + a_colorArray[k] + '")'; } lJ += ' >'; lJ += '</td>'; } lJ += '</tr>'; } lJ += "</table>"; return lJ; } function lL(a_Field, a_ClickValue, a_ClickValue2, imgNamesList, colorList) { var lM = a_Field + 'Table';  var gx = '<table id=' + lM + ' cellpadding="0" cellspacing="1" border="0" bordercolor="#ffffff" bgcolor="#ffffff" width="386">'; var PT = imgNamesList.length; var Dy = 5; var PU = 0; var PV = 0; var PW; var PX; while (PU < PT)  { gx += "<tr valign=top style='background-color:#" + colorList[0] + "'>"; PV = 0; while (PU < PT && PV < Dy)  { if (imgNamesList[PU] == "")  { PW = "../../../../../qphtml/attachments/transparent.gif"; PX = ""; } else  { PW = "../../../../.." + "/qphtml/attachments/" + imgNamesList[PU]; PX = imgNamesList[PU]; } if (  h_ClientBrowser.SY() ) { gx += "<td width=76 height=76 bgColor=" + colorList[PU] + ">"; } else { gx += "<td width=76 height=76 background=" + PW + " bgColor=" + colorList[PU] + ">"; } gx += "<input type=radio style='background-color:#" + colorList[PU] + "' name=" + a_Field + " value='" + 	PX +	"' onclick='CV." + a_ClickValue + ".value=this.value;CV." + a_ClickValue2 + ".value=\""+colorList[PU]+"\";'>"; gx += 	"</td>"; PU ++; PV ++; } gx += "</tr>"; } gx += "</table>"; return gx; } function lN( theTablePrefix, imgNamesList) { if (  h_ClientBrowser.SY() ) {	 var counter = 0; var PW; var lO; theTableObj = eval('document.all.' + theTablePrefix + 'Table;'); for ( i = 0; i < theTableObj.rows.length; i++) { for ( j = 0; j < theTableObj.rows[i].cells.length; j++) { if (imgNamesList[counter] == "")  { PW = "../../../../../qphtml/attachments/transparent.gif"; lO = 'transparent'; } else  { PW = "../../../../.." + "/qphtml/attachments/" + imgNamesList[counter]; lO = imgNamesList[counter]; } theTableObj.rows[i].cells[j].background = lP( theTableObj.rows[i].cells[j].background,  PW,  lO); counter++; } } } } function lP( MO, Hv, index) { checkImage = new Image(); checkImage.src = Hv; if ( typeof(cO[index]) == "undefined") { cO[index] = checkImage; } return cO[index].href; } function stripPound( colorString) { if ( colorString.charAt( 0) == '#') { return colorString.substring( 1); } return colorString; } function RichTextControlField_preProcessPageBody(thePageBody) { var indexWhere1 = 0; var indexWhere2 = 0; var indexWhere3 = 0; var mE = '&FontAntiAliasColor='; var bkColorString = '&BkColor='; var outTransColorString = '&OutTransColor='; var bgColorForLimerick = stripPound( G_qpCurrentBackgroudColor); while (( indexWhere1 != -1) && ( indexWhere2 != -1) && ( indexWhere3 != -1)) { indexWhere1 = thePageBody.indexOf(mE, indexWhere1); if ( indexWhere1 != -1)  { indexWhere1 += mE.length; thePageBody = thePageBody.substring(0, indexWhere1) +  bgColorForLimerick + thePageBody.substring(indexWhere1+bgColorForLimerick.length); } indexWhere2 = thePageBody.indexOf(bkColorString, indexWhere2); if ( indexWhere2 != -1)  { indexWhere2 += bkColorString.length; thePageBody = thePageBody.substring(0, indexWhere2) +  bgColorForLimerick + thePageBody.substring(indexWhere2+bgColorForLimerick.length); } indexWhere3 = thePageBody.indexOf(outTransColorString, indexWhere3); if ( indexWhere3 != -1)  { indexWhere3 += outTransColorString.length; thePageBody = thePageBody.substring(0, indexWhere3) +  bgColorForLimerick + thePageBody.substring(indexWhere3+bgColorForLimerick.length); } }	 return thePageBody; } function Yh() { } Yh.prototype							= new YA(); Yh.prototype.init						= Yi; Yh.prototype.initChild				= Yj; function Yi(kw,UQ,UR,KN,US, UT,UU,UV,kx) { this.initBase(kw,UQ,UR,KN,US,UT,UU,UV,kx); this.initChild(); } function Yj() { this.EL	= true; this.EM		= false; this.Yk		= false; this.EO = ""; this.EP			= 1; this.aBlkFormatString = new Array(); } function _GeckoRichTextControlField() {} _GeckoRichTextControlField.prototype = new YA(); _GeckoRichTextControlField.prototype.init = GeckoRichTextControlField_init; _GeckoRichTextControlField.prototype.initChild = GeckoRichTextControlField_initChild; function GeckoRichTextControlField_init(kw,UQ,UR,KN,US, UT,UU,UV,kx) { this.initBase(kw,UQ,UR,KN,US,UT,UU,UV,kx); this.initChild(); } function GeckoRichTextControlField_initChild() { this.EL = false; this.Yk = false; this.EO = ''; this.EP = 1; this.sItemName = ( typeof( h_RichTextItem ) != "undefined" )? h_RichTextItem: ( typeof( Body ) != 'undefined' )? 'Body': 'PageBody'; this.sWidth = '630'; this.sHeight = '300'; this.bReturnHTML = false; this.aBlkFormatString = []; this.iFormat = 1; this.iSaveFormat = 1; this.sPlainTextItemName = this.sItemName + "PT"; } function ZY()  {  } ZY.prototype							= new YA(); ZY.prototype.init						= ZZ; ZY.prototype.initChild				= Za; function ZZ(kw,UQ,UR,KN,US, UT,UU,UV,kx) { this.initBase(kw,UQ,UR,KN,US,UT,UU,UV,kx); this.initChild(); } function Za() { this.EL	= false; this.EM		= false; this.Yk		= false; this.EO = ""; this.EP			= 1; } function YX() { } YX.prototype							= new YA(); YX.prototype.init						= YY; YX.prototype.initChild				= YZ; function YY(kw,UQ,UR,KN,US, UT,UU,UV,kx) { this.initBase(kw,UQ,UR,KN,US,UT,UU,UV,kx); this.initChild(); } function YZ() { this.EL	= false; } function XG() { } UM = new XG(); XG.prototype = new UN(); XG.prototype.init = XH; XG.prototype.initChild = XI; XG.prototype.getReadModeHTML = XK; function XH(kw,UQ,UR,KN,US, UT,UU,UV,kx) { this.initField(kw,UQ,UR,KN,US, UT,UU,UV,kx); this.initChild(); } function XI(){ } function XK(pageFrame, fieldIndex) { var XN = eval('new Array(' + h_AttachmentNames + ')'); var numUploadControlAttachments = 0; for (var i=0; i<h_NumAttachments; i++) { Ba = XN[i].length; if ( XN[i].substring(0, 6) != "Image.") { numUploadControlAttachments++; } } if ((h_ClientBrowser.SX ()) && numUploadControlAttachments ) { kz = true; if (this.UR != "" || (this.UQ != "" && this.UQ != "Untitled")) { C(pageFrame, "You can download any of the files below by dragging them to your Windows desktop. To open a file for reading, double-click it."); } document.writeln('<OBJECT title="' + 'Upload control' + '" ID="UploadControl" '); document.writeln('width=100%'); document.writeln('height=' + 138); document.writeln('classid="clsid:05D96F71-87C6-11D3-9BE4-00902742D6E0"'); document.writeln('codebase="' + Lk () + Lc(self) + '/qp2.cab#Version=' + "6,5,1,2" + '"'); document.writeln('>'); document.writeln('<param name="General_Mode" value=' + 1 + '>'); document.writeln('<param name="General_URL" value="' + getAbsoluteRoomPath(self) + '/' + "$defaultview" + '/' + pageFrame.h_PageUnid + '">'); document.writeln('<param name="General_CurrentEditScene" value="' + CV.h_SetEditCurrentScene.value + '">'); document.writeln('<param name="General_ServerName" value="' + Lk () + '">'); document.writeln('<param name="General_MaxFileSize" value="' + h_MaxFileSizeAllowedToUpload + '">'); document.writeln('<param name="General_BgColor" value="' + h_CurrentBgColor + '">'); document.writeln('<param name="Attachment_Lengths" value="' + h_AttachmentLengths + '">'); document.writeln('<param name="Attachment_Names" value=\'' + LL(h_AttachmentNames, "'", "[QPSQ]") + '\'>'); var XL; if (typeof(pageFrame.h_AttachmentTimes) != "undefined") { XL = pageFrame.h_AttachmentTimes; } else { var XM = h_DocCreated; var index; for (index=0; index < h_NumAttachments; index++) { if (!index) { XL = XM; } else { XL += ","; XL += XM; } } } document.writeln('<param name="Attachment_Times" value="' + XL + '">'); document.writeln('<param name="Attachment_ReadOnlyMode" value="1">'); document.writeln('<param name="Attachment_ListViewMode" value="2">'); document.writeln('</OBJECT>'); document.write('<br>&nbsp;'); } else if ((!h_ClientBrowser.SX ()) && numUploadControlAttachments ) { if (this.UR != "" || (this.UQ != "" && this.UQ != "Untitled")) { C(pageFrame, "You can download or launch any of the files below by clicking on them:"); } var c = 0; var Ba; for (var i = 0; i<h_NumAttachments; i++) { Ba = XN[i].length; if (XN[i].substring(0, 6) != "Image.") { document.write('<br><a target=_blank href="' + "../../$defaultview" + "/" + pageFrame.h_PageUnid + "/" + "$File" + '/' + escape(XN[i]) + '?OpenElement">' + XN[i] + '</a>'); } } document.write('<br>&nbsp;'); } } function Vj() { } UM = new Vj(); Vj.prototype = new UN(); Vj.prototype.init = Vk; Vj.prototype.initChild = Vl; Vj.prototype.getReadModeHTML = Vn; function Vk(kw,UQ,UR,KN,US, UT,UU,UV,kx) { this.initField(kw,UQ,UR,KN,US, UT,UU,UV,kx); this.initChild(); } function Vl(){ } function Vn(pageFrame, fieldIndex) { } function WV() { } UM = new WV(); WV.prototype = new UN(); WV.prototype.init = WW; WV.prototype.initChild = WX; WV.prototype.getReadModeHTML = WZ; function WW(kw,UQ,UR,KN,US, UT,UU,UV,kx) { this.initField(kw,UQ,UR,KN,US, UT,UU,UV,kx); this.initChild(); } function WX(){ } function WZ(pageFrame, fieldIndex) { if (pageFrame.h_NameIsBanner == "1") { var Wb = (pageFrame.h_PageType!="h_Mail")?bO(pageFrame.h_Originator):""; var DJ = (typeof pageFrame.h_AlternateName=="undefined" || pageFrame.h_AlternateName=="")?Wb:LL(pageFrame.h_AlternateName, "'", "\'")+" ("+Wb+"),"; var rev = ""; if ( h_PageType == "h_Response") rev = formatMessage( 'Response to: %1', mF); else rev = formatMessage( 'Revision #%1 of %2', pageFrame.h_RevNum, mF); if (h_PageType == "h_Response" || h_PageType == "h_Revision") { document.write( '<table width=100%><td align="right"><font size=1><SPAN class=' + "h-responselink-text" + '>&#91;' +  rev + '</SPAN></td></table>'); } } } function Vc() { } UM = new Vc(); Vc.prototype = new UN(); Vc.prototype.init = Vd; Vc.prototype.initChild = Ve; Vc.prototype.getReadModeHTML = Vg; function Vd(kw,UQ,UR,KN,US, UT,UU,UV,kx) { this.initField(kw,UQ,UR,KN,US, UT,UU,UV,kx); this.initChild(); } function Ve(){ } function Vg(pageFrame, fieldIndex) { var UY = currentRoom.Zv[pageFrame.h_Form].fieldDef[fieldIndex]; var UZ = eval('pageFrame.'+UY.KP+'DisplayNames'); if (typeof(UZ)=="undefined") { UZ = eval('pageFrame.'+UY.KP); } UZ = (typeof(UZ)=="undefined"?"":UZ); UZ = (UZ=="h_Members")?LL(UZ, "h_Members", "All Members"):bO(UZ); pageInput(pageFrame, UY.UQ, UZ); } function Wy() { } UM = new Wy(); Wy.prototype = new UN(); Wy.prototype.init = Wz; Wy.prototype.initChild = XA; Wy.prototype.getReadModeHTML = XC; function Wz(kw,UQ,UR,KN,US, UT,UU,UV,kx) { this.initField(kw,UQ,UR,KN,US, UT,UU,UV,kx); this.initChild(); } function XA(){ } function XC(pageFrame, fieldIndex) { var UY = currentRoom.Zv[pageFrame.h_Form].fieldDef[fieldIndex]; var UZ = eval('pageFrame.'+UY.KP); UZ = (typeof(UZ)=="undefined"?"":UZ); UZ = UZ.substring(0, 5) + UZ.substring(8); pageInput(pageFrame, UY.UQ, UZ); } function Xo() { } UM = new Xo(); Xo.prototype.init = Xp; Xo.prototype.initChild = Xq; Xo.prototype = new XW(); function Xp(kw,UQ,UR,KN,US, UT,UU,UV,kx) { this.initField(kw,UQ,UR,KN,US, UT,UU,UV,kx); this.initChild(); } function Xq(){ } function Xs() { } UM = new Xs(); Xs.prototype.init = Xt; Xs.prototype.initChild = Xu; Xs.prototype = new XW(); function Xt(kw,UQ,UR,KN,US, UT,UU,UV,kx) { this.initField(kw,UQ,UR,KN,US, UT,UU,UV,kx); this.initChild(); } function Xu(){ } function Xw() { } UM = new Xw(); Xw.prototype.init = Xx; Xw.prototype.initChild = Xy; Xw.prototype = new XW(); function Xx(kw,UQ,UR,KN,US, UT,UU,UV,kx) { this.initField(kw,UQ,UR,KN,US, UT,UU,UV,kx); this.initChild(); } function Xy(){ } function Wm() { } UM = new Wm(); Wm.prototype = new UN(); Wm.prototype.init = Wn; Wm.prototype.initChild = Wo; function Wn(kw,UQ,UR,KN,US, UT,UU,UV,kx) { this.initField(kw,UQ,UR,KN,US, UT,UU,UV,kx); this.initChild(); } function Wo(){ } function WA() { } UM = new WA(); WA.prototype = new UN(); WA.prototype.init = WB; WA.prototype.initChild = WC; function WB(kw,UQ,UR,KN,US, UT,UU,UV,kx) { this.initField(kw,UQ,UR,KN,US, UT,UU,UV,kx); this.initChild(); } function WC(){ } function Vr() { } UM = new Vr(); Vr.prototype = new UN(); Vr.prototype.init = Vs; Vr.prototype.initChild = Vt; function Vs(kw,UQ,UR,KN,US, UT,UU,UV,kx) { this.initField(kw,UQ,UR,KN,US, UT,UU,UV,kx); this.initChild(); } function Vt(){ } function Uk() { } UM = new Uk(); Uk.prototype = new UN(); Uk.prototype.init = Ul; Uk.prototype.initChild = Um; Uk.prototype.getReadModeHTML = Uo; function Ul( kw, UQ, UR, KN, US, UT, UU, UV, kx) { this.initField( kw, UQ, UR, KN, US, UT, UU, UV, kx);  this.initChild(); } function Um() { } function Uo(pageFrame, fieldIndex)  { var UY = currentRoom.Zv[pageFrame.h_Form].fieldDef[fieldIndex]; if (typeof(pageFrame.h_CalendarDate)=="undefined"){ var h = ""; } else { var h = Up(	 pageFrame.h_CalendarDate,  pageFrame.h_CalendarTime,  pageFrame.h_CalendarDuration,  pageFrame.h_AllDayEvent, pageFrame.h_Repeats, pageFrame.h_RepeatAmount, pageFrame.h_RepeatFrequency, pageFrame.h_CalendarFormat, pageFrame.h_SendEvent ); } pageInput(	pageFrame, UY.UQ + '<br><font size=1>Times shown are:  ' + haiku.Tc + '</font>', h); } function Up(  Date,  Time,  Duration,  cA, Repeats, cD, cC, Format, SendEvent ) { var Uq		= Math.floor( Duration / 60); var Ur  = Duration % 60; var Us		= Date; var Ut	= (( Duration > 0 &&  Format == "h_All" ) ? Uq + " " + ((Uq == 1) ? 'hour' : 'hours') + " " + Ur + " " + 'minutes' : ""); var Uu      = ( cA != "1") ? av( Time) + "  " + Ut : 'All-day event'; var Uv		= ( Repeats     == "1") ? Gb( HY( cC), cD) : ""; var displaySendEvent	= ( SendEvent	 == "1") ? 'Send event to calendar subscribers' : ""; return( Us + " " + Uu + "<br>" + Uv ); } function We() { } UM = new We(); We.prototype = new UN(); We.prototype.init = Wf; We.prototype.initChild = Wg; We.prototype.getReadModeHTML = Wi; function Wf(kw,UQ,UR,KN,US, UT,UU,UV,kx) { this.initField(kw,UQ,UR,KN,US, UT,UU,UV,kx); this.initChild(); } function Wg(){ } function Wi(pageFrame, fieldIndex) { var UY = currentRoom.Zv[pageFrame.h_Form].fieldDef[fieldIndex]; if (typeof(pageFrame.h_TaskAssignedTo)=="undefined"){ var h = ""; } else {	 var h = '<TABLE border=0 cellPadding=2 cellSpacing=0 width=100%>'+ '<TR><TD width=3%>&nbsp; </TD>'+ '<TD align=left vAlign=top>'+  'Status:' + '&nbsp;' + ((pageFrame.h_TaskStatus=="h_Complete")?'Complete':'Incomplete') +  '</TD>'+ '<TD align=left vAlign=top>'+ 'Assigned To:' + '&nbsp;' +  ( ( typeof( pageFrame.h_TaskAssignedToDisplayName) != "undefined" && pageFrame.h_TaskAssignedToDisplayName != "") ? pageFrame.h_TaskAssignedToDisplayName : bO(pageFrame.h_TaskAssignedTo)) +  '</TD>'+ '</TR>'+ '<TR><TD width=3%>&nbsp; </TD>'+ '<TD align=left vAlign=top>'+ 'Due Date:' + '&nbsp;' + pageFrame.h_TaskDueDate +  '</TD>'+ '<TD align=left vAlign=top>'; var UZ = ""; if (h_Authors.indexOf("h_Members") > -1) { UZ = "All Members"; } else  { UZ += h_AuthorsDisplayName; } h += 'Who can edit this task?' + '&nbsp;' + UZ + '</TD></TR>'; if (UY.UV.indexOf("h_StartDate") > -1) { h += '<TR><TD width=3%>&nbsp; </TD><TD align=left vAlign=top>' + 'Start Date:' + '&nbsp;' + pageFrame.h_TaskStartDate + '</TD>'; if (UY.UV.indexOf("h_Category") == -1) { h += '</TR>'; } } if (UY.UV.indexOf("h_Category") > -1) { if (UY.UV.indexOf("h_StartDate") == -1) { h += '<TR><TD width=3%>&nbsp; </TD>'; } h += '<TD align=left vAlign=top>' + 'Priority:' + '&nbsp;' + pageFrame.h_TaskCategory + '</TD></TR>'; } h += '<TR><TD colSpan=2 height=8 width=3%></TD></TR></TABLE>'; } C(pageFrame, UY.UQ); document.write(h); } function Ws() { } UM = new Ws(); Ws.prototype = new UN(); Ws.prototype.init = Wt; Ws.prototype.initChild = Wu; Ws.prototype.getReadModeHTML = textAreaField_getReadHTML; function Wt(kw,UQ,UR,KN,US, UT,UU,UV,kx) { this.initField(kw,UQ,UR,KN,US, UT,UU,UV,kx); this.initChild(); } function Wu(){ } function textAreaField_getReadHTML(pageFrame, fieldIndex){ var UZ = eval(this.KP); pageInput(pageFrame, this.UQ, (typeof(UZ)=="undefined"?"":UZ)); } function _MeetingOptionsField() { } UM = new _MeetingOptionsField(); _MeetingOptionsField.prototype = new UN(); _MeetingOptionsField.prototype.init = meetingOptionsField_init; _MeetingOptionsField.prototype.initChild = meetingOptionsField_initChild; _MeetingOptionsField.prototype.getReadModeHTML = getMeetingOptionsReadHTML; function meetingOptionsField_init(kw,UQ,UR,KN,US, UT,UU,UV,kx) { this.initField(kw,UQ,UR,KN,US, UT,UU,UV,kx); this.initChild(); } function meetingOptionsField_initChild(){ } var limrJoinMtgButton, limrJoinMtgButtonOver, AddButton; function getMeetingOptionsReadHTML(pageFrame, fieldIndex) { var UY = currentRoom.Zv[pageFrame.h_Form].fieldDef[fieldIndex]; var sA = "<table>"; var meetingStatus = ((typeof (h_MeetingStatus) != "undefined") ? h_MeetingStatus : "2"); if (h_MeetingUrl != "") { sA += "<tr><td>"; if (meetingStatus == '1') { limrJoinMtgButton = new Hw(); DN( limrJoinMtgButton, false, 130); limrJoinMtgButtonOver = new Hw(); DN( limrJoinMtgButtonOver, true, 130); limrJoinMtgButton.TextString = "Join Meeting Now"; limrJoinMtgButtonOver.TextString = "Join Meeting Now"; JoinMtgButton = new Array(limrJoinMtgButton.Hu(), limrJoinMtgButtonOver.Hu()); sA += "This meeting is in session." + "<br><a target=_blank href=" + h_MeetingUrl + " "; if (h_ClientBrowser.SW (4))  { sA += 'onMouseOver=javascript:LU("JoinMtgImage","JoinMtgButton") '; sA += 'onMouseOut=javascript:Qp("JoinMtgImage","JoinMtgButton")> '; } else { sA += '>'; } var addimgTag = MP(JoinMtgButton[0], "JoinMtgImage", ' border="0" width="' + 130 + '" height="22"', "Join Meeting Now"); sA += addimgTag + '</a>'; } else if (meetingStatus == '0') { sA += "This Meeting has not started."; } else { sA += "This Meeting has finished."; } sA += "</td></tr>"; } else { sA += "<tr><td>" + "Error: The meeting was not created because the meeting server was unavailable. To try again, edit this page then click Publish." + "</td></tr>"; } sA += "<tr><td><br>" + ((h_MeetingPassword != "") ? "(This meeting is password protected.)" : "(This meeting is not password protected.)") + "</td></tr>"; sA += "<tr><td><br>" + "This meeting is located at the following address (URL)." + "<br>" + h_MeetingUrl + "</td></tr>"; sA += "</table>"; pageInput(pageFrame, "Meeting status", sA); var avTool; if (h_MeetingAudioVideoOptions == 2) avTool = "Computer audio"; else if (h_MeetingAudioVideoOptions == 4) avTool = "Computer audio and video"; else  avTool = "None"; sA = '<table width="100%" cols="50%,*">'; var i = 0; var rows = new Array (); if (h_MeetingToolsOptions & 0x02) { rows[i] = "Screen sharing"; i++; } if (h_MeetingToolsOptions & 0x04) { rows[i] = "Meeting Room Chat"; i++; } if (h_MeetingToolsOptions & 0x08) { rows[i] = "Send Web Page"; i++; } if (h_MeetingToolsOptions & 0x10) { rows[i] = "Polling"; i++; } var bShowAudioOption = '' == "false" ? false : true; var bShowVideoOption = '' == "false" ? false : true; var bShowAvOption = (bShowAudioOption & bShowVideoOption) ? true : false; var tableWidth = bShowAvOption ? "50%" : "100%"; for (i = 0; i < rows.length; i++) { sA += "<tr><td width=" + tableWidth + ">" + rows[i] + "</td>"; sA += bShowAvOption ? ("<td width=*>" + ((i == 0) ? avTool : "&nbsp;") + "</td>") : ""; sA += "</tr>"; } sA += "</table>"; pageInput(pageFrame, "Meeting tools", sA); } 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>' + 'Error' + '</td></tr>'); document.write('<tr><td colspan=4>&nbsp;</td></tr>'); document.write('<tr><td class=h-quickBrowseItem-text colspan=4 nowrap>' + 'To continue working in your place,<br>close this window and try again.' + '</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="' + 'You can reorder an item in the form by selecting an item in this combobox and then selecting the up or down link to the right of this field.' + '" size=6 name=Lo>'; JV += '<option>' + '(use the arrows to reorder items)' + '</option>'; for (var i = 0; i < Lo.length; i++) { JV += '<option value=' + Lp[i] + '>' + MS(Lo[i],Ll,Lm); } JV += '</select></td>'; JV += '<td width="1%" valign="middle">'; var cJ=""; var bQ = ""; if (currentMember.isADAEnabled()=="1")  { JV += '<a href="javascript:void 0" onclick="javascript:Lq(document.forms[\'h_PageUI\'].Lo, -1,' + cI + '); return false;">'; JV += 'Move selected entry up'; 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, 'Up'); 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 += 'Move selected entry down'; 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, 'Down'); 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">You can reorder an item in the list by clicking on the item and then clicking on the up/down arrow.</font>' + '</td></tr></table>'; if ( isNaN( listContext)) { pageInput(pageFrame, listContext, JV, sf); } else { if (listContext == 0)  pageInput(pageFrame, 'Do you want to reorder the pages?', JV, sf); else if (listContext == 1) pageInput(pageFrame, 'Do you want to reorder the fields on this form? ' + '', JV, sf); else if (listContext == 2) pageInput(pageFrame, 'You can reorder the columns in the list below:', JV, sf); else if (listContext == 3) pageInput(pageFrame, '<b>Reorder.</b> Do you want to change the order of the table of contents of this room?', JV, sf); else if (listContext == 4) pageInput(pageFrame, '<B>Reorder forms.</B> Do you want to change the order in which the forms are presented to authors?', JV, sf); } } function Lq (reorderListArg, moveDirection, cI) { var Lr = reorderListArg.length; if (Lr == 1) return; var Ls = reorderListArg.selectedIndex; if (Ls == Lr - 1 && moveDirection == "1") return; if ((Ls < cI) || (Ls == cI && moveDirection == "-1")) { if (cI == 1 || Ls == 0) return; alert ('The Title, Author, and Modified columns, when visible, are always the first three columns in a folder. Please select any other column to reorder'); return; } var Lt = reorderListArg.options[Ls].text; var Lu = reorderListArg.options[Ls].value; reorderListArg.options[Ls].text = reorderListArg.options[Ls + moveDirection].text; reorderListArg.options[Ls].value = reorderListArg.options[Ls + moveDirection].value; reorderListArg.options[Ls + moveDirection].text = Lt; reorderListArg.options[Ls + moveDirection].value = Lu; reorderListArg.options[Ls + moveDirection].selected = true; } function F (name,value,expires,path,domain,secure)  { document.cookie = escape(name) + "=" + escape (value) + ((expires) ? "; expires=" + expires.toGMTString() : "") + "; path=" + ((path) ? path : "/") + ((domain) ? "; domain=" + domain : "") +    ((secure) ? "; secure" : ""); } function MB (radioControl, radioValue, 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 += escape(theChar); if ( cc < (theString.length - 1)) { MQ += theString.substring(cc+1); } theString = MQ; cc = theString.indexOf(theChar); } return MQ; } function openRemote( type, param) { var cg; var kV; 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;" +  escape(h_SearchString) + ",h_SearchAuthor;" + escape(h_SearchAuthor) + ",h_SearchDate;" + escape(h_SearchDate) + ",h_SearchDateTypeString;" +  h_SearchDateTypeString + ",h_SearchOrder;" + h_SearchOrder + ",h_SearchCount;" + h_SearchCount + ",h_SearchStart;" +  h_SearchStart + ",h_SetErrorScene;h_RemoteError,h_SetEditCurrentScene;h_RemoteSearchResults,h_SetQuickBrowse;1" + ",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("Please enter a shorter comment."); theObj.CV.h_tmpMessage.focus(); return false; } else if (bR( theObj, "Comment", "h_tmpMessage",  false, "") == false) { theObj.CV.h_tmpMessage.focus(); return false; } else if (theObj.CV.h_SetPublishEmailSubject.value.length >= 1024) { alert("Please enter a shorter subject."); theObj.CV.h_SetPublishEmailSubject.focus(); return false; } else if (bR( theObj, "Subject", "h_SetPublishEmailSubject",  false, "") == false) { theObj.CV.h_SetPublishEmailSubject.focus(); return false; }  else if (theObj.CV.h_SetPublishEmailAddresses.value.length >= 1024) { alert("Please enter a shorter \"To\" field."); theObj.CV.h_SetPublishEmailAddresses.focus(); return false; } else if (bR( theObj, "To", "h_SetPublishEmailAddresses",  false, "") == false) {					  theObj.CV.h_SetPublishEmailAddresses.focus(); return false; } else if (theObj.CV.h_SetPublishCCEmailAddresses.value.length >= 1024) { alert("Please enter a shorter \"cc\" field."); theObj.CV.h_SetPublishCCEmailAddresses.focus(); return false; } else if (bR( theObj, "CC", "h_SetPublishCCEmailAddresses",  false, "") == false) {					  theObj.CV.h_SetPublishCCEmailAddresses.focus(); return false; } else if (theObj.CV.h_SetPublishBCCEmailAddresses.value.length >= 1024) { alert("Please enter a shorter \"bcc\" field."); theObj.CV.h_SetPublishBCCEmailAddresses.focus(); return false; } else if (bR( theObj, "BCC", "h_SetPublishBCCEmailAddresses",  false, "") == false) {					  theObj.CV.h_SetPublishBCCEmailAddresses.focus(); return false; } return true; } function getFileNameFromTypeFileTag(UD, KP) { var theFileHolder = eval ("UD." + KP); if (typeof (theFileHolder) == "undefined") return (""); if (theFileHolder.value != '')  { theFileHolder.focus(); theFileHolder.blur(); var Bg = theFileHolder.value; if (h_ClientBrowser.HN()) { if (h_ClientBrowser.Sb() && Bg.indexOf('%2F') != -1) Bg = Bg.substring(Bg.lastIndexOf("%2F")+3); else if (Bg.indexOf('/') != -1) Bg = Bg.substring(Bg.lastIndexOf("/")+1); } else { Bg = Bg.substring(Bg.lastIndexOf("\\")+1); } return (Bg); } else  { return (""); } } function BR(i,t) { document.write('<table border="0" width="100%" cellspacing="2" cellpadding="2"><tr>'); document.write('<td align="left" valign="middle" width="11%">'); document.write('<img src=/icons/warningm.gif name=WarningMImg width="60" height="57">' + '</td>'); document.write('<td align="left" valign="middle" width="89%"><p><b>' + t + '</b></p></td>'); document.write('</tr></table>'); } function BS() { document.write('<table border="0" width="100%" cellspacing="0" cellpadding="0"><tr><td bgcolor="#FFFFCC">&nbsp;</td></tr></table><br>'); document.write('<table border="0" width="100%" cellspacing="2" cellpadding="2">'); document.write('<tr><td width="11%">'); document.write(MP("../../../../../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", "en"); } } 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( escape( 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-_.!~*'()"; return encodeURIBody(CY, asciiUnEnc); }; } 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 au( dateTime, dateTimeSeparator) { var as = dateTime.substring( 0, dateTime.indexOf( " "));  var aV = new Array( 0, 0, 0);    var Us; if (aa( as, aV)) Us = ar( aV[0], aV[1], aV[2] ); else Us = ""; var Uu = av( dateTime.substring( dateTime.indexOf(" ")+1)); return Us + dateTimeSeparator + Uu; } function av( timeString) { var aw; var VI = ( !haiku.h_Intl_MilitaryTime) ? timeString.substring( timeString.indexOf(" ") ) : ""; if (haiku.h_Intl_MilitaryTime) aw = timeString; else aw = timeString.substring( 0, timeString.indexOf( " ")-3); return( aw + VI); } function at( as) { if( !aX( as)) return(""); var aV = new Array( 0, 0, 0);    if ( !aa( as, aV)) return(""); var day   = aV[0]; var month = aV[1]; var year  = aV[2]; return( (( year<0 || year>9999) ? -1 :(( year<50) ? year+2000 :(( year<100) ?( year+1900) : year))) + '-' + (( month<10)?'0':'') + month + '-' + (( day<10)?'0':'') + day); } function aX( as) { var aV = new Array( 0, 0, 0);    if ( !aa( as, aV)) return( false); var day   = aV[0]; var month = aV[1]; var year  = aV[2]; if( !haiku.h_Intl_Date4DigitYear && year >= 100 && year <= 999)  return( false); year = (( year<0 || year>9999) ? -1 :(( year<50) ? year+2000 :(( year<100) ?( year+1900) : year))); var aY = new Date( year, month-1, day);  	 if( aY.getMonth( )    == month-1 &&  aY.getDate( )     == day &&  aY.getFullYear( ) == year )  { return( true); } else { return( false); } } function aa( as, aV) { var ab = parseInt( as.indexOf( haiku.h_Intl_DateString), 10); if( ab == -1) return( false); var ac = as.substring( 0, ab); if( !ag( ac)) return( false); var ad = parseInt( as.lastIndexOf( haiku.h_Intl_DateString),10); if( ad == -1) return( false); var ae = as.substring( ab + 1, ad); if( !ag( ae)) return( false); var af = as.substring( ad + 1); if( !ag( af)) return( false); if( haiku.h_Intl_DateFormat == haiku.TX)  { aV[0] = parseInt( ac,10);  aV[1] = parseInt( ae,10);  aV[2] = parseInt( af,10);  } else if( haiku.h_Intl_DateFormat == haiku.TZ) { aV[2] = parseInt( ac,10);	 aV[1] = parseInt( ae,10);  aV[0] = parseInt( af,10);  } else  { aV[1] = parseInt( ac,10);  aV[0] = parseInt( ae,10);  aV[2] = parseInt( af,10);  } return( true); } function ar( day, month, year) { var as; var sl=haiku.h_Intl_DateString; var yr=( year >= 1950 && year < 2000) ? year-1900 : year;  if( haiku.h_Intl_Date4DigitYear && yr < 100)  yr +=( yr < 50) ? 2000 : 1900; if( haiku.h_Intl_DateFormat == haiku.TX) { as =(( day<10) ? "0"+day : day).toString( ) + sl + (( month<10) ? "0"+month : month).toString( ) + sl + yr; } else if( haiku.h_Intl_DateFormat == haiku.TZ) { as = yr + sl + (( month<10) ? "0"+month : month).toString( ) + sl + (( day<10) ? "0"+day : day).toString( ); } else  { as =(( month<10) ? "0"+month : month).toString( ) + sl + (( day<10) ? "0"+day : day).toString( ) + sl + yr; } return( as) } function Gb( frequency, times) { return( formatMessage( 'Repeats %1 for a total of %2 events.', frequency , times) ); } function HY( frequencyIdx) { if ( frequencyIdx == 1)  return( 'daily'); else if ( frequencyIdx == 2)  return( 'weekly'); else  return ( ""); } 