//
//  Definitions
//

var serverName = "/cgi-bin/WebObjects/Popup.woa/";
var secureServerName = "/cgi-bin/WebObjects/Popup.woa/";
var portalName = "Eurovision";
var language = "eng";

var productLists = new Array("JESC09");

var development = false;
var testUser = "";
var testToken = ""; 

// Movie Cover examples: 50*82, 60*82, 70*95, 80*109, 90*122, 100*136, 110*150, 120*164, 130*177, 140*190, 150*205, 160*218, 170*232, 180*245, 190*259, 200*272, 210*286, 220*300, 230*314, 240*327, 250*341 
var smallMovieCoverWidth = 80;
var smallMovieCoverHeight = 122;
var mediumMovieCoverWidth = 130;
var mediumMovieCoverHeight = 177;
var largeMovieCoverWidth = 220;
var largeMovieCoverHeight = 300;
var smallCoverHeight = 80;
var smallCoverWidth = 80;
var mediumCoverHeight = 80;
var mediumCoverWidth = 80;

var cartItemNameLength = 20;
var cartItemArtistLength = 20;
var productNameLength = 500;
var productArtistLength = 500;
var childNameLength = 100;
var childArtistLength = 100;
var assetNameLength = 20;
var assetArtistLength = 20;
var playerNameLength = 20;
var playerArtistLength = 20;
var lineItemNameLength = 100;
var lineItemArtistLength = 100;

var cartContentMinHeight = 20;
var cartContentItemHeight = 31;
var cartContentWidth = 248;

var imgSample = "sample.gif";
var imgMovieSample = "movie.gif";
var imgAlbum = "cd.gif";

var imgRemove = "btn_remove.gif"

var imgBuyLarge = "btn_buy_large.gif";
var imgBuySmall = "btn_buy.gif";
var imgBoughtLarge = "btn_buy_large.gif";
var imgBoughtSmall = "btn_buy.gif";

var imgShowCart = "btn_showCart_enabled.gif";
var imgShowCartDisabled = "btn_showCart_disabled.gif";
var imgCheckout = "btn_toPayment_enabled.gif";
var imgCheckoutDisabled = "btn_toPayment_disabled.gif";
var imgCloseWindow = "btn_close.gif";
var imgPrint = "btn_print.gif";
var imgRemove = "btn_remove.gif";
var imgDownload = "btn_download.gif";
var imgZip_waiting = "btn_zip_waiting.gif";
var imgZip_failed = "btn_zip_failed.gif";
var imgZip_download = "btn_download.gif";
var imgZip_download = "btn_download.gif";
var imgSelectAsset = "btn_selectAsset.gif";
var imgDeselectAsset = "btn_deselectAsset.gif";

// strings
var strTracks = "Songs";
var strCurrency = "EUR";
var strItem = "item";
var strItems = "items";
var strChoosePayment = "Choose Payment method";
var strMissingCertificateCode = "Please check that you have entered the code from your gift certificate";
var strMissingEmail = "Please check that you have entered your email adress";
var strMissingPaymentMethod = "Please check that you have chosen your preferred payment method";
var strMissingCardNumber = "Please check that you have entered your credit card number";
var strMissingCVC = "Please check that you have entered your card verification code";
var strMissingExpireMonth = "Please check that you have entered the expiration month from your credit card";
var strMissingExpireYear = "Please check that you have entered the expiration year from your credit card";
var strTermsNotAccepted = "Please check that you have accepted the general conditions";
var strEmailsDontMatch = "Please check that the entered email addresses match";
var strCreditcards = "Credit card";
var strWebpayments = "Internet payment";
var strNetbanks = "Netbank";
var strGiftCertificates = "Gift certificate";
var strGiftCertificate = "Gift certificate";
var strInvoiceTitle = "Receipt";
var strTermsTitle = "PopUpShop - General conditions";
var strHelpTitle = "PopUpShop - Help";
var strOrderRedownloadValue = "Your email";
var strInvitationNotSent = "An error has occured. Please try again";
var strInvitationSent = "Thank You! You will recieve an email within a few minutes...";
var strPaymentVerificationFailed = "The payment method could not be verified - please check the information";
var strDibsOrEncodingError = "Purchase failed - Please check your personal details and try.";
var strEncodingError = "An error has occured and your products could not be encrypted. If the error occurs again please contact our support team on email: support@popupshop.dk";
var strProductFetchingFailed = "The connection to the server were lost, please try again in a moment";
var strLogindFailed = "This link has already been used. Due to security reasons you must order a new link each time you want to redownload";
var strConnectionFailed = "No connection to the server. Please try again in a moment";
var strPleaseWait = "Please wait untill the shop has completed loading";
