var ERROR = new Array();
var WARNING = new Array();

ERROR['holding_no_verlag'] = 'Please select a publisher.';
ERROR['titel'] = 'Please enter a book title.';

ERROR['autor_rolle_1'] = 'Please choose between author and editor. This information is compulsory.';
ERROR['autor_rolle_2'] = 'You have entered a name. Please indicate whether it is an author or an editor. (Line 2)';
ERROR['autor_rolle_3'] = 'You have entered a name. Please indicate whether it is an author or an editor. (Line 3)';
ERROR['autor_rolle_4'] = 'You have entered a name. Please indicate whether it is an author or an editor. (Line 4)';
ERROR['autorname_1'] = 'Please enter the first author’s last name.';
ERROR['autorvorname_1'] = 'Please enter the first author’s first name.';
ERROR['autorname_2'] = 'Please enter the second author’s last name.';
ERROR['autorvorname_2'] = 'Please enter the second author’s first name.';
ERROR['autorname_3'] = 'Please enter the third author’s last name.';
ERROR['autorvorname_3'] = 'Please enter the third author’s first name.';
ERROR['autorname_4'] = 'Please enter the fourth author’s last name.';
ERROR['autorvorname_4'] = 'Please enter the fourth author’s first name.';

ERROR['wisb'] = 'Bitte wählen Sie bei einer wissenschaftlichen Arbeit einen wissenschaftlichen Bereich aus.';
ERROR['universitaet'] = 'Bitte wählen Sie bei einer wissenschaftlichen Arbeit eine Universitaet aus.';
ERROR['wgrp_nr'] = 'Bitte wählen Sie eine Warengruppe.';
ERROR['format'] = 'Please select a trim size.';

