var trialModeMsg = "This feature does not function in a trial project.";
var projectSaveTimeMsg = "Your project will be active for 45 days from the time of your registration and all student projects will be saved. To extend the time that your project is saved, a least one student project must be accessed, changed and re-saved during that 45 days. You will receive email warnings before your project is deleted. We're sorry, but we CANNOT retrieve your project files once they have been deleted.";
var projectStart10StudentMsg = "To start the project you have to subscribe 10 or more students.";
var projectComplete10ManuscriptsMsg = "You need at least 10 completed manuscripts to complete the order.";

var tooSmallProject = 'You must subscribe at least 10 students to start a school project.';
var tooSmallProjectConfirm = "To create books with our special school projects, we require that a minimum of 10 students participate in making individual books (extra copies of books do not count toward this minimum). You will not be able to complete your order if you do not meet this minimum. If you do not have at least 10 students participating, you can make books using our Consumer Internet Production tools. You can return later to complete your registration. \n\nClick OK to complete registration.\nClick Cancel to modify your registration now.";
var projectNotConfigured = "You have not set up the details for your project.\nPlease go to step #2 and Set up Project Details.";

var intprodProjectMsg = new Object();
intprodProjectMsg.notFound = 'The project ID you entered was not found.\n\n Please re-enter your number exactly as it was presented with the same lower and upper case letters and numbers.\n Note that your project must have been saved using the "Order Later" button and more than 7 days past the last change you made.';
intprodProjectMsg.completed = "The project has already been completed.\n\nYou can try to reorder this project.";
intprodProjectMsg.notFoundForReorder = 'The project ID you entered was not found.\n\n Please re-enter your number exactly as it was presented with the same lower and upper case letters and numbers.\n Note it should be 45 days or less since you completed the order.';
intprodProjectMsg.notCompleted = 'The project ID you entered was not completed yet.\n\n You should go back and click on "Open an Unfinished Project" link.';
intprodProjectMsg.toBeConverted = "The project has been completed in different production version.\n\nPlease contact the Customer Support to covert your project.";

var loginMsg = new Object();
loginMsg.emptyUserName = "User Name\n";
loginMsg.emptyPassword = "Password\n";
loginMsg.incorrectPassword = "Incorrect e-mail or password!";
loginMsg.incorrectAccount = "E-mail address you have specified does not exist in our database.";
loginMsg.duplicatedEmail = "This e-mail is already in use. Forgot your password?";

var studentLoginMsg = new Object();
studentLoginMsg.incorrectPassword = "You have input incorrect project ID or login&password does not exist!";

var tryItMsg = new Object;
tryItMsg.bookIsInProgress = "Sorry. It looks like you are in progress of creating Consumer IlluStory project.\nPlease save your project, close browser windows and try again.";

var registerMsg = new Object();
registerMsg.duplicatedEmail = "This e-mail is already in use!\n\nForgot your password?";
registerMsg.wrongOldEmail = "You have input incorrect Old Password.\nPlease try again.";

var classMsg = new Object();
classMsg.duplicatedName = "You have already input a class with the same name.\nPlease try again.";
classMsg.couldNotDelete = "Could not delete the class due to constaint violations.\nThere are references to the class or its students in the database.";

var projectMsg = new Object();
projectMsg.duplicatedName = "Our database has already contained a project with the same name.\nYou can use your school name and current date to generate unique project name.\n\nPlease enter another unique project name.";
projectMsg.couldNotDelete = "Could not delete the project due to constaint violations.\nThere are references to the project in the database.";

var projectStudentsMsg = new Object();
projectStudentsMsg.duplicatedLogin = "Student login must be unique withing a project.\nYou have already added a student with the same login.";
projectStudentsMsg.completed = "Your project has been completed. You cannot change it.";

var studentMsg = new Object();
studentMsg.couldNotDelete = "Could not delete the student due to constaint violations.\nThere are references to the student in the database.";

