var loc = {
    debug: parseBoolean("0"),
    currency: "$",
    lcid: parseInt("4105"),
    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}", //{0}=address {1}=city {2}=postcode {3}=state {4}=country
        nofound: "No shop found.",
        zoom: parseInt("5"),
        latitude: parseFloat("55.09024"),
        longitude: parseFloat("-105.1289")
    },
    url: {
        error500: "/en/tech/500.htm",
        search: "{0}?code={1}",
        addtobag: "/en/ajax/addsingleproduct.aspx?varcode={0}&qty={1}",
        favorite: "/en/ajax/favorite.aspx?action={0}&prdcode={1}",
        outofstock: "/en/ajax/outofstocknotification.aspx?prdcode={0}",
        refreshbag: "/en/ajax/refreshbag.aspx",
        quickshop: "/en/ajax/quickshop.aspx?catcode={0}&prdcode={1}",
        orderdetails: "/en/ajax/orderdetails.aspx?id={0}",
        shippingmethod: "/en/ajax/shippingmethod.aspx?code={0}",
        opcrefreshbag: "/en/ajax/opc-refreshbag.aspx",
        opccustomer: "/en/ajax/opc-customer.aspx?save={0}&time=" + Math.round(Math.random() * 1000),
        opcsignature: "/en/ajax/opc-signature.aspx",
        opcrefreshshipmethod: "/en/ajax/opc-refresgshipmethod.aspx?time=" + Math.round(Math.random() * 1000),
        storelocator: "/en/services/storelocator-result.aspx?address={0}",
        addgiftwrapping: "/en/ajax/giftwrapping.aspx?action=add&code={0}&from={1}&to={2}&message={3}",
        removegiftwrapping: "/en/ajax/giftwrapping.aspx?action=remove",
        checkLYBNumberFromRegisterPage: "/en/ajax/CheckCustomerSearch.aspx?LYBNumber=",
        checkLYBNumberFromEditProfilPage: "/en/ajax/CheckCustomerSearch.aspx?LYBNumber=",
        loveyourbodyinfo: "/en/account/members/love_your_body_info.aspx?",
        updateaddressbook: "/en/ajax/addressbook_edit.aspx?time=" + Math.round(Math.random() * 1000),
        SiteLanguagePath: "/en"

    },
    messages: {
        AddressEditError: "Some of the below information is incorrect. Please check the information printed.",
        IncorrectFormatLybNumber: "Your lyb number must total 10 digits.",
        RulesFormatLybNumber: "Oops, this Love Your Body TM card number is already registered. Please enter another card number.",
        Error404: "Error 404: The page no longer exists.",
        LybNumberAlreadyExists: "This number is already registered.",
        LybExpiredCardNumber: "This Lyb Card number is expired (verify number of card).",
        LybInvalidCardNumber: "This Lyb Card number is invalid.",
        LybServiceNotAvailable: "Lyb Service Not Available.",
        LybMissingCardNumber: "Card number missing.",
        ErrorDuringTheQuery: "Error during the query!",
        GiftCardApplied: "Your Gift Card has been applied to your order.",
        OOSSucess: "Thanks for your interest. We will contact you by email when the item you've requested becomes available.",
        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.<br /><br />",
        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).",
            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: "Some of the below information is incorrect. Please check the information printed.",
            cybersource: {
                error1: "Some of the below information is incorrect. Please check the information printed.",
                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: "/en/img/packshot/variants/{0}_l.jpg",
        shades: "/en/img/packshot/shades/{0}_l.jpg",
        shadestitle: "/en/img/packshot/shadestitle/{0}_title_l.gif",
        zoom: "/en/img/packshot/products/{0}_z.jpg",
        variantzoom: "/en/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: /^[ABCEGHJKLMNPRSTVXYabceghjklmnprstvxy]\d[ABCEGHJKLMNPRSTVWXYZabceghjklmnprstvxy]( )?\d[ABCEGHJKLMNPRSTVWXYZabceghjklmnprstvxy]\d$/i   //TRUE CHARACTERS USED ARE: //var regexp = new RegExp(/^[ABCEGHJKLMNPRSTVXY]\d[ABCEGHJKLMNPRSTVWXYZ]( )?\d[ABCEGHJKLMNPRSTVWXYZ]\d$/i); //canada THIS IS A true CANADA VALIDATOR. BELOW i PLACED ALL CHARACTERS.

        }
    }
};
