

<!DOCTYPE html>
<html lang="en">
<head>
<!--<title>Lost And Found</title>-->
<title>Perdu et trouvé</title>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="author" content="Chargerback, Inc." />

<meta name="viewport" content="width=device-width, initial-scale=1" />

<link rel="stylesheet" href="Styles/Embed.css?x=1" />

<link href="/styles/datepicker.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="/styles/font-awesome.css" />

<link rel="stylesheet" href="/@materialIcons"/>

<link href="styles/w3/w3-1.81.css" rel="stylesheet" type="text/css" />
<link href="styles/reportLost.css" rel="stylesheet" type="text/css" />
<script src="/@jquery" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="styles/select2-4.0.13.css">
<script type="text/javascript" src="/scripts/Utility.js"></script>
<script src="/js/select2-4.0.13.js"></script>
<script type="text/javascript" src="/js/exif.js"></script>
<script id="dp_js" lc="fr" type="text/javascript" src="/js/datepicker.js?force=2"></script>



<script type="text/javascript">

    function trapFocus(id) {
        var x = document.getElementById(id);
        var focusableEls = x.querySelectorAll('a[href]:not([disabled]), button:not([disabled]), textarea:not([disabled]), input[type="text"]:not([disabled]), input[type="radio"]:not([disabled]), input[type="checkbox"]:not([disabled]), select:not([disabled])');
        firstFocusableEl = focusableEls[0];
        lastFocusableEl = focusableEls[focusableEls.length - 1];
        KEYCODE_TAB = 9;

        x.addEventListener('keydown', function (e) {
            var isTabPressed = (e.key === 'Tab' || e.keyCode === KEYCODE_TAB);

            if (!isTabPressed) {
                return;
            }

            if (e.shiftKey) {
                if (document.activeElement === firstFocusableEl) {
                    lastFocusableEl.focus();
                    e.preventDefault();
                }
            } else {
                if (document.activeElement === lastFocusableEl) {
                    firstFocusableEl.focus();
                    e.preventDefault();
                }
            }

        });
    }

    document.onkeydown = function (evt) {
        evt = evt || window.event;
        if (evt.keyCode == 27) {
            document.getElementById("ItemDetail").style.display = "none";
            document.getElementById("Legal").style.display = "none";
            document.getElementById('legal_links').focus();
        }
    };


    function Setfocus() {
        var e = document.getElementById("refreshed");
        if (e.value == "no") {
            e.value = "yes";
        }
        else {
            e.value = "no";
            location.reload(true);
        }
    }

    window.addEventListener("pageshow", function (event) {
        var historyTraversal = event.persisted ||
            (typeof window.performance != "undefined" &&
                window.performance.navigation.type === 2);
        if (historyTraversal) {
            // Do not display.
            // history.forward();
            // Clear display.
            location.reload(true);
        }
    });

    function handleEnter(ctrMove) {
        var ctrMove;

        if (window.event.keyCode == 13) {
            event.srcElement.blur();
        }
    }

    String.prototype.decodeHTML = function () {
        var map = { "gt": ">", "nbsp": " ", "lt": "<" /* , … */ };
        return this.replace(/&(#(?:x[0-9a-f]+|\d+)|[a-z]+);?/gi, function ($0, $1) {
            if ($1[0] === "#") {
                return String.fromCharCode($1[1].toLowerCase() === "x" ? parseInt($1.substr(2), 16) : parseInt($1.substr(1), 10));
            } else {
                return map.hasOwnProperty($1) ? map[$1] : $0;
            }
        });
    };

    function checkHREF() {
        var textData;
        var ts;
        var ok = true;
        var tdd;
        textData = document.getElementsByTagName("TEXTAREA");
        for (i = 0; i < textData.length; i++) {
            try {
                tdd = textData.item(i).value.decodeHTML().replace(/%(?![0-9][0-9a-fA-F]+)/g, '%25');
                ts = decodeURIComponent(tdd).replace(/\s/g, "").toLowerCase();
                if ((ts.indexOf("<ahref=") >= 0) || (ts.indexOf("http:") >= 0)) {
                    ok = false;
                }
            } catch (e) {
                ok = false;
            }
            if (!ok) {
                // alert("One or more fields contain invalid characters!");
                boolOK = false;
                ctlEmpty = textData[i];
                return false;
            }
        }
        return true;
    }

    var lastOG;

    function addcode() {
        var url;
        var pcitem = document.getElementById("Selectproductcode").value;

        if (pcitem == '' || pcitem == null)
            return false;

        if (document.getElementById("useSelect2").value == "True") {
            var itemdescription = document.getElementById("pctitle").value;
            var OG = document.getElementById("ogcode").value;
        } else {
            var itemdescription = document.getElementById(pcitem).text;
            var OG = document.getElementById("overgroup").value;
        }

        lastOG = OG;

        if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari
            xmlhttp = new XMLHttpRequest();
        }
        else {// code for IE6, IE5
            xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
        }

        url = "CBAjax.asp?Action=AddPCCategoryTest&mFriendly=true&LorF=Lost&pc=" + pcitem + "&MatchID=" + document.getElementById("MatchID").value + "&OG=" + OG + "&LC=" + document.getElementById("languageCode").value;
        xmlhttp.open("GET", url, false);
        xmlhttp.send();

        if (xmlhttp.status == 200) {
            response = xmlhttp.responseText;
            if (response.toString().length > 2) {

                if (!(document.getElementById("useSelect2").value == "True")) {
                    //mg-edit
                    //var addmoreitems = "<br /><a href='Javascript:void(0);' onclick='ShowProductCodes();'>" + document.getElementById("addCode1").value + "&nbsp;&nbsp; <b><font style ='font-size:larger'>+</font></b></a>"
                    var addmoreitems = "<br /><a id='hrefAddItems' href='Javascript:void(0);' onclick='ShowProductCodes();'>" + document.getElementById("addCode1").value + "&nbsp;&nbsp; <b><font style ='font-size:larger'>+</font></b></a>"
                    //..mg-edit

                    document.getElementById("captionforselected").innerHTML = document.getElementById("addCode2").value + " " + addmoreitems;
                }
                document.getElementById("itemselected").innerHTML = response;
                resetPC()
            }
            else {
                return false;
            }
        }
        else {
            //alert("Must be bad news");
        }
    }

    function ShowProductCodes() {
        document.getElementById("ItemPicker").style.display = "block";
        document.getElementById("overgroup").focus();

    }

    function resetPC() {
        document.getElementById("overgroup").value = "";
        document.getElementById("Selectproductcode").value = "";
        document.getElementById("overgroup").focus();
    }

    function Done() {
        document.getElementById("overgroup").value = "";
        document.getElementById("Selectproductcode").value = "";
        document.getElementById("Items").focus();
    }

    function SelectPC() {
        var pc = document.getElementById("Selectproductcode").value;
        document.getElementById("ProductCode").value = pc;
        if (pc == "68" && (document.getElementById("CustomerID").value == "14722" || document.getElementById("CustomerID").value == "17349" || document.getElementById("likeWestJet").value == "True")) {
            /* RM, 8/29/18; Air Canada does not want Passports filed.  We need to prevent item from being added when we raise the alert */
            //GetCurrentItemSQLID();
            document.getElementById("currentItemSQLID").value = "";
            LoadPop();
            OpenPop();
            PassportAirCanada(pc);
            resetPC()
            pc = "";
            document.getElementById("ProductCode").value = pc;
            return false;
        }

        var pcExists = false;
        $("#itemselected ").find("[id^=pc]").each(function () {
            console.log($(this).attr("id") + "=" + $(this).data("pc"))
            if ($(this).data("pc") == pc) {
                pcExists = true;
                $("#PCExistsID").val($(this).attr("id").substr(2, $(this).attr("id").length - 2));
                return false;
            }
        });

        if (pcExists) {
            $("#spPCExists").html($("#pctitle").val());
            $("#spPCExists2").html($("#pctitle").val());
            $("#DupPCMessage").show();
        } else {
            PCAddNew();
        }
    }

    function PCAddNew() {
        var pc = document.getElementById("Selectproductcode").value;
        $("#DupPCMessage").hide();
        $("#overgroup").val("").trigger("change");
        printDebug("CBEmbed", "Before addCode");
        addcode();
        printDebug("CBEmbed", "Before GetCurrentItemSQLID");

        var url = "CBAjax.asp?Action=getCurrentSQLID&MatchID=" + document.getElementById("MatchID").value;
        try {
            dum = asyncAjaxGet(url, function (resp) {
                sresp = resp.split("|");
                if (sresp[0] == "!Error") {
                    printDebug("GetCurrentItemSQLID_A() Failure: " + e);
                } else {
                    document.getElementById("currentItemSQLID").value = sresp[0];
                    printDebug("CBEmbed, currentItemSQLID", document.getElementById("currentItemSQLID").value);
                    LoadPop();
                    OpenPop();
                    $("#ItemDetail").find(".w3-closebtn").unbind("click").on("click", function () { closeAndDeleteCode() })
                    updateItemDescriptions();
                    if ($("#likeWestJet").val() != "True" || pc == "306") CheckForLiquor(pc);
                    CheckCustomAppend(pc);
                    document.getElementById("closeItemDialog").focus();
                }
            });
        } catch (e) {
            printDebug("GetCurrentItemSQLID_A() Failure: " + e);
        }
        //GetCurrentItemSQLID();
    }

    function dupPCEdit() {
        $("#DupPCMessage").hide();
        selectorReset();
        $("#overgroup").val("").trigger("change");
        EditPop($("#PCExistsID").val());
        return false;
    }

    function dupPCClose() {
        selectorReset();
        $("#overgroup").val("").trigger("change");
        $("#DupPCMessage").hide();
    }

    function updateItemDescriptions() {
        var url;
        if ($("#allowFullLostReportEdit").val() == "True") {
            url = "CBAjax.asp?Action=getCurrentDescriptionSetEdit&MatchID=" + document.getElementById("MatchID").value + "&LC=" + document.getElementById("languageCode").value + "&CustomerID=" + document.getElementById("CustomerID").value;
            var response = syncAjaxGet(url)

            if (response.toString().length > 0) {
                //alert(response);
                document.getElementById("itemselected").innerHTML = response;
            }
            else {
                //alert("Must be bad news");
                return false;
            }
        }

        if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari
            xmlhttp = new XMLHttpRequest();
        }
        else {// code for IE6, IE5
            xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
        }
        url = "CBAjax.asp?Action=getCurrentDescriptionSet&MatchID=" + document.getElementById("MatchID").value + "&LC=" + document.getElementById("languageCode").value;

        xmlhttp.open("GET", url, false);
        xmlhttp.send();

        if (xmlhttp.status == 200) {
            response = xmlhttp.responseText;

            if (response.toString().length > 0) {
                //alert(response);
                document.getElementById("Items").value = response;
            }
            else {
                //alert("Must be bad news");
                return false;
            }
        }
        else {
            //alert("Must be super bad news");
        }


    }

    async function GetCurrentItemSQLID_F() {
        const url = "CBAjax.asp?Action=getCurrentSQLID&MatchID=" + document.getElementById("MatchID").value;
        const oresp = await fetch(url);
        const resp = await oresp.text();
        if (resp.length > 0) {
            document.getElementById("currentItemSQLID").value = resp;
        }
    }

    function GetCurrentItemSQLID_A() {
        var url = "CBAjax.asp?Action=getCurrentSQLID&MatchID=" + document.getElementById("MatchID").value;
        try {
            dum = asyncAjaxGet(url, function (resp) {
                sresp = resp.split("|");
                if (sresp[0] == "!Error") {
                    printDebug("GetCurrentItemSQLID_A() Failure: " + e);
                } else {
                    document.getElementById("currentItemSQLID").value = sresp[0];
                }
            });
        } catch (e) {
            printDebug("GetCurrentItemSQLID_A() Failure: " + e);
        }
    }

    function GetCurrentItemSQLID() {
        var url;
        var response;

        if (document.getElementById("isRob").value == "True") {
            GetCurrentItemSQLID_A();
        } else {
            if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari
                xmlhttp = new XMLHttpRequest();
            }
            else {// code for IE6, IE5
                xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
            }

            url = "CBAjax.asp?Action=getCurrentSQLID&MatchID=" + document.getElementById("MatchID").value;
            printDebug("getCurrentSQLID Ajax URL", url);

            xmlhttp.open("GET", url, false);
            xmlhttp.send();

            if (xmlhttp.status == 200) {
                response = xmlhttp.responseText;
                //printDebug("getCurrentSQLID Ajax response", response);
                if (response.toString().length > 0) {
                    document.getElementById("currentItemSQLID").value = response;
                }
                else {
                    //printDebug("getCurrentSQLID Ajax response EMPTY", response.toString());
                    return false;
                }
            }
            else {
                printDebug("getCurrentSQLID xmlhttp error, status = " + xmlhttp.status + ", response", xmlhttp.responseText);
                location.reload();
                //document.getElementById("currentItemSQLID").value = "0";
                //alert("Must be super bad news");
            }
        }
    }

    function LoadPop() {
        var url;

        var currentLostSQLID = document.getElementById("currentItemSQLID").value;
        if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari
            xmlhttp = new XMLHttpRequest();
        }
        else {// code for IE6, IE5
            xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
        }

        url = "CBAjax.asp?Action=LoadPop&fromLost=true&PC=" + document.getElementById("ProductCode").value + "&currentLostSQLID=" + currentLostSQLID + "&CustomerID=" + document.getElementById("CustomerID").value + "&MatchID=" + document.getElementById("MatchID").value + "&LC=" + document.getElementById("languageCode").value + ($("#allowFullLostReportEdit").val() == "True" ? "&showAddImage=true" : "");

        xmlhttp.open("GET", url, false);
        xmlhttp.send();

        if (xmlhttp.status == 200) {
            response = xmlhttp.responseText;

            if (response.toString().length > 0) {
                //alert(response);
                document.getElementById("itemAdditionalInfo").innerHTML = response;
            }
            else {
                //alert("Must be  bad news");
                return false;
            }
        }
        else {
            //alert("Must be super bad news!!");
        }

    }

    function OpenLegalPop(doc) {
        var url;
        var currentLostSQLID = document.getElementById("currentItemSQLID").value;

        if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari
            xmlhttp = new XMLHttpRequest();
        }
        else {// code for IE6, IE5
            xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
        }

        url = "CBAjax.asp?Action=LoadLegalPop&doc=" + doc + "&CustomerID=" + document.getElementById("CustomerID").value + "&LC=" + document.getElementById("languageCode").value;

        xmlhttp.open("GET", url, false);
        xmlhttp.send();

        if (xmlhttp.status == 200) {
            response = xmlhttp.responseText;

            if (response.toString().length > 0) {
                //alert(response);
                document.getElementById("LegalInfo").innerHTML = response;
                if (doc == "CBTerms") {
                    document.getElementById("modalLabelL").innerHTML = document.getElementById("TCLabel1").value;
                } else {
                    document.getElementById("modalLabelL").innerHTML = document.getElementById("PrivLabel1").value;
                }
                document.getElementById("Legal").style.display = "block";
                document.getElementById("LegalScroll").scrollTop = 0;
                document.getElementById("closeLegalDialog").focus();
                trapFocus("Legal");
            }
            else {
                //alert("Must be  bad news");
                var url = ((doc == "CBTerms") ? "/terms.asp" : "/privacy.asp") + "?languageCode=" + document.getElementById("languageCode").value;
                window.open(url);
                return false;
            }
        }
        else {
            //alert("Must be super bad news!!");
        }

    }

    function OpenPop() {
        document.getElementById("SaveItemDetails").innerHTML = document.getElementById("SaveItemDetails1").value;

        // Rob, 4/6/18; Restore behavior on this button, and the label, in case they were changed by the "Other" product code warning or something similar.
        //document.getElementById("SaveItemDetails").setAttribute("onclick", "document.getElementById('ItemDetail').style.display = 'none'");
        //document.getElementById("SaveItemDetails").removeAttribute('onclick');
        //document.getElementById("SaveItemDetails").setAttribute("onclick", "UpdatePopItemData();");
        $("#SaveItemDetails").unbind("click").on("click", function () { UpdatePopItemData(); });
        document.getElementById("modalLabel").innerHTML = document.getElementById("MyModalLabel1").value;

        document.getElementById("ItemDetail").style.display = "block";
    }

    function EditPop(sqlid) {
        getPCofSqlid(sqlid);
        getOGofSqlid(sqlid);
        document.getElementById("currentItemSQLID").value = sqlid;
        var pc = document.getElementById("ProductCode").value;
        LoadPop();
        OpenPop();
        $("#ItemDetail").find(".w3-closebtn").unbind("click").on("click", function () { $("#ItemDetail").hide(); })
        CheckCustomAppend(pc);
        document.getElementById("closeItemDialog").focus();
    }

    function toggleImageDiv(matchID) {
        var wasShowing = $("#dmimg-" + matchID).is(":visible");
        $(".itemImages").each(function () {
            $(this).hide();
        });
        if (!wasShowing) {
            $("#dmimg-" + matchID).show();
        }
    }

    function getPCofSqlid(sqlid) {
        var url;

        if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari
            xmlhttp = new XMLHttpRequest();
        }
        else {// code for IE6, IE5
            xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
        }

        url = "CBAjax.asp?Action=GetPCfromSQLID&SQLID=" + sqlid;

        xmlhttp.open("GET", url, false);
        xmlhttp.send();

        if (xmlhttp.status == 200) {
            response = xmlhttp.responseText;

            if (response.toString().length > 0) {
                //document.getElementById("Category").innerHTML=response;
                document.getElementById("ProductCode").value = response;
            }
            else {
                //alert("200");
                return false;
            }
        }
        else {
            // alert("500");
        }
    }

    function getOGofSqlid(sqlid) {
        var url;

        if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari
            xmlhttp = new XMLHttpRequest();
        }
        else {// code for IE6, IE5
            xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
        }

        url = "CBAjax.asp?Action=GetOGfromSQLID&SQLID=" + sqlid;

        xmlhttp.open("GET", url, false);
        xmlhttp.send();

        if (xmlhttp.status == 200) {
            response = xmlhttp.responseText;

            if (response.toString().length > 0) {
                //document.getElementById("Category").innerHTML=response;
                lastOG = response;
            }
            else {
                //alert("200");
                lastOG = ""
                return false;
            }
        }
        else {
            lastOG = ""
            // alert("500");
        }
    }



    function UpdatePopItemData() {
        var url;
        var currentLostSQLID = document.getElementById("currentItemSQLID").value;

        //document.getElementById("SaveItemDetails").innerHTML="<img src='images/prgress.gif'/>";

        if (checkHREF()) {
            if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari
                xmlhttp = new XMLHttpRequest();
            }
            else {// code for IE6, IE5
                xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
            }

            var intcolor;
            if (document.getElementById("itemColor")) {
                intcolor = document.getElementById("itemColor").value;
            }
            else {
                intcolor = 0;
            }

            var intcasecolor;
            if (document.getElementById("itemCaseColor")) {
                intcasecolor = document.getElementById("itemCaseColor").value;
            }
            else {
                intcasecolor = 0;
            }

            var intbrand;
            if (document.getElementById("itemBrand")) {
                intbrand = document.getElementById("itemBrand").value;
            }
            else {
                intbrand = 0;
            }

            var intmaterial;
            if (document.getElementById("itemMaterial")) {
                intmaterial = document.getElementById("itemMaterial").value;
            }
            else {
                intmaterial = 0;
            }

            var intcustomdd;
            if (document.getElementById("itemCustom")) {
                intcustomdd = document.getElementById("itemCustom").value;
            }
            else {
                intcustomdd = 0;
            }

            var strdescription;
            if (document.getElementById("itemNote")) {
                strdescription = document.getElementById("itemNote").value;
                if ($("#CustomerID").val() == "15005" && strdescription.length < 10) {
                    alert("Please enter more descriptive text for this item.");
                    $("#itemNote").focus();
                    return false;
                }
            }
            else {
                strdescription = "";
            }

            if (($("#CustomerID").val() == "14677" || $("#CustomerID").val() == "14678") && strdescription == "") {
                alert("Please enter a description of this item.");
                $("#itemNote").focus();
                return false;
            }

            var strSerialNumber;
            if (document.getElementById("itemSerialnumber")) {
                strSerialNumber = document.getElementById("itemSerialnumber").value;
                if (/[^0-9a-zA-Z]/.test(strSerialNumber)) {
                    alert(document.getElementById("Alert1").value);
                    //document.getElementById("SaveItemDetails").innerHTML = saved;
                    return;
                }
            }
            else {
                strSerialNumber = "";
            }

            var strCurrencyAmount;
            if (document.getElementById("itemCurrencyAmount")) {
                strCurrencyAmount = document.getElementById("itemCurrencyAmount").value;
                if (strCurrencyAmount == "") {
                    strCurrencyAmount = "0.00"
                } else {
                    if (!/^(\.[0-9]{1,2}|[0-9]+\.?[0-9]{0,2})$/.test(strCurrencyAmount)) {
                        alert("Currency amount must be numbers and \".\" only!  No more than one \".\" should be present, and it should be followed by no more than 2 numbers.\n\n.50, 0.50, 99, and 99.1 are OK.\n\n100.10., ABC, and 10..20 are not.\n\nPlease check your currency amount and try again.");
                        //document.getElementById("SaveItemDetails").innerHTML = saved;
                        return;
                    }
                }
            }
            else {
                strCurrencyAmount = "0.00";
            }

            if ($("#CustomerID").val() == "16650") {
                var strEstValue;
                if (document.getElementById("idEstValue")) {
                    strEstValue = document.getElementById("idEstValue").value;

                    if (strEstValue == "") {
                        strEstValue = "0.00"
                    }
                }
                else {
                    strEstValue = "0.00";
                }
                //Rob, 4/23/18; Note replacement of Tilde character in strDescription with a unicode version of same.  Prevents IIS issues downstream.
                url = "CBAjax.asp?Action=UpdatePop&fromLost=true&PC=" + document.getElementById("ProductCode").value + "&currentLostSQLID=" + currentLostSQLID + "&CustomerID=" + document.getElementById("CustomerID").value + "&MatchID=" + document.getElementById("MatchID").value + "&intcolor=" + intcolor + "&intcasecolor=" + intcasecolor + "&intbrand=" + intbrand + "&intmaterial=" + intmaterial + "&intcustomdd=" + intcustomdd + "&strdescription=" + encodeURIComponent(strdescription).replace(/~/g, "\u02DC").replace(/%3E/gi, "\u02C3") + "&strSerialNumber=" + strSerialNumber + "&strCurrencyAmount=" + strCurrencyAmount + "&idEstValue=" + strEstValue;
            } else {
                url = "CBAjax.asp?Action=UpdatePop&fromLost=true&PC=" + document.getElementById("ProductCode").value + "&currentLostSQLID=" + currentLostSQLID + "&CustomerID=" + document.getElementById("CustomerID").value + "&MatchID=" + document.getElementById("MatchID").value + "&intcolor=" + intcolor + "&intcasecolor=" + intcasecolor + "&intbrand=" + intbrand + "&intmaterial=" + intmaterial + "&intcustomdd=" + intcustomdd + "&strdescription=" + encodeURIComponent(strdescription).replace(/~/g, "\u02DC").replace(/%3E/gi, "\u02C3") + "&strSerialNumber=" + strSerialNumber + "&strCurrencyAmount=" + strCurrencyAmount;
            }

            xmlhttp.open("GET", url, false);
            xmlhttp.send();

            if (xmlhttp.status == 200) {
                response = xmlhttp.responseText;

                if (response.toString().length > 2) {
                    document.getElementById("SaveItemDetails").innerHTML = document.getElementById("SaveItemDetails2").value;
                    updateItemDescriptions();
                    if ($("#showAddImageCB").is(":checked")) toggleImageDiv($("#currentItemSQLID").val());
                    if (document.getElementById("useSelect2").value != "True") document.getElementById("ItemPicker").style.display = "none";
                    document.getElementById("ItemDetail").style.display = "none";
                    if ($("#CustomerID").val() == "16650") {
                        $("#mta-addItems").show();
                    }
                }
                else {
                    //alert("Must be  bad news");
                    return false;
                }
            }
            else {
                //alert("Must be super bad news!");
            }
        } else {
            alert(document.getElementById("Alert2").value);
        }
        //mg-edit:  Send focus to Date of Loss field when Item Detail modal closes.
        //if (document.getElementById("hrefAddItems")) { document.getElementById("hrefAddItems").focus() };
        if (!$("#showAddImageCB").is(":checked")) {
            if (document.getElementById("flightnumber")) {
                document.getElementById("flightnumber").focus()
            } else {
                if (document.getElementById("LostDate")) { document.getElementById("LostDate").focus() };
            }
        }
        //..mg-edit
    }

    function AddNextItem() {
        document.getElementById("overgroup").focus();
    }

    function AutoClassify() {
        var url;

        if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari
            xmlhttp = new XMLHttpRequest();
        }
        else {// code for IE6, IE5
            xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
        }

        url = "CBAjax.asp?Action=Autoclassify&fromLost=true&itemdescription=" + document.getElementsByName("Items").item(0).value + "&MatchID=" + document.getElementById("MatchID").value;

        xmlhttp.open("GET", url, false);
        xmlhttp.send();

        if (xmlhttp.status == 200) {
            response = xmlhttp.responseText;

            if (response.toString().length > 2) {
                document.getElementById("Category").innerHTML = response;
            }
            else {
                return false;
            }
        }
        else {
            //alert("Must be bad news");
        }
    }

    function deletecode(sqlid) {
        var url;

        if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari
            xmlhttp = new XMLHttpRequest();
        }
        else {// code for IE6, IE5
            xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
        }

        url = "CBAjax.asp?Action=DeleteMatchCode&sqlid=" + sqlid;

        xmlhttp.open("GET", url, false);
        xmlhttp.send();

        if (xmlhttp.status == 200) {
            response = xmlhttp.responseText;

            if (response.toString().length > 2) {
                document.getElementById("pc" + sqlid).style.display = "none";
                updateItemDescriptions();
            }
            else {
                return false;
            }
        }
        else {
            //alert("");
        }
    }

    function loadproductcode() {

        CheckForOther();
        var url;

        if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari
            xmlhttp = new XMLHttpRequest();
        }
        else {// code for IE6, IE5
            xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
        }

        url = "CBAjax.asp?Action=ShowProductCode&OverGroup=" + document.getElementById("overgroup").value + "&showstyle=" + encodeURIComponent(document.getElementById("showstyle").value) + "&LanguageCode=" + document.getElementById("languageCode").value + "&customerID=" + document.getElementById("CustomerID").value;

        xmlhttp.open("GET", url, false);
        xmlhttp.send();

        if (xmlhttp.status == 200) {
            response = xmlhttp.responseText;

            if (response.toString().length > 2) {
                document.getElementById("pc").innerHTML = response;
            }
            else {
                return false;
            }
        }
        else {
            //alert("");
        }
    }

    function Checkproductcode() {
        var url;
        var pcitem;
        var matchID = document.getElementById("MatchID").value;

        if (document.getElementById("Selectproductcode")) {
            pcitem = document.getElementById("Selectproductcode").value;
        }
        else {
            pcitem = "0";
            alert(document.getElementById("Alert3").value);
            document.getElementById("overgroup").focus();
            return false;
        }

        if (matchID == '' || matchID == null)
            return false;

        if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari
            xmlhttp = new XMLHttpRequest();
        }
        else {// code for IE6, IE5
            xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
        }

        url = "CBAjax.asp?Action=Checkproductcode&MatchID=" + matchID;

        xmlhttp.open("GET", url, false);
        xmlhttp.send();

        if (xmlhttp.status == 200) {
            response = xmlhttp.responseText;

            if (response.toString().length > 0) {
                document.getElementById("Items").value = document.getElementById("Items").value + response;
            }
            else {
                if (pcitem == "0") {
                }
                else {
                    alert(document.getElementById("Alert3").value);
                    document.getElementById("overgroup").focus();
                    return false;
                }
            }
        }
        else {
            //alert("");
        }
        var isRob = (document.getElementById("isRob").value == "True")
        if (document.getElementById("CustomerID").value == "16650") {
            document.getElementById("MTAShipMessage").style.display = "block";
            return false;
        } else {
            return SaveItem()
        }
    }

    function SaveItem() {
        if (checkHREF()) {
            document.getElementById("Status").value = 1;
            $("#progress").show();
            setTimeout(function () {
                document.PostItem.submit();
                return true;
            }, 500)
        } else {
            alert(document.getElementById("Alert4").value);
            return false;
        }
    }

    function showError(showerror) {
        document.getElementById("errorhd").innerHTML = "<span id='errortxt'><span id='Info3'><span style='color:#C30019;'>" + document.getElementById("ctInfo3Error").value + "</span></span><div class='c-fs c-fc' id='errinfo' tabindex='-1'>" + showerror + "</div><span class='c-fc c-fs' id='Info'>" + document.getElementById("ctInfo1Error").value + "</span>";
    }

    function CheckNotInList() {
        var url;
        var pcitem;

        if (document.getElementById("Selectproductcode"))
            pcitem = document.getElementById("Selectproductcode").value;
        else
            return true;

        if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari
            xmlhttp = new XMLHttpRequest();
        }
        else {// code for IE6, IE5
            xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
        }

        url = "CBAjax.asp?Action=CheckproductcodeNotInList&MatchID=" + document.getElementById("MatchID").value;

        xmlhttp.open("GET", url, false);
        xmlhttp.send();

        if (xmlhttp.status == 200) {
            response = xmlhttp.responseText;

            if (response.toString().length > 0) {
                alert(document.getElementById("Alert5").value);
                EditPop(response);
                return false;
            }
            else {
                return true;
            }
        }
        else {
            return true;
        }
    }


    function CheckRequired(btn) {
        var pass = true;
        var strlink = "";
        var errorcounter = 0;

        //mg-edit
        var firsterrorelement = null;

        if (CheckNotInList()) {
        }
        else {
            btn.disabled = false;
            return false;
        }

        x = document.getElementById("LostDate").value;
        xinput = Date.parse(x.replace("-", "/")); /* Doing this for Safari, which is not parsing MM-DD-YYYY */

        if (x == null || x == "") {
            pass = false;
            //mg-edit
            if (firsterrorelement == null) {
                firsterrorelement = document.getElementById("LostDate");
            }

            document.getElementById("LostDate").className = "errorhighlight";
            document.getElementById("ct2").className = "errortitle";
            document.getElementById("ct2aError").style.display = "block";

            strlink = strlink + "<li>" + document.getElementById("ct2aError").textContent + "</li>";

            errorcounter = errorcounter + 1;
        }
        else if (xinput > Date.now() || isNaN(xinput)) {
            pass = false;
            //mg-edit
            if (firsterrorelement == null) {
                firsterrorelement = document.getElementById("LostDate");
            }

            document.getElementById("LostDate").className = "errorhighlight";
            document.getElementById("ct2").className = "errortitle";
            document.getElementById("ct2bError").style.display = "block";

            strlink = strlink + "<li>" + document.getElementById("ct2bError").textContent + "</li>";

            errorcounter = errorcounter + 1;

            window.alert(document.getElementById("ct2bError").textContent + ' ' + x);
        }
        else {
            document.getElementById("LostDate").className = "c-inp c-ifc w8em format-m-d-y highlight-days-67 range-low-20081202";
            document.getElementById("ct2").className = "ship c-fc c-fs";
            document.getElementById("ct2aError").style.display = "none";
            document.getElementById("ct2bError").style.display = "none";
        }

        if (document.getElementById("CustomDD_1")) {
            var y = document.getElementById("CustomDD_1").value;

            if (y == null || y == "") {
                pass = false;
                //mg-edit
                if (firsterrorelement == null) {
                    firsterrorelement = document.getElementById("CustomDD_1");
                }

                if ($("#useSelect2ForLocationDD").val() == "True") {
                    $("#select2-CustomDD_1-container").addClass("errorhighlightS2");
                } else {
                    document.getElementById("CustomDD_1").className = "errorhighlight";
                }
                document.getElementById("ct3").className = "errortitle";
                document.getElementById("ct3Error").style.display = "block";

                strlink = strlink + "<li>" + document.getElementById("ct3Error").textContent + "</li>";
                errorcounter = errorcounter + 1;

            } else {
                if ($("#useSelect2ForLocationDD").val() == "True") {
                    $("#select2-CustomDD_1-container").removeClass("errorhighlightS2");
                } else {
                    document.getElementById("CustomDD_1").className = "ship c-fc c-fs";
                }
                document.getElementById("ct3").className = "ship c-fc c-fs";
                document.getElementById("ct3Error").style.display = "none";
            }
        }

        x = document.getElementById("ct6").value;

        if (x == null || x == "") {
            pass = false;
            //mg-edit
            if (firsterrorelement == null) {
                firsterrorelement = document.getElementById("ct6");
            }

            document.getElementById("ct6").className = "errorhighlight";
            document.getElementById("ct5").className = "errortitle";
            document.getElementById("ct5Error").style.display = "block";

            strlink = strlink + "<li>" + document.getElementById("ct5Error").textContent + "</li>";
            errorcounter = errorcounter + 1;
        } else {
            document.getElementById("ct6").className = "c-ifc w3-col s12";
            document.getElementById("ct5").className = "ship c-fc c-fs";
            document.getElementById("ct5Error").style.display = "none";
        }

        var x = document.getElementById("FirstName").value;

        if (x == null || x == "") {
            pass = false;
            //mg-edit
            if (firsterrorelement == null) {
                firsterrorelement = document.getElementById("FirstName");
            }

            document.getElementById("FirstName").className = "errorhighlight";
            document.getElementById("ct7").className = "errortitle";
            document.getElementById("ct7Error").style.display = "block";

            strlink = strlink + "<li>" + document.getElementById("ct7Error").textContent + "</li>";
            errorcounter = errorcounter + 1;
        } else {
            document.getElementById("FirstName").className = "c-inp c-ifc";
            document.getElementById("ct7").className = "ship c-fc c-fs";
            document.getElementById("ct7Error").style.display = "none";
        }

        var x = document.getElementById("LastName").value;

        if (x == null || x == "") {
            pass = false;
            //mg-edit
            if (firsterrorelement == null) {
                firsterrorelement = document.getElementById("LastName");
            }

            document.getElementById("LastName").className = "errorhighlight";
            document.getElementById("ct8").className = "errortitle";
            document.getElementById("ct8Error").style.display = "block";

            strlink = strlink + "<li>" + document.getElementById("ct8Error").textContent + "</li>";
            errorcounter = errorcounter + 1;
        } else {
            document.getElementById("LastName").className = "c-inp c-ifc";
            document.getElementById("ct8").className = "ship c-fc c-fs";
            document.getElementById("ct8Error").style.display = "none";
        }

        var x = document.getElementById("phonenumber").value;

        if (x == null || x == "") {
            pass = false;
            //mg-edit
            if (firsterrorelement == null) {
                firsterrorelement = document.getElementById("phonenumber");
            }

            document.getElementById("phonenumber").className = "errorhighlight";
            document.getElementById("ct9").className = "errortitle";
            document.getElementById("ct9Error").style.display = "block";

            strlink = strlink + "<li>" + document.getElementById("ct9Error").textContent + "</li>";
            errorcounter = errorcounter + 1;
        } else {
            document.getElementById("phonenumber").className = "c-inp c-ifc";
            document.getElementById("ct9").className = "ship c-fc c-fs";
            document.getElementById("ct9Error").style.display = "none";
        }

        if ($("#_1").is(":visible") && $("#_2").is(":visible")) {
            if (!($("#_1").is(":checked") || $("#_2").is(":checked"))) {
                pass = false;
                if (firsterrorelement == null) {
                    firsterrorelement = document.getElementById("txtmsgFS");
                }

                document.getElementById("txtmsgFS").className = "errorhighlight";
                document.getElementById("ct9TError").style.display = "block";
                $("#_2").focus();
                strlink = strlink + "<li>" + document.getElementById("ct9TError").textContent + "</li>";
                errorcounter = errorcounter + 1;
            } else {
                document.getElementById("phonenumber").className = "";
                document.getElementById("ct9TError").style.display = "none";
            }
        }

        var x = document.getElementById("Email").value;

        if (x == null || x == "") {
            pass = false;
            //mg-edit
            if (firsterrorelement == null) {
                firsterrorelement = document.getElementById("Email");
            }

            document.getElementById("Email").className = "errorhighlight";
            document.getElementById("ct10").className = "errortitle";
            document.getElementById("ct10Error").style.display = "block";

            strlink = strlink + "<li>" + document.getElementById("ct10Error").textContent + "</a></li>";
            errorcounter = errorcounter + 1;
        } else {
            document.getElementById("Email").className = "c-inp c-ifc";
            document.getElementById("ct10").className = "ship c-fc c-fs";
            document.getElementById("ct10Error").style.display = "none";
        }

        var x = document.getElementById("Email2").value;

        if (x == null || x == "") {
            pass = false;
            //mg-edit
            if (firsterrorelement == null) {
                firsterrorelement = document.getElementById("Email2");
            }

            document.getElementById("Email2").className = "errorhighlight";
            document.getElementById("ct148").className = "errortitle";
            document.getElementById("ct148Error").style.display = "block";

            strlink = strlink + "<li>" + document.getElementById("ct148Error").textContent + "</li>";
            errorcounter = errorcounter + 1;
        } else {
            document.getElementById("Email2").className = "c-inp c-ifc";
            document.getElementById("ct148").className = "ship c-fc c-fs";
            document.getElementById("ct148Error").style.display = "none";
        }

        //var x = document.getElementById("phonenumber").value;

        //if (x == null || x == "")
        //{
        //    pass=false;
        //    //mg-edit
        //    if (firsterrorelement == null) {
        //        firsterrorelement = document.getElementById("phonenumber");
        //    }

        //    document.getElementById("phonenumber").className = "errorhighlight";
        //    document.getElementById("ct9").className="errortitle";
        //    document.getElementById("ct9Error").style.display="block";

        //    strlink = strlink + "<li>" + document.getElementById("ct9Error").textContent + "</li>";
        //    errorcounter = errorcounter + 1;
        //} else {
        //    document.getElementById("phonenumber").className="c-inp c-ifc";
        //    document.getElementById("ct9").className="ship c-fc c-fs";
        //    document.getElementById("ct9Error").style.display="none";
        //}

        if (document.getElementById("CellProvider")) {
            var cell = document.getElementById("CellProvider").value;

            if (cell == null || cell == "") {
                pass = false;
                //mg-edit
                if (firsterrorelement == null) {
                    firsterrorelement = document.getElementById("CellProvider");
                }


                document.getElementById("CellProvider").className = "errorhighlight";
                var cellproviderlist = document.getElementById("CellProviders").innerHTML;
                document.getElementById("CellProviders").innerHTML = cellproviderlist;
                document.getElementById("cellproviderError").style.display = "block";

                strlink = strlink + "<li>" + document.getElementById("CellProvider1").value + "</li>";
                errorcounter = errorcounter + 1;
            } else {
                document.getElementById("CellProvider").className = "c-inp c-ifc";
            }
        }

        var x = document.getElementById("Street").value;
        var y = document.getElementById("CustomerID").value;

        if (y == "18565" || y == "18566") { } else {
            if (x == null || x == "") {
                pass = false;
                //mg-edit
                if (firsterrorelement == null) {
                    firsterrorelement = document.getElementById("Street");
                }

                document.getElementById("Street").className = "errorhighlight";
                document.getElementById("ct11").className = "errortitle";
                document.getElementById("ct11Error").style.display = "block";

                strlink = strlink + "<li>" + document.getElementById("ct11Error").textContent + "</li>";
                errorcounter = errorcounter + 1;
            } else {
                document.getElementById("Street").className = "c-inp c-ifc";
                document.getElementById("ct11").className = "ship c-fc c-fs";
                document.getElementById("ct11Error").style.display = "none";
            }

            var allAddress = document.getElementById("Street").value + ", " + document.getElementById("Address2").value;
            if ((document.getElementById("fedexInUse").value == "True" || document.getElementById("offersUPS").value == "True") && /(?:P(?:ost(?:al)?)?[\.\-\s]*(?:(?:O(?:ffice)?[\.\-\s]*)?B(?:(o|x|ox)|in|\b|\d)|o(?:ffice|\b)(?:[-\s]*\d)|code)|box[-\s\b]*\d)/i.test(allAddress)) {
                if (!confirm("PO Box detected in shipping address!\n\nFedex and UPS do not deliver to PO Boxes, so this may complicate the return of your item should it be recovered.\n\nClick OK to use this address or Cancel to change it.")) {
                    document.getElementById("Street").className = "errorhighlight";
                    document.getElementById("Address2").className = "errorhighlight";
                    document.getElementById("Street").focus();
                    pass = false;
                    //mg-edit
                    if (firsterrorelement == null) {
                        firsterrorelement = document.getElementById("Street");
                    }

                }
            }

            var x = document.getElementById("City").value;

            if (x == null || x == "") {
                pass = false;
                //mg-edit
                if (firsterrorelement == null) {
                    firsterrorelement = document.getElementById("City");
                }

                document.getElementById("City").className = "errorhighlight";
                document.getElementById("ct12").className = "errortitle";
                document.getElementById("ct12Error").style.display = "block";

                strlink = strlink + "<li>" + document.getElementById("ct12Error").textContent + "</li>";
                errorcounter = errorcounter + 1;
            } else {
                document.getElementById("City").className = "c-inp c-ifc";
                document.getElementById("ct12").className = "ship c-fc c-fs";
                document.getElementById("ct12Error").style.display = "none";
            }

            var y = document.getElementById("Country").value;
            if (document.getElementById("StateLabel").style.display == "inline") {
                if (y == "CA") {
                    checkstate();
                }
                var x = document.getElementById("State").value;
            } else if (document.getElementById("ProvinceLabel").style.display == "inline") {
                if (y == "US") {
                    checkstate();
                }
                var x = document.getElementById("Province").value;
            } else {
                var x = document.getElementById("State").value;
            }

            if (x == null || x == "" || ((y == "US" || y == "CA") && x == "INTN")) {
                pass = false;
                //mg-edit
                if (firsterrorelement == null) {
                    firsterrorelement = document.getElementById("State");
                }


                if (document.getElementById("StateLabel").style.display == "inline") {
                    document.getElementById("State").className = "errorhighlight";
                    document.getElementById("StateLabel").className = "errortitle";
                    document.getElementById("ct13aError").style.display = "block";

                    strlink = strlink + "<li>" + document.getElementById("ct13aError").textContent + "</li>";
                }
                else {
                    document.getElementById("Province").className = "errorhighlight";
                    document.getElementById("ProvinceLabel").className = "errortitle";
                    document.getElementById("ct13bError").style.display = "block";

                    strlink = strlink + "<li>" + document.getElementById("ct13bError").textContent + "</li>";
                }

                errorcounter = errorcounter + 1;
            } else {
                if (document.getElementById("StateLabel").style.display == "inline") {
                    document.getElementById("State").className = "c-inp c-ifc";
                    document.getElementById("StateLabel").className = "ship c-fc c-fs";
                    document.getElementById("ct13aError").style.display = "none";
                }
                else {
                    document.getElementById("Province").className = "c-inp c-ifc";
                    document.getElementById("ProvinceLabel").className = "ship c-fc c-fs";
                    document.getElementById("ct13bError").style.display = "none";
                }
            }

            var x = document.getElementById("PostalCode").value;

            if (x == null || x == "") {
                pass = false;
                //mg-edit
                if (firsterrorelement == null) {
                    firsterrorelement = document.getElementById("PostalCode");
                }

                document.getElementById("PostalCode").className = "errorhighlight";
                document.getElementById("ct14").className = "errortitle";
                document.getElementById("ct14Error").style.display = "block";

                strlink = strlink + "<li>" + document.getElementById("ct14Error").textContent + "</li>";
                errorcounter = errorcounter + 1;
            } else {
                document.getElementById("PostalCode").className = "c-inp c-ifc";
                document.getElementById("ct14").className = "ship c-fc c-fs";
                document.getElementById("ct14Error").style.display = "none";
            }

            var x = document.getElementById("Country").value;

            if (x == null || x == "") {
                pass = false;
                //mg-edit
                if (firsterrorelement == null) {
                    firsterrorelement = document.getElementById("Country");
                }

                document.getElementById("Country").className = "errorhighlight";
                document.getElementById("ct17").className = "errortitle";
                document.getElementById("ct17Error").style.display = "block";
                strlink = strlink + "<li>" + document.getElementById("ct17Error").textContent + "</li>";
                errorcounter = errorcounter + 1;
            } else {
                document.getElementById("Country").className = "c-inp c-ifc";
                document.getElementById("ct17").className = "ship c-fc c-fs";
                document.getElementById("ct17Error").style.display = "none";
            }
        }

        x = document.getElementsByName("Email").item(0).value;

        if (!validateEmail(x.trim())) {
            pass = false;
            //mg-edit
            if (firsterrorelement == null) {
                firsterrorelement = document.getElementById("Email");
            }


            strlink = strlink + "<li>" + document.getElementById("ct100aError").value + "</li>";
            errorcounter = errorcounter + 1;
        }

        var email1 = document.getElementById("Email").value;
        var email2 = document.getElementById("Email2").value;

        if (email1.trim() !== email2.trim()) {
            pass = false;
            //mg-edit
            if (firsterrorelement == null) {
                firsterrorelement = document.getElementById("Email");
            }

            strlink = strlink + "<li>" + document.getElementById("ct100bError").value + "</li>";
            errorcounter = errorcounter + 1;
        }

        if (document.getElementById("terms").checked) {
            document.getElementById("terms").className = "cbox";
            document.getElementById("ctTermsError").style.display = "none";
        } else {
            pass = false;
            //mg-edit
            if (firsterrorelement == null) {
                firsterrorelement = document.getElementById("terms");
            }

            document.getElementById("terms").className = "errorhighlight";
            document.getElementById("ctTermsError").style.display = "block";
            strlink = strlink + "<li>" + document.getElementById("ctTermsError2").value + "</li>";
        }

        if (document.getElementById("gdpr").checked) {
            document.getElementById("gdpr").className = "cbox";
            document.getElementById("ctPrivError").style.display = "none";
        } else {
            pass = false;
            //mg-edit
            if (firsterrorelement == null) {
                firsterrorelement = document.getElementById("gdpr");
            }

            document.getElementById("gdpr").className = "errorhighlight";
            document.getElementById("ctPrivError").style.display = "block";
            strlink = strlink + "<li>" + document.getElementById("ctPrivError2").value + "</li>";
        }

        if (errorcounter < 2) {
            var strerrCount = "<br />" + document.getElementById("ct1aError").value;
        }
        else {
            var strerrCount = "<br />" + document.getElementById("ct1aError").value;
            strerrCount = strerrCount.replace("|", errorcounter);
        }
        if (pass) {
            if (!Checkproductcode()) {
                btn.disabled = false;
            }
            return false;
        }
        else {
            strlink = "<br /><br /><ul>" + strlink + "</ul>"
            showError(strerrCount + strlink);
            var goTo = document.getElementById("errorhd").offsetTop;
            window.scrollTo(0, goTo);
            //mg-edit
            firsterrorelement.focus();
            btn.disabled = false;
            return false;
        }
    }

    function emailsMatch() {
        var email1 = document.getElementById("Email");
        var email2 = document.getElementById("Email2");
        var stinp = document.getElementById("Street");

        email1.value = email1.value.trim();
        email2.value = email2.value.trim();
        document.getElementById("Email").value = email1.value;
        document.getElementById("Email2").value = email2.value;

        if (email1.value != email2.value) {
            alert(document.getElementById("Alert6").value);
            stinp.focus();
            return false;
        }

        if (!validateEmail(email1.value)) {
            alert(email1.value + document.getElementById("Alert7").value);
            stinp.focus();
            return false;
        }

        return true;
    }

    function checkinternational() {
        var state = document.getElementsByName("State").item(0).value;

        if (state == "INTN") {
            document.getElementsByName("Country").item(0).value = "";
            document.getElementsByName("Country").item(0).focus();
        }
        else
            if (state == "PR") {
                document.getElementsByName("Country").item(0).value = "RQ";
                if (document.getElementById("CustomerID").value == "6392") {
                    document.getElementsByName("State").item(0).value = "INTN";
                } else {
                    document.getElementsByName("Country").item(0).value = "US";
                }
            } else {
                document.getElementsByName("Country").item(0).value = "US";
            }

        if (state == "AP" || state == "AE")
            document.getElementsByName("city").item(0).value = "APO";
    }

    function checkinternationalCA() {
        var province = document.getElementsByName("Province").item(0).value;

        if (province == "INTN") {
            document.getElementsByName("Country").item(0).value = "";
            document.getElementsByName("Country").item(0).focus();
        }
        else {
            document.getElementsByName("Country").item(0).value = "CA";
        }
    }

    function checkstate() {
        var country = document.getElementsByName("Country").item(0).value;

        if (country == "CA") {
            document.getElementById("StateProvDD").style.display = "block";
            document.getElementById("StateLabel").style.display = "none";
            document.getElementById("StateSelect").style.display = "none";
            document.getElementById("ProvinceLabel").style.display = "inline";
            document.getElementById("ProvinceSelect").style.display = "inline";
            document.getElementsByName("Province").item(0).value = "";

            //RM, 2/17/2020; Clear state here in case guest flipped to non-US/CA, which would leave INTN in there and cause that to be used for the
            //state rather than the province.  This is the solution to an ancient bug.
            document.getElementById("State").value = "";

            //mg-edit: for wcag : jump to focus prevents easy keyboard navigation
            //document.getElementsByName("Province").item(0).focus();
        }
        else if (country == "US" || country == "RQ") {
            document.getElementById("StateProvDD").style.display = "block";
            document.getElementById("ProvinceLabel").style.display = "none";
            document.getElementById("ProvinceSelect").style.display = "none";
            document.getElementById("StateLabel").style.display = "inline";
            document.getElementById("StateSelect").style.display = "inline";
            if (document.getElementById("StateSH")) {
                if (document.getElementById("State")) {
                    document.getElementById("State").setAttribute("name", "StateH");
                    document.getElementById("State").id = "StateH";
                }
                document.getElementById("StateSH").setAttribute("name", "State")
                document.getElementById("StateSH").id = "State";
            }
            if (country == "RQ") {
                if (document.getElementById("CustomerID").value == "6392") {
                    document.getElementById("StateProvDD").style.display = "none";
                    document.getElementById("ProvinceLabel").style.display = "none";
                    document.getElementById("ProvinceSelect").style.display = "none";
                    document.getElementById("StateLabel").style.display = "none";
                    document.getElementById("StateSelect").style.display = "none";
                    if (document.getElementById("StateH")) {
                        if (document.getElementById("State")) {
                            document.getElementById("State").setAttribute("name", "StateSH");
                            document.getElementById("State").id = "StateSH";
                        }
                        document.getElementById("StateH").setAttribute("name", "State")
                        document.getElementById("StateH").id = "State";
                    }
                    document.getElementById("State").value = "INTN";
                } else {
                    document.getElementById("Country").value = "US";
                    document.getElementById("State").value = "PR";
                }
            } else {
                document.getElementsByName("State").item(0).value = "";
            }
        } else {
            document.getElementById("StateProvDD").style.display = "none";
            document.getElementById("ProvinceLabel").style.display = "none";
            document.getElementById("ProvinceSelect").style.display = "none";
            document.getElementById("StateLabel").style.display = "none";
            document.getElementById("StateSelect").style.display = "none";
            if (document.getElementById("StateH")) {
                if (document.getElementById("State")) {
                    document.getElementById("State").setAttribute("name", "StateSH");
                    document.getElementById("State").id = "StateSH";
                }
                document.getElementById("StateH").setAttribute("name", "State")
                document.getElementById("StateH").id = "State";
            }
            document.getElementById("State").value = "INTN";
        }
    }

    function cancel() {
        location.replace("reportLostItemCBEmbed.asp?CustomerID=" + document.getElementById("CustomerID").value + "&languageCode=" + document.getElementById("languageCode").value);
    }

    function checkSMSBlocked() {
        var iOS = /iPhone/i.test(navigator.userAgent);
        var android = /android\s/i.test(navigator.userAgent);
        var customHTML;

        if (/^\d{10}$/.test(document.getElementById("phonenumber").value)) {
            var resp = "";
            var url = "cbajax.asp?action=CheckSMSBlocked&phone=" + encodeURIComponent(document.getElementById("phonenumber").value);
            var ans = asyncAjaxGet(url, function (resp) {
                sresp = resp.split("|");
                if (sresp[0] == "!Error") {
                    alert("Error Checking Optout State!");
                    return false;
                } else {
                    if (sresp[1] == "Yes") {
                        if (iOS || android) {
                            customHTML = "<span class=\"c-fc c-fs\">The phone number provided has previously opted out of text messages from Chargerback.com.  Please click one of the links below to opt back in and re-enable text messaging.<br /><br />" +
                                "<a href=\"javascript:void(0);\" onclick=\"hideCellCustomMsg(); window.open('sms:+18332553273&body=START')\">Opt-In For iPhone</a><br /><br />" +
                                "<a href=\"javascript:void(0);\" onclick=\"hideCellCustomMsg(); window.open('sms:+18332553273?body=START')\">Opt-In For Android</a><br /></span>";
                        } else {
                            customHTML = "<span class=\"c-fc c-fs\">The phone number provided has previously opted out of text messages from Chargerback.com.  To opt back in you must text START to +18332553273 using the phone having the number " + document.getElementById("phonenumber").value + ".<br><br>You may instead fill out this form using that phone and a helpful opt-in link will be provided.</span>";
                            $("#_1").prop("checked", false)
                            $("#_2").prop("checked", true)
                        }
                        document.getElementById("CellCustomMsg").innerHTML = customHTML;
                        showCellCustomMsg();
                        return false;
                    } else {
                        customHTML = "<span class=\"c-fc c-fs\">By clicking \"Yes\" to \"Text OK?\", you consent to Chargerback.com sending one or more text messages using an automatic telephone dialing system to the mobile number that you provided regarding your lost item(s). Message and data rates may apply.</span>";
                        document.getElementById("CellCustomMsg").innerHTML = customHTML;
                        showCellCustomMsg();
                    }
                }
            });
        } else {
            alert("Please enter a valid 10-digit phone number first");
            document.getElementById("_1").checked = false;
            //document.getElementById("_2").checked = true;
            document.getElementById("phonenumber").focus();
        }
    }

    function presetSMSRB(e) {
        if (/^\d{10}$/.test(cleanPhone(e.value))) {
            $("#txtmsgFS").show();
            var url = "cbajax.asp?action=CheckSMSBlockedMultiState&phone=" + encodeURIComponent(document.getElementById("phonenumber").value);
            var ans = asyncAjaxGet(url, function (resp) {
                sresp = resp.split("|");
                if (sresp[0] == "!Error") {
                    alert("Error Checking Optout State!");
                    return false;
                } else {
                    if (sresp[1] == "Yes" || sresp[1] == "Error") {
                        $("#_1").prop("checked", false)
                        $("#_2").prop("checked", true)
                    } else if (sresp[1] == "No") {
                        $("#_1").prop("checked", true)
                        $("#_2").prop("checked", false)
                    } else {
                        $("#_1").prop("checked", false)
                        $("#_2").prop("checked", false)
                    }
                }
            });
        } else {
            $("#txtmsgFS").hide();
        }
    }

    function ShowCellProviders(mode) {
        var url;

        if (mode == "show") {
            if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari
                xmlhttp = new XMLHttpRequest();
            }
            else {// code for IE6, IE5
                xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
            }

            url = "CBAjax.asp?Action=ShowCellProviders";

            //alert(url);
            xmlhttp.open("GET", url, false);
            xmlhttp.send();

            if (xmlhttp.status == 200) {
                response = xmlhttp.responseText;

                if (response.toString().length > 2) {
                    document.getElementById("CellProviders").innerHTML = response;
                }
                else {
                    return false;
                }
            }
            else {
                //alert("");
            }
        }
        else {
            document.getElementById("CellProviders").innerHTML = "";
        }
    }
    function PassportAirCanada(pp) {
        if (pp == "68") {
            if (document.getElementById("CustomerID").value == "14722" || document.getElementById("CustomerID").value == "17349" || document.getElementById("likeWestJet").value == "True") {
                OpenWarningPAC();
            }
            else if (document.getElementById("CustomerID").value == "15879") {
                OpenWarningPAC();
            }
        }
    }
    function CheckForOther() {
        if (document.getElementById('overgroup').value == "23") {
            OpenWarning();
        }
    }
    function CheckForLiquor(lq) {
        if (lq == "270") {
            AppendPop();
        } else if (lq == "306") {
            AppendPop();
        }
    }

    function CheckCustomAppend(pc) {
        if (lastOG == "") {
            getOGofSqlid(document.getElementById("currentItemSQLID").value);
        }

        if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari
            xmlhttp = new XMLHttpRequest();
        }
        else {// code for IE6, IE5
            xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
        }

        url = "CBAjax.asp?Action=CheckCustomPCWarning&CustomerID=" + document.getElementById("CustomerID").value + "&pc=" + pc + "&og=" + lastOG + "&lc=" + document.getElementById("languageCode").value;

        //alert(url);
        xmlhttp.open("GET", url, false);
        xmlhttp.send();

        if (xmlhttp.status == 200) {
            response = xmlhttp.responseText;
            if (response.toString().length > 2) {
                var sresp = response.split("~");
                document.getElementById("modalLabel").innerHTML = sresp[0];
                var apdiv = document.getElementById("itemAdditionalInfo");
                var newcontent = document.createElement('div');
                newcontent.innerHTML = "<strong style='color:red;'>" + sresp[1] + "</strong>";
                while (newcontent.firstChild) {
                    apdiv.appendChild(newcontent.firstChild);
                }
                if (sresp[2] == "Disable") {
                    $("#ItemDetail").find("input, select, textarea").each(function () {
                        $(this).prop("disabled", true)
                    });
                    $("#SaveItemDetails").html("Close").unbind("click").on("click", function () { closeAndDeleteCode() })
                }
            }
            else {
                return false;
            }
        }
    }

    function closeAndDeleteCode() {
        $("#ItemDetail").hide();
        deletecode($("#currentItemSQLID").val())
    }

    function AppendPop() {
        document.getElementById("modalLabel").innerHTML = document.getElementById("MyModalLabel1").value;
        var apdiv = document.getElementById("itemAdditionalInfo");
        var newcontent = document.createElement('div');
        newcontent.innerHTML = "<strong style='color:red;'>" + document.getElementById("ItemAdditionalInfoDiv").value + "</strong>";

        while (newcontent.firstChild) {
            apdiv.appendChild(newcontent.firstChild);
        }
    }

    function OpenWarning() {
        document.getElementById("ItemDetail").style.display = "block"
        document.getElementById("modalLabel").innerHTML = document.getElementById("MyModalLabel2").value;
        document.getElementById("itemAdditionalInfo").innerHTML = document.getElementById("ItemAdditionalInfo1").value;
        document.getElementById("SaveItemDetails").innerHTML = document.getElementById("SaveItemDetails3").value;
        //document.getElementById("SaveItemDetails").removeAttribute('onclick');
        //document.getElementById("SaveItemDetails").setAttribute("onclick", "document.getElementById('ItemDetail').style.display = 'none'");
        $("#SaveItemDetails").unbind("click").on("click", function () { $("#ItemDetail").hide(); })

    }
    function OpenWarningPAC() {
        document.getElementById("modalLabel").innerHTML = document.getElementById("MyModalLabel3").value;
        document.getElementById("itemAdditionalInfo").innerHTML = document.getElementById("ItemAdditionalInfo2").value;
        document.getElementById("SaveItemDetails").innerHTML = document.getElementById("SaveItemDetails3").value;
        //document.getElementById("SaveItemDetails").removeAttribute('onclick');
        //document.getElementById("SaveItemDetails").setAttribute("onclick", "document.getElementById('ItemDetail').style.display = 'none'");
        $("#SaveItemDetails").unbind("click").on("click", function () { $("#ItemDetail").hide(); })
    }
