var szMsgInitDate = "From date"; 
var szMsgEndDate = "To date";
var szMsgDisable = "Function disabled.";
var szMsgButtonDisable = "Disabled";
var szMsgTitle = "Title";
var szMsgLabel = "Label";
var szMsgDescription = "Description";
var szMsgAbstract = "Abstract";
var szMsgAuthor = "Author";
var szMsgKeywords = "Keywords";
var szMsgAddNewKeywords = "Add New Keyword";
var szMsgRank = "Rank";
var szMsgPosition = "Position";
var szMsgLinkObjUrl = "URL";
var szMsgLinkObjDescr = "Link Description";
var szMsgWaitLoad		= "Loading page ... Please wait.";
var szMsgWait		= "Please wait for operation to complete.";
var szMsgImageGifJpeg	= "Please use GIF or JPEG images only.";
var szMsgBadFormat	     = "The field %s is incorrect.";
var szMsgBadDateFormat = "A date you entered is incorrect; format must be: %s.";
var szMsgPeriodDateIncompatible = "Period and date mismatch.";
var szMsgUnrestricted = "Please wait until permissions are retrieved.";
var szMsgCannotSearch = "You cannot search words inside links.";
var szMsgRIC = "RIC";
var szExistNews = "News already exists.";
var szNotModifyLink = "You can not modify the link.";
// ifdef ISO9000
var szMsgNotesOnDoc = "You have associated notes with document.\nDo you wish to reject the document ?";
var szMsgNoNotesOnDoc = "Do you wish to approve the document ?";
var szMsgIsoCode = "Document code";
var szMsgCodeExist = "Document code '%s' already exists."; 
var szMsgNoMailServer = "The mail server is not configured or not active."; 
var szMsgISONumInCode = "Document code must contain at least one alphanumeric character.";
var szMsgNote = "Note";
var szMsgNoteEmpty = "The Note field is empty.";
var szMsgNoteNotEmpty = "The Note field is not empty.";
var szMsgIsoCompatibility = "Editors cannot verify or approve.";
var szMsgUserName = "User Name";
var szMsgEMailAddress = "E-Mail Address";
var szMsgAddress = "Address" ;
var szMsgCity = "City" ;
var szMsgState = "State" ;
var szMsgCountry = "Country" ;
var szMsgZipCode = "ZIP Code" ;
var szMsgTelOffice = "Office Phone" ;
var szMsgTelHome = "Home Phone" ;
var szMsgTelFax = "Fax Number" ;
var szMsgMoby1 = "Mobile Phone" ;
var szMsgSiteOffice = "Office" ;
var szMsgComment = "Comment" ;
var szMsgPosition = "Position" ;
var szMsgListName = "List Name";
var szMsgNoRem = "Deleting is allowed only for documents in Editing or Published state.";
var szMsgNoMov = "Moving is allowed only for documents in Published state.";
var szMsgCantMoveOsAndWorkflowDirs = "Cannot move folders of differente types";
var szMsgCantMoveOsAndWorkflowObjs = "Cannot move folders and documents of differente types";
var szMsgNoLicense  = "The user '%s' does not have a license.";
var szMsgNoMail  = "The user '%s' does not have an e-mail address.";
var szMsgSearchNoRem  = "Cannot delete documents.";
var szMsgUsrAddExist  = "The user '%s' already exists.";
var szMsgUsrModExist  = "The user %s does not exist.";
var szMsgNoDelLicUser  = "You cannot remove a licensed user.";
var szMsgConfirmDelUser  = "Are you sure you want to remove this user?";
var szMsgLstAddExist  = "The list '%s' already exists.";
var szMsgLstModExist  = "The list '%s' does not exist.";
var szMsgLstDelExist  = "The list '%s' does not exist.";
var szMsgDeleteAlready  = "The list '%s' is already in the delete list.";
var szMsgNoUsers  = "The list '%s' contains no users.";
var szMsgConfirmDelList = "Are you sure you want to delete this list?";
var szMsgDateError = "Date incorrect." ;
var szMsgAuthDenied = "Authorization denied." ;
var szMsgCannotRemISOUser = "Cannot remove user(s): %s. There are documents waiting for verification or approval." ;
var szMsgNoVerOrAppr = "No verifiers or approvers set for this folder. Documents waiting for verify or approval may change state.";
var szMsgNoAppr = "No approvers set for this folder. Documents waiting for approval may change state.";
var szMsgNoManager  = "User '%s' is not a workflow manager."
var szMsgIsoCheck = "Workflow security may need some changes";
var szNoWorkflow = "Nothing to configure. Please, enable Workflow";
// endif ISO9000
//Field range
var szMsgRange1		= "\nThe correct range is from ";
var szMsgRange2		= " to ";
//  Field xxxxx incomplete	
var szMsgField = "Field %s must be filled.";
//  Entered xx characters in the yyyyyyyy field.
//  Max length is zz	
var szMsgField1 = "You have exceeded the maximum number of characters for field %s.\n";
var szMsgField2 = "The characters in the field are %s.\n";
var szMsgField3 = "Max length is %s.";
var szMsgField4 = "You have not entered the minimum number of characters for field %s.\n";
var szMsgField5 = "Min length is %s.";
//Only integers are allowed in the yyyyyyy field. 
var szMsgInt = "Only integer numbers are allowed in the %s field.";
//Overload of licensed users selected;
var szMsgEnabledLicUsers = "The current license is for %s users only.\n"; 
var szMsgEnabledISOLicUsers = "The current Workflow license is for %s users only.\n"; 
var szMsgExceededLicUsers = "You have exceeded your license by %s users."; 
var szMsgContent = "The field %s cannot contain any of the following characters: ";
var szMsgOprSelectedNone	= "No object selected.";
var szMsgOprSelectedNone1	= "Please select a document or a link.";
var szMsgOprSelectedNoneDoc	= "Please select a document.";
var szMsgOprModify			= "Multiple selections are not allowed.";
var szMsgOprModifyFolder	= "You are not authorized to modify folders.";
var szMsgOprModifyDoc	= "You are not authorized to modify documents.";
var szMsgOprModifyLink	= "You are not authorized to modify links.";
var szMsgOprCheckIn			= "Multiple selections are not allowed.";
var szMsgOprVersioning		= "Multiple selections are not allowed.";
var szMsgOprCheckInOut		= "Multiple selections are not allowed when locked documents are included.";
var szMsgOprDeleteFolder	= "Are you sure you want to delete the folder %s?";
var szMsgOprMoveFolder		= "Are you sure you want to move the folder ";
var szMsgEraseSystemFolder	= "cannot be deleted: system folder.";
var szMsgMoveSystemFolder	= "cannot be moved: system folder.";
var szMsgOprDeleteDoc		= "Are you sure you want to delete the selected documents?";
var szMsgOprDeleteLink		= "Are you sure you want to delete the selected links?";
var szMsgOprMoveDoc		= "Are you sure you want to move the selected documents?";
var szMsgOprMoveLink		= "Are you sure you want to move the selected links?";
var szMsgLock			= "Locked documents cannot be deleted.";
var szMsgLockMod		= "Locked documents cannot be modified.";
var szMsgLockMove		= "Locked documents cannot be moved.";
var szMsgLockVer		= "Cannot delete latest version of a locked document.";
var szMsgNotifyCheckOut = "You are about to check-out/lock the selected documents.";
var szMsgComment = "Comment";
var szMsgAllChecked = "Cannot delete all document versions.";
var szMsgNobodyAccess	= "Any access to this folder(s) will be denied.\nOnly the system administrator will be able to re-assign access rights.";
var szMsgNobodyModify1	= "Any modification to this folder(s) will be denied.\nOnly the system administrator will be able to re-assign modify rights.";
var szMsgRecUnavalilItems = "Security permissions will not be assigned to groups \nand/or users that are currently unknown.";
var szMsgDoYouWish	= "\nContinue anyway?";
var szMsgMailNotify	= "You are requesting E-Mail Notification for\n";
var szMsgMailNotify1	= "the selected objects.\n";
var szMsgMailNotify2	= "No folder or document selected.\n";
var szMsgURLDoc2	= "URL and Title are required.";
var szMsgYouAreInHP	= "You are in the Home Page.";
var szMsgStartProcess  = "This operation might take several minutes \nand effect system performance.";
var szMsgWrongExt	= "The new document format must be the same as its previous versions.";
var szMsgOprObjPreferences = "Multiple object types are not allowed.";
var szMsgOprNoStyleSelected = "Please select a style.";
var szMsgSaveData = "You have not saved the edited text. Do you wish to save it now?";
var szMsgSpecified="You created text document and specified a pathname.\nPlease select only one option.";
var szBrowseFilePriority = "The specified document will be checked in;\nthe created text will be lost.";
var szMsgCheckInNotAllowed = "You can only unlock the document."; 
var szMsgReplace = "Do you want to replace the document %s ?";
var szMsgTwoItems = "Please select two versions.";
var szMsgNewKey = "The following new keyword will be added to the Selected Keywords,\nand to the Pre-Defined Keywords.";
var szModifyKey = "You cannot modify more than one keyword."; 
var szExistKey = "Keyword already exists.";
var szMsgIncompleteDoc = "The Document field is incomplete.";
var szMsgIncompleteVDoc = "The New Version of the Document field is incomplete.";
var szCurFolderNoOp = "You cannot delete the current folder.";
var szCurFolderNoOp1 = "You cannot move the current folder.";
var szMsgHttpServerChanged = "The Web Server Name will be changed.\nCheck the Administrator Guide for instructions \non how to complete the operation properly.";
var szMsgSubnetIPBadFormat = "The Subnet IP Address is incorrect.";
var szDataChangedKeywords = "Keywords have been modified.\nDo you want to save them?";
var szDataChangedSecurity = "Security data have been modified.\nDo you want to save them?";
var szDataChangedPresentation = "Presentation data have been modified.\nDo you want to save them?";
var szDataChangedStatus = "Status has been changed.\nDo you want to save it?";
var szDataChangedClasses = "Classes has been changed.\nDo you want to save them?";
var szDataChangedDocLinks = "Associated links have been modified.\nDo you want to save them?";
var szDataChangedMailingList = "Mailing list has been modified.\nDo you want to save it?";
var szDataChanged = "The data have been modified.\nDo you want to save them?";
var szDataChangedVersion = "Version has been changed.\nDo you want to save it?";
var szCreateFolder = "Create Folder";
var szModifyFolder = "Modify Folder";
var szCreateDoc = "Insert Document";
var szModifyDoc = "Modify Document";
var szCreateLink = "Insert Link";
var szModifyLink = "Modify Link";
var szMsgMaxDocLink = "You can insert up to 32 associated links.";
var szEng = "English";
var szIta = "Italian";
var szFra = "French";
var szSpa = "Spanish";
var szGer = "German";
var szPor = "Portuguese";
var szMsgNotDelAllLicUsers	= "You cannot remove all licenses.";
var szMsgOutOfRange = "An element of property %s is out of range.";
var szMsgSelItem    = "Please, select an item.";
var szMsgSelOneItem    = "Please, select only one item.";
var szSearch = "Searching";
var szMsgDelRoleType = "Are you sure you want to remove this role type?";
var szMsgOrderRank = "You can order by Relevance only in free text searches.";
var szMsgAddRoleType = "\nThe role type '%s' already exists.";
var szMsgRepl1RoleType = "You cannot replace the role type '%s'.";
var szMsgRepl2RoleType = "\nThe role type '%s' already exists.";
var szRoleTypeName = "Role Type Name";
var szRoleTypeDescr = "Role Type Description";
var szDocProf_FieldsIncomplete = "Please, fill the property form associated to class %s.";
var szDocProf_NoProfileSelected = "No properties are associated with this class.";
var szDocProf_ProfileChanged = "Selecting a different class, the properties \nassociated to the current class will be lost. Continue anyway ?";
var szMsgSpecifyImg = "You have to specify an image to be uploaded.";
var szMsgFolderColor = "Folder Area Color";
var szMsgDocumentColor = "Document Area Color";
var szMsgLinkColor = "Link Area Color";
var szMsgCurFolderColor = "Current Location Area Color";
var szMsgCaptionColor = "Contents Area Color";
var szMsgHeaderColor = "Header Area Color";
// Replica
var	szMsgReplicaServerName = "Server Name" ;
var	szMsgReplicaHttpPort = "HTTP Port" ;
var	szMsgReplicaPhysicalPath = "Destination Directory" ;
var	szMsgReplicaVirtualMapping = "Site URL Mapping" ;
var	szMsgReplicaURLName = "URL Server Name" ;
var	szMsgReplicaLogin = "Login" ;
var	szMsgReplicaPassword = "Password" ;
var	szMsgReplicaSetExist = "Replica Set Already Exits" ;
var	szMsgSSLAndURLName = "If you select \"Enable SSL\", you must supply an \"URL Server Name\"." ;
var	szMsgPortAndURLName = "If you specify an HTTP Port, you must supply an \"URL Server Name\"." ;
var	szMsgProtoAndLogin = "If you select \"ftp\" as Transfer Type, you must supply a \"Login\" and a \"Password\"." ;
var	szMsgNewEntryNotSaved = "A new entry has been selected but not added. Do you wish to continue anyway ?" ;
var	szMsgConfirmRemove = "You should delete the remote site before removing this descriptor.\nContinue ?" ;
var	szMsgConfirmInitialize = "You are about to initialize the remote site.\nContinue ?" ;
var	szMsgConfirmRefresh = "You are about to refresh the remote site.\nContinue ?" ;
var szMsgNoBlanks = "Field %s cannot contain blank characters";
var	szMsgConfirmDelete = "You are about to remove the remote site.\nContinue ?" ;
var	szMsgInitReplica = "If you modify a Replica set, then you have to re-initialize the remote site" ;
var szNew = "new";
var szMsgCodeExist = "A Property with the same Name/Code already exists.";
var szMsgConfirmCode = "You are going to change this Name/Code in all the documents associated with this item.\nContinue?";
var szMsgCode = "Name/Code";
var szMsgSpecifyFile = "Please locate the file to be uploaded.";
var szMsgInputDisabled = "Input Disabled. Lookup file will not be uploaded.";
var szMsgInterfaceConv = "New interface not compatible with the old one.";
var szMsgModifyRefTable = "You cannot modify the Data Type.";
var szMsgFieldExist = "A Property with the same Order Index already exist";
var szMsgFieldTagExist = "The Property Identifier already exists.";
var szMsgMinValueRange = "Less than ...";
var szMsgMaxValueRange = "Greater than ...";
var szMsgHSize = "Width";
var szMsgVSize = "Number of Lines";
var szMsgMaxLenRange = "Data Length Max";
var szMsgMinLenRange = "Data Length Min";
var szMsgFileHelp = "Property Help File";
var szMsgTag = "Property Identifier";
var szMsgLabel = "Property Label";
var szMsgValidation = "Not allowed characters";
var szMsgProfileExist = "A Class with the same Name already exists.";
var szMsgProfileNameExist = "A Class with the same Identifier already exists.";
var szMsgProfileDescr = "Class Name";
var szMsgProfileName = "Class Identifier";
var szMsgDelTypology = "Cannot remove Class %s. It is associated with some documents.";
var szMsgConfirmDelProperty = "Property %s is associated with some documents.\nRemove it anyway ?";
var szMsgDelLookup = "Cannot remove Item %s. It is associated with some documents.";
var szMsgAddField = "Property %s can't be marked as Required.\nThe Class is associated with some documents."; 
var szMsgModField = "Property %s can't be marked as Required.\nThe Class is associated with some documents."; 
var szMsgDirClass = "Class(es) '%s' cannot be removed.\nAssociated with some documents in the folder.";
var szMsgVWebNoHeaderName = "This Web Server has no Header Name.\nIt cannot be selected !";
var szMsgVWebBusy = "This Web Server is busy by another instance.\nIt cannot be selected !";
var szMsgVWebEmpty = "The Virtual Web Server list is empty !";
var szMsgNotMailing = "Mailing Lists can be associated with Workflow folders only";
var szMsgEraseAuthDenied  = "cannot be deleted: authorization denied.";
var szMsgMoveAuthDenied  = "cannot be moved: authorization denied.";
var szMsgEmbedded = "Maximum number of characters allowed for a Text File has been exceeded.";
var szMsgDbaCred  = "You need to provide a data base administrator user account.";
var szMsgFilterOption = "A Filter option or the string format are incorrect.";
var szMsgMaxVerEmpty = "The field Max Number of Version is empty.";
function Sprintf(szFormat, szValue)
{
	nLen = szFormat.length;
	szOutStr = "" ;
	for ( i=0 ; i<nLen ; i++ ) {
		if (szFormat.charAt (i) != '%' ) {
			szOutStr += szFormat.charAt (i) ;
		} else {
			n = i + 1
			if ( n <= nLen && szFormat.charAt (n) == 's' )
				szOutStr += szValue ;
			i = n ;
		}
	}
	return(szOutStr);
}
function ContextHelp (szHelpFile)
{
    HelpWin = window.open("/wfdocs/eng/help/" + szHelpFile,"OLHELP",
		"width=500,height=300,resizable=1,status=1," +
		"menubar=0,toolbar=0,scrollbars=1");
	HelpWin.focus();
}
function HelpWinOpen()
{
	HelpWin1 = window.open("/wfdocs/eng/help/help.htm","OLG",
							"width=750,height=480,resizable=1,status=1," +
							"menubar=1,toolbar=1,scrollbars=1");
	HelpWin1.focus();
}
var szNoChange = "1Emp5ty9";
var szOpenWinParam = "width=670,height=480,resizable=1,status=1,menubar=0,scrollbars=1";
var szEditorOpenWinParam = "width=670,height=600,resizable=1,status=1,menubar=0,scrollbars=1";
var szOpenPropParam = "width=550,height=540,resizable=0,status=1,menubar=0,scrollbars=1";
var szMsgSCSExist = "A SCS with the same code already exists.";
var szMsgDelSCS = "The SCS %s is associated with some objects. Are you sure you want to remove it?";
var szMsgSCSCode = "Subject Classification System Code";
var szMsgDelCategory = "The category %s is associated with some objects. Are you sure you want to remove it?";
var szMsgDelOneCategory = "It is possible that some categories are associated with some objects. Are you sure you want to remove %s?";
var szMsgCategoryExist = "A Category with the same code already exists.";
var szMsgModifyCategory = "The category %s is associated with some objects. Are you sure you want to modify it?";
var szMsgModuleExist = "A Module with the same code-subcode already exists.";
var szMsgModifyModule = "The module %s is associated with some events. Are you sure you want to modify it?";
var szMsgDelModule = "The module %s is associated with some events. Are you sure you want to remove it?";
var szMsgModulesCode = "Code";
var szMsgModulesSubCode = "SubCode";
var szMsgModuleDefault = "There is another default module in group %s. Are you sure you want to set it to defaiul?";
var szMsgDefaultModule = "This is the default module in the group %s. Are you sure you want to remove it?";
var szMsgModulesType = "Type";
var szMsgModuleProgID = "ProgID";
var szMsgBlockModule = "This module is blocked, only the default value and parameters values will be modified. Are you sure you want to modify it?";
var szMsgMobile = "Mobile Number";
var szMsgModulesParam1Name = "First Parameter Name";
var szMsgModulesParam1Value = "First Parameter Value";
var szMsgModulesParam2Name = "Second Parameter Name";
var szMsgModulesParam2Value = "Second Parameter Value";
var szMsgModulesParam3Name = "Third Parameter Name";
var szMsgModulesParam3Value = "Third Parameter Value";
var szMsgModulesParam4Name = "Fourth Parameter Name";
var szMsgModulesParam4Value = "Fourth Parameter Value";
var szMsgModulesParam = "Both Name and Value must be specified for a Parameter";
var szDataChangedCategories = "Categories has been changed.\nDo you want to save it?";
var szDataChangedConversion = "Conversion has been changed.\nDo you want to save it?";
var szDataChangedAccessibility = "Accessibility has been changed.\nDo you want to save it?";
var szDataChangedEdit = "Window Editor has been opened.\nDo you want to save edit text?";
var szMsgAlreadyEdit = "An Editor is already open.\nClose it before open another one?"
var szMsgSelectClass = "You must select at least one class."
