var translations = new Object(); translations["name-empty"] = "Name can\'t be empty"; translations["one-employee-not-selected"] = "Please select an employee"; translations["one-job-not-selected"] = "Please select a job"; translations["choose-employee"] = "choose employee"; translations["choose-job"] = "choose job"; translations["employee-scheduled"] = "This employee is already scheduled for this time"; translations["job"] = "Job"; translations["employee"] = "Employee"; translations["at-least-one-job"] = "Please choose at least one job"; translations["at-least-one-employee"] = "Please choose at least one employee"; translations["at-least-one-shift"] = "Please choose at least one shift"; translations["at-least-one-job-shift"] = "Please choose at least one job and one shift"; translations["confirm-copy-weeks1"] = ", and to the following"; translations["confirm-copy-weeks2"] = "week(s)"; translations["can-not-print"] = "2 weeks can not be printed on Legal/Portrait"; translations["short-january"] = "Jan"; translations["short-febraury"] = "Feb"; translations["short-march"] = "Mar"; translations["short-april"] = "Apr"; translations["short-may"] = "May"; translations["short-june"] = "Jun"; translations["short-july"] = "Jul"; translations["short-august"] = "Aug"; translations["short-september"] = "Sep"; translations["short-october"] = "Oct"; translations["short-november"] = "Nov"; translations["short-december"] = "Dec"; translations["confirm-post"] = "Are you sure you want to post the changes to this week?"; translations["bad-template-name"] = "Please enter template name"; translations["bad-user-input"] = "User input must be numeric and greater then 0"; translations["representative-not-selected"] = "Please select sales representative"; translations["all-capital"] = "All"; translations["unknown-small"] = "unknown"; translations["not-created"] = "Not created"; translations["not-posted"] = "Not posted"; translations["created-by"] = "Created by"; translations["posted-by"] = "Posted by"; translations["on-date"] = "on"; translations["confirm-remove-template"] = "Would you like to remove this template?"; translations["confirm-copy-from"] = "Are you sure you would like to copy the week of"; translations["confirm-copy-to"] = "to the week of"; translations["can-not-copy-to-previous"] = "You shouldn\'t copy schedule to previous weeks"; translations["att-formerly"] = "AT&T Wireless (Formerly)"; translations["country-not-selected"] = "Please select country"; translations["guide-to-print-not-selected"] = "Please select all the employees that you would like to Print the User Guide for"; translations["all-days-only-checklist"] = "All days option can not be used with hour by hour print"; translations["region-not-selected"] = "Please select state/province/region"; translations["bad-username-prefix"] = "Username prefix should not be empty and should contain only letters and digits"; translations["color"] = "Color"; translations["color-green"] = "Green"; translations["color-blue"] = "Blue"; translations["color-yellow"] = "Yellow"; translations["color-grey"] = "Grey"; translations["color-pink"] = "Pink"; translations["color-brown"] = "Brown"; translations["color-orange"] = "Orange"; translations["color-peach"] = "Peach"; translations["color-dark-yellow"] = "Dark Yellow"; translations["color-light-grass"] = "Light Grass"; translations["color-sky"] = "Sky"; translations["color-purple"] = "Purple"; translations["color-light-purple"] = "Light Purple"; translations["color-light-blue"] = "Light Blue"; translations["color-dark-pink"] = "Dark Pink"; translations["color-rosy"] = "Rosy"; translations["color-dark-brown"] = "Dark Brown"; translations["color-light-yellow"] = "Light Yellow"; translations["color-ice-blue"] = "Ice Blue"; translations["color-dull-green"] = "Dull Green"; translations["color-mint-green"] = "Mint Green"; translations["none-selected"] = "None"; translations["from"] = "From"; translations["only-one-no-end"] = "Only one time period can have no ending date"; translations["time-periods-intersect"] = "Time periods should not intersect"; translations["block-time-periods-not-selected"] = "Please select time period(s) to block"; translations["to"] = "to"; translations["today"] = "Today"; translations["other"] = "Other"; translations["select"] = "select"; translations["cell-address"] = "Cell Address"; translations["schedule-overwrite"] = "This shift can not fit into the hours of operation of a single day. It will be split between two days. A portion of this shift conflicts with an existing schedule and will overwrite it. Is this acceptable?"; translations["schedule-split"] = "This shift can not fit into the hours of operation of a single day. It will be split between two days. Is this acceptable?"; translations["select-state"] = "State"; translations["cingular-states-1"] = "PA/DE/NJ"; translations["cingular-states-2"] = "MI/OH/WI"; translations["cingular-states-3"] = "AL/FL/GA/IN/KY/LA/MS/NC/SC/TN/Houston TX"; translations["cingular-states-4"] = "TX (except Houston) + All Other States"; translations["wireless-carrier"] = "Wireless Carrier"; translations["please-select"] = "Please select"; translations["phone-number-10"] = "Phone number should contain 10 digits with no other characters or spaces"; translations["phone-number-11"] = "Phone number should contain 11 digits with no other characters or spaces"; translations["pin-code-7"] = "PIN code should contain 7 digits with no other characters or spaces"; translations["username-1"] = "Username should contain at least 1 character"; translations["phone-number"] = "Phone number"; translations["pin-code"] = "PIN code"; translations["username"] = "Username"; translations["email-address"] = "Email"; translations["locations-to-print-not-selected"] = "Please select locations to print"; translations["jobs-to-export-not-selected"] = "Please select jobs to export"; translations["shifts-to-export-not-selected"] = "Please select shifts to export"; translations["faq-to-edit-not-selected"] = "Please select FAQ items to edit"; translations["faq-to-remove-not-selected"] = "Please select FAQ items to remove"; translations["blocked-to-remove-not-selected"] = "Please select blocked requests to remove"; translations["confirm-comletely-remove"] = "Are you sure you want to remove these employees?"; translations["confirm-remove-blocked"] = "Are you sure to remove selected blocked requests?"; translations["confirm-remove-faq"] = "Are you sure to remove selected FAQ items?"; translations["question-and-answer-empty"] = "Question and answer should be either both empty or both not empty"; translations["question-empty"] = "Question field should not be empty"; translations["answer-empty"] = "Answer field should not be empty"; translations["status-not-selected"] = "Please select status"; translations["chapter-not-selected"] = "Please select chapter"; translations["off"] = "Off"; translations["on-call"] = "On Call"; translations["password-confirm"] = "Password & Confirm Password are different"; translations["username-format-empty"] = "Username consists of incorrect characters or empty. Allowed only alpha numeric characters, \'-\', \'_\', \'.\'. First character must be alpha numeric."; translations["password-format-empty"] = "Password consists of incorrect characters or empty. Allowed only alpha numeric characters."; translations["employees-password-format-empty"] = "Employees password consists of incorrect characters or empty. Allowed only alpha numeric characters."; translations["lastname-format"] = "Last Name consists of incorrect characters"; translations["firstname-format-empty"] = "First Name consists of incorrect characters or empty"; translations["company-name-format-empty"] = "Company Name consists of incorrect characters or empty"; translations["street-address-empty"] = "Street address should not be empty"; translations["city-empty"] = "City should not be empty"; translations["zip-empty"] = "ZIP/postal code should not be empty"; translations["select-values-to-edit"] = "Please select values to edit"; translations["date-selector"] = "Date selector"; translations["message-empty"] = "Message can\'t be empty"; translations["sunday"] = "Sunday"; translations["monday"] = "Monday"; translations["tuesday"] = "Tuesday"; translations["wednesday"] = "Wednesday"; translations["thursday"] = "Thursday"; translations["friday"] = "Friday"; translations["saturday"] = "Saturday"; translations["all-days"] = "All days"; translations["all-days-together"] = "All days Together"; translations["time-close"] = "Close"; translations["time-open"] = "Open"; translations["time-no"] = "No"; translations["browser-version"] = "Your version of browser can work unproperly with this application. Please upgrade your browser to the new version."; translations["confirm-save-changes"] = "You have made some changes to the form, do you want to save these changes?"; translations["save-before-remove"] = "You have made some changes to the form, please save changes before try remove"; translations["save-before-reactivate"] = "You have made some changes to the form, please save changes before try reactivate"; translations["confirm-remove-managers"] = "Are you sure to remove selected Managers?"; translations["confirm-remove-employees"] = "Are you sure to remove selected Employees?"; translations["confirm-reactivate-managers"] = "Are you sure to reactivate selected Managers?"; translations["confirm-reactivate-employees"] = "Are you sure to reactivate selected Employees?"; translations["managers-to-remove-not-selected"] = "Please select Managers which you want to remove!"; translations["employees-to-reactivate-not-selected"] = "Please select Employees which you want to reactivate!"; translations["employees-to-remove-not-selected"] = "Please select Employees which you want to remove!"; translations["translators-to-remove-not-selected"] = "Please select Translators which you want to remove!"; translations["confirm-remove-translators"] = "Are you sure to remove selected Translators?"; translations["phone-format"] = "Error in phone number format"; translations["fax-format"] = "Error in fax number format"; translations["email-bad-format"] = "Incorrect format of email address"; translations["cell-bad-format"] = "Incorrect format of cell address"; translations["at-least-one-manager"] = "Please select one or more managers"; translations["managers-without-email"] = "Selected managers don\'t have email addresses"; translations["choose-region"] = "choose region"; translations["employee-not-selected"] = "Please select one or more employees"; translations["employees-without-email"] = "Selected employees don\'t have email addresses"; translations["starting-date"] = "Starting Date"; translations["ending-date"] = "Ending Date"; translations["hourly-wage-format"] = "Hourly Wage or Salary needs to be in Money format. Example: 34.09"; translations["benefit-format"] = "Benefit needs to be Numeric"; translations["benefit-value"] = "Benefit can\'t be more than 100 or less than 0"; translations["primary-number-format"] = "Primary Number consists of incorrect characters"; translations["secondary-number-format"] = "Secondary Number consists of incorrect characters"; translations["start"] = "Start"; translations["end"] = "End"; translations["shift-name"] = "Shift name"; translations["startend-outside-shift"] = "Start and end time are not within allowed operation hours"; translations["at-least-one-cell"] = "You should select one or more cells first"; translations["schedule-not-controlled"] = "Several cells use job(s) which you can not edit. Those shifts were not modified."; translations["primary-job"] = "Primary"; translations["nothing-to-post"] = "There is nothing to post"; translations["nothing-to-undo"] = "There is nothing to undo"; translations["only-square-regions"] = "Only square regions can be copied"; translations["copy-maximum-size"] = "Maximum size of cookie is 4096 characters. Script can\'t save your selection."; translations["copy-at-least-one-cell"] = "You should copy one or more cells first"; translations["find-replacement-single"] = "You can use \'find replacement\' function only for single employee!"; translations["no-replacement-found"] = "No replacements was found."; translations["time-close-small"] = "close"; translations["time-open-small"] = "open"; translations["am"] = "am"; translations["pm"] = "pm"; translations["se-bottom-form-jobs-box"] = "SYSTEM ERROR: Bottom form is not loaded or select box of jobs is not defined"; translations["se-callback"] = "SYSTEM ERROR: Can\'t access callback function"; translations["se-top-frame-toolbarset"] = "SYSTEM ERROR: top frame is not loaded or function ToolbarSet() is not defined in top frame"; translations["se-top-frame-toolbarclear"] = "SYSTEM ERROR: top frame is not loaded or function ToolbarClear() is not defined in top frame"; translations["se-top-frame-addbreak"] = "SYSTEM ERROR: top frame is not loaded or function AddBreak() is not defined in top frame"; translations["se-top-frame-checksave"] = "SYSTEM ERROR: top frame is not loaded or function CheckSave() is not defined in top frame"; translations["se-top-frame-copyschedule"] = "SYSTEM ERROR: top frame is not loaded or function CopySchedule() is not defined in top frame"; translations["se-top-frame-rotateschedule"] = "SYSTEM ERROR: top frame is not loaded or function RotateSchedule() is not defined in top frame"; translations["se-top-frame-pasteschedule"] = "SYSTEM ERROR: top frame is not loaded or function PasteSchedule() is not defined in top frame"; translations["se-top-frame-print"] = "SYSTEM ERROR: top frame is not loaded or function Print() is not defined in top frame"; translations["se-top-frame-copyentireweek"] = "SYSTEM ERROR: top frame is not loaded or function CopyEntireWeek() is not defined in top frame"; translations["se-top-frame-postschedule"] = "SYSTEM ERROR: top frame is not loaded or function PostSchedule() is not defined in top frame"; translations["se-top-frame-undopost"] = "SYSTEM ERROR: top frame is not loaded or function UndoPost() is not defined in top frame"; translations["only-one-default-time"] = "Only one default time per day is allowed"; translations["default-time"] = "default"; translations["supervisors-to-remove-not-selected"] = "Please select supervisors to remove"; translations["confirm-remove-supervisors"] = "Would you like to remove selected supervisor(s)?"; translations["confirm-remove-testimonials"] = "Are you sure to remove selected testimonials?"; translations["testimonials-to-remove-not-selected"] = "Please select testimonials to remove"; translations["at-least-one-supervisor"] = "Please select one or more supervisors"; translations["supervisors-without-email"] = "Selected supervisors don\'t have email addresses"; translations["Midnight"] = "Midnight"; translations["Noon"] = "Noon"; translations["locations-to-export-not-selected"] = "Please select locations to export"; translations["display-fields-empty"] = "Please select fields to show in employee list"; translations["check-alert-hours"] = "Please check hours in a day and hours before next shift for alerts"; translations["confirm-change-request-status"] = "Are you sure you want to change status of selected request(s)?"; translations["confirm-delete-request"] = "Are you sure you want to delete selected request(s)?"; translations["add"] = "add"; translations["delete"] = "delete"; translations["wrong-sequence"] = "Wrong sequence of dates"; translations["bad-lineup-name"] = "Please enter line up name"; translations["confirm-remove-lineup"] = "Are you sure you want to remove this line up?"; translations["cant-set-employee-to-shift"] = "Can\'t set this employee to this shift: there are schedule conflicts"; translations["confirm-apply-schedule"] = "There are shifts for which employees are not selected. Are you sure you want to proceed?"; translations["conflict-when-set-employee-to-shift"] = "Warning: there are conflicts in this employee schedule"; translations["assigned"] = "Assigned"; translations["primary-job-already-set"] = "This job is already set as primary job"; translations["groupname-not-unique"] = "That group name is already in use. Please enter unique group name."; translations["select-recipients"] = "Please, select at least one recipient"; translations["select-one-availability-for-primary"] = "Please, select only one request to set as primary"; translations["confirm-set-availability-as-primary"] = "Set this request as primary?"; translations["cancel-service-confirm"] = "Are you sure you want to cancel your service? This will disable your and all of your employee\'s login capabilities. No new charges will be issued to your credit card and no refunds will be given for recent payments for partial months of service. Use the Contact Us link on the home page if you wish to reactivate your account."; translations["where-open-wizard"] = "You can re-open the training wizard at anytime by hovering your mouse over HELP, and selecting Training Wizard from the list."; translations["turn-off-popup-blockers"] = "Please turn your Popup Blockers off for this website.\n\nGo to Help > Training Wizard on the Menu bar to get started."; translations["overtime-alert"] = "This shift will exceed the maximum amount of hours allowed for this job. Please see your administrator for permission to set this shift."; function getTranslation(key) { return translations[key]; } function shortMonthes() { var result = new Array(); result['0'] = 'Jan'; result['1'] = 'Feb'; result['2'] = 'Mar'; result['3'] = 'Apr'; result['4'] = 'May'; result['5'] = 'Jun'; result['6'] = 'Jul'; result['7'] = 'Aug'; result['8'] = 'Sep'; result['9'] = 'Oct'; result['10'] = 'Nov'; result['11'] = 'Dec'; return result; } function dayShortMonth(date) { var month = new Array(); month['0'] = 'Jan'; month['1'] = 'Feb'; month['2'] = 'Mar'; month['3'] = 'Apr'; month['4'] = 'May'; month['5'] = 'Jun'; month['6'] = 'Jul'; month['7'] = 'Aug'; month['8'] = 'Sep'; month['9'] = 'Oct'; month['10'] = 'Nov'; month['11'] = 'Dec'; var parts = date.split("-"); return month[parseInt(parts[1], 10) - 1] + " " + parseInt(parts[2], 10); } 