

<!DOCTYPE html>
<html lang="en">
<head>
<!--<title>Lost And Found</title>-->
<title>Achados e perdidos</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="pt" 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("14678");
            if (frameWidth <= 699 && "" != "1" && x == false) {
                window.parent.parent.window.location = 'https://www.chargerback.com/ReportLostitemCBEmbed.asp?CustomerID=' + '14678' + '&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: #666;}
.c-shc {Color: #666;}
.c-fs { FONT-FAMILY: arial, helvetica, sans-serif;}
.c-fc {COLOR: #666; FONT-FAMILY: arial, helvetica, sans-serif;}
.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='http://www.celebritycruises.com/'><div class='conCustomImage'><img class='logocb' alt="Celebrity Cruises Logo" border='0' src='/images/customer/14678.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="14678" />
            <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="38023178376306" />
            <label for="Hidden1" style="display:none;">Hidden</label>
            <input type="hidden" id="Hidden1" name="uiCBSession" value="38023178376306" />
            <label for="languageCode" style="display:none;">Hidden</label>
            <input type="hidden" id="languageCode" name="languageCode" value="pt" />
            <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="-417112908" />
            <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-FAMILY: arial, helvetica, sans-serif;" />
            <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="Repare o problema para continuar" />
            <input type="hidden" class="notranslate" id="ct1bError" value="Repare os problemas para continuar" />
            <input type="hidden" class="notranslate" id="ct100aError" value="O endereço de e-mail não está formatado adequadamente" />
            <input type="hidden" class="notranslate" id="ct100bError" value="Os endereços de e-mail não correspondem" />
            <input type="hidden" class="notranslate" id="ctInfo1Error" value="Aconteceu algo errado" />
            <input type="hidden" class="notranslate" id="ctInfo2Error" value="Obrigatório" />
            <input type="hidden" class="notranslate" id="ctInfo3Error" value="Informações sobre o seu item" />
            <input type="hidden" class="notranslate" id="MyModalLabel1" value="Detalhes do item perdido" />
            <input type="hidden" class="notranslate" id="MyModalLabel2" value="Aviso!" />
            <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="SaveItemDetails1" value="Salvar os detalhes dos itens" />
            <input type="hidden" class="notranslate" id="SaveItemDetails2" value="Atualizado" />
            <input type="hidden" class="notranslate" id="SaveItemDetails3" value="OK" />
            <input type="hidden" class="notranslate" id="ItemAdditionalInfo1" value="A menos que o item seja completamente inusitado, escolha uma categoria específica. A escolha de "Item exclusivo não relacionado" reduzirá a probabilidade de uma correspondência e recuperação bem-sucedidas." />
            <input type="hidden" class="notranslate" id="ItemAdditionalInfoDiv" value="Qualquer tipo de bebida alcoólica será descartada Não temos a permissão de despachar bebida acoólica pelo correio" />
            <input type="hidden" class="notranslate" id="Alert1" value="O número de série deve ser composto apenas por letras e/ou números!" />
            <input type="hidden" class="notranslate" id="Alert2" value="Um ou mais campos possuem caracteres inválidos!" />
            <input type="hidden" class="notranslate" id="Alert3" value="Selecione um tipo de item" />
            <input type="hidden" class="notranslate" id="Alert4" value="Um ou mais campos possuem texto inválido!

Remova qualquer link http e/ou marcação." />
            <input type="hidden" class="notranslate" id="Alert5" value="Forneça uma descrição para o item perdido!" />
            <input type="hidden" class="notranslate" id="Alert6" value="Os endereços de e-mail não correspondem!" />
            <input type="hidden" class="notranslate" id="Alert7" value="não parece ser um e-mail válido" />
            <input type="hidden" class="notranslate" id="CellProvider1" value="O provedor de serviços solcitou a recepção de mensagem de texto" />
            <input type="hidden" class="notranslate" id="addCode1" value="Clique para adicionar mais itens" />
            <input type="hidden" class="notranslate" id="addCode2" value="Detalhes do item" />
            <input type="hidden" class="notranslate" id="TCLabel1" value="Chargerback Terms of Service" />
            <input type="hidden" class="notranslate" id="PrivLabel1" value="Chargerback Privacy Policy" />
            <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="Clique aqui para adicionar um item" />
            <input type="hidden" id="select2Default2" value="Clique aqui para adicionar mais itens" />
            
            <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="">Descreva o item perdido.</span>
                    </div>
                    
                    <div class="w3-half">
                        
                    </div>
                </div>
                <div class="c-fc c-fs" id="Info2">
                    * Obrigatório
                </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">Escolha o tipo de item(ns) perdido(s).</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='Artigos domésticos'><option id ='o24p501' value='24|501' data-kw='heater'>Aquecedor portátil</option><option id ='o24p514' value='24|514' data-kw='Sewing Supplies'>Aviamentos para tricô ou costura</option><option id ='o24p513' value='24|513' data-kw='Stool'>Cadeira ou banco</option><option id ='o24p261' value='24|261' data-kw='coffee,maker,POT'>Cafeteira</option><option id ='o24p350' value='24|350' data-kw='Air mattress,Airmattress'>Colchão inflável </option><option id ='o24p508' value='24|508' data-kw='christmas tree,christmas lights,holiday,Ornament'>Decorações ou ornamentos</option><option id ='o24p503' value='24|503' data-kw='aromatics,incense'>Difusor de óleos esenciais</option><option id ='o24p259' value='24|259' data-kw='cold,CONVECTION,COUNTERTOP,Crockpot,DEVICE,HEATING,MACHINE,MAKER,OVEN,PANCAKE,STOVE,system,therapy,vacuum,vacuums'>Eletrodomesticos</option><option id ='o24p391' value='24|391' data-kw=''>Ferramentas</option><option id ='o24p332' value='24|332' data-kw=''>Liquidificador</option><option id ='o24p262' value='24|262' data-kw=''>Moedor de café</option><option id ='o24p333' value='24|333' data-kw=''>Panela ou prato aquecedor</option><option id ='o24p295' value='24|295' data-kw=''>Pratos ou louças</option><option id ='o24p504' value='24|504' data-kw=''>Recipientes plásticos para alimentos</option><option id ='o24p296' value='24|296' data-kw=''>Tachos e panelas</option><option id ='o24p509' value='24|509' data-kw='pair of scissors,clipper,shears'>Tesouras</option><option id ='o24p502' value='24|502' data-kw='tea cloth,linen'>Toalha de mesa</option><option id ='o24p260' value='24|260' data-kw='black,dish,Dishes,ladle,Napkin,serving,tray'>Utensílios</option><option id ='o24p418' value='24|418' data-kw='Steamer'>Vaporizador de roupas</option><option id ='o24p467' value='24|467' data-kw=''>Vela</option></optgroup><optgroup label='Artigos eletrônicos'><option id ='o17p500' value='17|500' data-kw='Opener'>Abridor de porta de garagem</option><option id ='o17p199' value='17|199' data-kw='Bose,Jambox,Radio,sound,SoundLink,speaker,system,Bluetooth Speaker'>Auto falantes</option><option id ='o17p289' value='17|289' data-kw=''>Bastão de selfie</option><option id ='o17p325' value='17|325' data-kw='battery'>Baterias</option><option id ='o17p191' value='17|191' data-kw='adaptors,Charger PowerCord,connector,cord,HDMI,Powerstrip,USB cable'>Cabos</option><option id ='o17p185' value='17|185' data-kw='calculator'>Calculadora</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'>Câmera</option><option id ='o17p186' value='17|186' data-kw='Audio,Camcorder,camera,Everio,recorder,video,VIDEOCAM,videocamera'>Câmera de video ou equipamento de video</option><option id ='o17p352' value='17|352' data-kw='apple pencil'>Caneta Stylus</option><option id ='o17p422' value='17|422' data-kw=''>Capas para Airpods</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'>Carregador</option><option id ='o17p258' value='17|258' data-kw='go-pro,hero2'>Carregador de bateria duplo Go Pro ou Acessórios  </option><option id ='o17p328' value='17|328' data-kw=''>Carregador portátil/ réguas de alimentação</option><option id ='o17p156' value='17|156' data-kw='Ecigarette,vape pen'>Cigarros eletronicos ou acessórios Vape</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'>Computador portátil</option><option id ='o17p374' value='17|374' data-kw=''>console para jogos</option><option id ='o17p329' value='17|329' data-kw=''>Controle remoto </option><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'>Conversor de adaptador</option><option id ='o17p251' value='17|251' data-kw='drive,drive.,external,hard,Seagate'>Disco rigido</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'>Dispositivo Kindle ou eReader</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'>Dispositivos de Rastreio por GPS</option><option id ='o17p396' value='17|396' data-kw=''>Drone</option><option id ='o17p414' value='17|414' data-kw='ereader,e-reader,ebook,e-book'>eBook marca Kobo</option><option id ='o17p386' value='17|386' data-kw=''>Eletrônica - Outro</option><option id ='o17p271' value='17|271' data-kw=''>Equipamento de fitness</option><option id ='o17p194' value='17|194' data-kw='Bose,buds,ear,earbuds,EARBUDS-,EARPHONES,skullcandy,Walkman'>Fones de ouvido</option><option id ='o17p193' value='17|193' data-kw='BEATS,BOSE,earbud,earbuds,earphone,earphones,earpiece,head,headphone,headphones,HEADPHONES-,headset,HEADSETS,Plantronics,set'>Fones de ouvido (cabeça)</option><option id ='o17p204' value='17|204' data-kw='Blue,bluetooth,motorola,T-MOBILE,tooth,Tooth:,TracPhone'>Fones de ouvido sem-fios</option><option id ='o17p198' value='17|198' data-kw='Garman,Garmen,Garmin,GPS,navigation,navigator'>GPS</option><option id ='o17p188' value='17|188' data-kw=''>Impressora</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'>Jogos portáteis </option><option id ='o17p192' value='17|192' data-kw='Blu-Ray,chromecast,Music,Player'>Leitor de dvd</option><option id ='o17p383' value='17|383' data-kw=''>Lentes ou acessórios de câmera</option><option id ='o17p247' value='17|247' data-kw='MacBook,Mackbook,Mini,pro'>Macbook</option><option id ='o17p252' value='17|252' data-kw='card,chromecast,drive,drives,SD,thumb,USB,usb drive'>Memória flash</option><option id ='o17p356' value='17|356' data-kw=''>Monitor de computador</option><option id ='o17p278' value='17|278' data-kw=''>Mouse</option><option id ='o17p376' value='17|376' data-kw=''>Nintendo</option><option id ='o17p268' value='17|268' data-kw=''>Nook e-book</option><option id ='o17p499' value='17|499' data-kw='Sound Machine,White Noise Machine'>Objeto que produz ruídos</option><option id ='o17p277' value='17|277' data-kw='mouse'>Óculos</option><option id ='o17p279' value='17|279' data-kw=''>Óculos Google</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'>Ponto de acesso para internet</option><option id ='o17p205' value='17|205' data-kw='display,projector'>Projetor</option><option id ='o17p357' value='17|357' data-kw='iwatch,samsung,fitbit,fit bit,garmin,google,pixel,smartwatch,apple,watch,apple watch,google pixel'>Relógio inteligente</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'>Reprodutor de mídia digital</option><option id ='o17p326' value='17|326' data-kw=''>Respondedor automático marca Easy Pass</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'>Tablet</option><option id ='o17p202' value='17|202' data-kw='coolpad,Keyboard,Modem,monitor,Netgear,pc,ROUTER,samsumg,Scanner'>Teclado</option><option id ='o17p377' value='17|377' data-kw=''>Walk talkies</option><option id ='o17p375' value='17|375' data-kw=''>Xbox</option></optgroup><optgroup label='Bagagem e equipamentos de viagem'><option id ='o11p463' value='11|463' data-kw=''>Bagagem - outro</option><option id ='o11p335' value='11|335' data-kw=''>Berço portátil</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'>Bolsa ou sacola</option><option id ='o11p362' value='11|362' data-kw=''>Bolsas modelo tote</option><option id ='o11p403' value='11|403' data-kw=''>Cadeado de bagagem TSA </option><option id ='o11p134' value='11|134' data-kw='Car,seat,Stroller,baby car seat'>Cadeirinha de criança para carros</option><option id ='o11p351' value='11|351' data-kw=''>Carrinho de criança</option><option id ='o11p402' value='11|402' data-kw=''>Correia de bagagem ou etiqueta</option><option id ='o11p234' value='11|234' data-kw=''>Gaiola para transporte de animais</option><option id ='o11p130' value='11|130' data-kw=''>Mala de terno para viagem</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'>Mala de viagem </option><option id ='o11p321' value='11|321' data-kw=''>Maleta para notebook</option><option id ='o11p132' value='11|132' data-kw='Blackhawk,Duffle,TOTE'>Mochila</option><option id ='o11p135' value='11|135' data-kw='Backpack,BACKPACK-,backpack:,BACKPACKS,JanSport,luggage,pack'>Mochila para costas</option><option id ='o11p457' value='11|457' data-kw=''>Pasta para documentos em couro</option><option id ='o11p140' value='11|140' data-kw='fannypack,Pouch'>Pochete</option><option id ='o11p237' value='11|237' data-kw=''>Saco de roupas</option><option id ='o11p421' value='11|421' data-kw=''>Sacola de rodinhas</option></optgroup><optgroup label='Brinquedos e bichos de estimação'><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'>Brinquedo</option><option id ='o20p215' value='20|215' data-kw='BOYDS,cage,Chihuahua,Dalmatian,hound,labrador,puppy'>Cachorro</option><option id ='o20p213' value='20|213' data-kw='collar'>Coleira para pet</option><option id ='o20p384' value='20|384' data-kw=''>Coleira para pets</option><option id ='o20p216' value='20|216' data-kw='Giraffes-,hamster,horseshoe'>Gato</option><option id ='o20p214' value='20|214' data-kw='Backgammon,board,checkers,Dart,Darts,Etch-a-sketch,games,puzzle,puzzles'>Jogo</option><option id ='o20p297' value='20|297' data-kw=''>Pelúcias</option></optgroup><optgroup label='Calçados'><option id ='o2p32' value='2|32' data-kw='boot,BOOT-,boots,cowboyboot,Hottronics,SALOMON,SNOWBOOTS,SNOWBOOTS-,Timberland,footwear'>Botas</option><option id ='o2p466' value='2|466' data-kw=''>Calçado - Outro</option><option id ='o2p36' value='2|36' data-kw='ballet,booties,slipper,footwear'>Chinelos</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'>Sandálias</option><option id ='o2p294' value='2|294' data-kw=',footwear'>Sandálias de dedo</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'>Sapatos</option><option id ='o2p331' value='2|331' data-kw=',footwear'>Sapatos de salto alto</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'>Tênis</option></optgroup><optgroup label='Cartões de associado e ingressos'><option id ='o26p286' value='26|286' data-kw=''>Cartão de passageiro frequente</option><option id ='o26p287' value='26|287' data-kw=''>Cartão de recompensas</option><option id ='o26p285' value='26|285' data-kw=''>Passe de temporada</option></optgroup><optgroup label='Chapelaria'><option id ='o3p390' value='3|390' data-kw=''>Acessórios para cabeça - outro</option><option id ='o3p45' value='3|45' data-kw='Beret'>Boina</option><option id ='o3p47' value='3|47' data-kw='cap,woolcap'>Boné</option><option id ='o3p53' value='3|53' data-kw='Helmet,HELMET-'>Capacete de bicicleta</option><option id ='o3p255' value='3|255' data-kw='Helmet-,Helmet-Giro,Mask'>Capacete de esqui</option><option id ='o3p389' value='3|389' data-kw=''>Capacete de motocicleta</option><option id ='o3p388' value='3|388' data-kw=''>Capacete de segurança</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'>Chapéu</option><option id ='o3p44' value='3|44' data-kw='beanie,beanie:,beannie,Beenie,face,warmer'>Gorro</option><option id ='o3p54' value='3|54' data-kw='bandana,face,Head Wrap,headwrap,neck,warmer'>Lenço de cabeça</option><option id ='o3p475' value='3|475' data-kw='facemask,protective face covering,surgical mask,mask'>Máscara facial</option><option id ='o3p51' value='3|51' data-kw='Headbands'>Tiara</option><option id ='o3p50' value='3|50' data-kw='visor'>Visor solar</option></optgroup><optgroup label='Chaves, carteiras e outros acessórios pessoais'><option id ='o15p517' value='15|517' data-kw='opener,church key'>Abridor de garrafas</option><option id ='o15p340' value='15|340' data-kw=''>Brinquedos para adultos</option><option id ='o15p173' value='15|173' data-kw='PIPE,hookah,bong'>cachimbo</option><option id ='o15p160' value='15|160' data-kw=''>Cafeteira</option><option id ='o15p162' value='15|162' data-kw='pen,pencils,pens,Montblanc,Parker,mechanical pencil'>Caneta ou lápis</option><option id ='o15p67' value='15|67' data-kw='billfold,BUSINESS,CARD,creditcard,HOLDER,tri-fold,trifold,wallet,Wallet:,wallets'>Carteira</option><option id ='o15p151' value='15|151' data-kw=''>Carteira para cartão de visitas</option><option id ='o15p275' value='15|275' data-kw='CIGAR'>Charuto</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'>Chaves</option><option id ='o15p154' value='15|154' data-kw='HOOKAH'>Cigarreira</option><option id ='o15p155' value='15|155' data-kw='"E",ASHTRAY,Cigarette,Ciggarette,e-cig,e-cigarette,Electronic,HOOKAH,Marlboro'>Cigarros</option><option id ='o15p156' value='15|156' data-kw='Ecigarette,vape pen'>Cigarros eletronicos ou acessórios Vape</option><option id ='o15p152' value='15|152' data-kw='MONEYCLIP,Tri-fold'>Clipe de dinheiro</option><option id ='o15p203' value='15|203' data-kw='Activity,COUNTER/PEDOMETER,pedometer,tracker'>Contador de passos e de calorias (pedômetro)</option><option id ='o15p159' value='15|159' data-kw='Lifestyle'>Contraceptivos</option><option id ='o15p453' value='15|453' data-kw='Mask,protective mask'>Cordão para crachá</option><option id ='o15p158' value='15|158' data-kw='clippers'>Cortador de unhas</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éticos ou maquiagem</option><option id ='o15p78' value='15|78' data-kw='Dencher,DENTURE,TEETH'>Dentaduras (dentes falsos)</option><option id ='o15p175' value='15|175' data-kw='alarm,Clock,Ihome'>Despertador</option><option id ='o15p271' value='15|271' data-kw=''>Equipamento de fitness</option><option id ='o15p347' value='15|347' data-kw=''>Escala</option><option id ='o15p378' value='15|378' data-kw=''>Faca</option><option id ='o15p157' value='15|157' data-kw='parasol,Umbrella,umbrellas'>Guarda chuva</option><option id ='o15p153' value='15|153' data-kw='lighter'>Isqueiro</option><option id ='o15p165' value='15|165' data-kw='/FLASHLIGHTS,Flashlight,FLASHLIGHTS,lamp,LANTERN,light,Mag-Lite,Maglite,VIPERTEK'>Lanterna</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'>Livro de bolso / bolsa</option><option id ='o15p166' value='15|166' data-kw='nightlight'>Luminária noturna</option><option id ='o15p172' value='15|172' data-kw=''>Lupa</option><option id ='o15p537' value='15|537' data-kw='Bag,handbag,tote,pouch'>Mala de tiracolo</option><option id ='o15p515' value='15|515' data-kw='Eye Mask'>Máscara de dormir</option><option id ='o15p475' value='15|475' data-kw='facemask,protective face covering,surgical mask,mask'>Máscara facial</option><option id ='o15p150' value='15|150' data-kw='Wig,wigs,Toupee,toupees'>Peruca rabo de cavalo</option><option id ='o15p170' value='15|170' data-kw='DEVICE,Heating,pad'>Placa de aquecimento</option><option id ='o15p459' value='15|459' data-kw=''>Porta Carteira de Identidade</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'>Relógio </option><option id ='o15p174' value='15|174' data-kw='Rosary'>Rosário (terço)</option><option id ='o15p161' value='15|161' data-kw='bottle,Corkscrew,opener.'>Saca rolhas</option><option id ='o15p171' value='15|171' data-kw='Vaporizer'>Umidificador</option><option id ='o15p164' value='15|164' data-kw=''>Ventilador</option></optgroup><optgroup label='Cobertores, travesseiros e toalhas'><option id ='o16p401' value='16|401' data-kw=''>Almofada de pescoço</option><option id ='o16p371' value='16|371' data-kw=''>Almofadas de assento</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'>Cobertores</option><option id ='o16p348' value='16|348' data-kw=''>Fronha</option><option id ='o16p349' value='16|349' data-kw=''>Lençóis</option><option id ='o16p180' value='16|180' data-kw='handtowel,towel'>Toalhas</option><option id ='o16p179' value='16|179' data-kw='case,Cushion,Neck,NECKPILLOW,Pilllow,pillow,pillow case,Pillowcase,pillowcases,Rest,tempur-pedic,Tempurpedic'>Travesseiros</option><option id ='o16p372' value='16|372' data-kw=''>Travesseiros para as costas</option></optgroup><optgroup label='Comida e bebida'><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'>Alimentos</option><option id ='o14p269' value='14|269' data-kw=''>Doces</option><option id ='o14p270' value='14|270' data-kw=''>Licor</option><option id ='o14p306' value='14|306' data-kw=''>Refrigerante</option><option id ='o14p417' value='14|417' data-kw=''>Vinho</option></optgroup><optgroup label='Documentos de identidade, carteiras de motorista, cartões de crédito e passaportes'><option id ='o5p310' value='5|310' data-kw=''>Autorização de Residente permanente</option><option id ='o5p305' value='5|305' data-kw=''>Cartão de acesso global</option><option id ='o5p461' value='5|461' data-kw='Insurance,Benefit'>Cartão de benefício ou seguro</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'>Cartão de crédito ou débito</option><option id ='o5p541' value='5|541' data-kw='Federal ID,ID,ID Card'>Cartão de identificação - federal</option><option id ='o5p441' value='5|441' data-kw=''>Cartão de recompensas</option><option id ='o5p395' value='5|395' data-kw=''>Cartão de segurança social</option><option id ='o5p442' value='5|442' data-kw=''>Cartão de Sócio de clube</option><option id ='o5p527' value='5|527' data-kw=''>Cartão de Vacina</option><option id ='o5p67' value='5|67' data-kw='billfold,BUSINESS,CARD,creditcard,HOLDER,tri-fold,trifold,wallet,Wallet:,wallets'>Carteira</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'>Carteira de motorista</option><option id ='o5p304' value='5|304' data-kw=''>Certidão de nascimento</option><option id ='o5p346' value='5|346' data-kw=''>Crachá ou identificador</option><option id ='o5p319' value='5|319' data-kw='Police Badge, Badge, insignia'>Distintivos</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'>Documento de identidade emitido pelo Estado</option><option id ='o5p460' value='5|460' data-kw=''>Identidade Estudantil</option><option id ='o5p320' value='5|320' data-kw=''>Identidade funcional</option><option id ='o5p318' value='5|318' data-kw='military,army,navy,marines,airfore,air force,space force,spaceforce,coast guard,coastguard'>Identidade militar</option><option id ='o5p334' value='5|334' data-kw=''>Licença</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'>Passaporte</option><option id ='o5p298' value='5|298' data-kw=''>Passe de temporada</option><option id ='o5p459' value='5|459' data-kw=''>Porta Carteira de Identidade</option><option id ='o5p69' value='5|69' data-kw='Badges,bank'>Talão de cheques</option></optgroup><optgroup label='Entretenimento'><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='Equipamentos esportivos'><option id ='o8p341' value='8|341' data-kw=''>Alicate multi ferramentas</option><option id ='o8p254' value='8|254' data-kw='pole,poles'>bastões de esquis</option><option id ='o8p241' value='8|241' data-kw='bicycle,BICYCLES,Bike,BMX'>Bicicleta</option><option id ='o8p242' value='8|242' data-kw='Binoculars,Bowl,BOWLS'>Binóculos</option><option id ='o8p364' value='8|364' data-kw=''>Bola de basquete</option><option id ='o8p91' value='8|91' data-kw='archery,Baseball,baseballs,basketballs,Bat,franklin,glove,mitt,snowboard,Softball,VOLLEYBALL'>Bola de beisebol</option><option id ='o8p89' value='8|89' data-kw=''>Bola de boliche</option><option id ='o8p90' value='8|90' data-kw='Bucknell'>Bola de futebol</option><option id ='o8p399' value='8|399' data-kw=''>Bola de Futebol</option><option id ='o8p416' value='8|416' data-kw=''>Bola de vôlei</option><option id ='o8p544' value='8|544' data-kw='pool balls'>Bolas de bilhar</option><option id ='o8p95' value='8|95' data-kw=''>Bolas de golfe</option><option id ='o8p292' value='8|292' data-kw=''>Bolas de tênis</option><option id ='o8p546' value='8|546' data-kw=''>Bolsas de cornhole</option><option id ='o8p290' value='8|290' data-kw=''>Botas de esqui</option><option id ='o8p257' value='8|257' data-kw='GOGGLES-'>Botas de snowboard</option><option id ='o8p342' value='8|342' data-kw=''>bússola</option><option id ='o8p420' value='8|420' data-kw=''>Cadeira de acampamento</option><option id ='o8p477' value='8|477' data-kw=''>Caiaque</option><option id ='o8p412' value='8|412' data-kw='hiking'>Camisetas Pólo para caminhada</option><option id ='o8p53' value='8|53' data-kw='Helmet,HELMET-'>Capacete de bicicleta</option><option id ='o8p255' value='8|255' data-kw='Helmet-,Helmet-Giro,Mask'>Capacete de esqui</option><option id ='o8p369' value='8|369' data-kw=''>Capinhas para tacos de golfe </option><option id ='o8p549' value='8|549' data-kw='Cleats,Chuteiras,Kabelschellen,????,??,??,Crampons,Botines con tacos,???'>Chuteiras</option><option id ='o8p96' value='8|96' data-kw=''>Disco de frisbee</option><option id ='o8p552' value='8|552' data-kw='raft,float,swimming'>Dispositivo insuflável/flutuante</option><option id ='o8p394' value='8|394' data-kw=''>Equipamento de hóquei</option><option id ='o8p392' value='8|392' data-kw=''>Equipamento de mergulho</option><option id ='o8p98' value='8|98' data-kw='life,surfboard,vest'>Equipamento de natação</option><option id ='o8p97' value='8|97' data-kw='SNORKEL,SNORKELS'>Equipamento de snorke</option><option id ='o8p393' value='8|393' data-kw=''>Equipamento fotográfico</option><option id ='o8p264' value='8|264' data-kw='BINDINGS,goggles-black,salomin,SALOMON'>Equipamentos de esqui - outros</option><option id ='o8p413' value='8|413' data-kw='Sleeping Bag,SleepingBag'>Equipamentos para acampamento</option><option id ='o8p519' value='8|519' data-kw='weight reducer'>Espartilho para cintura</option><option id ='o8p253' value='8|253' data-kw='Mantra,skis-,Skis:,Volkl'>Esquis</option><option id ='o8p378' value='8|378' data-kw=''>Faca</option><option id ='o8p543' value='8|543' data-kw='pool chalk,chalk'>Giz de bilhar</option><option id ='o8p458' value='8|458' data-kw=''>Lambreta</option><option id ='o8p540' value='8|540' data-kw='Glove,Mitt,Baseball Glove,Softball Glove'>Luva de basebol</option><option id ='o8p368' value='8|368' data-kw=''>Luvas de golfe</option><option id ='o8p370' value='8|370' data-kw=''>Medidor de distancia</option><option id ='o8p291' value='8|291' data-kw=''>Óculos de esqui</option><option id ='o8p147' value='8|147' data-kw='goggle,goggles,goggles-black'>Óculos de natação</option><option id ='o8p478' value='8|478' data-kw='Boogie Board'>Prancha de bodyboard</option><option id ='o8p256' value='8|256' data-kw='board,board.,snow,snowboard-'>Prancha de neve (snowboard)</option><option id ='o8p353' value='8|353' data-kw=''>Prancha de skate</option><option id ='o8p476' value='8|476' data-kw=''>Prancha de surfe</option><option id ='o8p94' value='8|94' data-kw='racket,racquets,raquet,badmitton,Pickleball,squash,ping pong,table tennis,Racquetball'>Raquete de tenis ou esporte</option><option id ='o8p551' value='8|551' data-kw='Oar,Swimming'>Remo</option><option id ='o8p550' value='8|550' data-kw=''>Saco-cama</option><option id ='o8p93' value='8|93' data-kw='CLUB,HOLDER'>Sacola de tacos de golfe</option><option id ='o8p545' value='8|545' data-kw=''>Tabuleiro de cornhole</option><option id ='o8p542' value='8|542' data-kw='pool cue,pool stick,pool,billiards stick,billiards cue'>Taco de bilhar</option><option id ='o8p92' value='8|92' data-kw='Callaway'>Tacos de Colfe</option><option id ='o8p400' value='8|400' data-kw=''>Tapete de yoga</option><option id ='o8p411' value='8|411' data-kw=''>Tendas</option><option id ='o8p303' value='8|303' data-kw=''>Varas de pescar</option><option id ='o8p520' value='8|520' data-kw='hover board'>Veículo motorizado pessoal (hoverboard) </option></optgroup><optgroup label='Estojos e embalagens'><option id ='o12p272' value='12|272' data-kw=''>Bolsa</option><option id ='o12p142' value='12|142' data-kw='BAGS,CONVENTION'>Bolsa de convenções </option><option id ='o12p233' value='12|233' data-kw='BASKETS,cannister,case,container,Glasscase,OTTERBOX,sack,white'>Caixa</option><option id ='o12p235' value='12|235' data-kw='Toolbox,Tools'>Caixa de ferramentas</option><option id ='o12p494' value='12|494' data-kw='dispenser,pill container'>Caixinhas de pílulas</option><option id ='o12p415' value='12|415' data-kw='earbud, earbud case'>Capa de fone de ouvido</option><option id ='o12p136' value='12|136' data-kw='case,otterbox,softcase,up,zip,zipper,zippered'>Capa para câmera</option><option id ='o12p327' value='12|327' data-kw='phone case,cell phone case,cell phone holder,holder'>Capa para telefone celular</option><option id ='o12p141' value='12|141' data-kw='bag,BAG:,costco,Guest,Package,parcel,plastic,SHOPPING'>Embalagem de presente</option><option id ='o12p138' value='12|138' data-kw='BLACK,carrying,CASE,RUBBER,white,ZIP,zippered'>Estojo para lentes de contato</option><option id ='o12p284' value='12|284' data-kw=''>Estojo para óculos</option><option id ='o12p274' value='12|274' data-kw=''>Garrafa</option><option id ='o12p232' value='12|232' data-kw='Aluminium,bag,carrying,case,case.,Container,Ornamental,plastic,rifle,rubber,shoe,white'>Memórias</option><option id ='o12p365' value='12|365' data-kw=''>Merendeira ou caixa</option><option id ='o12p512' value='12|512' data-kw='FedEx,USPS,UPS,DHL,AMZ'>Pacote de remessa FedEx, UPS, USPS, etc.</option><option id ='o12p457' value='12|457' data-kw=''>Pasta para documentos em couro</option><option id ='o12p528' value='12|528' data-kw=''>Porta-animais de estimação</option><option id ='o12p139' value='12|139' data-kw='dispenser,icechest,Icepacks,IGLOO'>Resfriador</option><option id ='o12p529' value='12|529' data-kw=''>Saco de papel</option><option id ='o12p137' value='12|137' data-kw=''>Saco de roupa suja</option><option id ='o12p307' value='12|307' data-kw=''>Saco plástico</option><option id ='o12p308' value='12|308' data-kw=''>Sacola de compras</option><option id ='o12p133' value='12|133' data-kw=''>Sacola de fraldas</option><option id ='o12p280' value='12|280' data-kw=''>Urna ou vaso</option></optgroup><optgroup label='Fotos, documentos, arte, livros e etc.'><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'>Artesanato</option><option id ='o4p464' value='4|464' data-kw=''>Artigos de papelaria</option><option id ='o4p283' value='4|283' data-kw=''>Bíblias - livros religiosos</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'>Caderno de notas</option><option id ='o4p495' value='4|495' data-kw='letter,correspondence'>Caixa de Correio ou Correspondencia</option><option id ='o4p60' value='4|60' data-kw=''>Calendário</option><option id ='o4p309' value='4|309' data-kw=''>Certificado (s)</option><option id ='o4p361' value='4|361' data-kw=''>Encadernador</option><option id ='o4p62' value='4|62' data-kw='BIRTHDAY,CARD,envelope,envelopes,mailing,Manilla,portfolio,postcard,postcards,tube'>Envelope</option><option id ='o4p63' value='4|63' data-kw='Framed,photograph,photos,photos.,picture,plaque,Portrait,reward,X-ray'>Foto</option><option id ='o4p273' value='4|273' data-kw=''>Jornal/Diário</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'>Livro</option><option id ='o4p61' value='4|61' data-kw='agenda,Binder,Daily,datebook,Folder,journal,journal.,ledger,organizer,Planner,portfolio,schedule,Zipper,daytimer,planner'>Livro de endereços ou agenda</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'>Passaporte</option><option id ='o4p64' value='4|64' data-kw='folder,folders,plastic'>Pasta</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'>Pastas para papéis de negócios</option><option id ='o4p281' value='4|281' data-kw=''>Pergaminhos</option><option id ='o4p518' value='4|518' data-kw=''>Porta-retratos</option><option id ='o4p236' value='4|236' data-kw='Card,folder,Holder-,leathercase,plastic'>Portfólio</option><option id ='o4p263' value='4|263' data-kw='Atlas,Road'>Revista</option></optgroup><optgroup label='Garrafas, copos e canecas'><option id ='o7p83' value='7|83' data-kw='bottle,COFFEE,cruche,cylinder,decanter,jar,jug,Kanteen,kettle,mug,MUGS,pint,starbucks,thermos,TUMBLER,waterbottle'>Caneca de viagem</option><option id ='o7p86' value='7|86' data-kw='sippy'>Copo com canudinho</option><option id ='o7p490' value='7|490' data-kw='martini shaker'>Copo ou agitador</option><option id ='o7p84' value='7|84' data-kw='beer,glass,shot,wineglasses'>Copo para bebida</option><option id ='o7p366' value='7|366' data-kw=''>Garrafa de água</option><option id ='o7p548' value='7|548' data-kw=''>Garrafa térmica</option><option id ='o7p491' value='7|491' data-kw=''>Garrafa térmica ou frasco</option><option id ='o7p87' value='7|87' data-kw='bottles,nuk,Pacifier'>Mamadeira</option><option id ='o7p239' value='7|239' data-kw=''>Óculos de tiro</option><option id ='o7p510' value='7|510' data-kw='koozie, Kozy, kozie, Cozy, Koozy, Coozy, Coozie'>Porta-cervejas</option><option id ='o7p88' value='7|88' data-kw='Courvoisier,flask,jaegermeister'>Recipiente de metal para líquidos</option><option id ='o7p267' value='7|267' data-kw=''>Tigela</option><option id ='o7p293' value='7|293' data-kw=''>Xícara de café</option><option id ='o7p85' value='7|85' data-kw='beer,ceramic,coffee,cup,cups,engraved,mug,saucer'>Xícara para bebida</option></optgroup><optgroup label='Instrumentos musicais'><option id ='o22p225' value='22|225' data-kw='TV'>Acordeão</option><option id ='o22p228' value='22|228' data-kw='mat'>Apito</option><option id ='o22p380' value='22|380' data-kw=''>Arco</option><option id ='o22p222' value='22|222' data-kw='anti-snorring,Dental,Medicalert'>Banjo</option><option id ='o22p221' value='22|221' data-kw=''>Baquetas</option><option id ='o22p226' value='22|226' data-kw=''>Clarineta</option><option id ='o22p223' value='22|223' data-kw='tuperware'>Flauta</option><option id ='o22p219' value='22|219' data-kw=''>Guitarra</option><option id ='o22p229' value='22|229' data-kw='adaptor,Toshiba'>Guitarra havaiana</option><option id ='o22p227' value='22|227' data-kw='purse'>Harmonica</option><option id ='o22p465' value='22|465' data-kw=''>Instrumentos musicais ou acessórios - outros</option><option id ='o22p445' value='22|445' data-kw='Electronic,Electric,Digital,Synthesizer,Synth'>Piano/teclado</option><option id ='o22p230' value='22|230' data-kw=''>Saxofone</option><option id ='o22p220' value='22|220' data-kw='paper'>Tambor</option><option id ='o22p224' value='22|224' data-kw=''>Trompete</option><option id ='o22p379' value='22|379' data-kw=''>violino</option></optgroup><optgroup label='Item para bebê e criança'><option id ='o34p485' value='34|485' data-kw='child booster'>Assento elevatório  </option><option id ='o34p482' value='34|482' data-kw='bib'>Babador para bebês  </option><option id ='o34p488' value='34|488' data-kw='bathtub,bath tub,tub'>Banheira de bebê  </option><option id ='o34p134' value='34|134' data-kw='Car,seat,Stroller,baby car seat'>Cadeirinha de criança para carro</option><option id ='o34p486' value='34|486' data-kw='Pack And Play,baby play pen,baby bed,crib'>Cercadinho  </option><option id ='o34p480' value='34|480' data-kw='Binky,teething ring'>Chupeta  </option><option id ='o34p178' value='34|178' data-kw='afgan,Bedding,bedspread,blanket,blankie,comforter,covering,covers,duvet,layer,overlay,Quilt,satin,Sheet,sheets,silk,snuggie,SNUGGY,tassel'>Cobertores</option><option id ='o34p487' value='34|487' data-kw='leash'>Coleira infantil  </option><option id ='o34p87' value='34|87' data-kw='bottles,nuk,Pacifier'>Mamadeira</option><option id ='o34p489' value='34|489' data-kw='monitor'>Monitor de bebê eletrônico  </option><option id ='o34p483' value='34|483' data-kw='training seat,potty,squatty potty,toilet seat'>Penico infantil ou assento sanitário  </option><option id ='o34p481' value='34|481' data-kw=''>Porta-bebês  </option><option id ='o34p484' value='34|484' data-kw='changing pad'>Trocadores de bebês  </option></optgroup><optgroup label='Item único fora da lista'><option id ='o23p217' value='23|217' data-kw=''>Não listado</option></optgroup><optgroup label='Joalheria'><option id ='o9p110' value='9|110' data-kw='-CUFFLINKS,cuff,cufflink,Cufflinks,link'>Abotoaduras</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'>Anel </option><option id ='o9p99' value='9|99' data-kw='alert,anklet,bangle,bracelet,Bracelet-,bracelets,CHARMS,DIAMONDS,STONE,STONES,wristband'>Bracelete ou pulseira</option><option id ='o9p100' value='9|100' data-kw='Earing,earring,earring:,earrings,hoop,Hoops,Piercings'>Brincos ou piercings</option><option id ='o9p102' value='9|102' data-kw='pendant'>Broche</option><option id ='o9p456' value='9|456' data-kw='Tietack,tie tack,tiepin,tie pin,tieclip,tie clip'>Clipe de gravata</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'>Colar</option><option id ='o9p109' value='9|109' data-kw='tiara'>Coroa, tiara</option><option id ='o9p106' value='9|106' data-kw='bolero'>Corrente</option><option id ='o9p108' value='9|108' data-kw='cross'>Crucifixo</option><option id ='o9p107' value='9|107' data-kw=''>Fivela de cinto</option><option id ='o9p104' value='9|104' data-kw='barrette,clips,Hair'>Fivela ou grampo de cabelo</option><option id ='o9p473' value='9|473' data-kw=''>Jóias - outros</option><option id ='o9p105' value='9|105' data-kw='brooch,medals,Pin'>Pin (distintivo)</option><option id ='o9p111' value='9|111' data-kw='cameo,emerald,Ivory,Jewel,medallion,pendant,quartz,rhinestine,rhinestone,saphire,sapphire,Tanzanite,zirconia'>Pingentes</option><option id ='o9p373' value='9|373' data-kw=''>pingentes para braceletes</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'>Relógio de pulso</option><option id ='o9p244' value='9|244' data-kw='COLORED,crystal,JEWELRY,pendant,RHINESTONES,swarovski'>Vários tipos de jóias</option></optgroup><optgroup label='Lembranças'><option id ='o28p468' value='28|468' data-kw=''>Bandeira</option><option id ='o28p444' value='28|444' data-kw=''>Brindes para convenções</option><option id ='o28p382' value='28|382' data-kw=''>Camiseta</option><option id ='o28p83' value='28|83' data-kw='bottle,COFFEE,cruche,cylinder,decanter,jar,jug,Kanteen,kettle,mug,MUGS,pint,starbucks,thermos,TUMBLER,waterbottle'>Caneca de viagem</option><option id ='o28p381' value='28|381' data-kw=''>Chaveiro</option><option id ='o28p84' value='28|84' data-kw='beer,glass,shot,wineglasses'>Copo para bebida</option><option id ='o28p508' value='28|508' data-kw='christmas tree,christmas lights,holiday,Ornament'>Decorações ou ornamentos</option><option id ='o28p409' value='28|409' data-kw=''>imã</option><option id ='o28p239' value='28|239' data-kw=''>Óculos de tiro</option><option id ='o28p410' value='28|410' data-kw='License Plate'>Outros souvernirs</option><option id ='o28p516' value='28|516' data-kw='Trophy,Plaque,Medal'>Prêmio ou troféu</option><option id ='o28p406' value='28|406' data-kw=''>Robe</option><option id ='o28p405' value='28|405' data-kw=''>Varinha</option></optgroup><optgroup label='Livre de impostos'><option id ='o25p155' value='25|155' data-kw='"E",ASHTRAY,Cigarette,Ciggarette,e-cig,e-cigarette,Electronic,HOOKAH,Marlboro'>Cigarros</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éticos ou maquiagem</option><option id ='o25p269' value='25|269' data-kw=''>Doces</option><option id ='o25p270' value='25|270' data-kw=''>Licor</option><option id ='o25p121' value='25|121' data-kw='Burberry,Perfume,perfumes'>Perfume</option><option id ='o25p306' value='25|306' data-kw=''>Refrigerante</option><option id ='o25p385' value='25|385' data-kw=''>Vários itens</option></optgroup><optgroup label='Não retornáveis'><option id ='o29p404' value='29|404' data-kw=''>garrafas não retornáveis</option></optgroup><optgroup label='Objetos religiosos'><option id ='o27p523' value='27|523' data-kw='Phylacteries'>Amulketos de Proteção </option><option id ='o27p322' value='27|322' data-kw=''>Artigos religiosos - outros</option><option id ='o27p317' value='27|317' data-kw=''>Boinas para judeus ortodoxos</option><option id ='o27p316' value='27|316' data-kw=''>Bolsa de transporte Tallit</option><option id ='o27p315' value='27|315' data-kw=''>Escrituras - Biblias</option><option id ='o27p312' value='27|312' data-kw=''>Itens de comunhão</option><option id ='o27p314' value='27|314' data-kw=''>Terços (rosários)</option><option id ='o27p313' value='27|313' data-kw=''>Touca</option></optgroup><optgroup label='Óculos'><option id ='o13p242' value='13|242' data-kw='Binoculars,Bowl,BOWLS'>Binóculos</option><option id ='o13p144' value='13|144' data-kw='Acuvue,contacts,lense'>Lentes de contato</option><option id ='o13p291' value='13|291' data-kw=''>Óculos de esqui</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'>Óculos de grau</option><option id ='o13p147' value='13|147' data-kw='goggle,goggles,goggles-black'>Óculos de natação</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'>Óculos de sol</option><option id ='o13p145' value='13|145' data-kw='bi-fokles,BIFOCALS,Eye,EYEGLASS,eyeglasse,FRAMES,Glasses,glasses:,PLASTIC,reading,Spectacles'>Óculos para leitura</option></optgroup><optgroup label='Prescrição de medicamentos e equipamento médico'><option id ='o6p75' value='6|75' data-kw='wheelchair'>Andador</option><option id ='o6p79' value='6|79' data-kw='aid,hearing'>Aparelho auditivo</option><option id ='o6p74' value='6|74' data-kw='cane,CANE-,Stick,Walking'>Bengala</option><option id ='o6p311' value='6|311' data-kw=''>Bomba de amamentação</option><option id ='o6p505' value='6|505' data-kw=''>Cadeira de rodas ou acessórios</option><option id ='o6p494' value='6|494' data-kw='dispenser,pill container'>Caixinhas de pílulas</option><option id ='o6p78' value='6|78' data-kw='Dencher,DENTURE,TEETH'>Dentaduras (dentes falsos)</option><option id ='o6p474' value='6|474' data-kw=''>Desinfetante para as mãos</option><option id ='o6p71' value='6|71' data-kw='Aerator,CPAP,nebulizer,orthopak,Respirator,Respironic,vaporisor'>Dispositivo de respiração ou respirador</option><option id ='o6p80' value='6|80' data-kw='advair,Inhaler'>Inalador</option><option id ='o6p81' value='6|81' data-kw='insulin'>Insulina</option><option id ='o6p76' value='6|76' data-kw='dialysis,equipment,syringe,Diabetes Kit'>Kit para diabéticos</option><option id ='o6p539' value='6|539' data-kw='Aspirin,Ibuprofen,Advil,Tylenol,Cough Medicine,Cough Drops'>Medicamentos não sujeitos a receita médica</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'>Médico - outro</option><option id ='o6p77' value='6|77' data-kw='dialysis,equipment'>Medidor de glicose</option><option id ='o6p336' value='6|336' data-kw=''>Muletas</option><option id ='o6p507' value='6|507' data-kw=''>Produtos CBD (à base de plantas de cânhamo)</option><option id ='o6p70' value='6|70' data-kw='ankle,athletic,CRUTCHES,Futuro,Neckbrace,orthodic,orthotic'>Pulseira</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'>Receitas médicas</option><option id ='o6p82' value='6|82' data-kw='braces,Invisalign,Mouthguard,mouthpiece,Nightguard,orthodontics,retainer,retainer.,retainers'>Retentor dentário</option><option id ='o6p506' value='6|506' data-kw=''>Termômetro</option><option id ='o6p73' value='6|73' data-kw='Airborne,vitamin'>Vitaminas</option></optgroup><optgroup label='Produtos de higiene pessoal e para os cabelos'><option id ='o10p521' value='10|521' data-kw='hair iron,iron'>Alisador de cabelo</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'>Artigos de higiene pessoal diversos</option><option id ='o10p114' value='10|114' data-kw='and,beard,ELECTRIC,hair,HAIRCLIPPERS,Norelco,razor,RAZORS,shaver'>Barbeador elétrico ou tosquiadeira</option><option id ='o10p345' value='10|345' data-kw=''>Bolsa de higiene pessoal</option><option id ='o10p276' value='10|276' data-kw='Curling'>Chapinha</option><option id ='o10p128' value='10|128' data-kw=''>Colírio</option><option id ='o10p120' value='10|120' data-kw='cologne,fragrance'>Colônia</option><option id ='o10p443' value='10|443' data-kw=''>Condicionador</option><option id ='o10p123' value='10|123' data-kw=';shaving,bag,cosmetic,kit,Manicure,nail,Set,shave,TWEEZERS'>Conjunto de manicure</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éticos ou maquiagem</option><option id ='o10p122' value='10|122' data-kw=';shaving,bag,facecream,Foam,Shave,shaving'>Creme de barbear</option><option id ='o10p343' value='10|343' data-kw='Sunscreen,sun screen'>Creme protetor solar</option><option id ='o10p474' value='10|474' data-kw=''>Desinfetante para as mãos</option><option id ='o10p127' value='10|127' data-kw='DEODERANT,deodorant,deodorant.'>Desodorante</option><option id ='o10p118' value='10|118' data-kw='airbrush,brush,brushes,clip,hair,hairbrush,Loufa,scrubber,STRAIGHTENER'>Escova</option><option id ='o10p112' value='10|112' data-kw='crest,Electric,Sensodyne,toothbrush,toothbrushes,toothbush,toothpaste'>Escova de dentes</option><option id ='o10p113' value='10|113' data-kw='Electric,flexcare,Sonicare,toothbrush,toothbush,Waterpik'>Escova de dentes elétrica</option><option id ='o10p534' value='10|534' data-kw='Mirror,Hand mirror'>Espelho</option><option id ='o10p125' value='10|125' data-kw='compact,miror,Mirror,vanity mirror,travel mirror'>Espelho compacto</option><option id ='o10p354' value='10|354' data-kw=''>Espelho de maquiagem ampliado</option><option id ='o10p359' value='10|359' data-kw=''>Extensões de cabelo (apliques)</option><option id ='o10p167' value='10|167' data-kw='Flat,FLATIRON,iron,Iron-'>Ferro de passar roupa</option><option id ='o10p387' value='10|387' data-kw=''>Fraldas</option><option id ='o10p323' value='10|323' data-kw=''>Gel para Cabelo</option><option id ='o10p344' value='10|344' data-kw=''>Laquê</option><option id ='o10p355' value='10|355' data-kw=''>Lenços para limpar maquiagem</option><option id ='o10p522' value='10|522' data-kw='polish'>Lixa de unhas</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'>Loção</option><option id ='o10p115' value='10|115' data-kw='electric,epilator,gillette,proglide,razor,scissor,sissors'>Navalha</option><option id ='o10p535' value='10|535' data-kw=''>Pasta de dentes</option><option id ='o10p117' value='10|117' data-kw='barettes,clip,comb,hair,hairclip,hairpin,scrunchy'>Pente</option><option id ='o10p121' value='10|121' data-kw='Burberry,Perfume,perfumes'>Perfume</option><option id ='o10p150' value='10|150' data-kw='Wig,wigs,Toupee,toupees'>Peruca</option><option id ='o10p324' value='10|324' data-kw=''>Produtos para lavagem facial ou corporal</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'>Secador</option><option id ='o10p126' value='10|126' data-kw='Contact,Solution'>Solução para lentes de contato</option><option id ='o10p509' value='10|509' data-kw='pair of scissors,clipper,shears'>Tesouras</option><option id ='o10p116' value='10|116' data-kw='bodywash,conditioner,facewash,garnier,hair,HAIRSPRAY,paste,Pureology,Scrub,Shampoo,SHAMPOOS,soap,Spray,treatment'>Xampu</option></optgroup><optgroup label='Telefone celular'><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, Outros</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='Vale dinheiro e presente'><option id ='o18p419' value='18|419' data-kw=''>Bilhete de aposta ou loteria</option><option id ='o18p472' value='18|472' data-kw=''>Bilhetes - Companhia Aérea</option><option id ='o18p536' value='18|536' data-kw=''>Bilhetes (outros)</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'>Cartão presente</option><option id ='o18p408' value='18|408' data-kw='Gringotts'>Cédulas de dinheiro americanas fantasia</option><option id ='o18p462' value='18|462' data-kw=''>Cheque ou ordem de pagamento</option><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'>Dinheiro</option><option id ='o18p471' value='18|471' data-kw=''>Ingressos - Entretenimento ou Esportes</option><option id ='o18p282' value='18|282' data-kw=''>Jogos de cassino</option><option id ='o18p538' value='18|538' data-kw='Coin,Commemorative Coin,Souvenir,Keepsake'>Medalha comemorativa</option><option id ='o18p339' value='18|339' data-kw=''>Moeda estrangeira</option><option id ='o18p337' value='18|337' data-kw=''>Moedas</option><option id ='o18p531' value='18|531' data-kw=''>Passe de transporte público</option><option id ='o18p338' value='18|338' data-kw=''>Recibo de dinheiro</option><option id ='o18p266' value='18|266' data-kw='Book,Check,pay'>Talão de cheques</option><option id ='o18p288' value='18|288' data-kw=''>Voucher de caça niqueis</option></optgroup><optgroup label='Vestuário'><option id ='o1p469' value='1|469' data-kw=''>Avental</option><option id ='o1p301' value='1|301' data-kw=''>Bandana</option><option id ='o1p367' value='1|367' data-kw=''>blusão de moleton</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'>Calça</option><option id ='o1p547' value='1|547' data-kw=''>Calças de fato de treino</option><option id ='o1p299' value='1|299' data-kw=''>Calças de neve</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'>Camisa</option><option id ='o1p498' value='1|498' data-kw='poncho,slicker,waterproof,macintosh'>Capa de chuva ou Poncho</option><option id ='o1p3' value='1|3' data-kw='belt,belts,buckle,concho,Cummerbund,suspenders'>Cinto</option><option id ='o1p27' value='1|27' data-kw='vest,Vest-'>Colete</option><option id ='o1p492' value='1|492' data-kw=''>Fantasias ou acessórios para fantasias</option><option id ='o1p17' value='1|17' data-kw='bowtie,necktie,tie,ties'>Gravata</option><option id ='o1p358' value='1|358' data-kw=''>Itens diversos</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'>Jaqueta</option><option id ='o1p397' value='1|397' data-kw=''>Jeans</option><option id ='o1p12' value='1|12' data-kw='scarf,Scarf-,SCARF:,scarve,scarves,Scraf,SHAWL,skarf'>Lenço</option><option id ='o1p25' value='1|25' data-kw='cotton,Glove,glove.,Hand,Leather,Left,mitten,mittens,mitts,snowboarding,Work'>Luvas</option><option id ='o1p300' value='1|300' data-kw=''>Luvas sem dedos</option><option id ='o1p511' value='1|511' data-kw=''>Macacão infantil</option><option id ='o1p18' value='1|18' data-kw='bootie,LEG,sock,WARMER'>Meias</option><option id ='o1p31' value='1|31' data-kw='bindings,CLOTHING:,hose,hosery,leotard,pair,Pantiehose,panty,Pantyhose,stocking,tights'>Meias de nylon</option><option id ='o1p398' value='1|398' data-kw=''>Moletom com capuz</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'>Pijama</option><option id ='o1p302' value='1|302' data-kw=''>Polaina de pescoço</option><option id ='o1p13' value='1|13' data-kw=''>Protetores de ouvido</option><option id ='o1p16' value='1|16' data-kw='bathrobe,cloth,kimono,robe,Robes,terry,velvet'>Robe</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'>Roupa de ginástica para treino</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'>Roupas de banho</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'>Roupas íntimas</option><option id ='o1p363' value='1|363' data-kw=''>Saída de banho</option><option id ='o1p10' value='1|10' data-kw='boardshort,Boardshorts,short,shorts'>Shortes</option><option id ='o1p246' value='1|246' data-kw='cardigan,cashmere,knitted,over,Patagonia,pull,pullover,suera,Sweater,sweater:,sweaters,Sweather,Sweeter,Turtleneck,wrap'>Suéter</option><option id ='o1p8' value='1|8' data-kw='jumpsuit,outfit,outfits,pinstripe,SUIT,Suits,tux,tuxedo,warmups'>Terno</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 ='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'>Vestido - saia</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'>Vestuário - outro</option><option id ='o1p330' value='1|330' data-kw=''>Xale</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;">Um item perdido é necessário</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">
                            Forneça as descrições detalhadas, como: a marca, a cor, o tamanho e qualquer outra característica marcante do item perdido. Por exemplo, se o dispositivo eletrônico foi perdido, forneça o número de série ou a descrição do protetor de tela.<span style='color:#CC0000;'>*</span>
                        </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">
                            Descrição do item:<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">
                            Número da viagem:
                        </label>
                    </div>
                </div>
                <div class="w3-row w3-padding-0">
                    <div class="rli-col">
                        <input class="c-inp c-ifc" size="20" style="text-align:left;" id="flightnumber" name="flightnumber" type="text" />
                    </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">
                            Data da perda:<span style='color:#CC0000;'>*</span>&nbsp;DD/MM/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;">
                            É necessário informar a data da perda
                        </span>
                        <br />
                    </div>
                </div>
                <div style="display:none;clear:both;" class="error" id="ct2bError">
                    <div class="rli-col">
                        <span style="color:#C30019;">
                            A data informada é inválida
                        </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">
                            Onde o item foi perdido:<span style='color:#CC0000;'>*</span>
                        </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="21206"  class="c-inp c-ifc" notranslate>Celebrity Apex</option>
                            
                            <option value="41033"  class="c-inp c-ifc" notranslate>Celebrity Ascent</option>
                            
                            <option value="33860"  class="c-inp c-ifc" notranslate>Celebrity Beyond</option>
                            
                            <option value="7152"  class="c-inp c-ifc" notranslate>Celebrity Constellation</option>
                            
                            <option value="7154"  class="c-inp c-ifc" notranslate>Celebrity Eclipse</option>
                            
                            <option value="13023"  class="c-inp c-ifc" notranslate>Celebrity Edge</option>
                            
                            <option value="5192"  class="c-inp c-ifc" notranslate>Celebrity Equinox</option>
                            
                            <option value="15321"  class="c-inp c-ifc" notranslate>Celebrity Flora</option>
                            
                            <option value="7149"  class="c-inp c-ifc" notranslate>Celebrity Infinity</option>
                            
                            <option value="7148"  class="c-inp c-ifc" notranslate>Celebrity Millennium</option>
                            
                            <option value="7156"  class="c-inp c-ifc" notranslate>Celebrity Reflection</option>
                            
                            <option value="7155"  class="c-inp c-ifc" notranslate>Celebrity Silhouette</option>
                            
                            <option value="7153"  class="c-inp c-ifc" notranslate>Celebrity Solstice</option>
                            
                            <option value="7150"  class="c-inp c-ifc" notranslate>Celebrity Summit</option>
                            
                            <option value="51844"  class="c-inp c-ifc" notranslate>Celebrity Xcel</option>
                            
                            <option value="33976"  class="c-inp c-ifc" notranslate>Celebrity Xpedition </option>
                            
                            </select>
                        
                        </div>
                    </div>
                </div>
                <div style="display:none;" class="error" id="ct3Error">
                    <div class="rli-col">
                        <span style="color:#C30019;">
                            É necessário informar um destino
                        </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">
                            Insira os detalhes sobre onde o item foi visto pela última vez e outras características marcantes para que possamos localizá-lo<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="(Por exemplo: número da sala, localização exata, protetor de tela, cores e etc.) " 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;">
                            É necessário informar uma descrição do local onde o item foi perdido
                        </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">Item(s) have an AirTag or other location tracker</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">
                            Informações sobre contato e envio
                        </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">
                        Primeiro nome<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;">
                                É necessário informar o primeiro nome
                            </span>
                            <br />
                        </div>
                    </div>
                    <div class="w3-half w3-margin-top">
                        <label for="LastName" id="ct8" class="labelvalue ship c-fc c-fs notranslate">
                            Sobrenome:<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;">
                                É necessário informar o sobrenome
                            </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">
                            Número de telefone / número de telefone celular:<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;">
                                É necessário informar o número de telefone
                            </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">
                            Endereço de e-mail:<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;">
                                É necessário fornecer um endereço de e-mail
                            </span>
                            <br />
                        </div>
                    </div>
                    <div class="w3-half w3-margin-top">
                        <label for="Email2" id="ct148" class="labelvalue ship c-fc c-fs notranslate">
                            Confirme o endereço de e-mail:<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;">
                                A confirmaçao do endereço de e-mail é necessária
                            </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">
                        Endereço residencial:<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;">É necessário fornecer o endereço residencial</span><br /></div>
                    </div>
                    <div class="w3-half w3-margin-top">
                        <label for="Address2" id="ct149" class="labelvalue ship c-fc c-fs notranslate">
                        Endereço residencial 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">
                        Cidade:<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;">É necessário informar a cidade</span><br /></div>
                    </div>
                    <div class="w3-half w3-margin-top">
                        <label for="Country" id="ct17" class="labelvalue ship c-fc c-fs notranslate">
                        País:<span style='color:#CC0000;'>*</span></label><br />
                        <div>
                            <div class="select-wrapper">
                                <select name='Country' id='Country' class='c-inp c-ifc' onchange="checkstate();"><option class='c-ifc' value=''>Select Country / Region</option><option class='c-ifc' value='US' selected>United States </option><option class='c-ifc' value='AF'>Afghanistan </option><option class='c-ifc' value='AX'>Aland Islands </option><option class='c-ifc' value='AL'>Albania </option><option class='c-ifc' value='AG'>Algeria </option><option class='c-ifc' value='AQ'>American Samoa </option><option class='c-ifc' value='AN'>Andorra </option><option class='c-ifc' value='AO'>Angola </option><option class='c-ifc' value='AV'>Anguilla </option><option class='c-ifc' value='AY'>Antarctica </option><option class='c-ifc' value='AC'>Antigua and Barbuda </option><option class='c-ifc' value='AR'>Argentina </option><option class='c-ifc' value='AM'>Armenia </option><option class='c-ifc' value='AA'>Aruba </option><option class='c-ifc' value='AS'>Australia </option><option class='c-ifc' value='AU'>Austria </option><option class='c-ifc' value='AJ'>Azerbaijan </option><option class='c-ifc' value='BF'>Bahamas </option><option class='c-ifc' value='BA'>Bahrain </option><option class='c-ifc' value='BG'>Bangladesh </option><option class='c-ifc' value='BB'>Barbados </option><option class='c-ifc' value='BY'>Belarus </option><option class='c-ifc' value='BE'>Belgium </option><option class='c-ifc' value='BH'>Belize </option><option class='c-ifc' value='BN'>Benin </option><option class='c-ifc' value='BD'>Bermuda </option><option class='c-ifc' value='BT'>Bhutan </option><option class='c-ifc' value='BO'>Bolivia </option><option class='c-ifc' value='BK'>Bosnia-Herzegovina </option><option class='c-ifc' value='BC'>Botswana </option><option class='c-ifc' value='BV'>Bouvet Island </option><option class='c-ifc' value='IO'>British Indian Ocean</option><option class='c-ifc' value='BR'>Brazil </option><option class='c-ifc' value='VI'>Virgin Islands, Brit</option><option class='c-ifc' value='BX'>Brunei Darussalam </option><option class='c-ifc' value='BU'>Bulgaria </option><option class='c-ifc' value='UV'>Burkina </option><option class='c-ifc' value='BM'>Myanmar </option><option class='c-ifc' value='BI'>Burundi </option><option class='c-ifc' value='CB'>Cambodia </option><option class='c-ifc' value='CM'>Cameroon </option><option class='c-ifc' value='CA'>Canada </option><option class='c-ifc' value='CV'>Cabo Verde </option><option class='c-ifc' value='CJ'>Cayman Islands </option><option class='c-ifc' value='CT'>Central African Repu</option><option class='c-ifc' value='CD'>Chad </option><option class='c-ifc' value='CI'>Chile </option><option class='c-ifc' value='CH'>China </option><option class='c-ifc' value='KT'>Christmas Island </option><option class='c-ifc' value='CC'>Cocos (Keeling) Isla</option><option class='c-ifc' value='CO'>Colombia </option><option class='c-ifc' value='CN'>Comoros </option><option class='c-ifc' value='CF'>Congo </option><option class='c-ifc' value='CG'>Congo, D. R. </option><option class='c-ifc' value='CK'>Cook Islands </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'>Croatia </option><option class='c-ifc' value='CU'>Cuba </option><option class='c-ifc' value='CY'>Cyprus </option><option class='c-ifc' value='EZ'>Czech Republic </option><option class='c-ifc' value='DA'>Denmark </option><option class='c-ifc' value='DJ'>Djibouti </option><option class='c-ifc' value='DO'>Dominica </option><option class='c-ifc' value='DR'>Dominican Republic </option><option class='c-ifc' value='EC'>Ecuador </option><option class='c-ifc' value='EG'>Egypt </option><option class='c-ifc' value='ES'>El Salvador </option><option class='c-ifc' value='EK'>Equatorial Guinea </option><option class='c-ifc' value='ER'>Eritrea </option><option class='c-ifc' value='EN'>Estonia </option><option class='c-ifc' value='ET'>Ethiopia </option><option class='c-ifc' value='FK'>Falkland Is </option><option class='c-ifc' value='FO'>Faroe Islands </option><option class='c-ifc' value='FM'>Micronesia </option><option class='c-ifc' value='FJ'>Fiji </option><option class='c-ifc' value='FI'>Finland </option><option class='c-ifc' value='FS'>Fr So & Antarctic Ln</option><option class='c-ifc' value='FR'>France </option><option class='c-ifc' value='FG'>French Guiana </option><option class='c-ifc' value='FP'>French Polynesia </option><option class='c-ifc' value='GB'>Gabon </option><option class='c-ifc' value='GA'>Gambia, The </option><option class='c-ifc' value='GG'>Georgia </option><option class='c-ifc' value='GM'>Germany </option><option class='c-ifc' value='GH'>Ghana </option><option class='c-ifc' value='GI'>Gibraltar </option><option class='c-ifc' value='GR'>Greece </option><option class='c-ifc' value='GL'>Greenland </option><option class='c-ifc' value='GJ'>Grenada </option><option class='c-ifc' value='GP'>Guadeloupe </option><option class='c-ifc' value='GQ'>Guam </option><option class='c-ifc' value='GT'>Guatemala </option><option class='c-ifc' value='GK'>Guernsey </option><option class='c-ifc' value='GV'>Guinea </option><option class='c-ifc' value='PU'>Guinea-bissau </option><option class='c-ifc' value='GY'>Guyana </option><option class='c-ifc' value='HA'>Haiti </option><option class='c-ifc' value='HM'>Heard Is & Mcdonald </option><option class='c-ifc' value='HO'>Honduras </option><option class='c-ifc' value='HK'>Hong Kong SAR, China</option><option class='c-ifc' value='HU'>Hungary </option><option class='c-ifc' value='IC'>Iceland </option><option class='c-ifc' value='IN'>India </option><option class='c-ifc' value='ID'>Indonesia </option><option class='c-ifc' value='IR'>Iran </option><option class='c-ifc' value='IZ'>Iraq </option><option class='c-ifc' value='EI'>Ireland </option><option class='c-ifc' value='IS'>Israel </option><option class='c-ifc' value='IT'>Italy </option><option class='c-ifc' value='JM'>Jamaica </option><option class='c-ifc' value='JA'>Japan </option><option class='c-ifc' value='JE'>Jersey </option><option class='c-ifc' value='JO'>Jordan </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'>Korea, Republic Of </option><option class='c-ifc' value='KN'>North Korea </option><option class='c-ifc' value='KU'>Kuwait </option><option class='c-ifc' value='KG'>Kyrgyzstan </option><option class='c-ifc' value='LA'>Laos </option><option class='c-ifc' value='LG'>Latvia </option><option class='c-ifc' value='LE'>Lebanon </option><option class='c-ifc' value='LT'>Lesotho </option><option class='c-ifc' value='LI'>Liberia </option><option class='c-ifc' value='LY'>Libya </option><option class='c-ifc' value='LS'>Liechtenstein </option><option class='c-ifc' value='LH'>Lithuania </option><option class='c-ifc' value='LU'>Luxembourg </option><option class='c-ifc' value='MC'>Macau SAR, China </option><option class='c-ifc' value='MK'>Macedonia </option><option class='c-ifc' value='MA'>Madagascar </option><option class='c-ifc' value='MI'>Malawi </option><option class='c-ifc' value='MY'>Malaysia </option><option class='c-ifc' value='MV'>Maldives </option><option class='c-ifc' value='ML'>Mali </option><option class='c-ifc' value='MT'>Malta </option><option class='c-ifc' value='IM'>Man, Isle Of </option><option class='c-ifc' value='RM'>Marshall Islands </option><option class='c-ifc' value='MB'>Martinique </option><option class='c-ifc' value='MR'>Mauritania </option><option class='c-ifc' value='MP'>Mauritius </option><option class='c-ifc' value='YT'>Mayotte </option><option class='c-ifc' value='MX'>Mexico </option><option class='c-ifc' value='MD'>Moldova, Republic Of</option><option class='c-ifc' value='MN'>Monaco </option><option class='c-ifc' value='MG'>Mongolia </option><option class='c-ifc' value='MJ'>Montenegro </option><option class='c-ifc' value='MS'>Montserrat </option><option class='c-ifc' value='MO'>Morocco </option><option class='c-ifc' value='MZ'>Mozambique </option><option class='c-ifc' value='WA'>Namibia </option><option class='c-ifc' value='NR'>Nauru </option><option class='c-ifc' value='NP'>Nepal </option><option class='c-ifc' value='NL'>Netherlands </option><option class='c-ifc' value='NT'>Netherlands Antilles</option><option class='c-ifc' value='NC'>New Caledonia </option><option class='c-ifc' value='NZ'>New Zealand </option><option class='c-ifc' value='NU'>Nicaragua </option><option class='c-ifc' value='NG'>Niger </option><option class='c-ifc' value='NI'>Nigeria </option><option class='c-ifc' value='NE'>Niue </option><option class='c-ifc' value='NF'>Norfolk Island </option><option class='c-ifc' value='CQ'>Northern Mariana Is </option><option class='c-ifc' value='NO'>Norway </option><option class='c-ifc' value='MU'>Oman </option><option class='c-ifc' value='PK'>Pakistan </option><option class='c-ifc' value='PS'>Palestinian Territor</option><option class='c-ifc' value='PM'>Panama </option><option class='c-ifc' value='PP'>Papua New Guinea </option><option class='c-ifc' value='PA'>Paraguay </option><option class='c-ifc' value='PS'>Palau </option><option class='c-ifc' value='PE'>Peru </option><option class='c-ifc' value='RP'>Philippines </option><option class='c-ifc' value='PC'>Pitcairn Islands </option><option class='c-ifc' value='PL'>Poland </option><option class='c-ifc' value='PO'>Portugal </option><option class='c-ifc' value='RQ'>Puerto Rico </option><option class='c-ifc' value='QA'>Qatar </option><option class='c-ifc' value='RE'>Reunion </option><option class='c-ifc' value='RO'>Romania </option><option class='c-ifc' value='RS'>Russian Federation </option><option class='c-ifc' value='RW'>Rwanda </option><option class='c-ifc' value='GS'>S. Georgia / S. Sand</option><option class='c-ifc' value='SM'>San Marino </option><option class='c-ifc' value='TP'>Sao Tome and Princip</option><option class='c-ifc' value='SA'>Saudi Arabia </option><option class='c-ifc' value='SG'>Senegal </option><option class='c-ifc' value='RI'>Serbia </option><option class='c-ifc' value='SE'>Seychelles </option><option class='c-ifc' value='SL'>Sierra Leone </option><option class='c-ifc' value='SN'>Singapore </option><option class='c-ifc' value='LO'>Slovakia </option><option class='c-ifc' value='SI'>Slovenia </option><option class='c-ifc' value='BP'>Solomon Islands </option><option class='c-ifc' value='SO'>Somalia </option><option class='c-ifc' value='SF'>South Africa </option><option class='c-ifc' value='OD'>South Sudan </option><option class='c-ifc' value='SP'>Spain </option><option class='c-ifc' value='CE'>Sri Lanka </option><option class='c-ifc' value='ST'>St Lucia </option><option class='c-ifc' value='SH'>St. Helena </option><option class='c-ifc' value='SC'>St. Kitts and Nevis </option><option class='c-ifc' value='SB'>St. Pierre and Mique</option><option class='c-ifc' value='VC'>St. Vincent/grenadin</option><option class='c-ifc' value='BL'>St. Barthelemy </option><option class='c-ifc' value='MF'>St. Martin </option><option class='c-ifc' value='SU'>Sudan </option><option class='c-ifc' value='NS'>Suriname </option><option class='c-ifc' value='WZ'>Swaziland </option><option class='c-ifc' value='SW'>Sweden </option><option class='c-ifc' value='SZ'>Switzerland </option><option class='c-ifc' value='SY'>Syrian Arab Republic</option><option class='c-ifc' value='TW'>Taiwan, China </option><option class='c-ifc' value='TI'>Tajikistan </option><option class='c-ifc' value='TZ'>Tanzania </option><option class='c-ifc' value='TH'>Thailand </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'>Trinidad and Tobago </option><option class='c-ifc' value='TS'>Tunisia </option><option class='c-ifc' value='TU'>Turkey </option><option class='c-ifc' value='TX'>Turkmenistan </option><option class='c-ifc' value='TK'>Turks and Caicos Isl</option><option class='c-ifc' value='TV'>Tuvalu </option><option class='c-ifc' value='UM'>U.S. Minor Outlying </option><option class='c-ifc' value='UG'>Uganda </option><option class='c-ifc' value='UP'>Ukraine </option><option class='c-ifc' value='AE'>United Arab Emirates</option><option class='c-ifc' value='UK'>United Kingdom </option><option class='c-ifc' value='UY'>Uruguay </option><option class='c-ifc' value='UZ'>Uzbekistan </option><option class='c-ifc' value='NH'>Vanuatu </option><option class='c-ifc' value='VT'>Holy See </option><option class='c-ifc' value='VE'>Venezuela </option><option class='c-ifc' value='VM'>Viet Nam </option><option class='c-ifc' value='VQ'>Virgin Islands, U.S.</option><option class='c-ifc' value='WF'>Wallis and Futuna </option><option class='c-ifc' value='WI'>Western Sahara </option><option class='c-ifc' value='WS'>Western Samoa </option><option class='c-ifc' value='YM'>Yemen </option><option class='c-ifc' value='ZA'>Zambia </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;">É necessário informar o país</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">
                        Código 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;">O código postal é necessário</span><br /></div>
                    </div>
                    <div class="w3-half w3-margin-top">
                        <label for="State" id="StateLabel" style="display:inline;" class="labelvalue ship c-fc c-fs notranslate">
                        Estado:<span style='color:#CC0000;'>*</span><br /></label>
                        <label for="Province" id="ProvinceLabel" style="display:none;" class="labelvalue ship c-fc c-fs notranslate">
                        Província<span style='color:#CC0000;'>*</span><br /></label>
                        <div id="StateProvDD" style="display:block">
                            <div id="StateSelect" class="select-wrapper" style="display:inline;">
                                <select name='State' id='State' class='c-inp c-ifc' onchange="checkinternational();"><option class='c-ifc' value='' selected>Select State</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'>California</option><option class='c-ifc' value='CO'>Colorado</option><option class='c-ifc' value='CT'>Connecticut</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'>Florida</option><option class='c-ifc' value='GA'>Georgia</option><option class='c-ifc' value='GU'>Guam</option><option class='c-ifc' value='HI'>Hawaii</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='LA'>Louisiana</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'>New Mexico</option><option class='c-ifc' value='NY'>New York</option><option class='c-ifc' value='NC'>North Carolina</option><option class='c-ifc' value='ND'>North Dakota</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'>Pennsylvania</option><option class='c-ifc' value='PR'>Puerto Rico</option><option class='c-ifc' value='RI'>Rhode Island</option><option class='c-ifc' value='MP'>Saipan</option><option class='c-ifc' value='SC'>South Carolina</option><option class='c-ifc' value='SD'>South Dakota</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='VI'>Virgin Islands</option><option class='c-ifc' value='VA'>Virginia</option><option class='c-ifc' value='WA'>Washington</option><option class='c-ifc' value='WV'>West Virginia</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:none;">
                                <select name='Province' id='Province' class='c-inp c-ifc' onchange="checkinternationalCA();"><option value='' selected>Select Province</option><option value='AB'>Alberta</option><option value='BC'>British Columbia</option><option value='MB'>Manitoba</option><option value='NB'>New Brunswick</option><option value='NL'>Newfoundland and Labrador</option><option value='NT'>Northwest Territories</option><option value='NS'>Nova Scotia</option><option value='NU'>Nunavut</option><option value='ON'>Ontario</option><option value='PE'>Prince Edward Island</option><option value='QC'>Quebec</option><option value='SK'>Saskatchewan</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;">O estado é necessário</span><br /></div>
                        <div style="display:none;" class="error" id="ct13bError"><span style="color:#C30019;">A província é necessária</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=pt'></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 " for="terms">I have read and agree to the <a href="javascript:void(0);" aria-label="Terms of Service Opens in a dialog" onclick="OpenLegalPop('CBTerms');">Terms of Service</a></label>
                            </div>
                            <div class="w3-row w3-padding" style="white-space:nowrap;">
                                <input class="cbox" id="gdpr" type="checkbox" required />
                                <label class="cboxlbl " for="gdpr">I have read and understand the <a href="javascript:void(0);" aria-label="Privacy Policy Opens in a dialog" onclick="OpenLegalPop('CBPriv');">Privacy Policy</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="bluebtn c-btn" type="button" value="Enviar" 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 " style="line-height:12px">
           		        Powered by 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;"  href="javascript: void(0);" onclick="OpenLegalPop('CBTerms');">Visualiza os Termos de Serviços</a> &nbsp; &nbsp;
			            <a aria-label="Privacy Policy Opens in a popup dialog" style="text-decoration:none;"  href="javascript: void(0);" onclick="OpenLegalPop('CBPriv');">Visualize a Política de Privacidade</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>