</script>
<script type="text/javascript">

    function makeTwoChars(inp) {
        return String(inp).length < 2 ? "0" + inp : inp;
    }

    function initialiseInputs() {
        document.getElementById("sd").value = "";
        document.getElementById("ed").value = "";

        datePickerController.addEvent(document.getElementById("sd"), "change", setReservationDates);
    }

    var initAttempts = 0;

    function setReservationDates(e) {
        try {
            var sd = datePickerController.getDatePicker("sd");
            var ed = datePickerController.getDatePicker("ed");
        }
        catch (err) {
            if (initAttempts++ < 10) setTimeout("setReservationDates()", 50);
            return;
        }

        var dt = datePickerController.dateFormat(this.value, sd.format.charAt(0) == "m");
        if (dt == 0) return;

        var edv = datePickerController.dateFormat(document.getElementById("ed").value, ed.format.charAt(0) == "m");

        ed.setRangeLow(dt);

        if (edv < dt) {
            document.getElementById("ed").value = "";
        }
    }

    function removeInputEvents() {
        datePickerController.removeEvent(document.getElementById("sd"), "change", setReservationDates);
    }

</script>
<script type="text/javascript">
    function showCellCustomMsg() {
        document.getElementById("CellCustomMsg").style.display = "block";
    }
    function hideCellCustomMsg() {
        document.getElementById("CellCustomMsg").style.display = "none";
    }

    function _tipon(o) {
        return true;
    }

    function _tipoff(o) {
        return true;
    }

    //custom code for Westjet:
    function maxLengthCheck(object) {
        if (object.value.length > object.maxLength)
            object.value = object.value.slice(0, object.maxLength)
    }

    function isNumeric(evt) {
        var theEvent = evt || window.event;
        var key = theEvent.keyCode || theEvent.which;
        key = String.fromCharCode(key);

        // 03-01-2024 - RH - Removed the period from the regex because decimal values are not allowed in room numbers.
        var regex = /[0-9]/;

        if (!regex.test(key)) {
            theEvent.returnValue = false;
            if (theEvent.preventDefault) theEvent.preventDefault();
        }
    }

    function matchWithKW(params, data) {
        // If there are no search terms, return all of the data
        if ($.trim(params.term) === '') {

            $('.select2-dropdown--below .select2-dropdown--above').css('opacity', 0);
            setTimeout(function () {
                var groups = $('.select2-container--open .select2-results__group');
                var id = $('.select2-results__options').attr('id');

                /*if (!optgroupState[id]) {
                  optgroupState[id] = {};
                }*/
                optgroupState[id] = {};

                $.each(groups, function (index, v) {
                    optgroupState[id][index] = false;
                    //optgroupState[id][index] ? $(v).siblings().show() : $(v).siblings().hide();
                    optgroupState[id][index] = $(v).siblings().hide();
                });
                $('.select2-dropdown--below .select2-dropdown--above').css('opacity', 1);
            }, 50);

            return data;
        }

        // Skip if there is no 'children' property
        if (typeof data.children === 'undefined') {
            return null;
        }

        // `data.children` contains the actual options that we are matching against
        var filteredChildren = [];
        $.each(data.children, function (idx, child) {
            var pt = params.term.toUpperCase().replace(/[^A-Z0-9\-]/g, "").replace(/\s+$/, "");
            if (child.text.toUpperCase().replace(/[^A-Z0-9\-]/g, "").replace(/\s+$/, "").indexOf(pt) == 0) {
                filteredChildren.push(child);
            } else {
                //data-kw is a custom attribute that has keywords from lkupProductCodeKeyword.  Match these.
                var sKW = child.element.getAttribute('data-kw').toUpperCase().split(",");
                sKW.forEach(function (kw) {
                    if (kw.toUpperCase().replace(/[^A-Z0-9\-]/g, "").replace(/\s+$/, "").indexOf(pt) == 0) {
                        if (!(filteredChildren.indexOf(child, 0) > -1)) {
                            filteredChildren.push(child);
                            return;
                        }
                    }
                })
            }
        });

        /*$.each(data.children, function (idx, child) {
            if (child.text.toUpperCase().indexOf(params.term.toUpperCase()) > 0) {
                if (!filteredChildren.includes(child,0)) filteredChildren.push(child);
            } else {
                //data-kw is a custom attribute that has keywords from lkupProductCodeKeyword.  Match these.
                if (child.element.getAttribute('data-kw').toUpperCase().indexOf(params.term.toUpperCase()) > 0) {
                    if (!filteredChildren.includes(child,0)) filteredChildren.push(child);
                }
            }
        });*/

        if (filteredChildren.length) {
            var modifiedData = $.extend({}, data, true);
            modifiedData.children = filteredChildren;

            return modifiedData;
        }

        // Return `null` if the term should not be displayed
        return null;
    }


    function selectorReset(i) {

        var itemDiv = document.getElementById("itemselected") ? document.getElementById("itemselected").innerHTML : "";
        var d1 = document.getElementById("select2Default1").value;
        var d2 = document.getElementById("select2Default2").value;
        $("#overgroup").select2({
            placeholder: itemDiv == "" ? d1 : d2,
            allowClear: false,
            closeOnSelect: true,
            //minimumInputLength: 2,
            matcher: matchWithKW
        });

        $("#overgroup").find(".select2-results__options--nested").hide();
    }

    $(document).ready(function () {

        if (document.getElementById("useSelect2").value != "True") return true;
        selectorReset();

        optgroupState = {};

        $("body").on('click', '.select2-container--open .select2-results__group', function () {
            $(this).siblings().toggle();
            id = $(this).closest('.select2-results__options').attr('id');
            index = $('.select2-results__group').index(this);
            optgroupState[id][index] = !optgroupState[id][index];
        })

        $('#overgroup').on('select2:open', function () {
            $('.select2-dropdown--below .select2-dropdown--above').css('opacity', 0);
            setTimeout(function () {
                var groups = $('.select2-container--open .select2-results__group');
                var id = $('.select2-results__options').attr('id');

                /*if (!optgroupState[id]) {
                  optgroupState[id] = {};
                }*/
                optgroupState[id] = {};

                $.each(groups, function (index, v) {
                    optgroupState[id][index] = false;
                    //optgroupState[id][index] ? $(v).siblings().show() : $(v).siblings().hide();
                    optgroupState[id][index] = $(v).siblings().hide();
                });
                $('.select2-dropdown--below .select2-dropdown--above').css('opacity', 1);
            }, 50);
        })

        //Below needed for iOS to focus and open keyboard when Select2 is tapped.
        $('.select2-container').click(function (e) {
            $(e.currentTarget).prev('select').data('select2').$dropdown.find('.select2-search__field').focus();
        });

        $('#overgroup').on('select2:select select2:unselecting', function (evt) {
            if ($('#overgroup').select2('val') != null) {
                document.getElementById("ogcode").value = $('#overgroup').select2('val').split('|')[0];
                document.getElementById("Selectproductcode").value = $('#overgroup').select2('val').split('|')[1];
                document.getElementById("pctitle").value = $('#overgroup').select2('data')[0].text;
                console.log(document.getElementById("pctitle").value);
                SelectPC();
                selectorReset();
            }
        });

        document.addEventListener('click', function (event) {
            // When an optgroup element text in a Select2 is clicked, scroll the option list
            // so that text is at the top.  By getting the clicked item's grandparent (which
            // should always be the scrollable container), this code should be able to handle
            // multiple Select2s with nested options on the same page.
            if (event.target.classList.contains("select2-results__group")) {
                var pe = event.target.parentNode.parentNode;
                pe.scrollTop = event.target.offsetTop - pe.offsetTop;
            }
        }, true);

        if ($("#useSelect2ForLocationDD").val() == "True") {
            $("#CustomDD_1").select2({
                placeholder: "Select Property",
                allowClear: true,
                closeOnSelect: true
                //minimumInputLength: 2,
            })
        }

        if ($("#CustomerID").val() == "14677" || $("#CustomerID").val() == "14678") {
            if ($("#pcpreset").val() !== "" && $("#ogpreset").val() !== "") {
                $("#overgroup").val($("#ogpreset").val() + "|" + $("#pcpreset").val()).trigger("change");
                document.getElementById("Selectproductcode").value = $("#pcpreset").val();
                SelectPC();
            }
        }

		if ($("#CustomerID").val() === "19081") {
			$("#CustomDD_1").on("change", function() {
				if ($("#CustomDD_1").val() == "50015") {
					var topbannerBGcolor = "#43c7ee";
					var imgalt = "LEGOLAND Florida Resort - Winter Haven - FL Peppa Pig Logo";
					var img = "19081-50015";
					var url = "https://www.peppapigthemepark.com/florida/";
				} else {
					var topbannerBGcolor = "#ffcf00";
					var imgalt = "LEGOLAND Florida Resort - Winter Haven - FL Logo";
					var img = "19081";
					var url = "https://www.legoland.com/florida/";
				}
				$("#topbannerbg").css("background-color", topbannerBGcolor);
				$("#c-conlogo").html("<a href='" + url + "'><div class='conCustomImage'><img class='logocb' alt='" + imgalt + "' border='0' src='/images/customer/" + img + ".png'></div></a>");
			});
		}

		if ($("#CustomerID").val() === "20566") {
			$("#confCode").on("keyup", function() {
				if ($("#confCode").val().length > 6) $("#confCode").val($("#confCode").val().substring(0,6));
			});
		}
		
        /*
            // on first focus (bubbles up to document), open the menu
            $(document).on('focus', '.select2-selection.select2-selection--single', function (e) {
              $(this).closest(".select2-container").siblings('select:enabled').select2('open');
            });

            // steal focus during close - only capture once and stop propogation
            $('select.select2').on('select2:closing', function (e) {
              $(e.target).data("select2").$selection.one('focus focusin', function (e) {
                e.stopPropagation();
              });
            });
        */
    });