ERROR['freies_format_not_valid'] = 'Please enter correct values for the individual trim size.';
ERROR['freies_format_breite'] = 'Please enter a correct value for the width.';
ERROR['freies_format_hoehe'] = 'Please enter a correct value for the height.';
ERROR['anz_seiten_buchblock'] = 'Please enter the number of pages in the book.';
ERROR['seiten_buchblock_nan'] = 'Please enter numeric characters for the number of pages in the book.';
ERROR['seiten_buchblock_nmod4'] = 'The number of pages in the book block must be divisible by four.';
ERROR['seiten_buchblock_nmod2'] = 'The number of pages in the book block must be divisible by two.';
ERROR['seiten_buchblock_min'] = 'The book block must have at least 4 pages.';
ERROR['seiten_buchblock_min_pbhc'] = 'The book block must have at least 24 pages.';
WARNING['seiten_buchblock_min_pbhc'] = 'This number of pages is only suitable for a booklet. Hardcovers and paperbacks need to consist of at least 24 pages.';
ERROR['seiten_buchblock_max'] = 'The book block may have a maximum of 700 pages.';
ERROR['seiten_buchblock_max_white80'] = 'The book block may have a maximum of 868 pages.';
ERROR['seiten_buchblock_max_white200'] = 'The book block may have a maximum of 630 pages.';
ERROR['seiten_buchblock_max_tc'] = 'The book block may have a maximum of 350 pages.';
ERROR['seiten_buchblock_max_BL'] = 'The book block may have a maximum of 48 pages.';
ERROR['seiten_buchblock_farbig_max'] = 'The number of colour pages in the book block is larger than the total number of pages entered.';
ERROR['seitenzahlen_farbig'] = 'Your book contains colour pages. Please enter the correct number of the pertinent page numbers.';
ERROR['paper80_nocol'] = 'We regret that coloured pages are not possible in combination with 80 g paper. Please choose a different kind of paper.';
ERROR['papierfarbe_buchblock'] = 'Please select a paper colour for the book block.';
ERROR['einbandart'] = 'Please select a binding.';
ERROR['laminat'] = 'Please select the type of cover.';
ERROR['buchruecken'] = 'Please select the type of spine.';
ERROR['buchdecke'] = 'Please select the colour of the cover.';
ERROR['hc_not_allowed'] = 'The cover type “hardcover with jacket” is not possible for special trim sizes.';
ERROR['isbn_keine_angabe'] = 'Please enter the ISBN information.';
ERROR['isbn_13'] = 'Enter your ISBN with a maximum of 13 digits, using only numbers or the character X.';
ERROR['isbn_invalid_char'] = 'The ISBN you entered contains invalid characters. Please use numbers or the character X only.';
ERROR['isbn_invalid_pruefz'] = 'The ISBN you entered contains an invalid check number.';
ERROR['isbn_pool'] = 'Beim Reservieren der ISBN trat ein Fehler auf. Versuchen Sie es erneut oder wenden Sie sich an den Kundendienst.';
ERROR['isbn_fehlt'] = 'Your book project has not yet been assigned an ISBN. Please try to complete the order at a later time.';
ERROR['isbn_belongs_to_bod'] = 'The ISBN you entered is reserved for BoD. You may only enter your own ISBN, not one from BoD.';
ERROR['isbn_bod_no_verlag'] = 'Als Verlagskunde dürfen Sie nur eigene ISBN verwenden, Sie können keine ISBN von BoD anfordern. Bitte wählen Sie eine andere Option.';
ERROR['isbn_already_exists'] = 'This ISBN is already used in another book project. Please enter a different number.';
ERROR['cover_template_id'] = 'Please select a cover illustration.';
ERROR['klappentext'] = 'Please provide a brief summary of the content of your book.';
ERROR['klappentext_too_long'] = 'Your summary may contain a maximum of 4000 characters including special characters and line breaks. Please shorten your text slightly.';
ERROR['agb'] = 'Please confirm the contract conditions displayed.';
ERROR['invalid_char'] = 'The information you entered contains invalid characters.';
ERROR['no_proj_pk'] = 'Invalid project no.';
ERROR['no_valid_proj_number'] = 'Invalid project no.';
ERROR['no_valid_person_id'] = 'Invalid customer no.';
ERROR['mybod_sperre'] = 'You are in a myBoD area with limited access and can therefore not yet place an order.<br>As soon as you have entered your retroactive activation code, this function will be activated for you.';
ERROR['liefer_sperre'] = 'Currently you cannot complete any book projects.';
ERROR['grund_loeschen'] = 'Please select an answer.';
ERROR['frabo_sonstiges_notiz'] = 'Please state any other reason.';
ERROR['notiz_too_long'] = 'Your text may contain a maximum of 500 characters including special characters and line breaks. Please shorten your text slightly.';
ERROR['gutschein_not_valid'] = 'The voucher code you entered is invalid.';
ERROR['gutschein_in_use'] = 'The voucher code you entered has already been used.';
ERROR['proj_not_complete'] = 'Unfortunately, the book project cannot be submitted yet since some information is still missing. The overview of your project status will tell you what is missing to submit the order.';
ERROR['user_not_reg'] = 'To complete the order you must register with myBoD.';
ERROR['lp_not_valid'] = 'Please enter a valid list price.';
ERROR['marge_not_valid'] = 'With this list price sales of the title in bookstores will not cover your costs.<br> You should either raise the list price or, if possible, consider a plainer binding and design.';

ERROR['SU_nicht_moeglich'] = "It is impossible to produce a book jacket with the dimensions you entered since our maximum paper width is too small. The width of the jacket may not exceed " + const_max_su_breite + " cm. We recommend front and back flaps which are 5 cm wide each. You may either change the type of hardcover, choosing the laminated option, or select a smaller trim size. A smaller number of pages may also change the dimensions.";


WARNING['produktwechsel'] = 'If you select an option with bookstores or the book shop when making the switch, you may need to adjust your book files and upload them again.'


var warning_begin = 'Attention! If you make this change, you must repeat the upload of ';
var warning_end   = '. Files that have already been uploaded will be deleted from your book project.';
var warning_mid   = '';
var w_mid   = new Array(8);
w_mid[1] = 'your book block file';
w_mid[2] = 'your cover file';
w_mid[3] = 'your cover and book block files';
w_mid[4] = 'your cover and jacket files';
w_mid[5] = 'your book block, cover and jacket files';
w_mid[6] = 'your book block and jacket files';
w_mid[7] = 'your jacket file';
