





var translate = (function(window, document, undefined) {
	var translations = {"JS.ConfrimDeleteResource":"Are you sure you want to delete this resource and all its associated files?","JS.Filters.label.Before":"before {0}","JS.EmailWizard.LoadingFiltersContractors":"<img src=\"images\/ajax_process2.gif\" width=\"48\" height=\"48\" \/> Loading filters for Contractors","JS.NewContractorSearch.ShowMore":"Show More","JS.EmailWizard.LoadingFiltersAudits":"<img src=\"images\/ajax_process2.gif\" width=\"48\" height=\"48\" \/> Loading filters for Audits","JS.Fieldhelp.JumpTo":"Jump To","JS.RequestNewContractor.message.PotentialMatches":"Potential Matches","JS.ProfileEdit.message.CheckingAvailabilityOfUsername":"Checking availability of username...","JS.ContractorFlag.FillInReason":"Please fill in reason","JS.ReportActivityWatch.confirm.RemoveContractor":"Are you sure you want to remove this contractor from the watch list?","JS.Filters.status.None":"None","JS.EmailWizard.AuditList":"Audit List","JS.ContractorView.AddWatch":"Adding Contractor watch...","JS.MassMailer.SelectTemplateFirst":"Select an email template to use first","JS.ConfirmDownloadAllRows":"Download all rows?","JS.ReportNewProjects.message.LoadingEmployees":"Loading Employees","JS.Validation.SpecialCharacters":"Spaces and Special Characters not allowed","JS.ManageEmployees.confirm.DeleteEmployee":"Are you sure you want to delete this employee?","JS.Audit.LoadingRequirements":"Loading Requirements...","JS.RequestNewContractor.message.CheckingForMatches":"Checking for Matches","JS.Fieldhelp.Top":"Top","JS.Filters.label.EnterAmount":"- Enter Amount -","JS.Validation.PasswordsMustMatch":"Passwords must match","JS.EditEmailTemplate.EditingTemplate":"Editing {0} Templates","JS.ContractorFacilities.message.UpgradeOffer":"The Operator you have selected does not accept Bid Only Contractors. Would you like to Upgrade this Account to a Regular Account and Add this Operator?\\n\\nNote: There will be a fee upgrade when changing from a Bid Only account to a Regular Account","JS.ContractorFlag.ChooseDate":"Choose a date...","JS.ReportNewProjects.confirm.RemoveEmployeeFromProject":"Are you sure you want to remove this employee from the project?","JS.ReportNewProjects.confirm.RemoveProject":"Are you sure you want to remove this project?","JS.EmployeePhotoUpload.message.UploadValidFile":"You must upload a valid file","JS.ManageEmployees.message.UploadEmployees":"Upload NCCER Employee Data","JS.RequestNewContractor.message.MatchingOnWords":"Matching with these words:","JS.ScheduleAudit.confirm.RushAudit":"You are choosing a date within 10 business days and this will be considered a RUSH job. You will be assessed an expedite fee of $199.","JS.Validation.UsernameIsTaken":"Username is taken","JS.Audit.LoadingAllCategories":"Loading All Categories...","JS.EmailWizard.LoadingFiltersUsers":"<img src=\"images\/ajax_process2.gif\" width=\"48\" height=\"48\" \/> Loading filters for Users","JS.ContractorApproval.SavingChanges":"Saving changes","JS.AuditCalendar.FetchingEvents":"Fetching Calendar Events","JS.Audit.LoadingAnsweredQuestions":"Loading Answered Questions...","JS.ManageJobRoles.confirm.RemoveJobRole":"Press ok to remove this job role. This action cannot be undone.","JS.ContractorAccount.taxId.CA":"Business Number","JS.ContractorFacilities.message.LinkingOperator":"Linking contractor and operator","JS.MassMailer.ReplaceOriginalTemplate":"This template will no longer be translated. Any changes you have made to the email template will write over the original body and subject. Are you sure you want to write over the original email template text?","JS.Audit.LoadingPreview":"Loading Preview...","JS.ManageEmployees.message.UploadPhoto":"Upload Employee Photo","JS.global.print":"Print","JS.InvoiceDetail.ConfirmCharge":"The credit card on file {0} will be charged. Do you wish to continue?","JS.ContractorFacilities.message.UnLinkingOperator":"Unlinking contractor and operator","JS.Fieldhelp.Bottom":"Bottom","JS.ChooseADate":"Choose A Date","JS.MassMailer.SelectRecordToPreview":"You must select record to preview","JS.DefineCompetencies.label.EditCompetency":"Edit Competency","JS.ContractorFacilities.message.SavingRequestedBy":"Saving Requested Client Site","JS.Validation.CannotBeUsername":"Cannot be username","JS.ContractorFacilities.message.BidOnly":"Are you sure you need to switch to a Bid Only account? You will still be required to upgrade in the future if you are selected for work by this Operator.","JS.Validation.Whitespace":"Spaces not allowed","JS.Registration.CheckingTaxID":"checking availability of Tax ID...","JS.Validation.ValidEmail":"Must provide valid email.","JS.ManageEmployees.confirm.RemoveRole":"Are you sure you want to remove this job role?","JS.Filters.status.All":"All","JS.Validation.CompanyNameAlreadyExists":"Company Name Already Exists","JS.QuestionAnswerSearch.message.FindingMatchingQuestions":"Finding matching questions...","JS.RegistrationAddClientSite.AddSite":"Add Site","JS.Validation.SelectClientFacility":"You must select a Client facility.","JS.AuditCalendar.Total":"Total","JS.RequestNewContractor.message.CompanyInSystem":"If you see the company below then you do not need to request for them to register. Click on their name to be taken to their page","JS.ScheduleAudit.error.AddressNotFound":"Address ({0}) could not be found","JS.ContractorView.RemoveWatch":"Removing Contractor Watch...","JS.Audit.LoadingCategory":"Loading Category...","JS.Filters.loading.FindingSearchResults":"Finding search results","JS.ManageProjects.confirm.RemoveTask":"Are you sure you want to remove this task?","JS.ManageEmployees.confirm.RemoveProject":"Are you sure you want to remove this project\/site?","JS.OperatorTags.message.LoadingRelatedRules":"Loading Related {0} Rules...","JS.Validation.Maximum100Characters":"Maximum 100 characters","JS.ManageFlagCriteriaOperator.message.LoadingCriteria":"Loading","JS.MassMailer.SendingEmails":"You are sending {0} emails. Please confirm if this is correct.","JS.Validation.Required":"Required","JS.Validation.Minimum2Characters":"Minimum 2 characters","JS.ContractorAccount.taxId.US.help":"<h3>Tax ID<\/h3> <p>Also known as Employer Identification Number, or EIN. The number assigned to your Business by the IRS for tax reporting purposes.<\/p><p>We use this <strong>only<\/strong> to see if your company has previously registered with PICS.<\/p><p>If you have trouble finding your Tax ID you can contact your accountant or the <a href=\"http:\/\/www.sba.gov\/content\/getting-tax-identification-number\" target=\"_BLANK\">IRS Business and Specialty Tax Line<\/a> at (800) 829-4933.<\/p><h5>Example<\/h5><p>123456789<\/p>","JS.EmailWizard.ContractorList":"Contractor List","JS.ContractorFacilities.message.SwitchingToTrial":"Switching to Bid Only Account","JS.TradeTaxonomy.NoMatch":"There are no trades matching these terms.","JS.ContractorAccount.taxId.US":"Tax ID","JS.ScheduleAudit.message.ValidatingAddress":"Validating Address","JS.Filters.label.Between":"between {0} and {1}","JS.WatchListManager.confirm.RemoveContractorWatch":"Are you sure you want to remove this contractor watch for this user?","JS.Validation.InvalidPhoneFormat":"Invalid Phone Format","JS.Validation.Minimum5Characters":"Minimum 5 characters","JS.EmailWizard.UserList":"User List","JS.ContractorPaymentOptions.ImportingPQF":"Creating ImportPQF ...","JS.ContractorView.SynchronizingContractor":"Synchronizing Contractor...","JS.ContractorAccount.taxId.CA.help":"<h3>Business Number<\/h3>\n<p>Please enter any one of the 15 digit Business Numbers given to your business by the Canada Revenue Agency.<\/p><p>We use this <strong>only<\/strong> to see if your company has previously registered with PICS.<\/p><p>If you have trouble finding your Business Number you can contact your accountant or the <a href=\"http:\/\/www.cra.gc.ca\" target=\"_BLANK\">Canada Revenue Agency<\/a> at (800) 959-5525.<\/p><h5>Example<\/h5>\n123456789RP0002","JS.EmployeePhotoUpload.confirm.DeletePhoto":"Are you sure you want to delete this photo? This action cannot be undone.","JS.Validation.SelectService":"You must select at least one service performed.","JS.ContractorPaymentOptions.CCExpError":"* Please enter your card's expiration date","JS.MassMailer.DeleteItem":"Are you sure you want to delete the selected items?","JS.ContractorAccount.taxId.Other":"Tax Number","JS.ReportNewProjects.message.AddingEmployee":"Adding Employee","JS.ManageProjects.loading.LoadingProject":"Loading project...","JS.ManageProjects.loading.LoadingTasks":"Loading tasks...","JS.RequestNewContractor.message.NoMatches":"These words found no matches, you might want to check to see if they are misspelled","JS.ContractorFacilities.message.SettingAnswer":"Setting answer","JS.Filters.label.After":"after {0}","JS.ContractorView.WatchingContractor":"You are watching this contractor.","JS.Registration.CheckingName":"checking availability of name...","JS.ContractorFacilities.message.RefreshingList":"Refreshing Client Site List","JS.RequestNewContractor.ClickToUnblock":"Click to unblock","JS.ManageProjects.confirm.RemoveProject":"Are you sure you want to remove this project?","JS.ManageJobRoles.message.LoadingJobRole":"Loading Job Role","JS.ConfirmDeletion":"Are you sure you want to delete this file?","JS.ContractorFacilities.message.SearchingForMatches":"Searching for matching client sites","JS.ManageProjects.loading.LoadingNewTasks":"Loading new tasks...","JS.Loading":"Loading...","JS.ContractorAccount.taxId.Other.help":"<h3>Tax Number<\/h3><p>The number your government uses to uniquely identify your company.<\/p><p>We use this <strong>only<\/strong> to see if your company has previously registered with PICS.<\/p>","JS.InvoiceDetail.ConfirmVoid":"Are you sure you want to void this invoice?","JS.Filters.label.EnterOnlyNumbers":"* Please enter only numbers","JS.Registration.CheckingUsername":"checking availability of username...","JS.RegistrationAddClientSite.RemoveSite":"Remove Site","JS.RequestNewContractor.message.PossibleMatches":"Click to view possible matches","JS.TradeTaxonomy.RemoveTrade":"Are you sure you want to remove this trade?","JS.EmailQueueList.confirm.DeleteEmail":"Are you sure you want to delete this email?","JS.ScheduleAudit.title.AddressVerification":"Address Verification","JS.ManageEmployees.message.AjaxLoad":"Loading...","JS.ManageFlagCriteriaOperator.message.ImpactedContractors":"Getting impacted contractors...","JS.MassMailer.DeleteTemplate":"Are you sure you want to delete this email template?","JS.ReportNewProjects.message.RemovingEmployee":"Removing Employee"};
    
	return function(key, args) {
		if (translations[key]) {
			if (args !== undefined && args.length > 0) {
				var t = translations[key];
				t = t.replace(/\{(\d+)\}/g, function(match, index) {
					return args[index];
				});
				return t;
			} else {
				return translations[key];
			}
		}
		else {
			return "Translation Missing";
		}
	}
})(window, document);
