var loc = {
    debug: parseBoolean("0"),
    currency: "$",
    lcid: parseInt("1033"),
    login: {
        email: "Email address",
        password: ""
    },
    newsletter: {
        email: "E-mail address to receive newsletters"
    },
    search: {
        value: "Product Search"
    },
    zoom: {
        error: "The image could not be loaded."
    },
    paging: {
        perpage: parseInt("100"),
        seeall: "view all",
        counter: "{0} of {1}",
        spacernth: "4n+1",
        spacerclass: "body_content_item_spacer"
    },
    giftwrapping: {
        maxlength: parseInt("255"),
        remaining: "{0} characters remaining."
    },
    storelocator: {
        addressformat: "{0} {1} {2} {3}, {4}", //{0}=address {1}=city {2}=postcode {3}=state {4}=country
        nofound: "No shop found.",
        zoom: parseInt("4"),
        latitude: parseFloat("37.09024"),
        longitude: parseFloat("-95.1289")
    },
    url: {
        error500: "/404.asp",
        search: "{0}?code={1}",
        addtobag: "/ajax/addsingleproduct.aspx?varcode={0}&qty={1}",
        favorite: "/ajax/favorite.aspx?action={0}&prdcode={1}",
        outofstock: "/ajax/outofstocknotification.aspx?prdcode={0}",
        refreshbag: "/ajax/refreshbag.aspx",
        refreshbagCGF: "/ajax/refreshbagCGF.aspx",
        quickshop: "/ajax/quickshop.aspx?catcode={0}&prdcode={1}",
        orderdetails: "/ajax/orderdetails.aspx?id={0}",
        shippingmethod: "/ajax/shippingmethod.aspx?code={0}",
        opcrefreshbag: "/ajax/opc-refreshbag.aspx",
        opccustomer: "/ajax/opc-customer.aspx?save={0}&time=" + Math.round(Math.random() * 1000),
        opcsignature: "/ajax/opc-signature.aspx",
        opcrefreshshipmethod: "/ajax/opc-refresgshipmethod.aspx?time=" + Math.round(Math.random() * 1000),
        storelocator: "/services/storelocator-result.aspx?address={0}&radius={1}",
        addgiftwrapping: "/ajax/giftwrapping.aspx?action=add&code={0}&from={1}&to={2}&message={3}",
        removegiftwrapping: "/ajax/giftwrapping.aspx?action=remove",
        checkLYBNumberFromRegisterPage: "/ajax/CheckCustomerSearch.aspx?LYBNumber=",
        checkLYBNumberFromEditProfilPage: "/ajax/CheckCustomerSearch.aspx?LYBNumber=",
        loveyourbodyinfo: "/account/members/love_your_body_info.aspx?",
        updateaddressbook: "/ajax/addressbook_edit.aspx?time=" + Math.round(Math.random() * 1000),
        SiteLanguagePath: "" //please do not delete even if it is emptyy for USA, it is referenced elswehere to make cerain js functions same between us and canada
    },
    messages: {
        AddressEditError: "Some of the below information is incorrect. Please check the information printed.",
        IncorrectFormatLybNumber: "Please enter a valid Love Your Body <sup>TM</sup> card number (only digit and a maximum of 16 digits).",
        RulesFormatLybNumber: "The lyb number consists of 11 digits.",
        Error404: "Error 404: The page no longer exists.",
        LybNumberAlreadyExists: "Oops, this Love Your Body <sup>TM</sup> card number is already registered. Please enter another card number.",
        LybExpiredCardNumber: "Your Love Your Body <sup>TM</sup> card number is expired. You can buy a review card.",
        LybInvalidCardNumber: "This Love Your Body <sup>TM</sup> card number is expired or invalid. Please try again.",
        LybServiceNotAvailable: "Please enter a valid Love Your Body <sup>TM</sup>card number (only digit and a maximum of 16 digits)",
        LybMissingCardNumber: "Love Your Body <sup>TM</sup> card number is missing. Please enter a valid card number.",
        ErrorDuringTheQuery: "Error during the query!",
        QasPartialAddressFound: "Your address have been recognized but appears to have some inconsistencies, please select a correct address on the list below or go back to form and check what you typed in.",
        QasNoAddressFound: "Your address cannot be verified, please go back to the form and check what you typed in.",
        QasVerifiedAndUpdatedAddress: "Your address has some inconsistencies and this is the proposed address.<br /> Please click on Update button to save this address.",
        QasAddressTobeSaved: "The following address will be saved :<br /><br />",
        QasEnterNumber: "Enter number between",
        QasInvalidNumber: "Please enter a valid number",
        Opc: {
            billingnew: "Please, enter your default billing address (account information).",
            billingupdate: "Please, be aware that by entering a new billing address you will automatically update your account information (default billing address) !",
            billingsuccess: "Thank you, your default billing address (account information) is registered.",
            shippingnew: "Please, enter a new shipping address for this order (note that the nickname of this address must be a new one). Sorry, we do not ship outside the US, to PO Boxes or APO addresses.",
            shippingsuccess: "Thank you, your shipping address for this order is registered.",
            existingdispname: "We're sorry but the name of your address already exists, please choose another one.",
            ajaxerror: "We're sorry, an error occurred while processing your request. Please try again.",
            paymenterror: "Oops! Please make sure you fill all required fields highlighted in orange color!",
            errorgiftcardauthorization: "Error at gift card authorization, please retry.",
            cybersource: {
                error1: "There was an error processing your payment. Please re-enter your payment information and try again.",
                //error1: "Oops! Please make sure you fill all required fields highlighted in orange color!",
                error2: "There was an error processing your payment. Please try again.",
                error3: "Your credit card was declined. Please check your billing information.",
                error4: "Your credit card was declined. Please try a different card.",
                error5: "Please check your CVN."
            }
        }
    },
    packshot: {
        variants: "/img/packshot/variants/{0}_l.jpg",
        shades: "/img/packshot/shades/{0}_l.jpg",
        shadestitle: "/img/packshot/shadestitle/{0}_title_l.gif",
        zoom: "/img/packshot/products/{0}_z.jpg",
        variantzoom: "/img/packshot/shades/{0}_z.jpg"
    },
    cardtypecode: {
        maestro: "024",
        amex: "003"
    },
    popin: {
    id: Array("oosDialog", "productZoom", "popin_login", "popin_favorite", "addressBookEditDialog", "giftwrappinglayout", "newsZoom", "LybConditionsDialog", "loginAjaxDialog", "qasAddressEditDialog", "lyblearnmorelayout", "shiprateslayout", "returnpolicylayout", "LinkLYBAjaxLoginDialog", "LinkLYBAjaxRegisterDialog", "LinkLYBAjaxCustEditDialog", "lybsuccesspopindialog"),
        size: {
            width: Array(523, 523, 320, 320, 523, 320, 523, 523, 320, 523, 395, 564, 564,320,320,320,320), // the Id popin define in "loc.popin.id[0]" have the width define in "loc.popin.size.width[0]"
            height: Array(250, "auto", "auto", 150, 500, "auto", "auto", "auto", 300, 450, "auto", "auto", "auto", "auto", "auto", "auto", "auto") // the Id popin define in "loc.popin.id[1]" have the height define in "loc.popin.size.height[1]"
        }
    },
    regex: {
        Opc: {
            accountnb: "^[0-9]{16}$", 	//"^[0-9 ]{16}$","^[0-9]{3,4}$"
            accountnbamex: "^[0-9]{15}$", 	//"^[0-9 ]{16}$","^[0-9]{3,4}$"
            cvndefault: "^[0-9]{3}$",     //"^[0-9]{3,4}$"
            cvnamex: "^[0-9]{4}$",
            zipcode: "^[0-9]{5}(-[0-9]{4})?$"
        }
    }
};
