/* Created By PwC -i Date Added: 05/25/2007 All Constants used in javascript should be entered in this file. */ //The following are the file Types that are currently allowed in bulletin attachments. var fileTypeArray = new Array("doc","xls","pdf","ppt","vsd"); var fileTypeArrayJobDesc = new Array("pdf","doc","txt","ppt","rtf"); //Application Alert Messages. var msgBulletinAttachmentDelConfirm = "Are you sure you want to delete this message attachment?"; var msgBulletinNavigateAwayConfirm = "If you leave this form, all data entered will be lost"; var msgEventDocumentDelConfirm = "Are you sure you want to delete this event document?"; var msgRegistrationNavigateAwayConfirm = "If you leave this registration form, all data entered will be lost."; var msgUpdateNavigateAwayConfirm = "If you leave this update registration form, all data entered will be lost.\nYou may update again by choosing Update from the Alumni Website Home Page."; var msgCancelOrNavigateAwayConfirm = "If you close out this window or navigate away from \nthis page without saving, all data will be lost."; //Added for Manage Survey Ph V Iter 1 var msgExportWarningOnPublishSurvey = "If you publish changes without exporting, \nin the future you will not be able to view/export the details of the now active survey. \nWould you like to postpone publishing so that you can export the results?"; var msgCancelOrNavigateAwayConfirmSurvey = "If you attempt to navigate away from this page or cancel before publishing changes, all data will be lost."; //Added for Manage Survey Ph V Iter 1--->End //End of Application Alert Messages. //Added for default message "Select One or More" in AJAX --- begin var selectOneOrMoreLabel = "Select One or More"; //Added for default message "Select One or More" in AJAX --- end var selectOneDropdownValue = "Select One" var blankString = ""; function addFileType() { var count; var fileTypeName="" ; for (count in fileTypeArray) { if(count == 0) fileTypeName = fileTypeName + fileTypeArray[count]; else fileTypeName = fileTypeName + ", "+ fileTypeArray[count]; } return fileTypeName; } function addFileTypeJobDesc() { var count; var fileTypeName="" ; for (count in fileTypeArrayJobDesc) { if(count == 0) fileTypeName = fileTypeName + fileTypeArrayJobDesc[count]; else fileTypeName = fileTypeName + ", "+ fileTypeArrayJobDesc[count]; } return fileTypeName; }