<!-- (c) 1985-2001 Lotus Development Corporation. All rights reserved. This software is subject to the Lotus Software Agreement and applicable export regulations. Restricted Rights for U.S. government users. -->
<!-- $HaikuForm - 208113 -->

function 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, bO(pageFrame.h_Originator), (fieldIndex+1)-staticTextCount + "."); } function Ui(pageFrame, fieldIndex) { var UY = currentRoom.Zv[pageFrame.h_Form].fieldDef[fieldIndex]; pageInput(pageFrame, UY.UQ, bO(pageFrame.h_Originator)); } 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 UY = currentRoom.Zv[pageFrame.h_Form].fieldDef[fieldIndex]; var currentFieldValue = eval(UY.KP); var UZ=""; if (pageFrame.h_IsNewDoc=="1") { if(currentFieldValue=="") { UZ = Ko(); } else { UZ = currentFieldValue; } } else { UZ = currentFieldValue; } var h = '<INPUT TYPE=text NAME=' + UY.KP + ' SIZE=10 VALUE="' + UZ + '">'; h += D_DatePickerHTML( UY.KP); pageInput (pageFrame, UY.UQ + ". " + UY.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 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 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) { Nt = "40785D346EA598238525661A005F9643"; if (h_ClientBrowser.SX ()) { kz = true; var XQ; XQ = '<object 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=' + "2,0,8,0" + '"'; 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 + '">'; 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 the desired 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 the folder icon.", 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', ' alt="Replace File" border="0" width="75" height="22"') + '</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 + "."); pageInput (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 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=' + "2,0,8,0" + '"'); 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) { Nt = "40785D346EA598238525661A005F9643"; if (h_ClientBrowser.SX ()) { if (typeof pageFrame.h_LastTimePutAway == "undefined") { kz = true; XQ = '<object 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=' + "2,0,8,0" + '"'; 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 QuickPlace. (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"> '; 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>"; PV = 0; while (PU < PT && PV < Dy)  { if (imgNamesList[PU] == "")  { PW = "../../../$resources.nsf/h_ResourcesByName/transparent.gif/$FILE/transparent.gif?OpenElement"; PX = ""; } else  { PW = "../../../$resources.nsf" + "/h_ResourcesByName/" + imgNamesList[PU] + "/$FILE/" + 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 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 = "../../../$resources.nsf/h_ResourcesByName/transparent.gif/$FILE/transparent.gif?OpenElement"; lO = 'transparent'; } else  { PW = "../../../$resources.nsf" + "/h_ResourcesByName/" + imgNamesList[counter] + "/$FILE/" + 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; } 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) { if ((h_ClientBrowser.SX ()) && (h_NumAttachments > h_AttachmentImageCount)) { 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 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=' + "2,0,8,0" + '"'); 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('</OBJECT>'); document.write('<br>&nbsp;'); } else if ((!h_ClientBrowser.SX ()) && (h_NumAttachments > 0) && (h_NumAttachments > h_AttachmentImageCount)) { var XN = eval('new Array(' + h_AttachmentNames + ')'); var KI = h_NumAttachments; for (var i = 0; i<h_NumAttachments; i++) { Ba = XN[i].length; if (XN[i].substring(0, 6) == "Image.") { KI = KI - 1; } } if (KI > 0) { 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+"),"; 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;' +  ((h_PageType=="h_Response") ? 'Response to: ' : 'Revision #' + pageFrame.h_RevNum + ' of ' ) + mF +  '</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); 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 ); } 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 ) { 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) : ""; 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;' + 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 { var mP = h_Authors.split(', '); for (var i=0; i<mP.length; i++) { UZ += bO(mP[i]) + (i==mP.length-1?'':', '); } } 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 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( 'Repeats ' + frequency + ' for a total of ' + times + ' events.'); } function HY( frequencyIdx) { if ( frequencyIdx == 1)  return( 'daily'); else if ( frequencyIdx == 2)  return( 'weekly'); else  return ( ""); } 