var completeOrderMsg = new Object();
completeOrderMsg.incorrectKitNumber = "You have not entered a valid tracking number.\nPlease check the \"Tracking Number\" field.";
completeOrderMsg.validKitNumber = "Your kit number has been approved.\n\nPlease destroy your Order Form so that it is not accidently returned for production and then rejected as a fulfilled number.\n\nThank you.";
completeOrderMsg.incorrectPromotionCode = "You have not entered a valid Promotion Code.\nPlease check the \"Promotion Code\" field.";
completeOrderMsg.validPromotionCode = "Your Promotion Code has been accepted.\n\nThank you.";
completeOrderMsg.couldNotDeleteRetailKit = "Could not delete the student due to constaint violations.\nThere are references to the student in the database.";
completeOrderMsg.incorrectRetailKit = "You have not entered a valid Retail Kit.\nPlease check the " + '"' + "Retail Kit" + '"' + " field.";
completeOrderMsg.incorrectPromotionalCode = "You have not entered a valid Promotion Code.\nPlease check the " + '"' + "Promotion Code" + '"' + " field.";
completeOrderMsg.promotionalCodeWasUsed = "You have already used this promotional code. It's one-time code and you cannot use it twice.";
completeOrderMsg.incorrectPrePaymentCode = "You have not entered a valid Pre-Payment Code.\nPlease check the " + '"' + "Pre-Payment Code" + '"' + " field.";
completeOrderMsg.prePaymentCodeWasUsed = "You have already used this Pre-Payment code. It's one-time code and you cannot use it twice.";
completeOrderMsg.incorrectBookQuantity = "You have input incorrect Book Quantity.";
completeOrderMsg.incorrectBookJacketsQuantity = "You have input incorrect Book Jackets Quantity.";
completeOrderMsg.incorrectItemQuantity = "You have input incorrect Item Quantity.";
completeOrderMsg.shipmentInfoEmpty = "You can not complete order.\nYou have not provided the shipping information.";
completeOrderMsg.paymentInfoEmpty = "You can not complete order.\nYou have not provided the payment information.";
completeOrderMsg.validCustomerNumber = "Your Customer # has been accepted.\n\nThank you.";
completeOrderMsg.incorrectCustomerNumber = "You have not entered a valid Customer #.\nPlease check the " + '"' + "Customer #" + '"' + " field.";
completeOrderMsg.need10CompletedProjects = "To create books with our special school projects, we require that a minimum of 10 students participate in making individual books (extra copies of books do not count toward this minimum). You will not be able to complete your order if you do not meet this minimum. If you do not have at least 10 students participating, you can make books using our Consumer Internet Production tools.";
completeOrderMsg.couldNotSaveOrder = "We are sorry. We could not save your order. Please try again.\nIf it fails again please contact schoolprograms@creationsbyyou.com.";

var couldNotProcessUploadedFile="Could not process the uploaded file.\nPlease try again.";
var maxLengthExceeded="The maximum upload length has been exceeded by the client.\nPlease upload a smaller file.";

var confirmDrawingAfterUploadMsg = 'You can not edit uploaded photo or drawing using our drawing tool.' +
         "\nDo you want to edit the drawing you have made in our tool? \n" +
         'Click "Cancel" to cancel and use the Image Placement tools.';

var IlluStory = new Object();
IlluStory.CoverPage = new Object();
IlluStory.CoverPage.msg72_1 = "You have uploaded a low resolution file. \nPhotos should be at least 72 dpi (329 pixels minimum in height and width). \nFor best results, we suggest photos or logos that are between 100 to 150 dpi (460 to 685 pixels minimum in height and width). \nTo replace your current file, return to \"Import a Drawing or Photo\" and import a new file.";
IlluStory.CoverPage.msg100_1 = "You have uploaded a lower resolution file. \nMany files these sizes look acceptable when printed, but for best results, we suggest photos or logos that are between 100 to 150 dpi (460 to 685 pixels minimum in height and width).";

IlluStory.BookPages = new Object();
IlluStory.BookPages.msg72_1 = "You have uploaded a low resolution file. \nPhotos should be at least 72 dpi (424 pixels minimum in height and width). \nFor best results, we suggest photos or logos that are between 100 to 150 dpi (590 to 885 pixels minimum in height and width). \nTo replace your current file, return to \"Import a Drawing or Photo\" and import a new file.";
IlluStory.BookPages.msg100_1 = "You have uploaded a lower resolution file. \nMany files these sizes look acceptable when printed, but for best results, we suggest photos or logos that are between 100 to 150 dpi (590 to 885 pixels minimum in height and width).";

IlluStory.BookPages.alert1 = "You have already created 12 Story Pages in your book. Please ask your teacher if you can add more.";
IlluStory.BookPages.alert2 = "You have already created 18 Story Pages in your book. Please ask your teacher if you can add more.";
IlluStory.BookPages.end_page = "It's impossible to add pages after the end page.";
IlluStory.BookPages.end_page_no_move = "It's impossible to move the end page.";

IlluStory.AboutAuthorPage = new Object();
IlluStory.AboutAuthorPage.msg72_1 = "You have uploaded a low resolution file. \nPhotos should be at least 72 dpi (330 pixels minimum in width and 230 pixels in height). \nFor best results, we suggest photos or logos that are between 100 to 150 dpi (460 to 685 pixels minimum in width and 280 to 420 pixels in height). \nTo replace your current file, return to \"Import Author's Photo\" and import a new file.";
IlluStory.AboutAuthorPage.msg100_1 = "You have uploaded a lower resolution file. \nMany files these sizes look acceptable when printed, but for best results, we suggest photos or logos that are between 100 to 150 dpi (460 to 685 pixels minimum in width and 280 to 420 pixels in height).";