</script>
<script type="text/javascript">
    function iframeTracker() {
        var url;

        if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari
            xmlhttp = new XMLHttpRequest();
        }
        else {// code for IE6, IE5
            xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
        }

        url = "CBAjax.asp?Action=iframeTracker&CustomerID=" + document.getElementById("CustomerID").value + "&PageName=ReportLostItemCBEmbed"

        xmlhttp.open("GET", url, false);
        xmlhttp.send();

        if (xmlhttp.status == 200) {
            response = xmlhttp.responseText;

            if (response.toString().length > 0) {
                alert("Groovy");
            }
            else {
                return false;
            }
        }
        else {
            //alert("Must be super bad news");
        }
    }
    function isMobileIframe() {
        if (top !== self) {
            iframeTracker();
            var frameWidth = window.innerWidth;
            var excludeID = ["17510", "6221", "7949", "8137", "8447", "3339", "8609", "11529", "8143", "8527", "4389", "8249", "8092"];
            var x = excludeID.includes("14722");
            if (frameWidth <= 699 && "" != "1" && x == false) {
                window.parent.parent.window.location = 'https://www.chargerback.com/ReportLostitemCBEmbed.asp?CustomerID=' + '14722' + '&pl=0';
            }
        }
    }

    function validateCurr() {
        var strCurrencyAmount = document.getElementById("itemCurrencyAmount").value;

        if (!/^(\.[0-9]{1,2}|[0-9]+\.?[0-9]{0,2})$/.test(strCurrencyAmount)) {
            alert("Currency amount must be numbers and \".\" only!  No more than one \".\" should be present, and it should be followed by no more than 2 numbers.\n\n.50, 0.50, 99, and 99.1 are OK.\n\n100.10., ABC, and 10..20 are not.\n\nPlease check your currency amount and try again.");
            document.getElementById("itemCurrencyAmount").focus();
            return false;
        }

        document.getElementById('itemNote').value = '$' + document.getElementById('itemCurrencyAmount').value + " ";
    }

    function goBack(jsID) {
        var StartPage = ""
        var mode = "?mode="
        var navtopartner = "&CustomerID=" + document.getElementById("CustomerID").value + "";;
        if (StartPage != "") {
            NavTo(StartPage + mode + navtopartner + "&jsID=" + jsID);
        }
        else {
            NavTo(DeleteURLQsParam(document.referrer, "Error"));
        }

    }

    function checkMSEmail() {
        var email = document.getElementById("Email").value;
        var hostCheck = /(@hotmail.com|@live.com|@outlook.com|@msn.com)$/i;
        var match = email.match(hostCheck);
        document.getElementById("deferMSAddress").value = "";
        if (match) {
            if (confirm("Please Note:  Chargerback is currently experiencing deliverability issues to " + match[0] + " email addresses.  If you have an alternate address you can use, please click \"Cancel\" here and enter that address instead.\n\nYou may click \"OK\" to use " + email + ", but Chargerback will defer filing the report until the deliverability issues have been resolved.\n\nWe appreciate your understanding.")) {
                document.getElementById("deferMSAddress").value = "True";
                return true;
            } else {
                document.getElementById("Email").value = "";
                setTimeout(function () { document.getElementById("Email").focus(); }, 100);
            }
        }
    }

    function showHideTrackers() {
        if ($("#tracker").is(":checked")) {
            $("#SubmitReport").val("Next");
            $("#conTrackerTypes").show();
        } else {
            $("#SubmitReport").val("Submit");
            $("#conTrackerTypes").hide();
        }
    }

    function focusPicker() {
        $("#overgroup").select2("open");
    }

    function checkCameraSupported() {
        if (navigator.userAgent.match(/(Android (1.0|1.1|1.5|1.6|2.0|2.1))|(Windows Phone (OS 7|8.0))|(XBLWP)|(ZuneWP)|(w(eb)?OSBrowser)|(webOS)|(Kindle\/(1.0|2.0|2.5|3.0))/)) {
            return false;
        }
        var elem = document.createElement('input');
        elem.type = 'file';
        if (elem.disabled) {
            alert("This device does not have picture upload capability.");
            return false;
        }
        document.getElementById("PictureCanvas").style.display = "block";
    }

    function AddPicture(matchid) {
        document.getElementById("PictureCanvas").style.display = "block";
        document.getElementById("btnOpenCamP").style.display = "block";
        document.getElementById("divPicUpReady").style.display = "none"
        document.getElementById("ClickedMatchSQLID").value = matchid;
    }

    function base64ToArrayBuffer(base64) {
        base64 = base64.replace(/^data\:([^\;]+)\;base64,/gmi, '');
        var binaryString = atob(base64);
        var len = binaryString.length;
        var bytes = new Uint8Array(len);
        for (var i = 0; i < len; i++) {
            bytes[i] = binaryString.charCodeAt(i);
        }
        return bytes.buffer;
    }

    var picSelector;
    var sizerCanvas;
    var sizerImg;
    var sizerPortrait;
    var imgStream;
    var imgType;

    $(document).on("change", "[id^=picselect]", function () {
        var doAlert = ($("#CustomerID").val() == "14590" || $("#CustomerID").val == "14765");
        var alertClose = "OK";
        var iOS = /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream;
        var iOSVersion;
        var androidVersion;
        document.getElementById("PictureCanvas").style.display = "block";
        document.getElementById("divRetakeSave").style.display = "block";
        document.getElementById("divDel").style.display = "none";
        $("#btnSavePic").prop("disabled", true);

        if (iOS) {
            var ver = (navigator.appVersion).match(/OS (\d+)_(\d+)_?(\d+)?/);
            iOSVersion = [parseInt(ver[1], 10), parseInt(ver[2], 10), parseInt(ver[3] || 0, 10)]
            alertClose = "Close"
        } else {
            var match = navigator.userAgent.match(/android\s([0-9\.]*)/i)
            androidVersion = match ? match[1] : undefined;
        }

        var checkThis = this.id;

        if (this.id == "picselectP") {
            document.getElementById("ClickedMatchSQLID").value = document.getElementById("pMatchID").value;
        } else {
            var getMatch = /\-(\d+)$/.exec(this.id);
            document.getElementById("ClickedMatchSQLID").value = getMatch[1];
            document.getElementById("pMatchID").value = getMatch[1];
        }
        picSelector = this;

        var dur = document.getElementById("divPicUpReady");
        var orientation;
        var rotated = false;
        var tf;
        var v;

        if (this.files.length > 0) {
            tf = this.files[0];
            var fname = tf.name;

            var reader = new FileReader();
            reader.onloadend = function () {
                var obj = {};
                var sObj;
                var vidType;
                var exif = EXIF.readFromBinaryFile(base64ToArrayBuffer(this.result));
                orientation = exif.Orientation;
                document.getElementById('dPicturePreview').style.display = 'block';
                document.getElementById("mInner").style.padding = '50% 0';
                v = document.getElementById("picturePreview");
                v.onload = function () {

                    dur.style.display = "block";
                    this.style.transform = "rotate(0deg) translate(0, 0)";
                    this.style.marginTop = "0";

                    // Orientation values we are dealing with:
                    //
                    // 1: Normal / Landscape, 90 deg CCW from portrait camera at top (lens at 9 o'clock).  All images are actually SAVED to the camera, by the camera, in this format regardless of the actual camera orientation.
                    //    HTML 5 has no control over this, however, the code here can handle that by doing transforms for each canvas and for the final image to be saved to the server.
                    // 3: Landscape reversed, 90 deg CW from portrait camera at top (lens at 3 o'clock).  Would naturally create an upside-down landscape image.  We'll flip this.
                    // 6: Portrait, camera at top (lens at 12 o'clock).  Would naturally create a landscape image from a portrait turned 90 deg CCW.  We'll translate this back to portrait.
                    // 8: Portrait, camera at bottom (lens at 6 o'clock).  Images taken with this orientation will be translated / rotated as with (6), but will be intentionally left upside-down.
                    if ((orientation == 6 || orientation == 8) && (this.naturalWidth > this.naturalHeight)) {
                        // EXIF is telling us orientation is portrait, but the image we're working with is wider than it is tall,
                        // meaning it's being displayed sideways.  This happens with some Androids.  Flip it back to portrait.
                        // Note that some older Android devices / OSes will not return valid EXIF, and for those cases there is
                        // nothing we can do.  Image will be rendered landscape regardless of camera orientation and may appear sideways or upside-down.
                        rotatePreview(6);
                        document.getElementById("mInner").style.padding = '50% 0';
                        rotated = true;
                    } else if (!iOS && (orientation == 3)) {
                        rotatePreview(3);
                        document.getElementById("mInner").style.padding = '0 0';
                    } else {
                        document.getElementById("mInner").style.padding = '0 0';
                    }

                    sizerCanvas = document.createElement("canvas");
                    sizerImg = document.createElement("img")
                    sizerCTX = sizerCanvas.getContext("2d");
                    sizerImg.onload = function () {
                        if (this.width > this.height) {
                            sizerWidth = 1024;
                            sizerHeight = 1024 * (this.height / this.width);
                            sizerPortait = false;
                        } else {
                            sizerHeight = 1024;
                            sizerWidth = 1024 * (this.width / this.height);
                            sizerPortrait = true;
                        }

                        /* The magic trick here is this:  If the EXIF orientation reads Portrait, but the sizer image (sizerImg),
                        created from the camera image "URL" shows a landscape orientation (w > h), then the image needs to be
                        rotated when it is resized / constrained to 1024 px.  So far, this check works for all tested devices
                        and is entirely device-independent! */
                        if ((orientation == 6 || orientation == 8) && !sizerPortrait) {
                            try {
                                sizerCanvas.width = sizerHeight;
                                sizerCanvas.height = sizerWidth;
                                cx = sizerCanvas.width;
                                sizerCTX = sizerCanvas.getContext("2d");
                                sizerCTX.clearRect(0, 0, sizerCanvas.width, sizerCanvas.height);
                                sizerCTX.translate(sizerCanvas.width, 0);
                                sizerCTX.rotate(Math.PI / 2);
                                sizerCTX.drawImage(this, 0, 0, sizerCanvas.height, sizerCanvas.width);
                            } catch (err) {
                                alert("!! " + err.message);
                            }
                        } else if (orientation == 3) {
                            sizerCanvas.width = sizerWidth;
                            sizerCanvas.height = sizerHeight;
                            sizerCTX.clearRect(0, 0, sizerCanvas.width, sizerCanvas.height);
                            sizerCTX.translate(sizerCanvas.width, sizerCanvas.height);
                            sizerCTX.rotate(Math.PI);
                            sizerCTX.drawImage(this, 0, 0, sizerWidth, sizerHeight);
                        } else {
                            sizerCanvas.width = sizerWidth;
                            sizerCanvas.height = sizerHeight;
                            sizerCTX.drawImage(this, 0, 0, sizerWidth, sizerHeight);
                        }

                        imgStream = sizerCanvas.toDataURL("image/jpeg", 0.8);
                        if (imgStream.indexOf('data:image/png;base64,') >= 0) {
                            imgStream = imgStream.replace('data:image/png;base64,', '');
                            imgType = ".png"
                        } else {
                            imgStream = imgStream.replace('data:image/jpeg;base64,', '');
                            imgType = ".jpg"
                        }
                        var streamLen = imgStream.length;
                        //if (streamLen < 20000) {
                        //    alert("Image context broken!  Please close this alert and tap \"Retake\" to re-take this picture.");
                        //    return false;
                        //}
                        $("#btnSavePic").prop("disabled", false);
                    };

                    // For no good reason we need to create separate blob URIs for the sizer canvas and preview div images.
                    // Why?  Because if we don't, iPhone portrait images will wind up in the sizer canvas blank / black.
                    // Landscape are OK. ONLY portrait images need this, and only on iPhones.  Too weird for words.
                    var url2 = URL.createObjectURL(tf);
                    sizerImg.src = url2;
                };
                var url = URL.createObjectURL(tf);
                v.src = url;
            };
            reader.readAsDataURL(tf);
            if (v) v.onload = null;
            return;
        }
        submit.disabled = false;
    })

    $(document).on("click", "#btnSavePic", function () {
        // Upload image to server
        var doAlert = $("#CustomerID").val() == "14765";
        var matchid = $("#ClickedMatchSQLID").val();

        var obj = {};
        var sObj;
        var vidType;
        document.getElementById("uploadProgCont").style.display = "block";
        document.getElementById("uploadStatus").innerText = "Preparing Upload (1), please wait..."

        obj.CustomerID = $("#CustomerID").val();
        obj.XactID = $("#uiCBSession").val();
        obj.MatchID = $("#MatchID").val();
        obj.MatchSQLID = $("#ClickedMatchSQLID").val();

        obj.BlobClass = "GuestImage";
        obj.BlobType = imgType;
        obj.BlobData = imgStream;
        sObj = JSON.stringify(obj);
        document.getElementById("uploadStatus").innerText = "Uploading..."
        doUploadProgress(1);

        $.ajax({
            type: 'POST',
            url: '/Scripts/SaveMobileBlobAI.aspx/UploadBlob',
            contentType: "application/json",
            dataType: "json",
            data: sObj,
            xhr: function () {
                var xhr = new window.XMLHttpRequest();
                xhr.upload.addEventListener("progress", function (evt) {
                    if (evt.lengthComputable) {
                        var percentComplete = evt.loaded / evt.total;
                        doUploadProgress(Math.round(percentComplete * 100));
                        if (percentComplete == 1) document.getElementById("uploadStatus").innerText = "Processing, please wait..."
                    }
                }, false);

                return xhr;
            },
            success: function (response) {
                document.getElementById("uploadProgCont").style.display = "none";
                document.getElementById("PictureCanvas").style = display = "none";
                var sresp = response.d.split("|");
                if (sresp[0] == "!Error") {
                    alert(sresp[1]);
                } else {
                    //refreshItemDescriptions();
                    updateItemDescriptions();
                    $("#dmimg-" + $("#ClickedMatchSQLID").val()).show();
                }
            },
            error: function (response) {
                alert("Image upload failed!");
            },
            complete: function (response) {
                //alert("Complete fires!");
            }
        })

    });

    function doUploadProgress(prog) {
        var elem = document.getElementById("uploadProg");
        var width = prog;
        elem.style.width = width + '%';
    }

    function ShowImage(imgURL, fileName, imgID, xactid, lostid, matchid) {

        var ItemImage = document.getElementById("ItemImage");
        ItemImage.src = imgURL
        ItemImage.dataset.id = imgID;
        ItemImage.dataset.xactid = xactid
        ItemImage.dataset.lostid = lostid
        ItemImage.dataset.matchid = matchid

        var ShowImageModal = document.getElementById("ShowImageModal");
        ShowImageModal.style.display = "block";

    }

    function HideImage() {
        var ShowImageModal = document.getElementById("ShowImageModal");
        ShowImageModal.style.display = "none";
    }

    function imageDelete() {
        if (confirm("Click \"OK\" if you are sure you want to delete this image.")) {
            var ItemImage = document.getElementById("ItemImage");
            var imgID = ItemImage.dataset.id;
            var lostID = ItemImage.dataset.lostid;
            var xactID = ItemImage.dataset.xactid;
            var matchID = ItemImage.dataset.matchid;
            var customerID = $("#CustomerID").val();
            var url = "cbajax.asp?action=GuestDeletePicture&sqlid=" + imgID + "&xactid=" + xactID + "&lostid=" + lostID + "&customerID=" + customerID;
            var resp = syncAjaxGet(url);
            if (resp != "!Error") {
                updateItemDescriptions();
                $("#ShowImageModal").hide();
                $("#dmimg-" + matchID).show();
            } else {
                alert("Error deleting image!");
            }
        }
    }

    function lookUpConfCode() {
        var cc = $("#confCode").val();
        var r = $("#roomSec").val();
        $("#roomSec").val("");
        $("#dhRoomSec").hide();
        var url = "cbajax.asp?action=lookUpChoiceConfCode&cc=" + cc + "&r=" + r;
        var ans = asyncAjaxGet(url, function (resp) {
            var sresp = resp.split("|");
            if (sresp[0] === "Error!" || sresp[0] === "") {
                $("#confCode").val("");
                $("#confCode").focus();
            } else {
                var json = sresp[0];
                const conf = JSON.parse(json)[0];
                if (conf.CustomerID !== $("#CustomerID").val()) {
                    alert("Incorrect confirmation number.  Please try again.");
                    $("#confCode").val("").focus();
                } else {
                    $("#dhConfCode").hide();
                    for (var k of Object.keys(conf.Guest)) {
                        $("#" + k).val(conf.Guest[k]);
                    }
                    $("#overgroup").select2("open");
                    $("#choiceConfCode").val(cc);
                }
            }
        });
    }

    function lookUpMileagePlan() {
        var cc = $("#confCode").val();
        var url = "/scripts/AlaskaAirGetMemberInfo.aspx?action=memberInfo&mileagePlanNumber=" + cc;
        var ans = asyncAjaxGet(url, function (resp) {
            var sresp = resp.split("|");
            if (sresp[0] === "Error!" || sresp[0] === "") {
                $("#confCode").val("");
                $("#confCode").focus();
            } else {
                var json = sresp[1];
                const conf = JSON.parse(json);
                if (conf.IsValid === "Y") {
                    $("#confCode").css("background-color", "lightgreen");
                    $("#LastName").val(conf.LastName);
                    $("#FirstName").val(conf.FirstName);
                    $("#Email").val(conf.ContactEmail);
                    $("#Email2").val(conf.ContactEmail);
                    $("#PostalCode").val(conf.ZipCode);
                    $("#Country").val(conf.CountryCode);
                    checkstate();
                    if (conf.CountryCode === "US") {
                        $("#State").val(conf.RegionCode);
                    } else if (conf.CountryCode === "CA") {
                        $("#Province").val(conf.RegionCode);
                    } else {
                        $("#State").val("INTN");
                    }
                } else {
                    $("#confCode").val("");
                }
                /* for (var k of Object.keys(conf.Guest)) {
                    $("#" + k).val(conf.Guest[k]);
                }
                $("#overgroup").select2("open");
                $("#choiceConfCode").val(cc); */
            }
        });
    }

    function lookUpConfNum() {
        var cc = $("#confCode").val();
        var r = $("#roomSec").val();
        $("#roomSec").val("");
        if (/\D+/.test(r)) {
            alert("Invalid room number.  Please try again.");
            $("#roomSec").val("").focus();
            return false;
        } else {
            $("#dhRoomSec").hide();
            var url = "cbajax.asp?action=lookUpStayConfNum&cc=" + cc + "&r=" + r;
            var ans = asyncAjaxGet(url, function (resp) {
                var sresp = resp.split("|");
                if (sresp[0] === "Error!" || sresp[0] === "") {
                    $("#confCode").val("");
                    $("#confCode").focus();
                } else {
                    var json = sresp[0];
                    const conf = JSON.parse(json)[0];
                    $("#dhConfCode").hide();
                    for (var k of Object.keys(conf.Guest)) {
                        $("#" + k).val(conf.Guest[k]);
                    }
                    $("#overgroup").select2("open");
                    $("#choiceConfCode").val(cc);
                }
            });
        }
    }

    function promptRoomSec(e) {
        var cc = $(e).val();
        if (/\D+/.test(cc) || cc.length < 8) {
            alert("Incorrect confirmation number.  Please try again.");
            $("#dhRoomSec").hide();
            $("#confCode").val("").focus();
        } else {
            $("#dhRoomSec").show();
            $("#roomSec").focus();
        }
    }

    function promptRoomSecStay(e) {
        var cc = $(e).val();
        if (cc.length < 9) {
            alert("Incorrect confirmation number. Please try again.");
            $("#dhRoomSec").hide();
            $("#confCode").val("").focus();
        } else {
            $("#dhRoomSec").show();
            $("#roomSec").focus();
        }
    }

    function skipConf() {
        $("#dhConfCode").hide();
        $("#dhRoomSec").hide();
        $("#overgroup").select2("open");
    }

    function getLangSel() {
        var value = document.getElementById("ddLang").value;
		if ($("#CustomerID").val() == "16650") {
			window.location = 'https://www.chargerback.com/ReportLostItemCBEmbed.asp?CustomerID=' + document.getElementById("CustomerID").value + (($("#showJSON").val() == "") ? '' : '&jsID=' + $("#showJSON").val()) + (($("#CustomDD_1").val() == "") ? '' : '&customdd=' + $("#CustomDD_1").val()) + '&languagecode=' + value;
		} else {
			window.location = 'https://www.chargerback.com/ReportLostItemCBEmbed.asp?CustomerID=' + document.getElementById("CustomerID").value + '&languagecode=' + value;
		}
    }
