'"+t+"'";$("#affiliation-store-popup-msg").html(n);$("#affiliation-store-popup-window").show()}else if(n==2){let n="Your Local Store Choice: '"+t+"'";$("#affiliation-store-popup-msg").html(n);$("#affiliation-store-popup-window").show()}}function continue_affiliation_store_function(){$("#affiliation-store-popup-window").hide();$("#next-step").click()}function goback_affiliation_store_function(){$("#affiliation-store-popup-window").hide()}function onclick_allaffiliation(n){var i=$(n).closest("tr"),r=$("#all-affiliation-grid").data("kendoGrid"),t=r.dataItem(i);$("#SelectedAffiliation").val(t.Title+", "+t.Address);$("#SelectedAffiliationCustomerId").val(t.CustomerId);$("#SelectedAffiliationStoreId").val(t.Id);affiliation_store_pop_window()}function onclick_preferred_affiliation(){$("#search-affiliation").click()}$("#all-affiliation-grid").kendoGrid({dataSource:{type:"json",transport:{read:{url:"/Customer/GetAllStoresWithTypeList",type:"POST",dataType:"json",data:additionalTypeData}},schema:{data:"Data",total:"Total",errors:"Errors"},pageSize:5e3,serverPaging:!0,serverFiltering:!0,serverSorting:!0},autoBind:!1,pageable:!1,scrollable:!0,height:600,columns:[{field:"Id",title:"Select",width:100,template:'Select<\/a>'},{field:"PreferredAffiliate",title:"Preferred",width:80,attributes:{style:"text-align:center"},template:'# if(PreferredAffiliate) {# <\/i> #} else {# <\/span> #} #'},{field:"Title",title:"Name",width:200},{field:"Address",title:"Address",width:350},{field:"Website",title:"Website",width:200,template:'#if(WebsiteLink){##=Website#<\/a> #}else{#<\/span> #}#'},]});$(document).ready(function(){$("#search-affiliation").click(function(){return GetGeoCodeFromGoogle(),$("#selecting-affiliation").show(),!1})});$("#postal_zip_code").keyup(function(){var n=$("#postal_zip_code").val();n.length>0?$("#distance-box").show():$("#distance-box").hide()})Your Personal DetailsFirst name: * Last name: * Email: * Zip / postal code: * Street address: * City: * Country: Select countryCanadaUnited States * State / province: Select state * Wait...Phone: * Click Here to receive Information and Product Updates from Mercana Your PasswordPassword: * Confirm password: * closeTruckload Cart OverviewSpend $20,000+ and saveNo MOQs14% Freight Rate, additional surcharges may applycloseArt Cart OverviewMix & match 8, 16, or 32 art skus MOQQuick ships on separate Art Cart orderVolume pricing16% fixed freight ratecloseSelect Portfolio ADDCLOSEcloseWARNINGYou are about to exit your pallet cart. All items will be removed