var Masterpiece = new Object();
Masterpiece.ItemTypeSelect = "You have not choosen masterpiece type. \nPlease select one of available options.";
Masterpiece.ItemOrientationSelect = "You have not choosen masterpiece orientation. \nPlease select one of available options.";
Masterpiece.ItemTypeWarning = "Your masterpiece will be altered if you switch from horizontal to landscape (or visa versa) or from framed art to museum poster. Do you want to continue?";
Masterpiece.msg72_1_art_h = "You have uploaded a low resolution file. \nPhotos should be at least 72 dpi (1008 pixels minimum in width and 792 pixels in height). \nFor best results, we suggest photos or logos that are between 100 to 150 dpi (1400 to 2100 pixels minimum in width and 1100 to 1650 pixels in height). \nTo replace your current file, return to \"Import a Scanned Drawing or Photo\" and import a new file.";
Masterpiece.msg100_1_art_h = "You have uploaded a lower resolution file. \nMany files these sizes look acceptable when printed, but for best results, we suggest photos or logos that are between 100 to 150 dpi (1400 to 2100 pixels minimum in width and 1100 to 1650 pixels in height).";
Masterpiece.msg72_1_art_v = "You have uploaded a low resolution file. \nPhotos should be at least 72 dpi (792 pixels minimum in width and 1008 pixels in height). \nFor best results, we suggest photos or logos that are between 100 to 150 dpi (1100 to 1650 pixels minimum in width and 1400 to 2100 pixels in height). \nTo replace your current file, return to \"Import a Scanned Drawing or Photo\" and import a new file.";
Masterpiece.msg100_1_art_v = "You have uploaded a lower resolution file. \nMany files these sizes look acceptable when printed, but for best results, we suggest photos or logos that are between 100 to 150 dpi (1100 to 1650 pixels minimum in width and 1400 to 2100 pixels in height).";
Masterpiece.msg72_1_poster_h = "You have uploaded a low resolution file. \nPhotos should be at least 72 dpi (1440 pixels minimum in width and 1152 pixels in height). \nFor best results, we suggest photos or logos that are between 100 to 150 dpi (2000 to 3000 pixels minimum in width and 1600 to 2400 pixels in height). \nTo replace your current file, return to \"Import a Scanned Drawing or Photo\" and import a new file.";
Masterpiece.msg100_1_poster_h = "You have uploaded a lower resolution file. \nMany files these sizes look acceptable when printed, but for best results, we suggest photos or logos that are between 100 to 150 dpi (2000 to 3000 pixels minimum in width and 1600 to 2400 pixels in height).";
Masterpiece.msg72_1_poster_v = "You have uploaded a low resolution file. \nPhotos should be at least 72 dpi (1152 pixels minimum in width and 1440 pixels in height). \nFor best results, we suggest photos or logos that are between 100 to 150 dpi (1600 to 2400 pixels minimum in width and 2000 to 3000 pixels in height). \nTo replace your current file, return to \"Import a Scanned Drawing or Photo\" and import a new file.";
Masterpiece.msg100_1_poster_v = "You have uploaded a lower resolution file. \nMany files these sizes look acceptable when printed, but for best results, we suggest photos or logos that are between 100 to 150 dpi (1600 to 2400 pixels minimum in width and 2000 to 3000 pixels in height).";
Masterpiece.confirmDrawing = 'Use of this tool will prevent you from being able to further adjust the placement of your photo.' +
                             "\nDo you want to continue? \n" +
                             'Click "Cancel" to cancel and use the Image Placement tools.';

var SesameAndMe = new Object();
SesameAndMe.msg72_1_photo_h = "You have uploaded a low resolution file. \nPhotos should be at least 72 dpi (216 pixels minimum in width and 288 pixels in height). \nFor best results, we suggest photos or logos that are between 100 to 150 dpi (300 to 450 pixels minimum in width and 400 to 600 pixels in height). \nTo replace your current file, return to \"Import Author Photo\" and import a new file.";
SesameAndMe.msg100_1_photo_h = "You have uploaded a lower resolution file. \nMany files these sizes look acceptable when printed, but for best results, we suggest photos or logos that are between 100 to 150 dpi (300 to 450 pixels minimum in width and 400 to 600 pixels in height).";
SesameAndMe.PhotoUpload = "You have not uploaded author photo. \nPlease use this page for upload.";
SesameAndMe.TypeChild = "You have not provided the child's name. \nPlease use this page to type the child's name.";
SesameAndMe.NeedRetailKit = "You can not complete order.\nYou have not provided Retail Kit Tracking Number.";
SesameAndMe.NoBooksOrdered = "You can not complete order.\nNo books has been ordered.";