</script>
<style type="text/css">
i:hover {color:red;}
img{margin-bottom:0px}
input[type="button"] {-moz-appearance: none;-webkit-appearance: none;-ms-appearance: none;appearance: none;-moz-transition: opacity 0.2s ease-in-out, color 0.2s ease-in-out;-webkit-transition: opacity 0.2s ease-in-out, color 0.2s ease-in-out;-ms-transition: opacity 0.2s ease-in-out, color 0.2s ease-in-out;transition: opacity 0.2s ease-in-out, color 0.2s ease-in-out;display: inline-block;font-family: "Arial Regular", "Arial";}
input[type="button"]:hover {opacity: 0.85;}
.logocb {width:100%;max-width:450px;margin-left:auto;margin-right:auto;display:block;max-height:80px;}
.errorhighlight	{outline-color:#C30019;outline-style:solid;outline-width:1px;}
.errorhighlightS2	{outline-color:#C30019;outline-style:solid;outline-width:2px;}
.errortitle {color: #C30019;}
.c-fborder {BORDER-BOTTOM: medium none;BORDER-TOP: medium none;BORDER-LEFT: medium none;BORDER-RIGHT: medium none;}
.c-bg {}
.c-stc {COLOR: black;}
.c-shc {Color: black;}
.c-fs { FONT-FAMILY: arial, helvetica, sans-serif; Font-Size: small;}
.c-fc {COLOR: #666; FONT-FAMILY: arial, helvetica, sans-serif; Font-Size: small;}
.c-ifc {background-color:#f9f9f9;}
.c-con2 {max-width:800px;margin:auto;}
.c-ct15, .c-ct18 {font-weight:bold;}
.bbox {padding: 15px;border-radius: 20px;border: #ddd 1px solid;}
#shipbox {margin-top:10px;}
select {height:2.35em;width:100%;max-width:374px;}
input.c-inp {height:2.35em;width:100%;max-width:374px;border-radius:7px;border:1px solid #cdcdcd;}
textarea.c-inp {border-radius:7px;border:1px solid #cdcdcd;max-width:774px;}
select.c-inp {border-radius:7px;border:1px solid #cdcdcd;}
.select2-container--default .select2-selection--single, #ddLang {height:2.35em;border-radius:7px;border:1px solid #cdcdcd;background-color:#f9f9f9;}
.select2-container--default .select2-selection--single .select2-selection__arrow {top:4px;}
.select2-container--default .select2-selection--single .select2-selection__placeholder {position:absolute;top:3px;color:#999}
#trackerlbl {font-weight:normal;}
.form-control {display: block;width: 100%;height: 34px;padding: 6px 12px;font-size: 14px;line-height: 1.42857143;color: #555;background-color: #fff;background-image: none;border: 1px solid #ccc;border-top-color: rgb(204, 204, 204);border-right-color: rgb(204, 204, 204);border-bottom-color: rgb(204, 204, 204);border-left-color: rgb(204, 204, 204);border-radius: 4px;-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);box-shadow: inset 0 1px 1px rgba(0,0,0,.075);-webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;-o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;}
textarea.form-control {height: auto;}
.btn-primary{color:#fff;background-color:#337ab7;border-color:#2e6da4}
.btn-primary.focus,.btn-primary:focus{color:#fff;background-color:#286090;border-color:#122b40}
.btn-primary:hover{color:#fff;background-color:#286090;border-color:#204d74}
.cboxlblrm {border:1px solid #ccc;padding:10px;margin:0 0 10px;display:block;}
.cboxlblrm:hover {background:#eee;cursor:pointer;}
div#fd-LostDate.datePicker {opacity:1 !important;}
#errinfo a:focus {outline:0;}
#btnKioskWarnBtnCont:hover, #btnKioskWarnBtnCont:focus,#btnKioskWarnBtnReset:hover, #btnKioskWarnBtnReset:focus, #SubmitReport:hover, #SubmitReport:focus, #closeItemDialog:hover, #closeItemDialog:focus, #closeLegalDialog:hover, #closeLegalDialog:focus, button#SaveItemDetails:hover, button#SaveItemDetails:focus {outline:1px dotted black;outline-offset:4px;}
.linediv {text-align:left;}
.routeItem {border-bottom: 1px solid;margin-bottom:5px;}
.select2-container {height: 35px;}
.w3-half {padding: 0 5px 0 5px;}
.rli-col {padding: 0 5px 0 5px;}
#Info2 {color:#C30019;padding: 0 5px 20px 5px;}
#wcagContainer {height:32px;line-height:32px;padding: 0 5px 0 5px;}
.wcagIcon {height:32px;}
.wcagIconText {position:absolute;padding-left:5px;text-decoration:underline;color:#0000EE;}
</style>

</head>
<body class="c-bg" style="min-height:100vh; width:100%" onload="Setfocus();isMobileIframe();">
<div class="c-con">
<div role="banner" style="" id="topbannerbg" class="w3-container w3-margin-top w3-margin-bottom">
    
    <div id="c-conlogo">
        <a href='https://www.aircanada.com/'><div class='conCustomImage'><img class='logocb' alt="Air Canada Logo" border='0' src='/images/customer/14722.jpg'></div></a>
    </div>
    
    <div class="w3-hide-small notranslate" style="float:right;">
        
    </div>
</div>

<div id="google_translate_element" style="display:none;"></div>
<script type="text/javascript">
    function googleTranslateElementInit() {
        new google.translate.TranslateElement({ pageLanguage: 'en', includedLanguages: 'de,en,es,fr,ja,ko,pt,ru,zh-CN,zh-TW', layout: google.translate.TranslateElement.InlineLayout.SIMPLE }, 'google_translate_element');
    }
</script>
<!-- <script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script> -->

<div role="main" class="c-con2">
    <div id="formbackground" style="" >
        <form action="ReportLostItemCBEmbedCustomUpdate.asp" method="post" id="form1" name="PostItem">
            <label for="SU" style="display:none;">Hidden</label>
            <input type="hidden" name="SU" id="SU" value="" />
            <label for="CustomerID" style="display:none;">Hidden</label>
            <input type="hidden" id="CustomerID" name="CustomerID" value="14722" />
            <label for="Status" style="display:none;">Hidden</label>
            <input type="hidden" id="Status" name="ItemStatus" value="0" />
            <label for="uiCBSession" style="display:none;">Hidden</label>
            <input type="hidden" id="uiCBSession" name="uiCBSession" value="38023063973016" />
            <label for="Hidden1" style="display:none;">Hidden</label>
            <input type="hidden" id="Hidden1" name="uiCBSession" value="38023063973016" />
            <label for="languageCode" style="display:none;">Hidden</label>
            <input type="hidden" id="languageCode" name="languageCode" value="fr" />
            <label for="ultracustom" style="display:none;">Hidden</label>
            <input type="hidden" id="ultracustom" name="ultracustom" value="custom" />
            <label for="MatchID" style="display:none;">Hidden</label>
            <input type="hidden" id="MatchID" name="MatchID" value="-417111653" />
            <label for="ProductCode" style="display:none;">Hidden</label>
            <input type="hidden" name="ProductCode" id="ProductCode" value="" />
            <label for="showstyle" style="display:none;">Hidden</label>
            <input type="hidden" id="showstyle" value="COLOR: #666; FONT-FAMILY: arial, helvetica, sans-serif; Font-Size: small; FONT-FAMILY: arial, helvetica, sans-serif; Font-Size: small;" />
            <label for="currentItemSQLID" style="display:none;">Hidden</label>
            <input type="hidden" class="notranslate" id="currentItemSQLID" />
            <input type="hidden" id="SavedImageList" name="SavedImageList" value="" />
            <input type="hidden" id="ClickedMatchSQLID" value="" />
            <input type="hidden" id="PCExistsID" value="" />
            <input type="hidden" id="pcpreset" value="" />
            <input type="hidden" id="ogpreset" value="" />
			<input type="hidden" id="navdd" value="" />

            <input type="hidden" class="notranslate" id="ct1aError" value="S'il-vous-plait, veuillez régler ce problème pour continuer" />
            <input type="hidden" class="notranslate" id="ct1bError" value="S'il-vous-plait, veuillez régler les | problèmes pour continuer" />
            <input type="hidden" class="notranslate" id="ct100aError" value="L'adresse courriel est incorrecte" />
            <input type="hidden" class="notranslate" id="ct100bError" value="Les adresses ne sont pas identiques" />
            <input type="hidden" class="notranslate" id="ctInfo1Error" value="Quelque chose s'est mal passé" />
            <input type="hidden" class="notranslate" id="ctInfo2Error" value="Champs requis" />
            <input type="hidden" class="notranslate" id="ctInfo3Error" value="Informations sur votre article" />
            <input type="hidden" class="notranslate" id="MyModalLabel1" value="Les détails de votre objet perdu" />
            <input type="hidden" class="notranslate" id="MyModalLabel2" value="Attention!" />
            <input type="hidden" id="showJSON"  name="showJSON" value="" />
            <input type="hidden" id="fedexInUse" name="fedexInUse" value="True" />
            <input type="hidden" id="offersUPS" name="offersUPS" value="False" />
            <input type="hidden" id="likeWestJet" name="likeWestJet" value="False" />
            <!--mg-edit-->
            <input type="hidden" id="StartPage"  name="StartPage" value="" />
            
            <input type="hidden" class="notranslate" id="MyModalLabel3" value="Passeports perdus" />
            <input type="hidden" class="notranslate" id="ItemAdditionalInfo2" value="Les passeports perdus recueillis par Air Canada sont remis aux autorités frontalières ou policières locales visées. Veuillez communiquer avec les autorités locales ou votre consulat pour de plus amples renseignements." />
            
            <input type="hidden" class="notranslate" id="SaveItemDetails1" value="Ok" />
            <input type="hidden" class="notranslate" id="SaveItemDetails2" value="Mis à jour" />
            <input type="hidden" class="notranslate" id="SaveItemDetails3" value="Sauvegarder les détails de l'objet" />
            <input type="hidden" class="notranslate" id="ItemAdditionalInfo1" value="Sauf si votre objet est très inhabituel, veuillez s'il-vous-plait choisir une catégorie spécifique. Choisir «Autre» réduira les probabilités d'une correspondance et d'une récupération réussie." />
            <input type="hidden" class="notranslate" id="ItemAdditionalInfoDiv" value="Tout alcool laissé sera jeté. Il est interdit d'expédier de l'alcool par la poste." />
            <input type="hidden" class="notranslate" id="Alert1" value="Le numéro de série doit être sous forme de lettres et/ou chiffres seulement" />
            <input type="hidden" class="notranslate" id="Alert2" value="Un ou plusieurs champs contiennent des caractères invalides" />
            <input type="hidden" class="notranslate" id="Alert3" value="Veuilez s'il-vous-plait sélectionnier une catégorie d'objet" />
            <input type="hidden" class="notranslate" id="Alert4" value="Un ou plusieurs champs contiennent du texte invalide" />
            <input type="hidden" class="notranslate" id="Alert5" value="Veuillez s'il-vous-plaît fournir une description de votre objet perdu" />
            <input type="hidden" class="notranslate" id="Alert6" value="Les adresses courriel ne correspondent pas" />
            <input type="hidden" class="notranslate" id="Alert7" value="Ne semble pas être une adresse courriel valable" />
            <input type="hidden" class="notranslate" id="CellProvider1" value="Fournisseur de services requis pour recevoir un message texte." />
            <input type="hidden" class="notranslate" id="addCode1" value="Cliquez pour ajouter plus d'objets" />
            <input type="hidden" class="notranslate" id="addCode2" value="Détails de l'objet" />
            <input type="hidden" class="notranslate" id="TCLabel1" value="Chargerback Conditions d'utilisation" />
            <input type="hidden" class="notranslate" id="PrivLabel1" value="Chargerback Politique De Vie Privée" />
            <input type="hidden" class="notranslate" id="ctTermsError2" value="You must check that you have read and agree to the Terms of Service" />
            <input type="hidden" class="notranslate" id="ctPrivError2" value="You must check that you have read and understand the Privacy Policy" />
            <input type="hidden" name="GSkip" id="GSkip" value="False" />
            <input type="hidden" id="postCardId" name="postCardId" value="" />
            <input type="hidden" id="useSelect2" value="True" />
            <input type="hidden" id="allowFullLostReportEdit" value="True" />
            
            <input type="hidden" id="Selectproductcode" value=""/>
            <input type="hidden" id="ogcode" value=""/>
            <input type="hidden" id="pctitle" value=""/>
            <input type="hidden" id="select2Default1" value="Cliquez ici pour ajouter un objet" />
            <input type="hidden" id="select2Default2" value="Cliquez ici pour ajouter plus d'objets" />
            
            <input type="hidden" id="deferMSAddress" name="deferMSAddress" value="" />
            <input type="hidden" id="isRob" value="False" />
            <input type="hidden" id="refreshed" value="no" />
            <input type="hidden" id="useSelect2ForLocationDD" value="False" />
            <input type="hidden" id="choiceConfCode" name="choiceConfCode" value="" />
            
            <input type="hidden" id="reportID" name="reportID" value="" />

            
            <div id="descbox" class="bbox">
                
                <div class="w3-row" style="min-height:30px;">
                    
                    <div class="w3-half c-fborder">
                        
                        <span role="heading" aria-level="1" id="ct15" class="c-shc c-fs ship c-ct15 notranslate" style="">Renseignements sur l'article</span>
                    </div>
                    
                    <div class="w3-half">
                        <div id="langDD2"><SELECT id="ddLang" name="ddLang" onchange="getLangSel()" aria-label="Select your language"><OPTION id="id-zh-cn" value="zh-cn">简体中文
</OPTION><OPTION id="id-zh-hk" value="zh-hk">繁體中文
</OPTION><OPTION id="id-en-US" value="en-US">English</OPTION><OPTION id="id-fr" value="fr" selected>Français</OPTION><OPTION id="id-de-de" value="de-de">Deutsch</OPTION><OPTION id="id-ja-jp" value="ja-jp">日本語</OPTION><OPTION id="id-ko" value="ko">한국인</OPTION><OPTION id="id-pt" value="pt">Português</OPTION><OPTION id="id-es" value="es">Español</OPTION><OPTION id="id-tr" value="tr">Türkçe</OPTION><OPTION id="id-ar" value="ar">عربي</OPTION></SELECT></div>
                    </div>
                </div>
                <div class="c-fc c-fs" id="Info2">
                    * Champs requis
                </div>
                <div id="errorhd" role="alert" aria-atomic="true" aria-live="polite"></div>
                
                <div class="w3-row w3-padding-top">
                
                    <div id="ItemPicker"  class="w3-half w3-margin-top">
                        <label for="overgroup" id="ct114" class="labelvalue c-fc c-fs notranslate">Veuillez choisir le type d'article que vous avez perdu.</label><br />
                        
                        <div id="Category"><select id='overgroup' class='c-inp notranslate s2pc js-source-states' name='overgroup'><option class='c-ifc'></option><optgroup label='Accessoire personnel'><option id ='o15p271' value='15|271' data-kw=''>Appareil d’exercice</option><option id ='o15p149' value='15|149' data-kw='BAG,bi-fold,bifold,billfold,black,change,clutch,COACH,couture,handbag,Jacobs,leather,Marc,POUCH,purse,purse:,SHOULDER'>Bourse</option><option id ='o15p153' value='15|153' data-kw='lighter'>Briquet</option><option id ='o15p174' value='15|174' data-kw='Rosary'>Chapelet</option><option id ='o15p275' value='15|275' data-kw='CIGAR'>Cigare</option><option id ='o15p155' value='15|155' data-kw='"E",ASHTRAY,Cigarette,Ciggarette,e-cig,e-cigarette,Electronic,HOOKAH,Marlboro'>Cigarette</option><option id ='o15p156' value='15|156' data-kw='Ecigarette,vape pen'>Cigarette électronique</option><option id ='o15p177' value='15|177' data-kw='Fob,house,housekey,housekeys,key,Key-,Key-Brass,KEYCARD,keychain,keyring,Porsche,remote,ring,ring.,Saturn,Scion,Sentra'>Clés</option><option id ='o15p152' value='15|152' data-kw='MONEYCLIP,Tri-fold'>Clip d'argent</option><option id ='o15p159' value='15|159' data-kw='Lifestyle'>Contraceptifs</option><option id ='o15p453' value='15|453' data-kw='Mask,protective mask'>Cordon</option><option id ='o15p250' value='15|250' data-kw='bag,COSMETIC,Eye,eyelashes,facial,gloss,ITEMS,kit,lipstick,make,make-up,Makeup,make up,products,shadow,travel,up'>Cosmétique</option><option id ='o15p158' value='15|158' data-kw='clippers'>Coupe-ongles</option><option id ='o15p170' value='15|170' data-kw='DEVICE,Heating,pad'>Coussin chauffant</option><option id ='o15p378' value='15|378' data-kw=''>Couteau</option><option id ='o15p162' value='15|162' data-kw='pen,pencils,pens,Montblanc,Parker,mechanical pencil'>Crayon</option><option id ='o15p78' value='15|78' data-kw='Dencher,DENTURE,TEETH'>Dentier</option><option id ='o15p171' value='15|171' data-kw='Vaporizer'>Humidificateur</option><option id ='o15p340' value='15|340' data-kw=''>Jouets pour adultes</option><option id ='o15p166' value='15|166' data-kw='nightlight'>Lampe de nuit</option><option id ='o15p165' value='15|165' data-kw='/FLASHLIGHTS,Flashlight,FLASHLIGHTS,lamp,LANTERN,light,Mag-Lite,Maglite,VIPERTEK'>Lampe de poche</option><option id ='o15p172' value='15|172' data-kw=''>Loupe</option><option id ='o15p160' value='15|160' data-kw=''>Machine à café</option><option id ='o15p515' value='15|515' data-kw='Eye Mask'>Masque de Sommeil</option><option id ='o15p475' value='15|475' data-kw='facemask,protective face covering,surgical mask,mask'>Masque Facial</option><option id ='o15p176' value='15|176' data-kw='Breitling,Bulova,Burberry,Invicta,Luminox,Movado,Pulsar,Rolex,Seiko,Sekonda,Skagen,Timex,watch,WATCH-,watches,wristwatch'>Montre</option><option id ='o15p517' value='15|517' data-kw='opener,church key'>Ouvre-bouteille</option><option id ='o15p157' value='15|157' data-kw='parasol,Umbrella,umbrellas'>Parapluie</option><option id ='o15p203' value='15|203' data-kw='Activity,COUNTER/PEDOMETER,pedometer,tracker'>Pédomètre</option><option id ='o15p347' value='15|347' data-kw=''>Peseur</option><option id ='o15p173' value='15|173' data-kw='PIPE,hookah,bong'>Pipe</option><option id ='o15p151' value='15|151' data-kw=''>Porte-cartes</option><option id ='o15p154' value='15|154' data-kw='HOOKAH'>Porte-cigarettes</option><option id ='o15p67' value='15|67' data-kw='billfold,BUSINESS,CARD,creditcard,HOLDER,tri-fold,trifold,wallet,Wallet:,wallets'>Portefeuille</option><option id ='o15p150' value='15|150' data-kw='Wig,wigs,Toupee,toupees'>Postiche</option><option id ='o15p175' value='15|175' data-kw='alarm,Clock,Ihome'>Réveil matin</option><option id ='o15p537' value='15|537' data-kw='Bag,handbag,tote,pouch'>Sac bandoulière</option><option id ='o15p161' value='15|161' data-kw='bottle,Corkscrew,opener.'>Tire-bouchon</option><option id ='o15p459' value='15|459' data-kw=''>Titulaire de la Carte d'Identité</option><option id ='o15p164' value='15|164' data-kw=''>Ventilateur</option></optgroup><optgroup label='Argent, carte cadeaux'><option id ='o18p206' value='18|206' data-kw='$,$1,$10,$10.00,$100,$100.00,$15,$2,$20,$20.00,$5,$5.00,$80,$80.00,-$20.00,BILL,CASH:,check/,CHIP,Coin,coins,coins.,currancy,Currency,Currrency,dollar,dollars,GAMING,Mint,money,MONEY:,Quarter,quarters'>Argent</option><option id ='o18p419' value='18|419' data-kw=''>Billet de pari</option><option id ='o18p472' value='18|472' data-kw=''>Billets - Compagnie aérienne</option><option id ='o18p471' value='18|471' data-kw=''>Billets - Divertissement ou Sports</option><option id ='o18p536' value='18|536' data-kw=''>Billets (Autres)</option><option id ='o18p207' value='18|207' data-kw='$25,AMAZON,Bonanza,CARD,CARDS,Casino,CHIP,club,GAMING,MEMBERSHIP,pass,Paycheck,Prepaid,reward,REWARDS,tickets,TOTAL,tournament,voucher,vouchers'>Carte cadeau</option><option id ='o18p266' value='18|266' data-kw='Book,Check,pay'>Cheque</option><option id ='o18p462' value='18|462' data-kw=''>Chèque ou Mandat</option><option id ='o18p408' value='18|408' data-kw='Gringotts'>Devise de nouveauté</option><option id ='o18p338' value='18|338' data-kw=''>Facture</option><option id ='o18p282' value='18|282' data-kw=''>Jeton de casino</option><option id ='o18p531' value='18|531' data-kw=''>Laissez-passer de transport en commun</option><option id ='o18p337' value='18|337' data-kw=''>Monnaie</option><option id ='o18p339' value='18|339' data-kw=''>Monnaie étrangère</option><option id ='o18p538' value='18|538' data-kw='Coin,Commemorative Coin,Souvenir,Keepsake'>Pièce commémorative</option><option id ='o18p288' value='18|288' data-kw=''>Reçu de casino</option></optgroup><optgroup label='Article pour bébé ou enfant'><option id ='o34p488' value='34|488' data-kw='bathtub,bath tub,tub'>Baignoire pour bébé</option><option id ='o34p482' value='34|482' data-kw='bib'>Bavoir Bébé</option><option id ='o34p489' value='34|489' data-kw='monitor'>Interphone de Surveillance pour Bébé</option><option id ='o34p487' value='34|487' data-kw='leash'>Laisse Enfant</option><option id ='o34p484' value='34|484' data-kw='changing pad'>Matelas à Langer ou Équipement</option><option id ='o34p486' value='34|486' data-kw='Pack And Play,baby play pen,baby bed,crib'>Parc pour Bébé</option><option id ='o34p481' value='34|481' data-kw=''>Porte-Bébé</option><option id ='o34p483' value='34|483' data-kw='training seat,potty,squatty potty,toilet seat'>Pot Enfant ou Siège de Toilette</option><option id ='o34p485' value='34|485' data-kw='child booster'>Siège d'Appoint</option><option id ='o34p480' value='34|480' data-kw='Binky,teething ring'>Sucette</option></optgroup><optgroup label='Article religieux'><option id ='o27p314' value='27|314' data-kw=''>Chapelet</option><option id ='o27p313' value='27|313' data-kw=''>Courvre-chef</option><option id ='o27p315' value='27|315' data-kw=''>Écritures</option><option id ='o27p312' value='27|312' data-kw=''>Objet de communion</option><option id ='o27p322' value='27|322' data-kw=''>Religion – autre</option><option id ='o27p316' value='27|316' data-kw=''>Sac Tallit</option><option id ='o27p523' value='27|523' data-kw='Phylacteries'>Tefillin ou Phylactères </option><option id ='o27p317' value='27|317' data-kw=''>Yarmulke - Kippahs</option></optgroup><optgroup label='Articles ménager'><option id ='o24p259' value='24|259' data-kw='cold,CONVECTION,COUNTERTOP,Crockpot,DEVICE,HEATING,MACHINE,MAKER,OVEN,PANCAKE,STOVE,system,therapy,vacuum,vacuums'>Appareil ménager</option><option id ='o24p295' value='24|295' data-kw=''>Assiettes</option><option id ='o24p467' value='24|467' data-kw=''>Bougie</option><option id ='o24p513' value='24|513' data-kw='Stool'>Chaise ou Tabouret</option><option id ='o24p296' value='24|296' data-kw=''>Chaudrons et casseroles</option><option id ='o24p509' value='24|509' data-kw='pair of scissors,clipper,shears'>Ciseaux</option><option id ='o24p508' value='24|508' data-kw='christmas tree,christmas lights,holiday,Ornament'>Décorations ou Ornement</option><option id ='o24p503' value='24|503' data-kw='aromatics,incense'>Huiles Essentielles ou Diffuseur</option><option id ='o24p350' value='24|350' data-kw='Air mattress,Airmattress'>Lit gonflable</option><option id ='o24p261' value='24|261' data-kw='coffee,maker,POT'>Machine à café</option><option id ='o24p514' value='24|514' data-kw='Sewing Supplies'>Matériel de Tricotage ou de Couture</option><option id ='o24p333' value='24|333' data-kw=''>Mijoteuse</option><option id ='o24p332' value='24|332' data-kw=''>Mixeur</option><option id ='o24p262' value='24|262' data-kw=''>Moulin à café</option><option id ='o24p502' value='24|502' data-kw='tea cloth,linen'>Nappe de Table</option><option id ='o24p391' value='24|391' data-kw=''>Outils</option><option id ='o24p501' value='24|501' data-kw='heater'>Réchauffeur Portable</option><option id ='o24p504' value='24|504' data-kw=''>Tupperware</option><option id ='o24p260' value='24|260' data-kw='black,dish,Dishes,ladle,Napkin,serving,tray'>Ustensiles</option><option id ='o24p418' value='24|418' data-kw='Steamer'>Vaporisateur de Vêtements</option></optgroup><optgroup label='Autre'><option id ='o23p217' value='23|217' data-kw=''>Autre</option></optgroup><optgroup label='Bagage et équipement de voyage'><option id ='o11p463' value='11|463' data-kw=''>Bagages - Autres</option><option id ='o11p321' value='11|321' data-kw=''>Étui a ordinateur portable</option><option id ='o11p237' value='11|237' data-kw=''>Housse à vêtement</option><option id ='o11p457' value='11|457' data-kw=''>Mallette</option><option id ='o11p234' value='11|234' data-kw=''>Niche</option><option id ='o11p335' value='11|335' data-kw=''>Parc portable</option><option id ='o11p351' value='11|351' data-kw=''>Poussette</option><option id ='o11p131' value='11|131' data-kw='bag,bag(s),bookbag,bowling,cart,case,Crossbody,daysack,lunchbox,Samonite,Samsonite,SATCHEL,up,washbag,zip'>Sac</option><option id ='o11p135' value='11|135' data-kw='Backpack,BACKPACK-,backpack:,BACKPACKS,JanSport,luggage,pack'>Sac à dos</option><option id ='o11p421' value='11|421' data-kw=''>Sac à roulettes</option><option id ='o11p130' value='11|130' data-kw=''>Sac de costume</option><option id ='o11p132' value='11|132' data-kw='Blackhawk,Duffle,TOTE'>Sac de sport</option><option id ='o11p362' value='11|362' data-kw=''>Sac fourre-tout</option><option id ='o11p140' value='11|140' data-kw='fannypack,Pouch'>Sacoche</option><option id ='o11p402' value='11|402' data-kw=''>Sangle de Bagage ou Étiquette</option><option id ='o11p403' value='11|403' data-kw=''>Serrure à Bagages TSA </option><option id ='o11p134' value='11|134' data-kw='Car,seat,Stroller,baby car seat'>Siege auto enfant</option><option id ='o11p129' value='11|129' data-kw='baggage,basket,caboodle,carry,carry-on,case,compartment,Cosmestic,on,SUITCASE,suitcases,Suitecase,Trunk,up,zip,luggage,briefcase'>Valise</option></optgroup><optgroup label='Bijoux'><option id ='o9p244' value='9|244' data-kw='COLORED,crystal,JEWELRY,pendant,RHINESTONES,swarovski'>Assortiment de bijoux</option><option id ='o9p101' value='9|101' data-kw='-Wedding,band,dÃ­amond,daimond,Diamond,diamonds,gem,Gemstone,ring,ring-,ring:,Rings,Ruby,Wedding,with'>Bague</option><option id ='o9p473' value='9|473' data-kw=''>Bijoux - Autre</option><option id ='o9p100' value='9|100' data-kw='Earing,earring,earring:,earrings,hoop,Hoops,Piercings'>Boucle d’oreille</option><option id ='o9p107' value='9|107' data-kw=''>Boucle de ceinture</option><option id ='o9p110' value='9|110' data-kw='-CUFFLINKS,cuff,cufflink,Cufflinks,link'>Boutons de manchette</option><option id ='o9p99' value='9|99' data-kw='alert,anklet,bangle,bracelet,Bracelet-,bracelets,CHARMS,DIAMONDS,STONE,STONES,wristband'>Bracelet</option><option id ='o9p102' value='9|102' data-kw='pendant'>Broche</option><option id ='o9p106' value='9|106' data-kw='bolero'>Chaine</option><option id ='o9p103' value='9|103' data-kw='alexandrite,amethyst,amulet,aquamarine,beads,birthstone,Cartouche,Chain,Dogtags,E-Pendent,Gold,jewels,locket,neckalce,Necklace,necklaces,NECKLECE,pearls,pendant,rhinestones'>Collier</option><option id ='o9p109' value='9|109' data-kw='tiara'>Couronne</option><option id ='o9p108' value='9|108' data-kw='cross'>Croix</option><option id ='o9p105' value='9|105' data-kw='brooch,medals,Pin'>Épingle</option><option id ='o9p104' value='9|104' data-kw='barrette,clips,Hair'>Épingle à cheveux</option><option id ='o9p176' value='9|176' data-kw='Breitling,Bulova,Burberry,Invicta,Luminox,Movado,Pulsar,Rolex,Seiko,Sekonda,Skagen,Timex,watch,WATCH-,watches,wristwatch'>Montre</option><option id ='o9p111' value='9|111' data-kw='cameo,emerald,Ivory,Jewel,medallion,pendant,quartz,rhinestine,rhinestone,saphire,sapphire,Tanzanite,zirconia'>Pendentif</option><option id ='o9p456' value='9|456' data-kw='Tietack,tie tack,tiepin,tie pin,tieclip,tie clip'>Pince à Cravate</option><option id ='o9p373' value='9|373' data-kw=''>Porte-bonheur</option></optgroup><optgroup label='Boutiques hors taxes'><option id ='o25p270' value='25|270' data-kw=''>Alcool</option><option id ='o25p306' value='25|306' data-kw=''>Autre boisson</option><option id ='o25p269' value='25|269' data-kw=''>Bonbons</option><option id ='o25p155' value='25|155' data-kw='"E",ASHTRAY,Cigarette,Ciggarette,e-cig,e-cigarette,Electronic,HOOKAH,Marlboro'>Cigarettes</option><option id ='o25p250' value='25|250' data-kw='bag,COSMETIC,Eye,eyelashes,facial,gloss,ITEMS,kit,lipstick,make,make-up,Makeup,make up,products,shadow,travel,up'>Cosmétique</option><option id ='o25p121' value='25|121' data-kw='Burberry,Perfume,perfumes'>Parfum</option><option id ='o25p385' value='25|385' data-kw=''>Plusieurs Articles</option></optgroup><optgroup label='Carte d’identité, passeport, permis de conduire, etc'><option id ='o5p346' value='5|346' data-kw=''>Autre</option><option id ='o5p319' value='5|319' data-kw='Police Badge, Badge, insignia'>Badge</option><option id ='o5p69' value='5|69' data-kw='Badges,bank'>Carnet de chèque</option><option id ='o5p248' value='5|248' data-kw='AAA,boarding,BUS,business,card,cards,club,Costco,DMV,Entry,flight,Global,Green,HEALTHCARD,I.D.,ID-Card,LICENSE,Member,Nevada,Office,OSHA,PASS,passes,Pharmacy,registration,Resident,RTC,season,SECURITY,social,SS,tickets,US,VOTER,WIC,Yacht'>Carte d’identité</option><option id ='o5p66' value='5|66' data-kw='-VISA,AMERICAN,Amex,ATM,bankcard,BOA,BofA,Capital,Capitol,Card,cards,CC,Chase,Citi,Citibank,citicard,Costco,credit,creditcard,Debit,Discover,EBT,Express,Fargo,Master,Mastercad,mastercard,MC,MileagePlus,One,Platinum,RBC,santander,Visa,Visacard,Wells'>Carte de crédit</option><option id ='o5p461' value='5|461' data-kw='Insurance,Benefit'>Carte de Prestations ou d'Assurance</option><option id ='o5p441' value='5|441' data-kw=''>Carte de récompenses</option><option id ='o5p395' value='5|395' data-kw=''>Carte de Sécurité Sociale</option><option id ='o5p527' value='5|527' data-kw=''>Carte de Vaccin</option><option id ='o5p320' value='5|320' data-kw=''>Carte d'employé</option><option id ='o5p460' value='5|460' data-kw=''>Carte d'Identité - Étudiant</option><option id ='o5p541' value='5|541' data-kw='Federal ID,ID,ID Card'>Carte d'identité - Fédérale</option><option id ='o5p305' value='5|305' data-kw=''>Carte global entry</option><option id ='o5p318' value='5|318' data-kw='military,army,navy,marines,airfore,air force,space force,spaceforce,coast guard,coastguard'>Carte militaire</option><option id ='o5p310' value='5|310' data-kw=''>Carte résident permanent</option><option id ='o5p304' value='5|304' data-kw=''>Certificat de naissance</option><option id ='o5p442' value='5|442' data-kw=''>Club Carte de membre</option><option id ='o5p298' value='5|298' data-kw=''>Passe de saison</option><option id ='o5p68' value='5|68' data-kw='American,CARD,credential,Entry,Global,Green,greencard,holder,Japanese,Mexico,Passbook,PASSORT,passport,passports,US,USA'>Passeport</option><option id ='o5p334' value='5|334' data-kw=''>Permis</option><option id ='o5p65' value='5|65' data-kw='-,Alaska,Arkansas,Australian,AZ,CA,California,CANADA,CO,Colorado,D.L.,D.L.:,D/L,DL,driver,drivers,Florida,I.D.,id,Identification,Identifications,IL,Illinois,Iowa,Kansas,lic,Licence,license,NC,Nevada,NVDL,NY,Oregon,PA,TEXAS,Vermont,Wisconsin'>Permis de conduire</option><option id ='o5p67' value='5|67' data-kw='billfold,BUSINESS,CARD,creditcard,HOLDER,tri-fold,trifold,wallet,Wallet:,wallets'>Portefeuille</option><option id ='o5p459' value='5|459' data-kw=''>Titulaire de la Carte d'Identité</option></optgroup><optgroup label='Carte de membre'><option id ='o26p287' value='26|287' data-kw=''>Carte de points</option><option id ='o26p286' value='26|286' data-kw=''>Carte flying blue</option><option id ='o26p285' value='26|285' data-kw=''>Passe de saison</option></optgroup><optgroup label='Cellulaire'><option id ='o21p184' value='21|184' data-kw=',-TracFone,andriodphone,Android,batterycharger,berry,Black,Blackberry,cards,cell,Cellphone,Cellphone-,Cellular,CRICKET,driod,Droid,flip-phone,flipphone,g3,HTC,Lg,mobile,Motorola,nextel,nokia,phone,phone.,Samsung,SCREEN,sim,smart,smart phone,smartphone,telephone,Tmobile,TOUCH,Tracfone,Verizon,Xperia,cell phone'>Android, Blackberry, Windows, Autre</option><option id ='o21p231' value='21|231' data-kw='4s,5,5s,6,I,i phone,I-phone,I-PHONE-,I-Touch,ihpone,iPHONE,iPhone-3,iPhone-5,iPhone2,iPhone3,Iphone4,iPhone5,iphone6,ipone,OTTERBOX,PHONE-,SMARTPHONE,cell phone,iphone7,iphone8,iphone9,iphone10,iphoneX,iphone11,iphone12,iphone13,iphone14'>iPhone</option></optgroup><optgroup label='Chapeau'><option id ='o3p51' value='3|51' data-kw='Headbands'>Bandeau</option><option id ='o3p45' value='3|45' data-kw='Beret'>Beret</option><option id ='o3p44' value='3|44' data-kw='beanie,beanie:,beannie,Beenie,face,warmer'>Bonnet</option><option id ='o3p388' value='3|388' data-kw=''>Casque</option><option id ='o3p389' value='3|389' data-kw=''>Casque de Moto</option><option id ='o3p255' value='3|255' data-kw='Helmet-,Helmet-Giro,Mask'>Casque de ski</option><option id ='o3p53' value='3|53' data-kw='Helmet,HELMET-'>Casque de vélo</option><option id ='o3p47' value='3|47' data-kw='cap,woolcap'>Casquette</option><option id ='o3p48' value='3|48' data-kw='ballcap,BONNET,bonnett,bowler,cowboyhat,crown,Fedora,gloves-hats,HAT:,hats,lid,Mens Dress Hat,sombrero,stetson,strawhat,sunhat,sunhat.,tam,ten-gallon,womens dress hat'>Chapeau</option><option id ='o3p390' value='3|390' data-kw=''>Couvre-chefs - Autre</option><option id ='o3p54' value='3|54' data-kw='bandana,face,Head Wrap,headwrap,neck,warmer'>Foulard</option><option id ='o3p475' value='3|475' data-kw='facemask,protective face covering,surgical mask,mask'>Masque Facial</option><option id ='o3p50' value='3|50' data-kw='visor'>Visière de soleil</option></optgroup><optgroup label='Chaussure'><option id ='o2p32' value='2|32' data-kw='boot,BOOT-,boots,cowboyboot,Hottronics,SALOMON,SNOWBOOTS,SNOWBOOTS-,Timberland,footwear'>Bottes</option><option id ='o2p33' value='2|33' data-kw='AirMax,deckshoe,High,hightops,nike,nikes,Reeboks,running shoes,sneaker,sneakers,tennis shoes,top,vans,footwear'>Chaussure de sport</option><option id ='o2p466' value='2|466' data-kw=''>Chaussures - Autre</option><option id ='o2p36' value='2|36' data-kw='ballet,booties,slipper,footwear'>Pantoufles</option><option id ='o2p34' value='2|34' data-kw='Birkenstock,Clogs,croc,Flip,Flip Flops,flip-flop,flipflop,flipflops,Flop,FLOPS,Huarache,on,Sandal,Sandals,Sandles,slip,Teva,footwear'>Sandales</option><option id ='o2p40' value='2|40' data-kw='-,Aldo,bag,Black,burkenstock,Clarks,crocs,flats,Flip,Flop,Footjoy,gymshoe,HEELS,HIGH,High Heels,Hottronics,hushpuppy,insole,Kswiss,loafer,LOAFERS,Magli,Magnanni,Mens Dress Shoes,Mizuno,mocassin,moccasin,nike,on,pumps,Reeboks,saucony,Shoe,shoe:,shoebox,shoehorn,Shoelace,Shoes,Shoes-,shoes:,shoetree,skecher,slip,sneakers,Sperry,swimshoes,Tenni,Vans,WEDGES,wing-tip,wingtips,workshoe'>Souliers</option><option id ='o2p331' value='2|331' data-kw=',footwear'>Talons hauts</option><option id ='o2p294' value='2|294' data-kw=',footwear'>Tongs</option></optgroup><optgroup label='Couverture, oreiller, serviette'><option id ='o16p371' value='16|371' data-kw=''>Coussins de Siège</option><option id ='o16p178' value='16|178' data-kw='afgan,Bedding,bedspread,blanket,blankie,comforter,covering,covers,duvet,layer,overlay,Quilt,satin,Sheet,sheets,silk,snuggie,SNUGGY,tassel'>Couverture</option><option id ='o16p349' value='16|349' data-kw=''>Draps</option><option id ='o16p179' value='16|179' data-kw='case,Cushion,Neck,NECKPILLOW,Pilllow,pillow,pillow case,Pillowcase,pillowcases,Rest,tempur-pedic,Tempurpedic'>Oreiller</option><option id ='o16p401' value='16|401' data-kw=''>Oreiller pour le cou</option><option id ='o16p372' value='16|372' data-kw=''>Oreillers de Dos</option><option id ='o16p180' value='16|180' data-kw='handtowel,towel'>Serviette</option><option id ='o16p348' value='16|348' data-kw=''>Taie d’oreiller</option></optgroup><optgroup label='Divertissement'><option id ='o19p208' value='19|208' data-kw='CARTOON,movie,MOVIES'>Bluray</option><option id ='o19p209' value='19|209' data-kw='Album,ALBUMS,CARTOON,CDs,DISK,MOVIES'>CD</option><option id ='o19p210' value='19|210' data-kw='CARTOON,DVD,DVDs,fantasia,MOVIES,Video,Vídeo,videos'>DVD</option></optgroup><optgroup label='Documents, livres, etc'><option id ='o4p61' value='4|61' data-kw='agenda,Binder,Daily,datebook,Folder,journal,journal.,ledger,organizer,Planner,portfolio,schedule,Zipper,daytimer,planner'>Agenda</option><option id ='o4p464' value='4|464' data-kw=''>Articles de Papeterie</option><option id ='o4p283' value='4|283' data-kw=''>Bible - Livres religieux</option><option id ='o4p518' value='4|518' data-kw=''>Cadre Photo</option><option id ='o4p58' value='4|58' data-kw='Binder,clipboard,folder,Homework,journal,ledger,Note,notebook.,Notepad,Notes,Pad,plastic,pocketbook,portfolio,scrapbook,scrapbooking,WITH,Zipper'>Cahier de note</option><option id ='o4p60' value='4|60' data-kw=''>Calendrier</option><option id ='o4p309' value='4|309' data-kw=''>Certificat</option><option id ='o4p64' value='4|64' data-kw='folder,folders,plastic'>Classeur</option><option id ='o4p361' value='4|361' data-kw=''>Classeur</option><option id ='o4p495' value='4|495' data-kw='letter,correspondence'>Courrier ou Lettre ou Correspondance</option><option id ='o4p62' value='4|62' data-kw='BIRTHDAY,CARD,envelope,envelopes,mailing,Manilla,portfolio,postcard,postcards,tube'>Enveloppe</option><option id ='o4p273' value='4|273' data-kw=''>Journal</option><option id ='o4p57' value='4|57' data-kw='affidavit,boarding,Certificate,document,Documentation,form,Insurance,ledger,letters,mail,Manila,papers,paperwork,passes,Pay,portfolio,records,report,resumes,Return,stub,Tax,Ticket'>Journal d’affaires</option><option id ='o4p240' value='4|240' data-kw='Artwork,carved,childrens,decorated,designs,frame,hand,HIGHLIGHTERS,painting,paintings,picture,plaque,plate,poster,POSTERS,sketch,sketches,stickers,wall'>Les Art</option><option id ='o4p55' value='4|55' data-kw='-Novel,ALMANAC,Atlas,autograph,autographed,Bible,Binder,Book,Book-,Book:,booklet,bookmark,books,brochure,brochures,catalog,catalogs,checkbook,childrens,COMIC,cookbook,diary,DICTIONARY,guidebook,Hustler,journal,journal.,ledger,library,literature,Magazine,magazines,Maxim,notebook,notebooks,notepads,Novel,Novel-,Novel:,pamphlets,paperback,paperbacks,Playbook,portfolio,Recipes,repair,Road,sportsbook,stickers,Textbook,workbooks,yearbook'>Livre</option><option id ='o4p68' value='4|68' data-kw='American,CARD,credential,Entry,Global,Green,greencard,holder,Japanese,Mexico,Passbook,PASSORT,passport,passports,US,USA'>Passeport</option><option id ='o4p63' value='4|63' data-kw='Framed,photograph,photos,photos.,picture,plaque,Portrait,reward,X-ray'>Photo</option><option id ='o4p236' value='4|236' data-kw='Card,folder,Holder-,leathercase,plastic'>Portfolio</option><option id ='o4p263' value='4|263' data-kw='Atlas,Road'>Revue</option><option id ='o4p281' value='4|281' data-kw=''>Rouleau</option></optgroup><optgroup label='Électroniques'><option id ='o17p190' value='17|190' data-kw='Adapter,ADAPTERS,auto,BATTERY-,charge,charging,chromecast,converter,coolpad,cord,cord:,device,digital,DOCKING,drives,electronic,Hotspot,hub,jack,plug,portable,power,STATION,transmitter,tuner,USB,Wi-Fi,wireless'>Adaptateur</option><option id ='o17p271' value='17|271' data-kw=''>Appareil d’exercice</option><option id ='o17p289' value='17|289' data-kw=''>Bâton selfie</option><option id ='o17p325' value='17|325' data-kw='battery'>Batterie</option><option id ='o17p191' value='17|191' data-kw='adaptors,Charger PowerCord,connector,cord,HDMI,Powerstrip,USB cable'>Câble</option><option id ='o17p185' value='17|185' data-kw='calculator'>Calculatrice</option><option id ='o17p187' value='17|187' data-kw='camera,cameras,Cannon,Canon,fujifilm,GoPro,lens,Lumix,pixel,Polaroid,Powershot,TRI-POD,Tripod,video,webcam'>Camera</option><option id ='o17p186' value='17|186' data-kw='Audio,Camcorder,camera,Everio,recorder,video,VIDEOCAM,videocamera'>Caméscope</option><option id ='o17p422' value='17|422' data-kw=''>Cas Airpods</option><option id ='o17p204' value='17|204' data-kw='Blue,bluetooth,motorola,T-MOBILE,tooth,Tooth:,TracPhone'>Casque sans fil</option><option id ='o17p193' value='17|193' data-kw='BEATS,BOSE,earbud,earbuds,earphone,earphones,earpiece,head,headphone,headphones,HEADPHONES-,headset,HEADSETS,Plantronics,set'>Casque stéréo</option><option id ='o17p181' value='17|181' data-kw=',acharger,adaptar,batteries,battery,Cable,Car,charge,charger,Charger-,Charger-Belkin,Charger-Bose,CHARGERS,CHARGING,cord,device,dock,electronic,for,iPhone,KIT,laptop,MagSafe,Phone,plug,POWER,power cord,powercord,PROTECTOR,Recharger,STRIP,SURGE'>Chargeur</option><option id ='o17p328' value='17|328' data-kw=''>Chargeur de batterie</option><option id ='o17p202' value='17|202' data-kw='coolpad,Keyboard,Modem,monitor,Netgear,pc,ROUTER,samsumg,Scanner'>Clavier</option><option id ='o17p252' value='17|252' data-kw='card,chromecast,drive,drives,SD,thumb,USB,usb drive'>Clé USB</option><option id ='o17p352' value='17|352' data-kw='apple pencil'>Crayon à tablette</option><option id ='o17p533' value='17|533' data-kw='Airtag,Air Tag,Apple,Apple Air Tag,Tracker,Tracking,Device,Tracking Device,GPS,GPS Tracker,SmartTag,Smart Tag,Tile,Samsung SmartTag'>Dispositifs de localisation GPS</option><option id ='o17p251' value='17|251' data-kw='drive,drive.,external,hard,Seagate'>Disque dur</option><option id ='o17p396' value='17|396' data-kw=''>Drone</option><option id ='o17p194' value='17|194' data-kw='Bose,buds,ear,earbuds,EARBUDS-,EARPHONES,skullcandy,Walkman'>Écouteur</option><option id ='o17p356' value='17|356' data-kw=''>Écran d’ordinateur</option><option id ='o17p386' value='17|386' data-kw=''>Électronique - Autre</option><option id ='o17p258' value='17|258' data-kw='go-pro,hero2'>GoPro</option><option id ='o17p198' value='17|198' data-kw='Garman,Garmen,Garmin,GPS,navigation,navigator'>GPS</option><option id ='o17p199' value='17|199' data-kw='Bose,Jambox,Radio,sound,SoundLink,speaker,system,Bluetooth Speaker'>Haut-parleurs</option><option id ='o17p188' value='17|188' data-kw=''>Imprimante</option><option id ='o17p218' value='17|218' data-kw='2,Air,Apple,black,box,i,i-pad,iPad,ipad-,ipad2,itouch,Mac,mini,mini-iPad,otter,pad,SCREEN,TOUCH,White'>iPad</option><option id ='o17p189' value='17|189' data-kw='apple,I-Pod,iPod,itouch,Nano,POD,Shuffle'>iPod</option><option id ='o17p196' value='17|196' data-kw='auto,controller,digital,keyboard,tuner'>Jeu portable</option><option id ='o17p211' value='17|211' data-kw='Amazon,E,E-Book,E-reader,E-Reader,ereader,eBook,fire,Fire.,HD,Kindle,Kindle:,Kindlefire,Paperwhite,Reader,Voyage'>Kindle</option><option id ='o17p414' value='17|414' data-kw='ereader,e-reader,ebook,e-book'>Kobo</option><option id ='o17p192' value='17|192' data-kw='Blu-Ray,chromecast,Music,Player'>Lecteur DVD</option><option id ='o17p200' value='17|200' data-kw='3,mp,MP-3,MP3,Player,Roku,Apple TV,Amazon Fire stick,Chrome Cast,chromecast,firestick'>Lecteur MP3</option><option id ='o17p279' value='17|279' data-kw=''>Lunette Google</option><option id ='o17p247' value='17|247' data-kw='MacBook,Mackbook,Mini,pro'>Macbook</option><option id ='o17p499' value='17|499' data-kw='Sound Machine,White Noise Machine'>Machine à Bruit</option><option id ='o17p357' value='17|357' data-kw='iwatch,samsung,fitbit,fit bit,garmin,google,pixel,smartwatch,apple,watch,apple watch,google pixel'>Montre électronique</option><option id ='o17p376' value='17|376' data-kw=''>Nintendo</option><option id ='o17p268' value='17|268' data-kw=''>Nook</option><option id ='o17p383' value='17|383' data-kw=''>Objectif de Caméra ou Accessoires</option><option id ='o17p277' value='17|277' data-kw='mouse'>Oculus</option><option id ='o17p183' value='17|183' data-kw='acer,Airbook,AirCard,Apple,computer,dell,Keyboard,lap,lap top,laptop,laptop-,laptop-lenovo,leap,Lenovo,MacBook,MacPro,Netbook,note book,pad,pro,Tablet/laptop,ThinkPad'>Ordinateur portable</option><option id ='o17p500' value='17|500' data-kw='Opener'>Ouvre-Porte de Garage</option><option id ='o17p374' value='17|374' data-kw=''>Playstation</option><option id ='o17p205' value='17|205' data-kw='display,projector'>Projecteur</option><option id ='o17p278' value='17|278' data-kw=''>Sourie</option><option id ='o17p182' value='17|182' data-kw='-Tablet,9,ASUS,E,eReader,e-reader,GALAXY,kindle,knook,Kobo,nexsus,NEXUS,Nook,NOOK-,note,PanDigital,Pro,Reader,samsung,SCREEN,Surface,TABLET,Tablet/,tablets,TOUCH,Verizon'>Tablette</option><option id ='o17p377' value='17|377' data-kw=''>Talkies-walkies</option><option id ='o17p329' value='17|329' data-kw=''>Télécommande</option><option id ='o17p326' value='17|326' data-kw=''>Transpondeur</option><option id ='o17p197' value='17|197' data-kw='Console,Desktop,ELECTRONIC,FROG,Galaxy,gameboy,GEAR,hardrive,imac,LAPTAP,leap,LeapPad3,Macbook,Macintosh,Nintendo,pad,PLAYER,Playstation,PSP,PSVita,Sony,Thinkpad,Tower,X-Box,XBox'>Wifi</option><option id ='o17p375' value='17|375' data-kw=''>Xbox</option></optgroup><optgroup label='Équipement sportif'><option id ='o8p303' value='8|303' data-kw=''> Canne à pêche</option><option id ='o8p95' value='8|95' data-kw=''>Balle de golf</option><option id ='o8p292' value='8|292' data-kw=''>Balle de tennis</option><option id ='o8p399' value='8|399' data-kw=''>Ballon de Soccer</option><option id ='o8p91' value='8|91' data-kw='archery,Baseball,baseballs,basketballs,Bat,franklin,glove,mitt,snowboard,Softball,VOLLEYBALL'>Baseball</option><option id ='o8p364' value='8|364' data-kw=''>Basketball</option><option id ='o8p92' value='8|92' data-kw='Callaway'>Bâtons de golf</option><option id ='o8p412' value='8|412' data-kw='hiking'>Bâtons de Randonnée</option><option id ='o8p254' value='8|254' data-kw='pole,poles'>Bâtons de ski</option><option id ='o8p478' value='8|478' data-kw='Boogie Board'>Body Board</option><option id ='o8p257' value='8|257' data-kw='GOGGLES-'>Botte de planche à neige</option><option id ='o8p290' value='8|290' data-kw=''>Botte de ski</option><option id ='o8p89' value='8|89' data-kw=''>Boule de bowling</option><option id ='o8p544' value='8|544' data-kw='pool balls'>Boules de billard</option><option id ='o8p342' value='8|342' data-kw=''>Boussole</option><option id ='o8p341' value='8|341' data-kw=''>Canif</option><option id ='o8p255' value='8|255' data-kw='Helmet-,Helmet-Giro,Mask'>Casque de ski</option><option id ='o8p53' value='8|53' data-kw='Helmet,HELMET-'>Casque de vélo</option><option id ='o8p420' value='8|420' data-kw=''>Chaise de camping</option><option id ='o8p370' value='8|370' data-kw=''>Chercheur de gamme</option><option id ='o8p519' value='8|519' data-kw='weight reducer'>Corset de Taille</option><option id ='o8p378' value='8|378' data-kw=''>Couteau</option><option id ='o8p369' value='8|369' data-kw=''>Couverture du club de golf</option><option id ='o8p543' value='8|543' data-kw='pool chalk,chalk'>Craie de billard</option><option id ='o8p549' value='8|549' data-kw='Cleats,Chuteiras,Kabelschellen,????,??,??,Crampons,Botines con tacos,???'>Crampons</option><option id ='o8p552' value='8|552' data-kw='raft,float,swimming'>Dispositif gonflable/de flottaison</option><option id ='o8p413' value='8|413' data-kw='Sleeping Bag,SleepingBag'>Équipement de Camping</option><option id ='o8p394' value='8|394' data-kw=''>Équipement de hockey</option><option id ='o8p98' value='8|98' data-kw='life,surfboard,vest'>Équipement de natation</option><option id ='o8p97' value='8|97' data-kw='SNORKEL,SNORKELS'>Équipement de plongé</option><option id ='o8p392' value='8|392' data-kw=''>Équipement de Plongée</option><option id ='o8p264' value='8|264' data-kw='BINDINGS,goggles-black,salomin,SALOMON'>Équipement de ski</option><option id ='o8p90' value='8|90' data-kw='Bucknell'>Football</option><option id ='o8p96' value='8|96' data-kw=''>Frisbee</option><option id ='o8p540' value='8|540' data-kw='Glove,Mitt,Baseball Glove,Softball Glove'>Gant de baseball</option><option id ='o8p368' value='8|368' data-kw=''>Gant de golf</option><option id ='o8p520' value='8|520' data-kw='hover board'>Hoverboard</option><option id ='o8p242' value='8|242' data-kw='Binoculars,Bowl,BOWLS'>Jumelles</option><option id ='o8p291' value='8|291' data-kw=''>Lunette de ski</option><option id ='o8p147' value='8|147' data-kw='goggle,goggles,goggles-black'>Lunettes de piscine</option><option id ='o8p393' value='8|393' data-kw=''>Matériel de Photographie</option><option id ='o8p551' value='8|551' data-kw='Oar,Swimming'>Pagaie</option><option id ='o8p256' value='8|256' data-kw='board,board.,snow,snowboard-'>Planche à neige</option><option id ='o8p477' value='8|477' data-kw=''>Planche à Pagaie</option><option id ='o8p545' value='8|545' data-kw=''>Planche de jeu de poches</option><option id ='o8p476' value='8|476' data-kw=''>Planche de Surf</option><option id ='o8p353' value='8|353' data-kw=''>Plante à roulette</option><option id ='o8p542' value='8|542' data-kw='pool cue,pool stick,pool,billiards stick,billiards cue'>Queue de billard</option><option id ='o8p94' value='8|94' data-kw='racket,racquets,raquet,badmitton,Pickleball,squash,ping pong,table tennis,Racquetball'>Raquette de tennis</option><option id ='o8p550' value='8|550' data-kw=''>Sac de couchage</option><option id ='o8p93' value='8|93' data-kw='CLUB,HOLDER'>Sac de golf</option><option id ='o8p546' value='8|546' data-kw=''>Sacs de jeu de poches</option><option id ='o8p458' value='8|458' data-kw=''>Scooter</option><option id ='o8p253' value='8|253' data-kw='Mantra,skis-,Skis:,Volkl'>Ski</option><option id ='o8p400' value='8|400' data-kw=''>Tapis de Yoga</option><option id ='o8p411' value='8|411' data-kw=''>Tentes</option><option id ='o8p241' value='8|241' data-kw='bicycle,BICYCLES,Bike,BMX'>Vélo</option><option id ='o8p416' value='8|416' data-kw=''>Volley-ball</option></optgroup><optgroup label='Étuis et contenants'><option id ='o12p233' value='12|233' data-kw='BASKETS,cannister,case,container,Glasscase,OTTERBOX,sack,white'>Boite</option><option id ='o12p235' value='12|235' data-kw='Toolbox,Tools'>Boite à outils</option><option id ='o12p494' value='12|494' data-kw='dispenser,pill container'>Boitier à Pilules</option><option id ='o12p232' value='12|232' data-kw='Aluminium,bag,carrying,case,case.,Container,Ornamental,plastic,rifle,rubber,shoe,white'>Conteneur de stockage</option><option id ='o12p136' value='12|136' data-kw='case,otterbox,softcase,up,zip,zipper,zippered'>Étui pour appareil photo</option><option id ='o12p415' value='12|415' data-kw='earbud, earbud case'>Étui pour Casque</option><option id ='o12p327' value='12|327' data-kw='phone case,cell phone case,cell phone holder,holder'>Étui pour cellulaire</option><option id ='o12p284' value='12|284' data-kw=''>Étui pour lunette</option><option id ='o12p512' value='12|512' data-kw='FedEx,USPS,UPS,DHL,AMZ'>Expédition du Paquet - FedEx, USPS, UPS, etc.</option><option id ='o12p139' value='12|139' data-kw='dispenser,icechest,Icepacks,IGLOO'>Glacière</option><option id ='o12p457' value='12|457' data-kw=''>Mallette</option><option id ='o12p365' value='12|365' data-kw=''>Panier repas</option><option id ='o12p272' value='12|272' data-kw=''>Pochette</option><option id ='o12p528' value='12|528' data-kw=''>Porteur Animal</option><option id ='o12p274' value='12|274' data-kw=''>Récipient à tube</option><option id ='o12p142' value='12|142' data-kw='BAGS,CONVENTION'>Sac</option><option id ='o12p133' value='12|133' data-kw=''>Sac à couche</option><option id ='o12p137' value='12|137' data-kw=''>Sac à linge</option><option id ='o12p141' value='12|141' data-kw='bag,BAG:,costco,Guest,Package,parcel,plastic,SHOPPING'>Sac cadeau</option><option id ='o12p308' value='12|308' data-kw=''>Sac de courses</option><option id ='o12p307' value='12|307' data-kw=''>Sac de plastique</option><option id ='o12p529' value='12|529' data-kw=''>Sac en papier</option><option id ='o12p280' value='12|280' data-kw=''>Urne</option><option id ='o12p138' value='12|138' data-kw='BLACK,carrying,CASE,RUBBER,white,ZIP,zippered'>Verre de contact</option></optgroup><optgroup label='Gobelet, tasses, bouteilles'><option id ='o7p87' value='7|87' data-kw='bottles,nuk,Pacifier'>Biberon</option><option id ='o7p510' value='7|510' data-kw='koozie, Kozy, kozie, Cozy, Koozy, Coozy, Coozie'>Boire du Koozie</option><option id ='o7p267' value='7|267' data-kw=''>Bol</option><option id ='o7p366' value='7|366' data-kw=''>Bouteille d'eau</option><option id ='o7p88' value='7|88' data-kw='Courvoisier,flask,jaegermeister'>Flasque</option><option id ='o7p85' value='7|85' data-kw='beer,ceramic,coffee,cup,cups,engraved,mug,saucer'>Gobelet</option><option id ='o7p490' value='7|490' data-kw='martini shaker'>Gobelet ou Mixeur</option><option id ='o7p548' value='7|548' data-kw=''>Hydroflask</option><option id ='o7p86' value='7|86' data-kw='sippy'>Tasse à bec</option><option id ='o7p293' value='7|293' data-kw=''>Tasse à café</option><option id ='o7p83' value='7|83' data-kw='bottle,COFFEE,cruche,cylinder,decanter,jar,jug,Kanteen,kettle,mug,MUGS,pint,starbucks,thermos,TUMBLER,waterbottle'>Thermos</option><option id ='o7p491' value='7|491' data-kw=''>Thermos</option><option id ='o7p84' value='7|84' data-kw='beer,glass,shot,wineglasses'>Verre</option><option id ='o7p239' value='7|239' data-kw=''>Verre à shooter</option></optgroup><optgroup label='Instrument de musique'><option id ='o22p225' value='22|225' data-kw='TV'>Accordéon</option><option id ='o22p380' value='22|380' data-kw=''>Arc</option><option id ='o22p221' value='22|221' data-kw=''>Baguette</option><option id ='o22p222' value='22|222' data-kw='anti-snorring,Dental,Medicalert'>Banjo</option><option id ='o22p226' value='22|226' data-kw=''>Clarinette</option><option id ='o22p223' value='22|223' data-kw='tuperware'>Flute</option><option id ='o22p219' value='22|219' data-kw=''>Guitare</option><option id ='o22p227' value='22|227' data-kw='purse'>Harmonica</option><option id ='o22p465' value='22|465' data-kw=''>Instruments de Musique ou Accessoires - Autre</option><option id ='o22p445' value='22|445' data-kw='Electronic,Electric,Digital,Synthesizer,Synth'>Piano / Clavier</option><option id ='o22p230' value='22|230' data-kw=''>Saxophone</option><option id ='o22p228' value='22|228' data-kw='mat'>Sifflet</option><option id ='o22p220' value='22|220' data-kw='paper'>Tambour</option><option id ='o22p224' value='22|224' data-kw=''>Trompette</option><option id ='o22p229' value='22|229' data-kw='adaptor,Toshiba'>Ukulélé</option><option id ='o22p379' value='22|379' data-kw=''>Violon</option></optgroup><optgroup label='Jouets pour enfants et animaux'><option id ='o20p216' value='20|216' data-kw='Giraffes-,hamster,horseshoe'>Chat</option><option id ='o20p215' value='20|215' data-kw='BOYDS,cage,Chihuahua,Dalmatian,hound,labrador,puppy'>Chien</option><option id ='o20p213' value='20|213' data-kw='collar'>Collier antiparasite</option><option id ='o20p212' value='20|212' data-kw='ALLIGATOR,animal,ANIMALS,armatron,BABY,baby.,ball,Barbie,Bear,boat,boomerang,BOYDS,bunny,Cow,Coyote,Crayola,crayons,crocodile,crow,dice,Dinosaur,DISNEY,doll,Dolley,dolls,Dolphin,DONKEY,Ducky,dummie,elephant,Elf,etcha-sketch,etcha-sketch,,flamingo,Fox,Giraffe,Gorilla,Horse,Ironman,Jetpack,Kangaroo,Lamb,LeapPad,leapster,lego,Legos,Leprechaun,lion,Lobster,Madden,magnets,mikey,Panda,penguin,Pig,POOH,Popeye,puppet,rabbit,rattle,reindeer,Rubber,Santa,scoobie,Sheep,Skateboard,Snake,Snoopy,snowglobe,snowman,Spiderman,Stuffed,taupe,Teddy,teddybear,Tiger,Tigger,toy,toys,train,transformer,Truck,turtle,tweetybird,unicorn,WOODEN,yahtzee'>Jeux</option><option id ='o20p214' value='20|214' data-kw='Backgammon,board,checkers,Dart,Darts,Etch-a-sketch,games,puzzle,puzzles'>Jouet</option><option id ='o20p384' value='20|384' data-kw=''>Laisse pour Animaux de Compagnie</option><option id ='o20p297' value='20|297' data-kw=''>Peluche</option></optgroup><optgroup label='Lunettes'><option id ='o13p242' value='13|242' data-kw='Binoculars,Bowl,BOWLS'>Jumelle</option><option id ='o13p145' value='13|145' data-kw='bi-fokles,BIFOCALS,Eye,EYEGLASS,eyeglasse,FRAMES,Glasses,glasses:,PLASTIC,reading,Spectacles'>Lunette de lecture</option><option id ='o13p147' value='13|147' data-kw='goggle,goggles,goggles-black'>Lunette de piscine</option><option id ='o13p291' value='13|291' data-kw=''>Lunette de ski</option><option id ='o13p143' value='13|143' data-kw='Ban,BANS,BIFOCALS,Fitover,FRAMES,Oakley,Oklay,PLASTIC,Polarised,Polarized,RAY,Ray-Ban,rayban,Raybands,shades,sun glasses,sunglass,Sunglasses,Sunglasses-,SUNGLASSES:,Wayfarers,aviators'>Lunette de soleil</option><option id ='o13p146' value='13|146' data-kw='bi-focal,bifocal,BIFOCALS,Eye,Eyeglass,Eyeglass:,eyeglasses,EYEGLASSES:,FRAMES,galss,Glasses,Glasses;,Lenscrafter,optics,PLASTIC,Prescription,tri-focal,Trifocal,trifocals'>Prescription de lunette</option><option id ='o13p144' value='13|144' data-kw='Acuvue,contacts,lense'>Verre de contact</option></optgroup><optgroup label='Médicaments et équipement médical'><option id ='o6p79' value='6|79' data-kw='aid,hearing'>Appareil auditif</option><option id ='o6p71' value='6|71' data-kw='Aerator,CPAP,nebulizer,orthopak,Respirator,Respironic,vaporisor'>Appareil res Inhalateur piratoire</option><option id ='o6p70' value='6|70' data-kw='ankle,athletic,CRUTCHES,Futuro,Neckbrace,orthodic,orthotic'>Attelle</option><option id ='o6p336' value='6|336' data-kw=''>Béquille</option><option id ='o6p494' value='6|494' data-kw='dispenser,pill container'>Boitier à Pilules</option><option id ='o6p74' value='6|74' data-kw='cane,CANE-,Stick,Walking'>Canne</option><option id ='o6p82' value='6|82' data-kw='braces,Invisalign,Mouthguard,mouthpiece,Nightguard,orthodontics,retainer,retainer.,retainers'>Dental Retainer</option><option id ='o6p78' value='6|78' data-kw='Dencher,DENTURE,TEETH'>Dentier</option><option id ='o6p474' value='6|474' data-kw=''>Désinfectant pour les Mains</option><option id ='o6p265' value='6|265' data-kw='Bit,carrier,catheters,CPAC,crutch,crutches,defibrillator,diabetic,dialysis,equipment,Fit,foot,HEATING,Humidifirer,machine,MASSAGER,Mouthguard,PAD,pill,TENS,tester,Vaporizor,blood pressure meter'>Équipement médicaux</option><option id ='o6p505' value='6|505' data-kw=''>Fauteuil Roulant ou Accessoires</option><option id ='o6p77' value='6|77' data-kw='dialysis,equipment'>Glucomètre</option><option id ='o6p80' value='6|80' data-kw='advair,Inhaler'>Inhalateur</option><option id ='o6p81' value='6|81' data-kw='insulin'>Insuline</option><option id ='o6p75' value='6|75' data-kw='wheelchair'>Marchette</option><option id ='o6p539' value='6|539' data-kw='Aspirin,Ibuprofen,Advil,Tylenol,Cough Medicine,Cough Drops'>Médicaments en vente libre</option><option id ='o6p72' value='6|72' data-kw='Aciphex,ALLERGY,antacid,Cephalexin,Clobetasol,Dexcom,diazepam,dope,drops,drug,epi-pen,EpiPen,fungicide,GLUCOSE,holder,ibuprofen,Medication,Medications,medicine,Medicines,motrin,Naproxen,Nyquil,Ointment,pill,pills,Pravastatin,PRECRIPTION,Presciption,Prescribed,Prescription,prescriptions,viagra,Marijuana'>Prescriptions médicales</option><option id ='o6p507' value='6|507' data-kw=''>Produits CBD</option><option id ='o6p506' value='6|506' data-kw=''>Thermomètre</option><option id ='o6p311' value='6|311' data-kw=''>Tire-lait</option><option id ='o6p76' value='6|76' data-kw='dialysis,equipment,syringe,Diabetes Kit'>Trousse pour diabétique</option><option id ='o6p73' value='6|73' data-kw='Airborne,vitamin'>Vitamine</option></optgroup><optgroup label='Non-retournables.'><option id ='o29p404' value='29|404' data-kw=''>Non retournable</option></optgroup><optgroup label='Nourriture et boisson'><option id ='o14p270' value='14|270' data-kw=''>Alcool</option><option id ='o14p306' value='14|306' data-kw=''>Autres boissons</option><option id ='o14p269' value='14|269' data-kw=''>Bonbon</option><option id ='o14p148' value='14|148' data-kw='Alcohol,Beers,Bread,Candy,Champagne,chocolates,COFFEE,Cookies,CRACKER,cupcake,drink,Gerber,gum,Jerkey,jerky,lollipop,Lollipops,mix,Poultry,Salmon,sandwich,Sauce,sweets,tangerine,tea,tomatoes,yogurt'>Nourriture</option><option id ='o14p417' value='14|417' data-kw=''>Vin</option></optgroup><optgroup label='Produit de toilette'><option id ='o10p118' value='10|118' data-kw='airbrush,brush,brushes,clip,hair,hairbrush,Loufa,scrubber,STRAIGHTENER'>Brosse</option><option id ='o10p112' value='10|112' data-kw='crest,Electric,Sensodyne,toothbrush,toothbrushes,toothbush,toothpaste'>Brosse à dent</option><option id ='o10p113' value='10|113' data-kw='Electric,flexcare,Sonicare,toothbrush,toothbush,Waterpik'>Brosse à dent électrique</option><option id ='o10p122' value='10|122' data-kw=';shaving,bag,facecream,Foam,Shave,shaving'>Ccrème à rasé</option><option id ='o10p509' value='10|509' data-kw='pair of scissors,clipper,shears'>Ciseaux</option><option id ='o10p443' value='10|443' data-kw=''>Conditionneur</option><option id ='o10p250' value='10|250' data-kw='bag,COSMETIC,Eye,eyelashes,facial,gloss,ITEMS,kit,lipstick,make,make-up,Makeup,make up,products,shadow,travel,up'>Cosmétiques</option><option id ='o10p387' value='10|387' data-kw=''>Couches</option><option id ='o10p343' value='10|343' data-kw='Sunscreen,sun screen'>Crème solaire</option><option id ='o10p535' value='10|535' data-kw=''>Dentifrice</option><option id ='o10p127' value='10|127' data-kw='DEODERANT,deodorant,deodorant.'>Déodorant</option><option id ='o10p474' value='10|474' data-kw=''>Désinfectant pour les Mains</option><option id ='o10p120' value='10|120' data-kw='cologne,fragrance'>Eau de cologne</option><option id ='o10p123' value='10|123' data-kw=';shaving,bag,cosmetic,kit,Manicure,nail,Set,shave,TWEEZERS'>Eensemble de manucure</option><option id ='o10p359' value='10|359' data-kw=''>Extension des cheveux</option><option id ='o10p276' value='10|276' data-kw='Curling'>Fer à frisé</option><option id ='o10p521' value='10|521' data-kw='hair iron,iron'>Fer à Lisser</option><option id ='o10p167' value='10|167' data-kw='Flat,FLATIRON,iron,Iron-'>Fer plat</option><option id ='o10p344' value='10|344' data-kw=''>Fixatif à cheveux</option><option id ='o10p323' value='10|323' data-kw=''>Gel</option><option id ='o10p128' value='10|128' data-kw=''>Gouttes ophtalmologiques</option><option id ='o10p355' value='10|355' data-kw=''>Llingette</option><option id ='o10p124' value='10|124' data-kw='balm,bath,body,cetaphil,cover-up,cream,Ekdahl,face,gel,hair,JELL,lotion,Lotions,lubriderm,moisturiser,NEUTROGENA,oil,Ointment,paste,Proactiv,PROACTIVE,sanitizer,Scrub,Sunblock,sunscreen,vaseline,wash'>Lotion</option><option id ='o10p125' value='10|125' data-kw='compact,miror,Mirror,vanity mirror,travel mirror'>Miroir</option><option id ='o10p534' value='10|534' data-kw='Mirror,Hand mirror'>Miroir</option><option id ='o10p354' value='10|354' data-kw=''>Miroir à maquillage</option><option id ='o10p121' value='10|121' data-kw='Burberry,Perfume,perfumes'>Parfum</option><option id ='o10p117' value='10|117' data-kw='barettes,clip,comb,hair,hairclip,hairpin,scrunchy'>Peigne</option><option id ='o10p150' value='10|150' data-kw='Wig,wigs,Toupee,toupees'>Perruque</option><option id ='o10p243' value='10|243' data-kw='AID,bag,bag.,bathroom,body,Cleanser,clipper,deodorant,first,gloss,grooming,hair,items,kit,lip,Nailpolish,nasal,Remover,Scrub,scrubber,SOLUTION,spray,STRAIGHTENER,toiletries,toiletry,wash'>Produits de toilettes</option><option id ='o10p115' value='10|115' data-kw='electric,epilator,gillette,proglide,razor,scissor,sissors'>Rasoir</option><option id ='o10p114' value='10|114' data-kw='and,beard,ELECTRIC,hair,HAIRCLIPPERS,Norelco,razor,RAZORS,shaver'>Rasoir électrique</option><option id ='o10p345' value='10|345' data-kw=''>Sac de toilette</option><option id ='o10p324' value='10|324' data-kw=''>Savon pour le corps</option><option id ='o10p119' value='10|119' data-kw='blowdryer,brush,CONAIR,CURLER,curlers,dry,Dryer,ELECTRIC,Flat,hair,haircurler,iron,IRONS,rollers,round,SPIRAL,STRAIGHTENER'>Séchoir</option><option id ='o10p116' value='10|116' data-kw='bodywash,conditioner,facewash,garnier,hair,HAIRSPRAY,paste,Pureology,Scrub,Shampoo,SHAMPOOS,soap,Spray,treatment'>Shampoing</option><option id ='o10p126' value='10|126' data-kw='Contact,Solution'>Solution pour lentilles de contact</option><option id ='o10p522' value='10|522' data-kw='polish'>Vernis à Ongles</option></optgroup><optgroup label='Souvenirs'><option id ='o28p409' value='28|409' data-kw=''>Aimant</option><option id ='o28p444' value='28|444' data-kw=''>Article du Congrès</option><option id ='o28p405' value='28|405' data-kw=''>Baguette</option><option id ='o28p508' value='28|508' data-kw='christmas tree,christmas lights,holiday,Ornament'>Décorations ou Ornement</option><option id ='o28p468' value='28|468' data-kw=''>Drapeau</option><option id ='o28p381' value='28|381' data-kw=''>Porte-clés</option><option id ='o28p516' value='28|516' data-kw='Trophy,Plaque,Medal'>Prix ou Trophée</option><option id ='o28p406' value='28|406' data-kw=''>Robe</option><option id ='o28p410' value='28|410' data-kw='License Plate'>Souvenir - Autre</option><option id ='o28p382' value='28|382' data-kw=''>T-shirt</option></optgroup><optgroup label='Vêtement'><option id ='o1p358' value='1|358' data-kw=''>Articles assortis</option><option id ='o1p245' value='1|245' data-kw='Activewear,Apparel,APRON,Armband,attire,bathing,Burberry,clothes,clothing,cloths,coat,coat.,costume,COSTUMES,face,garment,Garments,gore-tex,gown,jock,JUMPER,jumpsuite,LADIES,laundry,rain,romper,sarong,scrubs,straps,suits,swim,Thinsulate,towel,tutu,Uniform,uniforms,warmer,wear,wedding'>Autre</option><option id ='o1p511' value='1|511' data-kw=''>Barboteuse</option><option id ='o1p18' value='1|18' data-kw='bootie,LEG,sock,WARMER'>Bas</option><option id ='o1p302' value='1|302' data-kw=''>Cache-cou</option><option id ='o1p301' value='1|301' data-kw=''>Cagoule</option><option id ='o1p3' value='1|3' data-kw='belt,belts,buckle,concho,Cummerbund,suspenders'>Ceinture</option><option id ='o1p363' value='1|363' data-kw=''>Châle</option><option id ='o1p1' value='1|1' data-kw='Blouse,BLOUSES,button,button-down,Buttondown,camisol,down,downshirt,dress,Flannel,halterTOP,henley,jersey,long-sleeve,long-sleeved,long-sleve,longsleeve,over,pendleton,plaid,polo,pull,shirt,shirts,Sweatshirt,Sweatshirt-,T-SHIRT,T-shirt:,T-Shirts,T/SHIRT,TANK,tank-top,Tanktop,tee,Teeshirt,thermal,TOP,top-workout,TOPS,Tshirt,TSHIRTS,tubetop,Underarmour,undershirt,white'>Chandail</option><option id ='o1p8' value='1|8' data-kw='jumpsuit,outfit,outfits,pinstripe,SUIT,Suits,tux,tuxedo,warmups'>Complet</option><option id ='o1p492' value='1|492' data-kw=''>Costume ou Accessoires de Costume</option><option id ='o1p17' value='1|17' data-kw='bowtie,necktie,tie,ties'>Cravate</option><option id ='o1p2' value='1|2' data-kw='Blue,bluejean,Bluejeans,bottoms,capris,corduroy,cremieux,demin,DKNY,DOCKERS,dress,jean,Jeans,jeans-,jegging,Jeggings,Kahkis,Khacki,khakis,legging,LEGGINGS,levis,PANTALON,pants,pants-,slacks,snowpants,spandex,Trouser,trousers,workout,workpants'>Culotte</option><option id ='o1p10' value='1|10' data-kw='boardshort,Boardshorts,short,shorts'>Culotte courte</option><option id ='o1p330' value='1|330' data-kw=''>Écharpe</option><option id ='o1p12' value='1|12' data-kw='scarf,Scarf-,SCARF:,scarve,scarves,Scraf,SHAWL,skarf'>Foulard</option><option id ='o1p25' value='1|25' data-kw='cotton,Glove,glove.,Hand,Leather,Left,mitten,mittens,mitts,snowboarding,Work'>Gants</option><option id ='o1p397' value='1|397' data-kw=''>Jeans</option><option id ='o1p6' value='1|6' data-kw='Ballroom,Dress,Dresses,evening,Kurti,mini,mini-dress,Mini-skirt,minidress,Miniskirt
I-phone,ruched,skirt,Slip,sundress,Sundresses'>Jupe</option><option id ='o1p14' value='1|14' data-kw='Billabong,hoodie,Hoodie:,Hoody,over,pant,pull,Sportsware,sweat,Sweat pants,sweatpants,Sweats,sweatshirt,sweatshirt-,sweatshirts,Unitard'>Linge d’entrainement</option><option id ='o1p367' value='1|367' data-kw=''>Linge d’entrainement</option><option id ='o1p15' value='1|15' data-kw='1piece,1 piece,baithsuit,Bathing,bathingsuit,bathing suit,bikini,bikiny,Maaji,one-piece,ONeill,skirted,Speedo,SWIMSHORTS,swim shorts,swimsuit,swim suit,swimsuits,swim suits,swimtrunk,swim trunk,Swimtrunks,swim trunks,tankini,trunks,two-piece'>Maillots de bain</option><option id ='o1p5' value='1|5' data-kw='angora,Black,blazer,blazer-,Blazer/Jacket,Breaker,cape,Carhart,carhartt,Cartigan,coat,COAT-,denim-jacket,down,Face,filled,fleece,fleeze,fur,furcoat,Hoddie,Hoodie,housecoat,jacket,jacket-,jacket:,jackets,JEANjacket,Jeansjacket,leather,mink,North,Northface,over,overcoat,parka,peacoat,pull,Reversible,SPORT,Sport coat,Sportcoat,sports coat,Sportscoat,suit,trenchcoat,tweed,Windbraker,Windbreaker,windcoat,wintercoat,wrap'>Manteau</option><option id ='o1p498' value='1|498' data-kw='poncho,slicker,waterproof,macintosh'>Manteau de Pluie ou Poncho</option><option id ='o1p300' value='1|300' data-kw=''>Mitaines</option><option id ='o1p31' value='1|31' data-kw='bindings,CLOTHING:,hose,hosery,leotard,pair,Pantiehose,panty,Pantyhose,stocking,tights'>Nylons</option><option id ='o1p547' value='1|547' data-kw=''>Pantalon en molleton</option><option id ='o1p299' value='1|299' data-kw=''>Pantalons de neige</option><option id ='o1p16' value='1|16' data-kw='bathrobe,cloth,kimono,robe,Robes,terry,velvet'>Peignoir</option><option id ='o1p13' value='1|13' data-kw=''>Protège-oreilles</option><option id ='o1p246' value='1|246' data-kw='cardigan,cashmere,knitted,over,Patagonia,pull,pullover,suera,Sweater,sweater:,sweaters,Sweather,Sweeter,Turtleneck,wrap'>Pull</option><option id ='o1p11' value='1|11' data-kw='bottom,lingerie,Night gown,nightgown,Nightgown-,nightgown.,NIGHTIE,nighty,pajama,Panama,PJ,pjs,SLEEPERS,sleepshirt,SLEEPWEAR,top'>Pyjamas</option><option id ='o1p23' value='1|23' data-kw='BOXER,BOXER-,boxers,bra,Bras,brassiere,brief,briefs,camisole,corsette,girdle,jock,jockey,pantie,panties,sportsbra,straps,Thermals,Thong,Underarmour,underclothes,underclothing,undergarment,undergarments,underpants,underware,underwear,Wonderbra'>Sous-vêtement</option><option id ='o1p398' value='1|398' data-kw=''>Sweat à Capuche</option><option id ='o1p469' value='1|469' data-kw=''>Tablier</option><option id ='o1p493' value='1|493' data-kw='police uniform,fire uniform,army uniform,navy uniform,air force uniform,coast guard uniform,space force uniform,marine uniform'>Uniforme</option><option id ='o1p27' value='1|27' data-kw='vest,Vest-'>Veste</option></optgroup><optgroup label='''></optgroup><optgroup label='''></optgroup><optgroup label='''></optgroup></select></div><br />
                        
                        <div style="display:none;" class="error" id="ct114Error"><span style="color:#C30019;">Le champ «objet perdu» est requis</span></div>
                    </div>
                    <div class="w3-half w3-margin-top">
                        <span id="captionforselected" class="c-fc c-fs"></span>
                        <div id="pcnav" class="c-fc c-fs" style="font-size:small;"></div>
                        <div id="itemselected" class="c-fc c-fs"></div>
                    </div>
                </div>

                    
                <div style="display:none;" class="w3-row w3-padding-top">
                    <div class="rli-col">
                        <span id="ct16" class="c-fc c-fs notranslate">
                            Veuillez fournir une description détaillée, y compris la marque, la couleur, la taille et toutes les caractéristiques distinctives, de votre objet perdu. Par exemple, si vous avez perdu un élément électronique, veuillez fournir le numéro de série ou l'économiseur d'écran du périphérique.
                        </span>
                    </div>
                </div>
                <div style="display:none;" class="w3-row w3-padding-top">
                    <div class="rli-col">
                        <label for="Items" id="ct19" class="c-fc c-fs ship notranslate">
                            Description de l'article:<span style='color:#CC0000;'>*</span>
                        </label>
                    </div>
                </div>
                <div style="display:none;" class="w3-row w3-padding-0">
                    <div class="rli-col">
                        <textarea id="Items" name="Items" rows="2" cols="60" class="c-ifc w3-col s11 m10 l10 c-inp" style="text-align:left;"></textarea>
                    </div>
                </div>
                
                <div class="w3-row w3-padding-top">
                    <div class="rli-col">
                        <label for="flightnumber" id="ct4" class="ship c-fc c-fs notranslate">
                            Numéro de vol:
                        </label>
                    </div>
                </div>
                <div class="w3-row w3-padding-0">
                    <div class="rli-col">
                        
                        <input onkeypress="return isNumeric(event);"   oninput="maxLengthCheck(this);" class="c-inp c-ifc" maxlength="4" size="10" style="text-align:left;" id="flightnumber" name="flightnumber" type="number" min = "1" max = "9999" />
                        
                    </div>
                </div>
                
                <div class="w3-row w3-padding-top c-marg">
                    <div class="rli-col">
                        <label for="LostDate" id="ct2" name="ct2" class="labelvalue ship c-fc c-fs notranslate">
                            Date du vol:<span style='color:#CC0000;'>*</span>&nbsp;MM/JJ/AAAA
                        </label>
                    </div>
                </div>
                <div class="w3-row w3-padding-0" style="min-height:30px;">
                    <div class="rli-col">
                        <input type="text" class="c-inp c-ifc w8em format-m-d-y highlight-days-67 range-low-2008-12-02 " id="LostDate" name="LostDate" value="" maxlength="10"  required/>
                    </div>
                </div>
                <div style="display:none;clear:both;" class="error" id="ct2aError">
                    <div class="rli-col">
                        <span style="color:#C30019;">
                            Le champ «date de la perte» est requis
                        </span>
                        <br />
                    </div>
                </div>
                <div style="display:none;clear:both;" class="error" id="ct2bError">
                    <div class="rli-col">
                        <span style="color:#C30019;">
                            La date que vous avez entrée est invalide
                        </span>
                        <br />
                    </div>
                </div>
                
                <div class="w3-row w3-padding-0 c-marg" style="min-height:30px;margin-top:10px;">
                    <div class="rli-col">
                        <label for="CustomDD_1" id="ct3" class="labelvalue ship c-fc c-fs notranslate">
                            Aéroport où il a été vu la dernière fois:
                        </label>
                    </div>
                </div>
                <div class="w3-row w3-padding-0" style="min-height:30px;">
                    <div class="rli-col">
                        <div class="select-wrapper" notranslate>
                            


                            <select id="CustomDD_1" name="CustomDD_1" class="c-ifc c-inp" required notranslate>
                            <option value="" class="c-inp c-ifc"></option>
                            
                            <option value="21352"  class="c-inp c-ifc" notranslate>Algiers</option>
                            
                            <option value="6913"  class="c-inp c-ifc" notranslate>AMS - Amsterdam</option>
                            
                            <option value="6914"  class="c-inp c-ifc" notranslate>ANC - Anchorage, AK</option>
                            
                            <option value="6915"  class="c-inp c-ifc" notranslate>ANU - Antigua and Barbuda</option>
                            
                            <option value="6916"  class="c-inp c-ifc" notranslate>ATH - Athens</option>
                            
                            <option value="6917"  class="c-inp c-ifc" notranslate>ATL - Atlanta, GA</option>
                            
                            <option value="6918"  class="c-inp c-ifc" notranslate>AUA - Aruba</option>
                            
                            <option value="6919"  class="c-inp c-ifc" notranslate>AUS - Austin, TX</option>
                            
                            <option value="6920"  class="c-inp c-ifc" notranslate>AZS - Samana, Dom. Rep.</option>
                            
                            <option value="6921"  class="c-inp c-ifc" notranslate>BCN - Barcelona</option>
                            
                            <option value="6922"  class="c-inp c-ifc" notranslate>BDA - Bermuda</option>
                            
                            <option value="6923"  class="c-inp c-ifc" notranslate>BDL - Hartford, CT</option>
                            
                            <option value="21354"  class="c-inp c-ifc" notranslate>Belize </option>
                            
                            <option value="6924"  class="c-inp c-ifc" notranslate>BGI - Barbados</option>
                            
                            <option value="6925"  class="c-inp c-ifc" notranslate>BNA - Nashville, TN</option>
                            
                            <option value="6926"  class="c-inp c-ifc" notranslate>BNE - Brisbane, Australia</option>
                            
                            <option value="6927"  class="c-inp c-ifc" notranslate>BOG - Bogota, Colombia</option>
                            
                            <option value="13318"  class="c-inp c-ifc" notranslate>BOM - Mumbai, India</option>
                            
                            <option value="21353"  class="c-inp c-ifc" notranslate>Bordeaux </option>
                            
                            <option value="6928"  class="c-inp c-ifc" notranslate>BOS - Boston, MA</option>
                            
                            <option value="6929"  class="c-inp c-ifc" notranslate>BRU - Brussels, Belgium</option>
                            
                            <option value="21368"  class="c-inp c-ifc" notranslate>Bucharest </option>
                            
                            <option value="6930"  class="c-inp c-ifc" notranslate>BUD - Budapest, Hungary</option>
                            
                            <option value="6931"  class="c-inp c-ifc" notranslate>BWI - Baltimore, MD</option>
                            
                            <option value="21356"  class="c-inp c-ifc" notranslate>Cartagena</option>
                            
                            <option value="6932"  class="c-inp c-ifc" notranslate>CCC - Cayo Coco, Cuba</option>
                            
                            <option value="6933"  class="c-inp c-ifc" notranslate>CDG - Paris, France</option>
                            
                            <option value="49769"  class="c-inp c-ifc" notranslate>CHS - North Charleston, SC</option>
                            
                            <option value="6935"  class="c-inp c-ifc" notranslate>CLE - Cleveland, OH</option>
                            
                            <option value="6936"  class="c-inp c-ifc" notranslate>CLT - Charlotte, NC</option>
                            
                            <option value="6937"  class="c-inp c-ifc" notranslate>CMN - Casablanca, Morocco</option>
                            
                            <option value="21355"  class="c-inp c-ifc" notranslate>Columbus </option>
                            
                            <option value="6938"  class="c-inp c-ifc" notranslate>CPH - Copenhagen, Denmark</option>
                            
                            <option value="6939"  class="c-inp c-ifc" notranslate>CUN - Cancun, Mexico</option>
                            
                            <option value="6940"  class="c-inp c-ifc" notranslate>CUR - Curacao</option>
                            
                            <option value="6941"  class="c-inp c-ifc" notranslate>CVG - Cincinnati, KY</option>
                            
                            <option value="6942"  class="c-inp c-ifc" notranslate>CYO - Cayo Largo, Cuba</option>
                            
                            <option value="6943"  class="c-inp c-ifc" notranslate>CZM - Cozumel, Mexico</option>
                            
                            <option value="6944"  class="c-inp c-ifc" notranslate>DCA - Washington, VA</option>
                            
                            <option value="6945"  class="c-inp c-ifc" notranslate>DEL - Delhi, India</option>
                            
                            <option value="6946"  class="c-inp c-ifc" notranslate>DEN - Denver, CO</option>
                            
                            <option value="6947"  class="c-inp c-ifc" notranslate>DFW - Dallas, TX</option>
                            
                            <option value="31414"  class="c-inp c-ifc" notranslate>DOH - Doha, Qatar</option>
                            
                            <option value="6948"  class="c-inp c-ifc" notranslate>DTW - Detroit, MI</option>
                            
                            <option value="6949"  class="c-inp c-ifc" notranslate>DUB - Dublin, Ireland</option>
                            
                            <option value="6950"  class="c-inp c-ifc" notranslate>DXB - Dubai, UAE</option>
                            
                            <option value="6951"  class="c-inp c-ifc" notranslate>EDI - Edinburgh, Scotland</option>
                            
                            <option value="6952"  class="c-inp c-ifc" notranslate>EWR - Newark, NJ</option>
                            
                            <option value="6953"  class="c-inp c-ifc" notranslate>EZE - Buenos Aires, Argentina</option>
                            
                            <option value="6954"  class="c-inp c-ifc" notranslate>FCO - Rome, Italy</option>
                            
                            <option value="6955"  class="c-inp c-ifc" notranslate>FDF - Fort De France, Martinique</option>
                            
                            <option value="6956"  class="c-inp c-ifc" notranslate>FLL - Fort Lauderdale, FL</option>
                            
                            <option value="6957"  class="c-inp c-ifc" notranslate>FRA - Frankfurt, Germany</option>
                            
                            <option value="6958"  class="c-inp c-ifc" notranslate>GCM - Grand Cayman</option>
                            
                            <option value="6959"  class="c-inp c-ifc" notranslate>GGT - Great Exuma, Bahamas</option>
                            
                            <option value="6960"  class="c-inp c-ifc" notranslate>GIG - Rio de Janeiro, Brazil</option>
                            
                            <option value="6961"  class="c-inp c-ifc" notranslate>GLA - Glasgow, Scotland</option>
                            
                            <option value="6962"  class="c-inp c-ifc" notranslate>GND - Grenada</option>
                            
                            <option value="6963"  class="c-inp c-ifc" notranslate>GRU - Sao Paolo, Brazil</option>
                            
                            <option value="6964"  class="c-inp c-ifc" notranslate>GVA - Geneva, Switzerland</option>
                            
                            <option value="6965"  class="c-inp c-ifc" notranslate>HAV - Havana, Cuba</option>
                            
                            <option value="6966"  class="c-inp c-ifc" notranslate>HKG - Hong Kong, China</option>
                            
                            <option value="6967"  class="c-inp c-ifc" notranslate>HND - Tokyo, Japan</option>
                            
                            <option value="6968"  class="c-inp c-ifc" notranslate>HNL - Honolulu, HI</option>
                            
                            <option value="6969"  class="c-inp c-ifc" notranslate>HOG - Holguin, Cuba</option>
                            
                            <option value="6970"  class="c-inp c-ifc" notranslate>HUX - Huatulco, Mexico</option>
                            
                            <option value="6971"  class="c-inp c-ifc" notranslate>IAD - Washington D.C.</option>
                            
                            <option value="6972"  class="c-inp c-ifc" notranslate>IAH - Houston, TX</option>
                            
                            <option value="6973"  class="c-inp c-ifc" notranslate>ICN - Seol-Incheon, South Korea</option>
                            
                            <option value="6974"  class="c-inp c-ifc" notranslate>IND - Indianapolis, IN</option>
                            
                            <option value="6975"  class="c-inp c-ifc" notranslate>IST - Istanbul, Turkey</option>
                            
                            <option value="6976"  class="c-inp c-ifc" notranslate>JAX - Jacksonville, FL</option>
                            
                            <option value="6977"  class="c-inp c-ifc" notranslate>JFK - New York, NY</option>
                            
                            <option value="6978"  class="c-inp c-ifc" notranslate>KIN - Kingston, Jamaica</option>
                            
                            <option value="6979"  class="c-inp c-ifc" notranslate>KIX - Osaka, Japan</option>
                            
                            <option value="6980"  class="c-inp c-ifc" notranslate>KOA - Kona, HI</option>
                            
                            <option value="6981"  class="c-inp c-ifc" notranslate>LAS - Las Vegas, NV</option>
                            
                            <option value="6982"  class="c-inp c-ifc" notranslate>LAX - Los Angeles, CA</option>
                            
                            <option value="6983"  class="c-inp c-ifc" notranslate>LGA - LaGuardia, NY</option>
                            
                            <option value="6984"  class="c-inp c-ifc" notranslate>LGW - Gatwick, UK</option>
                            
                            <option value="6985"  class="c-inp c-ifc" notranslate>LHR - Heathrow, UK</option>
                            
                            <option value="21361"  class="c-inp c-ifc" notranslate>Liberia </option>
                            
                            <option value="21360"  class="c-inp c-ifc" notranslate>Lihue </option>
                            
                            <option value="6986"  class="c-inp c-ifc" notranslate>LIM - Lima, Peru</option>
                            
                            <option value="6987"  class="c-inp c-ifc" notranslate>LIR - Liberia, Costa Rica</option>
                            
                            <option value="6988"  class="c-inp c-ifc" notranslate>LIS - Lisbon, Portugal</option>
                            
                            <option value="21359"  class="c-inp c-ifc" notranslate>London Gatwick </option>
                            
                            <option value="6989"  class="c-inp c-ifc" notranslate>LRM - La Romania, Dom. Rep.</option>
                            
                            <option value="6990"  class="c-inp c-ifc" notranslate>LYS - Lyon, France</option>
                            
                            <option value="6991"  class="c-inp c-ifc" notranslate>MAD - Madrid, Spain</option>
                            
                            <option value="6992"  class="c-inp c-ifc" notranslate>MAN - Manchester, UK</option>
                            
                            <option value="21364"  class="c-inp c-ifc" notranslate>Marseilles </option>
                            
                            <option value="6993"  class="c-inp c-ifc" notranslate>MBJ - Montego Bay, Jamaica</option>
                            
                            <option value="6994"  class="c-inp c-ifc" notranslate>MCI - Kansas City, MO</option>
                            
                            <option value="6995"  class="c-inp c-ifc" notranslate>MCO - Orlando, FL</option>
                            
                            <option value="6996"  class="c-inp c-ifc" notranslate>MDT - Harrisburg, PA</option>
                            
                            <option value="21362"  class="c-inp c-ifc" notranslate>Melbourne </option>
                            
                            <option value="21363"  class="c-inp c-ifc" notranslate>Memphis </option>
                            
                            <option value="6997"  class="c-inp c-ifc" notranslate>MEX - Mexico City, Mexico</option>
                            
                            <option value="6998"  class="c-inp c-ifc" notranslate>MIA - Miami, FL</option>
                            
                            <option value="6999"  class="c-inp c-ifc" notranslate>MKE - Milwaukee, WI</option>
                            
                            <option value="7000"  class="c-inp c-ifc" notranslate>MSP - Minneapolis, MN</option>
                            
                            <option value="7001"  class="c-inp c-ifc" notranslate>MSY - New Orleans, LA</option>
                            
                            <option value="7002"  class="c-inp c-ifc" notranslate>MUC -Munich, Germany</option>
                            
                            <option value="7003"  class="c-inp c-ifc" notranslate>MXP - Milan, Italy</option>
                            
                            <option value="21365"  class="c-inp c-ifc" notranslate>Nagoya </option>
                            
                            <option value="50820"  class="c-inp c-ifc" notranslate>NAP - Naples, Italy</option>
                            
                            <option value="7004"  class="c-inp c-ifc" notranslate>NAS - Nassau, Bahamas</option>
                            
                            <option value="7005"  class="c-inp c-ifc" notranslate>NCE - Nice, France</option>
                            
                            <option value="7006"  class="c-inp c-ifc" notranslate>NRT - Narita, Japan</option>
                            
                            <option value="7007"  class="c-inp c-ifc" notranslate>OGG - Maui, HI</option>
                            
                            <option value="21366"  class="c-inp c-ifc" notranslate>Omaha </option>
                            
                            <option value="7008"  class="c-inp c-ifc" notranslate>ORD - Chicago, IL</option>
                            
                            <option value="7009"  class="c-inp c-ifc" notranslate>PAP - Port au Prince, Haiti</option>
                            
                            <option value="7010"  class="c-inp c-ifc" notranslate>PBI - West Palm Beach, FL</option>
                            
                            <option value="7011"  class="c-inp c-ifc" notranslate>PDX - Portland, OR</option>
                            
                            <option value="7012"  class="c-inp c-ifc" notranslate>PEK - Beijing, China</option>
                            
                            <option value="7013"  class="c-inp c-ifc" notranslate>PHL - Philadelphia, PA</option>
                            
                            <option value="7014"  class="c-inp c-ifc" notranslate>PHX - Phoenix, AZ</option>
                            
                            <option value="7015"  class="c-inp c-ifc" notranslate>PIT - Pittsburgh, PA</option>
                            
                            <option value="7016"  class="c-inp c-ifc" notranslate>PLS - Turks and Caicos Islands</option>
                            
                            <option value="7017"  class="c-inp c-ifc" notranslate>POP - Puerto Plata, Dom. Rep.</option>
                            
                            <option value="21369"  class="c-inp c-ifc" notranslate>Port of Spain </option>
                            
                            <option value="21367"  class="c-inp c-ifc" notranslate>Porto </option>
                            
                            <option value="7018"  class="c-inp c-ifc" notranslate>PRG - Prague, Czech Rep.</option>
                            
                            <option value="21370"  class="c-inp c-ifc" notranslate>Providence </option>
                            
                            <option value="7019"  class="c-inp c-ifc" notranslate>PSP - Palm Springs, CA</option>
                            
                            <option value="7020"  class="c-inp c-ifc" notranslate>PTP - Pointe a Pitre, Guadeloupe</option>
                            
                            <option value="7021"  class="c-inp c-ifc" notranslate>PTY - Panama City, Panama</option>
                            
                            <option value="7022"  class="c-inp c-ifc" notranslate>PUJ - Punta Cana, Dom. Rep.</option>
                            
                            <option value="7023"  class="c-inp c-ifc" notranslate>PVG - Shangahi, China</option>
                            
                            <option value="7024"  class="c-inp c-ifc" notranslate>PVR - Puerto Vallarta, Mexico</option>
                            
                            <option value="21376"  class="c-inp c-ifc" notranslate>Quito</option>
                            
                            <option value="7025"  class="c-inp c-ifc" notranslate>RDU - Raleigh, NC</option>
                            
                            <option value="21358"  class="c-inp c-ifc" notranslate>Reykjavik </option>
                            
                            <option value="7026"  class="c-inp c-ifc" notranslate>ROC - Rochester, NY</option>
                            
                            <option value="7027"  class="c-inp c-ifc" notranslate>RSW - Fort Myers, FL</option>
                            
                            <option value="21373"  class="c-inp c-ifc" notranslate>Sacramento </option>
                            
                            <option value="7028"  class="c-inp c-ifc" notranslate>SAN - San Diego, CA</option>
                            
                            <option value="21371"  class="c-inp c-ifc" notranslate>San Antonio </option>
                            
                            <option value="21372"  class="c-inp c-ifc" notranslate>Savannah </option>
                            
                            <option value="7029"  class="c-inp c-ifc" notranslate>SCL - Santiago, Chile</option>
                            
                            <option value="7030"  class="c-inp c-ifc" notranslate>SEA - Seattle, WA</option>
                            
                            <option value="7031"  class="c-inp c-ifc" notranslate>SFO - San Francisco, CA</option>
                            
                            <option value="7032"  class="c-inp c-ifc" notranslate>SJC - San Jose, CA</option>
                            
                            <option value="7033"  class="c-inp c-ifc" notranslate>SJD - Losa Cabos, Mexico</option>
                            
                            <option value="7034"  class="c-inp c-ifc" notranslate>SJO - San Jose, Costa Rica</option>
                            
                            <option value="7035"  class="c-inp c-ifc" notranslate>SJU - San Juan, Puerto Rico</option>
                            
                            <option value="7036"  class="c-inp c-ifc" notranslate>SKB - Basseterre, Saint Kitts</option>
                            
                            <option value="7037"  class="c-inp c-ifc" notranslate>SLC - Salt Lake City, UT</option>
                            
                            <option value="50840"  class="c-inp c-ifc" notranslate>SNA - John Wayne Airport</option>
                            
                            <option value="7038"  class="c-inp c-ifc" notranslate>SNU - Santa Clara, Cuba</option>
                            
                            <option value="7039"  class="c-inp c-ifc" notranslate>SRQ - Sarasota, FL</option>
                            
                            <option value="21374"  class="c-inp c-ifc" notranslate>St Vincent and the Grenadines </option>
                            
                            <option value="7040"  class="c-inp c-ifc" notranslate>STL - St. Louis, MO</option>
                            
                            <option value="7041"  class="c-inp c-ifc" notranslate>SXM - Saint Maarten</option>
                            
                            <option value="7042"  class="c-inp c-ifc" notranslate>SYD - Sydney, Australia</option>
                            
                            <option value="7043"  class="c-inp c-ifc" notranslate>SYR - Syracuse, NY</option>
                            
                            <option value="21375"  class="c-inp c-ifc" notranslate>Taipei </option>
                            
                            <option value="7044"  class="c-inp c-ifc" notranslate>TLV - Tel Aviv, Israel</option>
                            
                            <option value="7045"  class="c-inp c-ifc" notranslate>TPA - Tampa, FL</option>
                            
                            <option value="48319"  class="c-inp c-ifc" notranslate>TQO - Tulum Airport</option>
                            
                            <option value="16853"  class="c-inp c-ifc" notranslate>TXL - Berlin, Germany</option>
                            
                            <option value="7046"  class="c-inp c-ifc" notranslate>UVF - Saint Lucia</option>
                            
                            <option value="21357"  class="c-inp c-ifc" notranslate>Vail </option>
                            
                            <option value="7047"  class="c-inp c-ifc" notranslate>VCE - Venice, Italy</option>
                            
                            <option value="21377"  class="c-inp c-ifc" notranslate>Vienna </option>
                            
                            <option value="7048"  class="c-inp c-ifc" notranslate>VRA - Varadero, Cuba</option>
                            
                            <option value="7049"  class="c-inp c-ifc" notranslate>WAW - Warsaw, Poland</option>
                            
                            <option value="7050"  class="c-inp c-ifc" notranslate>YAM - Sault Ste Marie, ON</option>
                            
                            <option value="7052"  class="c-inp c-ifc" notranslate>YBG - Bagotville, QC</option>
                            
                            <option value="7053"  class="c-inp c-ifc" notranslate>YCD - Nanaimo, BC</option>
                            
                            <option value="7054"  class="c-inp c-ifc" notranslate>YCG - Castlegar, BC</option>
                            
                            <option value="7055"  class="c-inp c-ifc" notranslate>YDF - Deer Lake, NL</option>
                            
                            <option value="7056"  class="c-inp c-ifc" notranslate>YEG - Edmonton, AB</option>
                            
                            <option value="7057"  class="c-inp c-ifc" notranslate>YFC - Fredericton, NB</option>
                            
                            <option value="7060"  class="c-inp c-ifc" notranslate>YGR - Magdeleine Islands, QC</option>
                            
                            <option value="7061"  class="c-inp c-ifc" notranslate>YHM - Hamilton, ON</option>
                            
                            <option value="7062"  class="c-inp c-ifc" notranslate>YHZ - Halifax, NS</option>
                            
                            <option value="7063"  class="c-inp c-ifc" notranslate>YKA - Kamloops, BC</option>
                            
                            <option value="7064"  class="c-inp c-ifc" notranslate>YLW - Kelowna, BC</option>
                            
                            <option value="7065"  class="c-inp c-ifc" notranslate>YMM - Fort McMurray, AB</option>
                            
                            <option value="7066"  class="c-inp c-ifc" notranslate>YOW - Ottawa, ON</option>
                            
                            <option value="7067"  class="c-inp c-ifc" notranslate>YPR - Prince Rupert, BC</option>
                            
                            <option value="7068"  class="c-inp c-ifc" notranslate>YQB - Quebec City, QC</option>
                            
                            <option value="7069"  class="c-inp c-ifc" notranslate>YQF - Red Deer, AB</option>
                            
                            <option value="7070"  class="c-inp c-ifc" notranslate>YQG - Windsor, ON</option>
                            
                            <option value="7071"  class="c-inp c-ifc" notranslate>YQL - Lethbridge, AB</option>
                            
                            <option value="7072"  class="c-inp c-ifc" notranslate>YQM - Moncton, NB</option>
                            
                            <option value="7073"  class="c-inp c-ifc" notranslate>YQQ - Comox, BC</option>
                            
                            <option value="7074"  class="c-inp c-ifc" notranslate>YQR - Regina, SK</option>
                            
                            <option value="7075"  class="c-inp c-ifc" notranslate>YQT - Thunder Bay, ON</option>
                            
                            <option value="7076"  class="c-inp c-ifc" notranslate>YQU - Grand Prairie, AB</option>
                            
                            <option value="7077"  class="c-inp c-ifc" notranslate>YQX - Gander, NL</option>
                            
                            <option value="7078"  class="c-inp c-ifc" notranslate>YQY - Sydney, NS</option>
                            
                            <option value="8964"  class="c-inp c-ifc" notranslate>YSB - Sudbury, ON</option>
                            
                            <option value="7079"  class="c-inp c-ifc" notranslate>YSJ - Saint John, NB</option>
                            
                            <option value="7080"  class="c-inp c-ifc" notranslate>YTM - Mont-Tremblant, QC</option>
                            
                            <option value="7081"  class="c-inp c-ifc" notranslate>YTS - Timmins, ON</option>
                            
                            <option value="7082"  class="c-inp c-ifc" notranslate>YTZ - Toronto Island, ON</option>
                            
                            <option value="7083"  class="c-inp c-ifc" notranslate>YUL - Montreal, QC</option>
                            
                            <option value="7084"  class="c-inp c-ifc" notranslate>YUY - Rouyn-Noranda, QC</option>
                            
                            <option value="7086"  class="c-inp c-ifc" notranslate>YVR - Vancouver, BC</option>
                            
                            <option value="7087"  class="c-inp c-ifc" notranslate>YWG - Winnipeg, MB</option>
                            
                            <option value="7089"  class="c-inp c-ifc" notranslate>YXC - Cranbrooke|Canadian Rockies, BC</option>
                            
                            <option value="7090"  class="c-inp c-ifc" notranslate>YXE - Saskatoon, SK</option>
                            
                            <option value="7091"  class="c-inp c-ifc" notranslate>YXH - Medicine Hat, AB</option>
                            
                            <option value="7092"  class="c-inp c-ifc" notranslate>YXJ - Fort St John, BC</option>
                            
                            <option value="7093"  class="c-inp c-ifc" notranslate>YXS - Prince George, BC</option>
                            
                            <option value="7094"  class="c-inp c-ifc" notranslate>YXT - Terrace-Kittimat, BC</option>
                            
                            <option value="7095"  class="c-inp c-ifc" notranslate>YXU - London, ON</option>
                            
                            <option value="7096"  class="c-inp c-ifc" notranslate>YXX - Abbotsford, BC</option>
                            
                            <option value="7097"  class="c-inp c-ifc" notranslate>YXY - Whitehouse, YT</option>
                            
                            <option value="7098"  class="c-inp c-ifc" notranslate>YYB - North Bay, ON</option>
                            
                            <option value="7099"  class="c-inp c-ifc" notranslate>YYC - Calgary, AB</option>
                            
                            <option value="7100"  class="c-inp c-ifc" notranslate>YYD - Smithers, BC</option>
                            
                            <option value="7101"  class="c-inp c-ifc" notranslate>YYF - Penticton, BC</option>
                            
                            <option value="7102"  class="c-inp c-ifc" notranslate>YYG - Charlottestown, PE</option>
                            
                            <option value="7103"  class="c-inp c-ifc" notranslate>YYJ - Victoria, BC</option>
                            
                            <option value="7104"  class="c-inp c-ifc" notranslate>YYR - Goose Bay, NL</option>
                            
                            <option value="7105"  class="c-inp c-ifc" notranslate>YYT - St Johns, NL</option>
                            
                            <option value="7107"  class="c-inp c-ifc" notranslate>YYZ - Toronto, ON</option>
                            
                            <option value="7108"  class="c-inp c-ifc" notranslate>YZF - Yellowknife, NT</option>
                            
                            <option value="7109"  class="c-inp c-ifc" notranslate>YZP - Sandspit, BC</option>
                            
                            <option value="7110"  class="c-inp c-ifc" notranslate>YZR - Samia, ON</option>
                            
                            <option value="7111"  class="c-inp c-ifc" notranslate>YZV - Sept Iles, QC</option>
                            
                            <option value="21378"  class="c-inp c-ifc" notranslate>Zagreb </option>
                            
                            <option value="7113"  class="c-inp c-ifc" notranslate>ZIH - Ixtapa - Zihuatanejo, Mexico</option>
                            
                            <option value="7114"  class="c-inp c-ifc" notranslate>ZRH - Zurich, Switzerland</option>
                            
                            <option value="7115"  class="c-inp c-ifc" notranslate>ZSA - San Salvador, Bahamas</option>
                            
                            </select>
                        
                        </div>
                    </div>
                </div>
                <div style="display:none;" class="error" id="ct3Error">
                    <div class="rli-col">
                        <span style="color:#C30019;">
                            La destination est requis
                        </span>
                        <br />
                    </div>
                </div>
                
                <br />
                <div class="w3-row w3-padding-0 c-marg" style="min-height:30px;">
                    <div class="rli-col">
                        <label for="ct6" id= "ct5" class="labelvalue ship c-fc c-fs notranslate">
                            Où a-t-on vu votre article la dernière fois?<span style='color:#CC0000;'>*</span>
                        </label>
                    </div>
                </div>
                <div class="w3-row w3-padding-0" style="min-height:30px;">
                    <div class="rli-col">
                        <textarea id="ct6" placeholder="(p. ex. numéro de place, pochette de siège, coffre supérieur, dans la zone d'attente)" maxlength="250" rows="2" class="inputelement c-ifc w3-col s12 c-inp" style="text-align:left;" name="Room" required></textarea>
                    </div>
                </div>
                <div style="display:none;" class="error" id="ct5Error">
                    <div class="rli-col">
                        <span style="color:#C30019;">
                            La description de l'endroit où vous avez perdu votre objet est requise
                        </span>
                    </div>
                    <br />
                </div>
                
                <div class="w3-row w3-padding-top c-marg" style="min-height:30px;">
                    <div class="rli-col">
                        <div class="w3-col s12">
                            <input class="cbox cboxetd" style="min-height:18px !important; min-width:18px !important" id="tracker" name="tracker" onchange="showHideTrackers()" type="checkbox" value="yes">
                            <label class="ship c-fc c-fs notranslate" for="tracker" id="trackerlbl">Les articles ont un AirTag ou un autre outil de localisation</label>
                        </div>
                    </div>
                </div>
                <div id="conTrackerTypes" class="w3-row w3-padding-top c-marg" style="display:none; min-height:30px;">
                    <div class="rli-col">
                        <select id="ddTrackerTypes" name="ddTrackerTypes" class="c-ifc c-inp"><option value="0">--Select Tracker Type--</option>
                        
                            <option value="2">Apple / AirTag</option>
                        
                            <option value="6">Other / Unknown</option>
                        
                        </select>
                    </div>
                </div>
                
                <div id="c-line1"></div>
            </div>
            <div id="shipbox" class="bbox">
                <div class="w3-row w3-padding-top">
                    <div class="rli-col">
                        <span class="ship c-shc c-fs notranslate c-ct18" style="" id="ct18">
                            Coordonnées et renseignements sur l'expédition:
                        </span>
                    </div>
                </div>
                <div class="w3-row w3-padding-0" style="min-height:30px;">
                    <div class="w3-half w3-margin-top">
                        <label for="FirstName" id="ct7" class="labelvalue ship c-fc c-fs notranslate">
                        Prénom:<span style='color:#CC0000;'>*</span></label><br />
                        <input class="inputelement c-inp c-ifc"inputelement c-inp c-ifc" type="text" size="30" style="text-align:left;" id="FirstName" name="FirstName" required/>
                        <div style="display:none;" class="error" id="ct7Error">
                            <span style="color:#C30019;">
                                Le champ «prénom» est requis
                            </span>
                            <br />
                        </div>
                    </div>
                    <div class="w3-half w3-margin-top">
                        <label for="LastName" id="ct8" class="labelvalue ship c-fc c-fs notranslate">
                            Nom de famille:<span style='color:#CC0000;'>*</span>
                        </label>
                        <br />
                        <input class="inputelement c-inp c-ifc" type="text" size="30" style="text-align:left;" id="LastName" name="LastName" required/>
                        <div style="display:none;" class="error" id="ct8Error">
                            <span style="color:#C30019;">
                                Le champ «nom de famille» est requis
                            </span>
                            <br />
                        </div>
                    </div>
                </div>
                
                <div class="w3-row w3-padding-0" style="min-height:30px;">
                    <div class="rli-col">
                        <label for="phonenumber" id="ct9" class="ship c-fc c-fs notranslate">
                            No de téléphone:<span style='color:#CC0000;'>*</span>
                        </label>
                        <br />
                        <input class="c-inp c-ifc" size="20" style="text-align:left;" id="phonenumber" name="PhoneNumber" type="text" required/>
                        <div style="display:none;" class="error" id="ct9Error">
                            <span style="color:#C30019;">
                                Le champ «numéro de téléphone» est requis
                            </span>
                            <br />
                        </div>
                    </div>
                </div>
                
                <div id="c-line2"></div>
                <div class="w3-row w3-padding-0" style="min-height:30px;">
                    <div class="w3-half w3-margin-top">
                        <label for="Email" id="ct10" class="labelvalue ship c-fc c-fs notranslate">
                            Adresse électronique:<span style='color:#CC0000;'>*</span>
                        </label>
                        <br />
                        <input class="inputelement c-inp c-ifc" size="30" style="text-align:left;" id="Email" name="Email" type="text" required/>
                        <div style="display:none;" class="error" id="ct10Error">
                            <span style="color:#C30019;">
                                Une adresse courriel est requise
                            </span>
                            <br />
                        </div>
                    </div>
                    <div class="w3-half w3-margin-top">
                        <label for="Email2" id="ct148" class="labelvalue ship c-fc c-fs notranslate">
                            Confirmation de l'adresse électronique:<span style='color:#CC0000;'>*</span>
                        </label>
                        <br />
                        <input class="inputelement c-inp c-ifc" size="30" style="text-align:left;" id="Email2" name="Email2" type="text" required/>
                        <div style="display:none;" class="error" id="ct148Error">
                            <span style="color:#C30019;">
                                La confirmation de votre adresse courriel est requise
                            </span>
                            <br />
                        </div>
                    </div>
                </div>
                <div id="c-line3"></div>
                <div id="row-addy1" class="w3-row w3-padding-0" style="min-height:30px;">
                    <div class="w3-half w3-margin-top">
                        <label for="Street" id="ct11" class="labelvalue ship c-fc c-fs notranslate">
                        Adresse:<span style='color:#CC0000;'>*</span></label><br />
                        <input class="inputelement c-inp c-ifc" type="text" style="text-align:left;" id="Street" name="Street" required/>
                        <div style="display:none;" class="error" id="ct11Error"><span style="color:#C30019;">Le champ «adresse» est requis</span><br /></div>
                    </div>
                    <div class="w3-half w3-margin-top">
                        <label for="Address2" id="ct149" class="labelvalue ship c-fc c-fs notranslate">
                        Adresse, ligne 2:</label><br />
                        <input class="inputelement c-inp c-ifc" type="text" style="text-align:left;" id="Address2" name="Street2" />
                    </div>
                </div>
                <div id="row-addy2" class="w3-row w3-padding-0" style="min-height:30px;">
                    <div class="w3-half w3-margin-top">
                        <label for="City" id="ct12" class="labelvalue ship c-fc c-fs notranslate">
                        Ville:<span style='color:#CC0000;'>*</span></label><br />
                        <input class="inputelement c-inp c-ifc" type="text" style="text-align:left;" id="City" name="City" required/>
                        <div style="display:none;" class="error" id="ct12Error"><span style="color:#C30019;">Le champ «ville» est requis</span><br /></div>
                    </div>
                    <div class="w3-half w3-margin-top">
                        <label for="Country" id="ct17" class="labelvalue ship c-fc c-fs notranslate">
                        Pays/région<span style='color:#CC0000;'>*</span></label><br />
                        <div>
                            <div class="select-wrapper">
                                <select name='Country' id='Country' class='c-inp notranslate c-ifc' onchange="checkstate();"><option class='c-ifc' value=''>Sélectionnez le pays / la région</option><option class='c-ifc' value='US'>ÉTATS-UNIS</option><option class='c-ifc' value='AF'>AFGHANISTAN</option><option class='c-ifc' value='AX'>ÅLAND</option><option class='c-ifc' value='AL'>ALBANIE</option><option class='c-ifc' value='AG'>ALGÉRIE</option><option class='c-ifc' value='AQ'>SAMOA AMÉRICAINE</option><option class='c-ifc' value='AN'>ANDORRE</option><option class='c-ifc' value='AO'>ANGOLA</option><option class='c-ifc' value='AV'>ANGUILLA</option><option class='c-ifc' value='AY'>ANTARCTIQUE</option><option class='c-ifc' value='AC'>ANTIGUA-ET-BARBUDA</option><option class='c-ifc' value='AR'>ARGENTINE</option><option class='c-ifc' value='AM'>ARMÉNIE</option><option class='c-ifc' value='AA'>ARUBA</option><option class='c-ifc' value='AS'>AUSTRALIE</option><option class='c-ifc' value='AU'>AUTRICHE</option><option class='c-ifc' value='AJ'>AZERBAÏDJAN</option><option class='c-ifc' value='BF'>BAHAMAS</option><option class='c-ifc' value='BA'>BAHREÏN</option><option class='c-ifc' value='BG'>BANGLADESH</option><option class='c-ifc' value='BB'>BARBADE</option><option class='c-ifc' value='BY'>BÉLARUS</option><option class='c-ifc' value='BE'>BELGIQUE</option><option class='c-ifc' value='BH'>BELIZE</option><option class='c-ifc' value='BN'>BÉNIN</option><option class='c-ifc' value='BD'>BERMUDES</option><option class='c-ifc' value='BT'>BHOUTAN</option><option class='c-ifc' value='BO'>BOLIVIE, ÉTAT PLURIN</option><option class='c-ifc' value='BK'>BOSNIE-HERZÉGOVINE</option><option class='c-ifc' value='BC'>BOTSWANA</option><option class='c-ifc' value='BV'>ÎLE BOUVET</option><option class='c-ifc' value='IO'>TERRITOIRE BRITANNIQ</option><option class='c-ifc' value='BR'>BRÉSIL</option><option class='c-ifc' value='VI'>ÎLES VIERGES BRITANN</option><option class='c-ifc' value='BX'>BRUNÉI DARUSSALAM</option><option class='c-ifc' value='BU'>BULGARIE</option><option class='c-ifc' value='UV'>BURKINA FASO</option><option class='c-ifc' value='BM'>MYANMAR</option><option class='c-ifc' value='BI'>BURUNDI</option><option class='c-ifc' value='CB'>CAMBODGE</option><option class='c-ifc' value='CM'>CAMEROUN</option><option class='c-ifc' value='CA' selected>CANADA</option><option class='c-ifc' value='CV'>CABO VERDE</option><option class='c-ifc' value='CJ'>ÎLES CAÏMANS</option><option class='c-ifc' value='CT'>RÉPUBLIQUE CENTRAFRI</option><option class='c-ifc' value='CD'>TCHAD</option><option class='c-ifc' value='CI'>CHILI</option><option class='c-ifc' value='CH'>CHINE</option><option class='c-ifc' value='KT'>ÎLE CHRISTMAS</option><option class='c-ifc' value='CC'>ÎLES COCOS (KEELING)</option><option class='c-ifc' value='CO'>COLOMBIE</option><option class='c-ifc' value='CN'>COMORES</option><option class='c-ifc' value='CF'>CONGO</option><option class='c-ifc' value='CG'>CONGO, RÉPUBLIQUE DÉ</option><option class='c-ifc' value='CK'>ÎLES COOK</option><option class='c-ifc' value='CS'>COSTA RICA</option><option class='c-ifc' value='IV'>CÔTE D’IVOIRE</option><option class='c-ifc' value='HR'>CROATIE</option><option class='c-ifc' value='CU'>CUBA</option><option class='c-ifc' value='CY'>CHYPRE</option><option class='c-ifc' value='EZ'>RÉPUBLIQUE TCHÈQUE</option><option class='c-ifc' value='DA'>DANEMARK</option><option class='c-ifc' value='DJ'>DJIBOUTI</option><option class='c-ifc' value='DO'>DOMINIQUE</option><option class='c-ifc' value='DR'>RÉPUBLIQUE DOMINICAI</option><option class='c-ifc' value='EC'>ÉQUATEUR</option><option class='c-ifc' value='EG'>ÉGYPTE</option><option class='c-ifc' value='ES'>EL SALVADOR</option><option class='c-ifc' value='EK'>GUINÉE ÉQUATORIALE</option><option class='c-ifc' value='ER'>ÉRYTHRÉE</option><option class='c-ifc' value='EN'>ESTONIE</option><option class='c-ifc' value='ET'>ÉTHIOPIE</option><option class='c-ifc' value='FK'>ÎLES MALOUINES</option><option class='c-ifc' value='FO'>ÎLES FÉROÉ</option><option class='c-ifc' value='FM'>ÉTATS FÉDÉRÉS DE MIC</option><option class='c-ifc' value='FJ'>FIDJI</option><option class='c-ifc' value='FI'>FINLANDE</option><option class='c-ifc' value='FS'>TERRES AUSTRALES ET </option><option class='c-ifc' value='FR'>FRANCE</option><option class='c-ifc' value='FG'>GUYANE FRANÇAISE</option><option class='c-ifc' value='FP'>POLYNÉSIE FRANÇAISE</option><option class='c-ifc' value='GB'>GABON</option><option class='c-ifc' value='GA'>GAMBIE</option><option class='c-ifc' value='GG'>GÉORGIE</option><option class='c-ifc' value='GM'>ALLEMAGNE</option><option class='c-ifc' value='GH'>GHANA</option><option class='c-ifc' value='GI'>GIBRALTAR</option><option class='c-ifc' value='GR'>GRÈCE</option><option class='c-ifc' value='GL'>GROENLAND</option><option class='c-ifc' value='GJ'>GRENADE</option><option class='c-ifc' value='GP'>GUADELOUPE</option><option class='c-ifc' value='GQ'>GUAM</option><option class='c-ifc' value='GT'>GUATÉMALA</option><option class='c-ifc' value='GK'>GUERNESEY</option><option class='c-ifc' value='GV'>GUINÉE</option><option class='c-ifc' value='PU'>GUINÉE-BISSAU</option><option class='c-ifc' value='GY'>GUYANA</option><option class='c-ifc' value='HA'>HAÏTI</option><option class='c-ifc' value='HM'>ÎLES HEARD ET MCDONA</option><option class='c-ifc' value='HO'>HONDURAS</option><option class='c-ifc' value='HK'>HONG KONG (RAS), CHI</option><option class='c-ifc' value='HU'>HONGRIE</option><option class='c-ifc' value='IC'>ISLANDE</option><option class='c-ifc' value='IN'>INDE</option><option class='c-ifc' value='ID'>INDONÉSIE</option><option class='c-ifc' value='IR'>IRAN</option><option class='c-ifc' value='IZ'>IRAK</option><option class='c-ifc' value='EI'>IRLANDE</option><option class='c-ifc' value='IS'>ISRAËL</option><option class='c-ifc' value='IT'>ITALIE</option><option class='c-ifc' value='JM'>JAMAÏQUE</option><option class='c-ifc' value='JA'>JAPON</option><option class='c-ifc' value='JE'>JERSEY</option><option class='c-ifc' value='JO'>JORDANIE</option><option class='c-ifc' value='KZ'>KAZAKHSTAN</option><option class='c-ifc' value='KE'>KENYA</option><option class='c-ifc' value='KR'>KIRIBATI</option><option class='c-ifc' value='KS'>RÉPUBLIQUE DE CORÉE</option><option class='c-ifc' value='KN'>RÉPUBLIQUE POPULAIRE</option><option class='c-ifc' value='KU'>KOWEÏT</option><option class='c-ifc' value='KG'>KIRGHIZISTAN</option><option class='c-ifc' value='LA'>LAOS</option><option class='c-ifc' value='LG'>LETTONIE</option><option class='c-ifc' value='LE'>LIBAN</option><option class='c-ifc' value='LT'>LESOTHO</option><option class='c-ifc' value='LI'>LIBÉRIA</option><option class='c-ifc' value='LY'>LIBYE</option><option class='c-ifc' value='LS'>LIECHTENSTEIN</option><option class='c-ifc' value='LH'>LITUANIE</option><option class='c-ifc' value='LU'>LUXEMBOURG</option><option class='c-ifc' value='MC'>MACAO (RAS), CHINE</option><option class='c-ifc' value='MK'>MACÉDOINE, EX-RÉPUBL</option><option class='c-ifc' value='MA'>MADAGASCAR</option><option class='c-ifc' value='MI'>MALAWI</option><option class='c-ifc' value='MY'>MALAISIE</option><option class='c-ifc' value='MV'>MALDIVES</option><option class='c-ifc' value='ML'>MALI</option><option class='c-ifc' value='MT'>MALTE</option><option class='c-ifc' value='IM'>ÎLE DE MAN</option><option class='c-ifc' value='RM'>ÎLES MARSHALL</option><option class='c-ifc' value='MB'>MARTINIQUE</option><option class='c-ifc' value='MR'>MAURITANIE</option><option class='c-ifc' value='MP'>MAURICE</option><option class='c-ifc' value='YT'>MAYOTTE</option><option class='c-ifc' value='MX'>MEXIQUE</option><option class='c-ifc' value='MD'>MOLDOVA, RÉPUBLIQUE </option><option class='c-ifc' value='MN'>MONACO</option><option class='c-ifc' value='MG'>MONGOLIE</option><option class='c-ifc' value='MJ'>MONTÉNÉGRO</option><option class='c-ifc' value='MS'>MONTSERRAT</option><option class='c-ifc' value='MO'>MAROC</option><option class='c-ifc' value='MZ'>MOZAMBIQUE</option><option class='c-ifc' value='WA'>NAMIBIE</option><option class='c-ifc' value='NR'>NAURU</option><option class='c-ifc' value='NP'>NÉPAL</option><option class='c-ifc' value='NL'>PAYS-BAS</option><option class='c-ifc' value='NT'>ANTILLES NÉERLANDAIS</option><option class='c-ifc' value='NC'>NOUVELLE-CALÉDONIE</option><option class='c-ifc' value='NZ'>NOUVELLE-ZÉLANDE</option><option class='c-ifc' value='NU'>NICARAGUA</option><option class='c-ifc' value='NG'>NIGER</option><option class='c-ifc' value='NI'>NIGÉRIA</option><option class='c-ifc' value='NE'>NIOUÉ</option><option class='c-ifc' value='NF'>ÎLE NORFOLK</option><option class='c-ifc' value='CQ'>ÎLES MARIANNES DU NO</option><option class='c-ifc' value='NO'>NORVÈGE</option><option class='c-ifc' value='MU'>OMAN</option><option class='c-ifc' value='PK'>PAKISTAN</option><option class='c-ifc' value='PS'>TERRITOIRES PALESTIN</option><option class='c-ifc' value='PM'>PANAMA</option><option class='c-ifc' value='PP'>PAPOUASIE-NOUVELLE-G</option><option class='c-ifc' value='PA'>PARAGUAY</option><option class='c-ifc' value='PS'>PALAOS</option><option class='c-ifc' value='PE'>PÉROU</option><option class='c-ifc' value='RP'>PHILIPPINES</option><option class='c-ifc' value='PC'>ÎLES PITCAIRN</option><option class='c-ifc' value='PL'>POLOGNE</option><option class='c-ifc' value='PO'>PORTUGAL</option><option class='c-ifc' value='RQ'>PORTO RICO</option><option class='c-ifc' value='QA'>QATAR</option><option class='c-ifc' value='RE'>RÉUNION</option><option class='c-ifc' value='RO'>ROUMANIE</option><option class='c-ifc' value='RS'>FÉDÉRATION DE RUSSIE</option><option class='c-ifc' value='RW'>RWANDA</option><option class='c-ifc' value='GS'>GÉORGIE DU SUD/ÎLES </option><option class='c-ifc' value='SM'>SAINT-MARIN</option><option class='c-ifc' value='TP'>SAO TOMÉ-ET-PRINCIPE</option><option class='c-ifc' value='SA'>ARABIE SAOUDITE</option><option class='c-ifc' value='SG'>SÉNÉGAL</option><option class='c-ifc' value='RI'>SERBIE</option><option class='c-ifc' value='SE'>SEYCHELLES</option><option class='c-ifc' value='SL'>SIERRA LEONE</option><option class='c-ifc' value='SN'>SINGAPOUR</option><option class='c-ifc' value='LO'>SLOVAQUIE</option><option class='c-ifc' value='SI'>SLOVÉNIE</option><option class='c-ifc' value='BP'>ÎLES SALOMON</option><option class='c-ifc' value='SO'>SOMALIE</option><option class='c-ifc' value='SF'>AFRIQUE DU SUD</option><option class='c-ifc' value='OD'>SOUDAN DU SUD</option><option class='c-ifc' value='SP'>ESPAGNE</option><option class='c-ifc' value='CE'>SRI LANKA</option><option class='c-ifc' value='ST'>SAINTE-LUCIE</option><option class='c-ifc' value='SH'>SAINTE-HÉLÈNE</option><option class='c-ifc' value='SC'>SAINT-CHRISTOPHE-ET-</option><option class='c-ifc' value='SB'>SAINT-PIERRE-ET-MIQU</option><option class='c-ifc' value='VC'>SAINT-VINCENT-ET-LES</option><option class='c-ifc' value='BL'>SAINT-BARTHÉLEMY</option><option class='c-ifc' value='MF'>SAINT-MARTIN</option><option class='c-ifc' value='SU'>SOUDAN</option><option class='c-ifc' value='NS'>SURINAME</option><option class='c-ifc' value='WZ'>SWAZILAND</option><option class='c-ifc' value='SW'>SUÈDE</option><option class='c-ifc' value='SZ'>SUISSE</option><option class='c-ifc' value='SY'>RÉPUBLIQUE ARABE SYR</option><option class='c-ifc' value='TW'>TAÏWAN, CHINE</option><option class='c-ifc' value='TI'>TADJIKISTAN</option><option class='c-ifc' value='TZ'>TANZANIE, RÉPUBLIQUE</option><option class='c-ifc' value='TH'>THAÏLANDE</option><option class='c-ifc' value='TT'>TIMOR-LESTE</option><option class='c-ifc' value='TO'>TOGO</option><option class='c-ifc' value='TL'>TOKELAU</option><option class='c-ifc' value='TN'>TONGA</option><option class='c-ifc' value='TD'>TRINITÉ-ET-TOBAGO</option><option class='c-ifc' value='TS'>TUNISIE</option><option class='c-ifc' value='TU'>TURQUIE</option><option class='c-ifc' value='TX'>TURKMÉNISTAN</option><option class='c-ifc' value='TK'>ÎLES TURKS ET CAICOS</option><option class='c-ifc' value='TV'>TUVALU</option><option class='c-ifc' value='UM'>ÎLES MINEURES ÉLOIGN</option><option class='c-ifc' value='UG'>OUGANDA</option><option class='c-ifc' value='UP'>UKRAINE</option><option class='c-ifc' value='AE'>ÉMIRATS ARABES UNIS</option><option class='c-ifc' value='UK'>ROYAUME-UNI DE GRAND</option><option class='c-ifc' value='UY'>URUGUAY</option><option class='c-ifc' value='UZ'>OUZBÉKISTAN</option><option class='c-ifc' value='NH'>VANUATU</option><option class='c-ifc' value='VT'>SAINT-SIÈGE</option><option class='c-ifc' value='VE'>VENEZUELA, RÉPUBLIQU</option><option class='c-ifc' value='VM'>VIETNAM</option><option class='c-ifc' value='VQ'>ÎLES VIERGES AMÉRICA</option><option class='c-ifc' value='WF'>WALLIS-ET-FUTUNA</option><option class='c-ifc' value='WI'>SAHARA OCCIDENTAL</option><option class='c-ifc' value='WS'>SAMOA</option><option class='c-ifc' value='YM'>YÉMEN</option><option class='c-ifc' value='ZA'>ZAMBIE</option><option class='c-ifc' value='ZI'>ZIMBABWE</option><option class='c-ifc' value='SX'>Sint Maarten</option><option class='c-ifc' value='CW'>Curacao</option></select>
                            </div>
                        </div>
                        <div style="display:none;" class="error" id="ct17Error"><span style="color:#C30019;">Le champ «pays» est requis</span><br /></div>
                    </div>
                </div>
                <div id="row-addy3" class="w3-row w3-padding-0" style="min-height:30px;">
                    <div class="w3-half w3-margin-top">
                        <label for="PostalCode" id="ct14" class="labelvalue ship c-fc c-fs notranslate">
                        Code postal:<span style='color:#CC0000;'>*</span></label><br />
                        <input class="inputelement c-inp c-ifc" size="20" style="text-align:left;" id="PostalCode" name="PostalCode" type="text" required/>
                        <div style="display:none;" class="error" id="ct14Error"><span style="color:#C30019;">Le champ «code postal» est requis</span><br /></div>
                    </div>
                    <div class="w3-half w3-margin-top">
                        <label for="State" id="StateLabel" style="display:none;" class="labelvalue ship c-fc c-fs notranslate">
                        État:<span style='color:#CC0000;'>*</span><br /></label>
                        <label for="Province" id="ProvinceLabel" style="display:inline;" class="labelvalue ship c-fc c-fs notranslate">
                        Province:<span style='color:#CC0000;'>*</span><br /></label>
                        <div id="StateProvDD" style="display:block">
                            <div id="StateSelect" class="select-wrapper" style="display:none;">
                                <select name='State' id='State' class='c-inp notranslate c-ifc' onchange="checkinternational();"><option class='c-ifc' value='' selected>Sélectionnez un état</option><option class='c-ifc' value='AL'>ALABAMA</option><option class='c-ifc' value='AK'>ALASKA</option><option class='c-ifc' value='AA'>APO/FPO/DPO AA</option><option class='c-ifc' value='AE'>APO/FPO/DPO AE</option><option class='c-ifc' value='AP'>APO/FPO/DPO AP</option><option class='c-ifc' value='AZ'>ARIZONA</option><option class='c-ifc' value='AR'>ARKANSAS</option><option class='c-ifc' value='CA'>CALIFORNIE</option><option class='c-ifc' value='NC'>CAROLINE DU NORD</option><option class='c-ifc' value='SC'>CAROLINE DU SUD</option><option class='c-ifc' value='CO'>COLORADO</option><option class='c-ifc' value='CT'>CONNECTICUT</option><option class='c-ifc' value='ND'>DAKOTA DU NORD</option><option class='c-ifc' value='SD'>DAKOTA DU SUD</option><option class='c-ifc' value='DE'>DELAWARE</option><option class='c-ifc' value='DC'>DISTRICT OF COLUMBIA</option><option class='c-ifc' value='FL'>FLORIDE</option><option class='c-ifc' value='GA'>GÉORGIE</option><option class='c-ifc' value='GU'>GUAM</option><option class='c-ifc' value='HI'>HAWAÏ</option><option class='c-ifc' value='ID'>IDAHO</option><option class='c-ifc' value='IL'>ILLINOIS</option><option class='c-ifc' value='IN'>INDIANA</option><option class='c-ifc' value='IA'>IOWA</option><option class='c-ifc' value='KS'>KANSAS</option><option class='c-ifc' value='KY'>KENTUCKY</option><option class='c-ifc' value='PW'>KOROR</option><option class='c-ifc' value='MH'>KWAJALEIN</option><option class='c-ifc' value='NY'>L'ÉTAT DE NEW YORK</option><option class='c-ifc' value='WA'>L'ÉTAT DE WASHINGTON</option><option class='c-ifc' value='VI'>LES ÎLES VIERGES</option><option class='c-ifc' value='LA'>LOUISIANE</option><option class='c-ifc' value='ME'>MAINE</option><option class='c-ifc' value='MD'>MARYLAND</option><option class='c-ifc' value='MA'>MASSACHUSETTS</option><option class='c-ifc' value='MI'>MICHIGAN</option><option class='c-ifc' value='MN'>MINNESOTA</option><option class='c-ifc' value='MS'>MISSISSIPPI</option><option class='c-ifc' value='MO'>MISSOURI</option><option class='c-ifc' value='MT'>MONTANA</option><option class='c-ifc' value='NE'>NEBRASKA</option><option class='c-ifc' value='NV'>NEVADA</option><option class='c-ifc' value='NH'>NEW HAMPSHIRE</option><option class='c-ifc' value='NJ'>NEW JERSEY</option><option class='c-ifc' value='NM'>NOUVEAU-MEXIQUE</option><option class='c-ifc' value='OH'>OHIO</option><option class='c-ifc' value='OK'>OKLAHOMA</option><option class='c-ifc' value='OR'>OREGON</option><option class='c-ifc' value='PA'>PENNSYLVANIE</option><option class='c-ifc' value='PR'>PORTO RICO</option><option class='c-ifc' value='RI'>RHODE ISLAND</option><option class='c-ifc' value='MP'>SAIPAN</option><option class='c-ifc' value='TN'>TENNESSEE</option><option class='c-ifc' value='TX'>TEXAS</option><option class='c-ifc' value='UT'>UTAH</option><option class='c-ifc' value='VT'>VERMONT</option><option class='c-ifc' value='VA'>VIRGINIE</option><option class='c-ifc' value='WV'>VIRGINIE-OCCIDENTALE</option><option class='c-ifc' value='WI'>WISCONSIN</option><option class='c-ifc' value='WY'>WYOMING</option><option class='c-ifc' value='FM'>YAP</option><option class='c-ifc' value='INTN'>INTERNATIONAL</option></select>
                            </div>
                            <div id="ProvinceSelect" class="select-wrapper" style="display:inline;">
                                <select name='Province' id='Province' class='c-inp notranslate c-ifc' onchange="checkinternationalCA();"><option value='' selected>Sélectionnez la province</option><option value='AB'>ALBERTA</option><option value='BC'>COLOMBIE-BRITANNIQUE</option><option value='PE'>ÎLE-DU-PRINCE-ÉDOUARD</option><option value='MB'>MANITOBA</option><option value='NB'>NOUVEAU-BRUNSWICK</option><option value='NS'>NOUVELLE-ÉCOSSE</option><option value='NU'>NUNAVUT</option><option value='ON'>ONTARIO</option><option value='QC'>QUÉBEC</option><option value='SK'>SASKATCHEWAN</option><option value='NL'>TERRE-NEUVE-ET-LABRADOR</option><option value='NT'>TERRITOIRES DU NORD-OUEST</option><option value='YT'>YUKON</option><option class='c-ifc' value='INTN'>INTERNATIONAL</option></select>
                            </div>
                        </div>
                        <input type="hidden" name=StateH id=StateH value="INTN" />
                        <div style="display:none;" class="error" id="ct13aError"><span style="color:#C30019;">Le champ «état» est requis</span><br /></div>
                        <div style="display:none;" class="error" id="ct13bError"><span style="color:#C30019;">Le champ «province» est requis</span><br /></div>
                    </div>
                </div>
                <br />
                <br />
                <div class="w3-row" style="margin-bottom:5px;">
                        
                    <div id="divReCaptcha" class="w3-col m6">
                        <script src='/@recaptchav3/?render=6LeWb7oUAAAAAF9Y9Uh2w3nGG5MdJZBpgb0JX22p&hl=fr'></script> <script type='text/javascript'> var SubmitButton; var FormValidation; function CheckReCaptchaV3(btn,frmValidation) { SubmitButton = btn; FormValidation = frmValidation; grecaptcha.execute('6LeWb7oUAAAAAF9Y9Uh2w3nGG5MdJZBpgb0JX22p', { action: 'LostReport' }).then(onSubmit); } function onSubmit(token) { document.getElementById('g-recaptcha-response').value = token; FormValidation(SubmitButton); } </script> <input type='hidden' id='g-recaptcha-response' name='g-recaptcha-response' />
                    </div>
                        
                    <div class="w3-col m6">
                        <div id="cbox-con">
                            <div class="w3-row w3-padding" style="white-space:nowrap;">
                                <input class="cbox" id="terms" type="checkbox" required />
                                <label class="cboxlbl notranslate" for="terms">J'ai lu et accepté <a href="javascript:void(0);" onclick="OpenLegalPop('CBTerms');">les conditions d'utilisation</a></label>
                            </div>
                            <div class="w3-row w3-padding" style="white-space:nowrap;">
                                <input class="cbox" id="gdpr" type="checkbox" required />
                                <label class="cboxlbl notranslate" for="gdpr">J'ai lu et compris <a href="javascript:void(0);" onclick="OpenLegalPop('CBPriv');">la politique de vie privée</a></label>
                            </div>
                        </div>
                        <div style="display:none; font-size:12px" class="error" id="ctTermsError"><span style="color:#C30019;">Please check that you have read and agree to the Terms of Service</span><br /></div>
                        <div style="display:none; font-size:12px" class="error" id="ctPrivError"><span style="color:#C30019;">Please check that you have read and understand the Privacy Policy</span><br /></div>
                    </div>
                </div>
                
                <div id="btnrow" class="w3-row w3-padding-0" style="min-height:30px;">
                    <!--mg-edit:  reCaptchaV3  changed SubmitReport button to run invisible capture; uses RecaptchaV3.asp include at top; 'CheckRequired' is form validation function for this page.-->
                    
                    <input id="SubmitReport" class="redbtn c-btn" type="button" value="Soumettre" href="javascript: void(0);"  onclick="this.disabled = true; PreDeleteFormFromDb('form1');CheckReCaptchaV3(this,CheckRequired);"/>
                    
                        <!--..mg-edit-->


                    
                </div>
                
            </div><!--end div for #shipbox-->
                <div class="w3-row w3-center w3-padding-0 c-cre1" style="min-height:30px;margin-bottom:30px;">
                    <p class="c-fc c-fs c-cre2 notranslate" style="line-height:12px">
           		        Propulsé par Chargerback
        	        </p>
                    <p id="legal_links" style="color:#666; font-size:14px; line-height:12px;padding-top:5px;" tabindex="-1">
			            <a aria-label="Terms of Service Opens in a popup dialog" style="text-decoration:none;" class="notranslate" href="javascript: void(0);" onclick="OpenLegalPop('CBTerms');">Voir Conditions d'utilisation</a> &nbsp; &nbsp;
			            <a aria-label="Privacy Policy Opens in a popup dialog" style="text-decoration:none;" class="notranslate" href="javascript: void(0);" onclick="OpenLegalPop('CBPriv');">Voir la Politique de vie privée</a>
			        </p>
                </div>
                
        </form>
    </div>
</div>

<!--Modal, Wait Spinner -->
<div id="progress" class="w3-modal">
  <div class="w3-modal-content">
    <div class="w3-container">
    <p id="busymsg" style="text-align:center;">Saving Report...</p>
    <p style="text-align:center;"><img alt="loading" src="images/loading.gif" /></p>
    </div>
  </div>
</div>

<!--Modal, Item Detail-->
<div id="ItemDetail" class="w3-modal">
  <div class="w3-modal-content w3-round-large" style="width:300px;">
    <div class="w3-container w3-padding">
        <header class="w3-container">
            <span onclick="document.getElementById('ItemDetail').style.display='none'" class="w3-closebtn"><img id="closeItemDialog" alt="Close this dialog" src="images/xclose.png" tabindex="-1" /></span>
            <div id="modalLabel" class="notranslate" style="font-size:20px;">Your Lost Item Detail</div>
        </header>
        <div class="w3-container">
            <p>
                <div id="itemAdditionalInfo"></div>
            </p>
        </div>
        <footer class="w3-container">
            <p>
                <button style="float:left" id="SaveItemDetails" type="button" class="w3-btn btn-primary w3-round-medium w3-margin-bottom" >Save</button>
                <button id="NextItem" style="display:none" onclick="NextItem();" type="button" class="w3-btn btn-primary w3-round-medium w3-margin-bottom">Add Another Item</button>
                <button id="DoneWithItems" style="display:none" type="button" class="w3-btn btn-primary w3-round-medium w3-margin-bottom">Done With Items</button>
            </p>
        </footer>
    </div>
  </div>
</div>
<!--Modal, Legal P&T-->
<div id="Legal" class="w3-modal">
  <div class="w3-modal-content w3-round-large" id="LegalScroll" style="width:500px; height:500px; overflow-y: scroll">
    <div class="w3-container w3-padding">
        <header class="w3-container">
            <span onclick="document.getElementById('Legal').style.display='none';document.getElementById('legal_links').focus();" class="w3-closebtn" tabindex="-1"><img id="closeLegalDialog" alt="Close this dialog" src="images/xclose.png" tabindex="-1" /></span>
            <div id="modalLabelL" style="font-size:20px;" class="notranslate"></div>
        </header>
        <div class="w3-container">
            <p>
                <div id="LegalInfo" class="notranslate"></div>
            </p>
        </div>
        <footer class="w3-container">
            <p>
                <button id="LegalClose" onclick="document.getElementById('Legal').style.display='none';document.getElementById('legal_links').focus();" type="button" class="w3-btn btn-primary w3-round-medium w3-margin-bottom">Close</button>
            </p>
        </footer>
    </div>
  </div>
</div>
<!--Modal, End-->

<!--MTA Ship Message Modal-->
<div id="MTAShipMessage" class="w3-modal">
  <div class="w3-modal-content w3-round-large" id="MTAShipOuter">
    <div class="w3-container w3-padding">
        <header class="w3-container">
            <span onclick="document.getElementById('MTAShipMessage').style.display='none';document.getElementById('legal_links').focus();" class="w3-closebtn" tabindex="-1"><img id="closeMTAShipMessage" alt="Close this dialog" src="images/xclose.png" tabindex="-1" /></span>
            <div style="font-size:20px;">Shipping is Available</div>
        </header>
        <div class="w3-container" style="height:60%">
            <p>
                <div style="max-height:270px;">Please note that NYC Transit now offers shipping of recovered lost items. When the item is found, having your item(s) shipped saves you a trip to the Lost and Found Office, at the 34th Street-Penn Station lower mezzanine of the A, C and E subway train lines. We encourage you to take advantage of this shipping convenience. It’s fast, easy, and safe. Please, always wait for an email and/or text message from us if you want to pick up a found item before dropping by.</div>
            </p>
        </div>
        <footer class="w3-container">
            <p>
                <button id="MTAShipMessageClose" onclick="document.getElementById('MTAShipMessage').style.display='none';SaveItem();" type="button" class="w3-btn btn-primary w3-round-medium w3-margin-bottom">I Understand</button>
            </p>
        </footer>
    </div>
  </div>
</div>
<!--Modal, End-->

<!--Duplicate PC Modal-->
<div id="DupPCMessage" class="w3-modal">
  <div class="w3-modal-content w3-round-large" id="DupPCOuter">
    <div class="w3-container w3-padding">
        <header class="w3-container">
            <div style="font-size:20px;"><span id="spPCExists"></span> Already In Report</div>
        </header>
        <div class="w3-container" style="height:60%">
            <p>
                <div style="max-height:270px;">You have already added "<span id="spPCExists2"></span>". Click "Add Another" to add another item of the same type, "Edit Existing" to make changes to the existing one, or "Close" to close this message.</div>
            </p>
        </div>
        <footer class="w3-container">
            <p>
                <button id="DupPCAddNew" onclick="PCAddNew()" type="button" class="w3-btn btn-primary w3-round-medium w3-margin-bottom">Add Another</button> &nbsp; <button id="DupPCEdit" onclick="dupPCEdit()" type="button" class="w3-btn btn-primary w3-round-medium w3-margin-bottom">Edit Existing</button> &nbsp; <button id="DupPCClose" onclick="dupPCClose()" type="button" class="w3-btn btn-primary w3-round-medium w3-margin-bottom">Close</button>
            </p>
            <p>
                <span style="font-size:smaller; font-style:italic">* Note that Entering the same physical item more than once can negatively impact matching it to a found item later on.</span>
            </p>
        </footer>
    </div>
  </div>
</div>
<!--Modal, End-->

<div id="PictureCanvas" class="w3-modal">
    <div class="w3-modal-content" style="position:relative; top:0px; z-index:10; margin-left:auto; margin-right:auto;">
        <div class="w3-container" style="max-height:100%">
            <span onclick="document.getElementById('PictureCanvas').style.display='none'" class="w3-closebtn">&times;</span>
            <p>
               <div id="mPicturePreview" class="rotation-wrapper-outer">
                   <div id="mInner" class="rotation-wrapper-inner">
                        <div id="dPicturePreview">
                            <img id="picturePreview" style="max-width:90%"></img>
                        </div>
                   </div>
                </div>
                <div id="pdiv">
                    <div id="divPicUpReady" style="display:none">
                        <div style="min-height:10px"></div>
                        <div id="divRetakeSave">
                            <label id="btnOpenCamP" class="w3-green w3-hover-pale-green w3-btn" style="vertical-align:middle">
                            <input type="file" name="picselectP" id="picselectP" style="display:none" />
                            <div>Change</div>
                            </label>
                            &nbsp; <button type="button" id="btnSavePic" class="w3-green w3-hover-pale-green w3-btn"><div>Save</div></button>
                        </div>
                        <div id="divDel" style="display:none">
                            <button type="button" id="btnDelPic" class="cb-green w3-hover-pale-green w3-btn w3-round-xlarge cb-xsmallbtn" onclick="delReviewImage();"><div class="text60">Delete</div></button>
                            &nbsp; <button type="button" class="cb-green w3-hover-pale-green w3-btn w3-round-xlarge cb-xsmallbtn" onclick="document.getElementById('PictureCanvas').style.display='none'"><div class="text60">Close</div></button>
                        </div>
                    </div>
                    <input type="hidden" id="pMatchID" value="" />
                    <input type="hidden" id="reviewImageName" value="" />
                </div>
                <div id="uploadProgCont" class="w3-center w3-light-grey"  style="width:80%; display:none; margin-top: 5px;" >
                    <span id="uploadStatus">Uploading Image...</span>
                    <div id="uploadProg" class="w3-container w3-round w3-green" style="height:16px;width:1%"></div>
                </div>
            </p>
            <p>&nbsp;</p>
        </div>
    </div>
</div>

<!--Show Image Modal-->
<div id="ShowImageModal"  class="w3-modal" style="padding-top:3vh;">
  <div style="cursor:pointer;max-width:640px;" class="w3-modal-content">
    <div class="w3-container">
        <span title="Close image" onclick="HideImage();" class="w3-closebtn">&times;</span><br />
        <span style="padding-right:1px; padding-top:10px"" class="w3-closebtn"><a href="javascript:void(0)" onclick="imageDelete()"><img id="deleteThisImage" title="Delete this image" alt="Delete this image" src="images/delete_icon.png" onmouseover="this.src='images/delete_icon_over.png';" onmouseout="this.src='images/delete_icon.png';"></a></span>
        <div id="ItemImageDiv">
            <img id="ItemImage" src="" style="width:95%; max-width:600px;margin-left:auto;margin-right:auto;margin-top:-10px;margin-bottom:10px;border-radius:5px;display:block;padding-right:10px"/>
        </div>

    </div>
  </div>
</div>

<!--MG-edit Start:  Kiosk Modal-->


<!--MG-edit end-->
<!--IndexDb Forms Module for MTA -- mg-edit-->

<script type="text/javascript" src="/js/MTAFormsSession.js"></script>
<script type="text/javascript">
    //Reload Items that were previously picked
    function LoadCurrentItemList() {

        if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari
            xmlhttp = new XMLHttpRequest();
        }
        else {// code for IE6, IE5
            xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
        }

        url = "CBAjax.asp?Action=getCurrentDescriptionSetEdit&MatchID=" + document.getElementById("MatchID").value + "&LC=" + document.getElementById("languageCode").value + "&CustomerID=" + document.getElementById("CustomerID").value;
        xmlhttp.open("GET", url, false);
        xmlhttp.send();

        if (xmlhttp.status == 200) {
            response = xmlhttp.responseText;
            if (response.toString().length > 2) {
                document.getElementById("itemselected").innerHTML = response;
            }
            else {
                return false;
            }
        }
        else {
            //alert("Must be bad news");
        }
    }


    function EraseFormData() {
        sessionStorage.clear();
    }


    function UpdateDb(target) {
        return new Promise((resolve, reject) => {
            //PUT LEAVING PAGE ACTIVITIES HERE
            var FormItemnameFilter = ["MatchID", "flightnumber", "LostDate", "Room", "FirstName", "LastName", "PhoneNumber", "Email", "Email2", "Street", "Street2", "City", "Country", "PostalCode", "State", "Province", "StateH"];
            syncFormToSession(dbForm, FormItemnameFilter).then(() => { resolve(target) });
        });
    }

    function NavTo(target) {
        //target is a url or page to navigate to
        //Call savepage to update database then do navigation
        UpdateDb(target).then((target) => {
            //Allow fraction of second for form to save; bug in Chrome?
            setTimeout(() => { window.location = target }, 100);
            //window.location = target;
        });
    }

    function PreDeleteFormFromDb(form) {
        EraseFormData();
    }

    var dbForm = document.getElementById("form1");


    if (document.referrer) {
        var RefererURL = new URL(document.referrer);
        //if (RefererURL.pathname.toLowerCase() != "/ReportLostItemMTA.asp".toLowerCase()) {
        if ((RefererURL.pathname.toLowerCase() != "/ReportLostItemMTA.asp".toLowerCase()) && (RefererURL.pathname.toLowerCase() != "/nymta".toLowerCase())) {
            EraseFormData()
        }
        else {
            loadFormFromSession(dbForm).then(() => { LoadCurrentItemList() });
        }
    }
    else {
        EraseFormData();
    }

</script>

<script type="text/javascript">
    function msgToIframe() { }
</script>


</script>
<!--End IndexDb Forms Module for MTA-->
</div>




</body>
</html>
