Dunhams Master Catalog | Dunhams Sports (2024)

', atx:'', fda:0, lda:0}); catbanarr.push({cn:'view-all-departments/birkenstock', fbn:'birkenstock', subcat:true, showmsg:true, bmgtoch:'

', bmg:'

Dunhams Master Catalog | Dunhams Sports (1)

', atx:'', fda:0, lda:0}); catbanarr.push({cn:'view-all-departments/birkenstocks', fbn:'birkenstocks', subcat:true, showmsg:true, bmgtoch:'

', bmg:'

Dunhams Master Catalog | Dunhams Sports (2)

', atx:'', fda:0, lda:0}); if(searchpagegotthemsg=="no"){ for(s=0;s

=numtin)){//use global var: todayisnow to check for first(fda) or last(lda) date of catbanarr var tstrar=[]; tstrar=seaurl.split(catbanarr[s].cn); if(tstrar[1].indexOf("/")==-1||(tstrar[1].indexOf("/")!=-1&&catbanarr[s].subcat)){//no sub cat // var fbnupper=catbanarr[s].fbn.toUpperCase(); var ptemptitle=document.title.replace("View All Departments", fbnupper); document.title=ptemptitle; // if(sfrahtml2ch){ if(sfrahtml2ch.indexOf(catbanarr[s].bmgtoch)==-1){ //$("div.plp-verbiage > div.content-asset").prepend(catbanarr[s].bmg); $("div.plp-verbiage > div.page-designer").prepend(catbanarr[s].bmg); searchpagegotthemsg="yes"; $("div.breadcrumb-wrapper").hide(); $("div.page-header-title").attr("style", "margin-top:0px !important;"); $("header.page-header").attr("style", "padding-top:0px !important; padding-bottom:0px !important;"); if(catbanarr[s].atx){ $("div.plpvdiv > p.notice").append(catbanarr[s].atx); } if(!catbanarr[s].showmsg){ $("div.plpvdiv").attr("style", "display:none !important;"); } return true; } }else{ if(sfrabup2ch){ //console.log(catbanarr[s].bmgtoch); //console.log("Almost in"+sfrabup2ch.indexOf(catbanarr[s].bmgtoch)); if(sfrabup2ch.indexOf(catbanarr[s].bmgtoch)==-1){ //console.log("IN"+sfrabup2ch.indexOf(catbanarr[s].bmgtoch)); //console.log(catbanarr[s].bmg); //$("div.plp-verbiage > div.content-asset").prepend(catbanarr[s].bmg); $("div.plp-verbiage > div.page-designer").prepend(catbanarr[s].bmg); searchpagegotthemsg="yes"; $("div.breadcrumb-wrapper").hide(); $("h2.page-header-title").hide(); $("header.page-header").attr("style", "padding-top:0px !important; padding-bottom:0px !important;"); if(catbanarr[s].atx){ $("div.plpvdiv > p.notice").append(catbanarr[s].atx); } if(!catbanarr[s].showmsg){ $("div.plpvdiv").attr("style", "display:none !important;"); } return true; } } } } } } } } var dpteambmg='

'; var dpteambmg2ch='dispro-team-banner-v2.jpg'; var dpteamlist='Cross|Country|Hockey|Gymnastics|Dodgeball|Roller|Derby|Swimming|Rugby|Cycling|Frisbee|Skiing|Skating|Pool|Darts|Weightlifting|Bowling|Lacrosse|Dance|Wrestling|Boxing|MMA|Track|Tennis|Running|Club|Volleyball|Cheerleading|Basketball|Soccer|Golf|Football|Softball|Baseball'; var dpsportsbmg='

'; var dpsportsbmg2ch='dispro-sportsmens-banner-v3.jpg'; var dpsportslist='Hunting|Guns|Ammo|Hunting|Blinds|Gun|Safes|Treestands|Archery|Crossbow|Fishing|Boat|Kayak|Canoe'; //CHECK FOR DISCOUNT PROGRAM KEYWORDS IN URL TO DISPLAY BANNER: var dpmsgapp="no"; if(searchpagegotthemsg=="no"){ var kwarr=dpteamlist.split("|"); for(d=0;d div.content-asset").prepend(dpteambmg); $("div.plp-verbiage > div.page-designer").prepend(dpteambmg); dpmsgapp="yes"; return true; } } }else{ if(sfrabup2ch){ if(sfrabup2ch.indexOf(dpteambmg2ch)==-1){ if(dpmsgapp=="no"){ //$("div.plp-verbiage > div.content-asset").prepend(dpteambmg); $("div.plp-verbiage > div.page-designer").prepend(dpteambmg); dpmsgapp="yes"; return true; } } } } } } if(dpmsgapp=="no"){ var kwarr=dpsportslist.split("|"); for(d=0;d div.content-asset").prepend(dpsportsbmg); $("div.plp-verbiage > div.page-designer").prepend(dpsportsbmg); dpmsgapp="yes"; } } }else{ if(sfrabup2ch){ if(sfrabup2ch.indexOf(dpsportsbmg2ch)==-1){ if(dpmsgapp=="no"){ //$("div.plp-verbiage > div.content-asset").prepend(dpsportsbmg); $("div.plp-verbiage > div.page-designer").prepend(dpsportsbmg); dpmsgapp="yes"; } } } } } } } } if(searchpagegotthemsg=="no"&&showspcbanner=="yes"){ if(dpmsgapp=="no"){ if(sfrahtml2ch){ if(sfrahtml2ch.indexOf(posblackfribmgtoch)==-1){ if(dpmsgapp=="no"){ //$("div.plp-verbiage > div.content-asset").prepend(dpteambmg); $("div.plp-verbiage > div.page-designer").prepend(posblackfribmg); searchpagegotthemsg="yes"; //dpmsgapp="yes"; //return true; } } }else{ if(sfrabup2ch){ if(sfrabup2ch.indexOf(posblackfribmgtoch)==-1){ if(dpmsgapp=="no"){ //$("div.plp-verbiage > div.content-asset").prepend(dpteambmg); $("div.plp-verbiage > div.page-designer").prepend(posblackfribmg); searchpagegotthemsg="yes"; //dpmsgapp="yes"; //return true; } } } } } } /* var ddsortdataid=$("select[name*='sort-order']").find(':selected').attr('data-id');//sort-by-search-relevance var sruleval=getParameterByName("srule", seaurl); var seacepts="|golf|shoes|cleat|cleats|treadmill|treadmills|glock|glocks|gun|guns|rifle|rifles|handgun|handguns|shotgun|shotguns|pistol|pistols|firearm|firearms|smith|golf|glove|gloves|revolver|revolvers|"; var seatxtval="|"+qsval+"|"; if(seaurl.indexOf("/search-show?")!=-1&&seacepts.indexOf(seatxtval)==-1){ if(searchpagegotthemsg=="no"){ if(sruleval==''||sruleval==null&&ddsortdataid=='sortBySortPriority'){ var sbsr=$("select[name*='sort-order'] option[data-id='sort-by-search-relevance']").val(); if(sbsr!=undefined){ window.location.replace(sbsr); } } } }else{ //not on a search result check if qstr srule is null and rel is selected then set sort to default if(sruleval==''||sruleval==null&&ddsortdataid=='sort-by-search-relevance'){ var sbsr=$("select[name*='sort-order'] option[data-id='sortBySortPriority']").val(); if(sbsr!=undefined){ window.location.replace(sbsr); } } } */}function storesNullLink(){ $("a").each(function(e){ if($(this).attr("href")=="null"){ $(this).attr("href", "#"); } });}function chValueVault(){ //check if the text 'value vault' exists within the html for div.breadcrumb-wrapper if($("div.breadcrumb-wrapper").html()!=undefined){ var vvtxttoch=$("div.breadcrumb-wrapper").html().toLowerCase(); //append the text: (Coupons & Sales) to the div.page-header-title if(vvtxttoch.indexOf("value vault")!=-1){ var headtxttoch=$(".page-header-title").html().toLowerCase(); var txttoapp="(Coupons & Sales)"; if(headtxttoch.indexOf(txttoapp.toLowerCase())==-1){ $(".page-header-title").append(txttoapp); } } }}function chGloveSizePage(){ /* check url for .html: */ //https://www.dunhamssports.com/wilson-youth-11-a450-baseball-glove-W0000085778.html?cgid=00062 //check if the text 'gloves' && 'mitts' exists within the html for div.breadcrumb-wrapper if(cururl.indexOf(".html")!=-1){ if($("div.breadcrumb-wrapper").html()!=undefined){ var vvtxttoch=$("div.breadcrumb-wrapper").html().toLowerCase(); //append the text: (Coupons & Sales) to the div.page-header-title if(vvtxttoch.indexOf("gloves")!=-1&&vvtxttoch.indexOf("mitts")!=-1){ //insert the size chart var sclout='View Sizing Chart'; if($("div.product-data > div.product-detail-attributes").html().indexOf(sclout)==-1){ $("div.product-data > div.product-detail-attributes").append(sclout); } } } }}function chCatHideReviewDelay(){ setTimeout(chCatHideReview, 2000);}function chCatHideReview(){ //Hunting Shooting //console.log("chCatHideReview"); var hidorno="no"; if(cururl.indexOf(".html")!=-1){ if($("div.breadcrumb-wrapper").html()!=undefined){ var vvtxttoch=$("div.breadcrumb-wrapper").html().toLowerCase(); if(vvtxttoch.indexOf("hunting")!=-1&&vvtxttoch.indexOf("shooting")!=-1){ hidorno="yes"; }else if(vvtxttoch.indexOf("featured brands")!=-1&&vvtxttoch.indexOf("federal")!=-1){ hidorno="yes"; }else if(vvtxttoch.indexOf("featured brands")!=-1&&vvtxttoch.indexOf("remington")!=-1){ hidorno="yes"; }else if(vvtxttoch.indexOf("featured brands")!=-1&&vvtxttoch.indexOf("ruger")!=-1){ hidorno="yes"; }else if(vvtxttoch.indexOf("featured brands")!=-1&&vvtxttoch.indexOf("weider")!=-1){ hidorno="yes"; } if(hidorno=="yes"){ //hide the reviews $("div.bv-content-list-container").attr("style", "display: none !important;"); } } } }function addComingSoon(){ var cosomsg='(coming soon)'; $("div.hidden-sm-down > h1.store-attribute").append(cosomsg); }function addTempClosed(){ var cosomsg='(temporarily closed)'; $("div.hidden-sm-down > h1.store-attribute").append(cosomsg); }function chStoreSchema(){ //check if on store page or locator page - look for StoreID //storid4schema=getParameterByName('storeid',cururl.toLowerCase()); if(cururl.indexOf('/store-locator')!=-1){ //check if no querystring vars: /store-locator?showMap=true&horizontalView=true&isForm=true if(cururl.indexOf("showMap=true&horizontalView=true&isForm=true")==-1){ window.location.replace("https://www.dunhamssports.com/store-locator?showMap=true&horizontalView=true&isForm=true"); }else{//on the locator page with correct map - show canonical //console.log("IN Canonical"); //$cata=''; $('').appendTo("body"); } } if(cururl.indexOf('/Stores-Detail')!=-1||cururl.indexOf('/store-details')!=-1){//store-details //storid4schema=getParameterByName('storeid',cururl.toLowerCase()); if(storid4schema){ //build store schema and send to header: buildStoreSchema(storid4schema); addStoreFront(storid4schema); } } //check if currently on a store that is coming soon var curstidsoon="";//"|278|";//|274|282 if(curstidsoon.indexOf(storid4schema)!=-1){ //console.log("Suppress YES: "+storid4schema); addComingSoon(); //}else{ //console.log("Suppress NO: "+storid4schema); } //check if currently on a store that is coming soon var curstidclosed="";//|274|282|083| if(curstidclosed.indexOf(storid4schema)!=-1){ addTempClosed(); } //if(storid4schema=="280"||storid4schema=="283"||storid4schema=="274"){//274, 282, 278, 280, 283 /// addComingSoon(); //}}function getStoreIDforFront(wh){ var whtemp=""; if(wh.substring(0,2)=="00"){ whtemp=wh.substring(2,3); }else if(wh.substring(0,1)=="0"){ whtemp=wh.substring(1,3); }else{ whtemp=wh; } wh=whtemp; return wh;}function addStoreFront(wh){ var whtemp=""; whtemp=getStoreIDforFront(wh); wh=whtemp; if(wh=="83"){ wh="83-new"; } var storeimgtemp='https://www.dunhamssports.com/on/demandware.static/-/Library-Sites-AutobahnSharedLibrary/default/dw5aa9d895/assets/img/store-fronts/1.jpg'; var storesecondind=storeimgtemp.length-5; var storeimgpath=storeimgtemp.substring(0,storesecondind); var storeimgnamepath=storeimgpath+""+wh+".jpg"; var storeimg="Dunhams Master Catalog | Dunhams Sports (5)"; //check if the description exists otherwise use store-circular if($(".store-description").html()!=undefined){ //update: over 200 stores to: over 250 stores var tempstde=$(".store-description").html(); var tempstdeo=tempstde.replace("over 200 stores", "over 250 stores"); $(".store-description").html(tempstdeo); $(".store-description").prepend(storeimg); $(".store-description").append("
"); }else if($(".store-circular").html()!=undefined){ $(".store-circular").prepend("
"); $(".store-circular").prepend(storeimg); }}function buildStoreSchema(wh){ var wh2temp=""; wh2temp=getStoreIDforFront(wh); var wh2=wh2temp; var storeimgtemp='https://www.dunhamssports.com/on/demandware.static/-/Library-Sites-AutobahnSharedLibrary/default/dw5aa9d895/assets/img/store-fronts/1.jpg'; var storesecondind=storeimgtemp.length-5; var storeimgpath=storeimgtemp.substring(0,storesecondind); var storeimgnamepath=storeimgpath+""+wh2+".jpg"; //var storeimg="Dunhams Master Catalog | Dunhams Sports (6)"; var whid=""; var phtemp=""; var addr1temp=""; var addr2temp=""; var cittemp=""; var stntemp=""; var zctemp=""; var suhtemp=""; var mohtemp=""; var tuhtemp=""; var wehtemp=""; var thhtemp=""; var frhtemp=""; var sahtemp=""; var storeurl="https://dunhamssportsforms.com/assets/php/returnstoredetails.php"; var storeqstr="whst="+wh; $.ajax({ type:'GET', url:storeurl, dataType:'json', data:storeqstr, success:function(r){ if(r.status==="success"){ //console.log("SUCCESS - "+r.message); phtemp=r.s.ph; addr1temp=r.s.addr1; addr2temp=r.s.addr2; cittemp=r.s.cit; stntemp=r.s.stn; zctemp=r.s.zc; suhtemp=r.s.suh; mohtemp=r.s.moh; tuhtemp=r.s.tuh; wehtemp=r.s.weh; thhtemp=r.s.thh; frhtemp=r.s.frh; sahtemp=r.s.sah; name2pass="Dunham's Sports in "+cittemp+", "+stntemp; $("#storefrontimg").attr("alt", name2pass).attr("title", name2pass); var addr2pass=""+addr1temp; var mohtemparr=mohtemp.split("|"); var mohopen2pass="2015-07-27T"+mohtemparr[0]; var mohclos2pass="2015-07-27T"+mohtemparr[1]; var sahtemparr=sahtemp.split("|"); var sahopen2pass="2015-07-27T"+sahtemparr[0]; var sahclos2pass="2015-07-27T"+sahtemparr[1]; var suhtemparr=suhtemp.split("|"); var suhopen2pass="2015-07-27T"+suhtemparr[0]; var suhclos2pass="2015-07-27T"+suhtemparr[1]; if(addr2temp!=""){ addr2pass+=" "+addr2temp; } var storschemadata={ "@context" : "http://schema.org", "@type" : "LocalBusiness", "name" : name2pass, "image" : storeimgnamepath, "telephone" : phtemp, "address" : { "@type" : "PostalAddress", "streetAddress" : addr2pass, "addressLocality" : cittemp, "addressRegion" : stntemp, "postalCode" : zctemp }, "openingHoursSpecification" : [ { "@type" : "OpeningHoursSpecification", "dayOfWeek" : { "@type" : "DayOfWeek", "name" : "Mon-Fri" }, "opens" : mohopen2pass, "closes" : mohclos2pass }, { "@type" : "OpeningHoursSpecification", "dayOfWeek" : { "@type" : "DayOfWeek", "name" : "Sat" }, "opens" : sahopen2pass, "closes" : sahclos2pass }, { "@type" : "OpeningHoursSpecification", "dayOfWeek" : { "@type" : "DayOfWeek", "name" : "Sun" }, "opens" : suhopen2pass, "closes" : suhclos2pass } ] }; //creating the script element and storing the JSON-LD var storscript = document.createElement('script'); storscript.type = "application/ld+json"; storscript.innerHTML = JSON.stringify(storschemadata); document.getElementsByTagName('head')[0].appendChild(storscript); }else if(r.status==="error"){ console.log("ERROR - "+r.message); //updStoreDD('old'); } } }); }function getParameterByName(name, url){ if(!url){ url=window.location.href; } name=name.replace(/[\[\]]/g, '\\$&'); var regex=new RegExp('[?&]'+name+'(=([^]*)|&|#|$)'),results=regex.exec(url); if(!results){ return null; } if(!results[2]){ return ''; } return decodeURIComponent(results[2].replace(/\+/g, ' '));}/* FUNCTIONS - END */

"; trinote+="

"; $("#textreminderdiv > div").append(trinote); $("#textreminder").css("width", "70px"); $("#textreminder").on('change', function(e){ var tr=$(this).val(); //show or hide the QR Code and text alert message if(tr=="Yes"){ $("#scanqrdiv").css("display", "inline-block"); //alert("text COACH to 78557 to opt-in for weekend reminders from the same number you typed into this form. Then reply with a Y to confirm"); }else{ $("#scanqrdiv").css("display", "none"); } }); //$("#textreminderdiv").hide(); }});/* FUNCTIONS */function wrJQUIToHead(){ var jquijs='https://www.dunhamssports.com/on/demandware.static/-/Library-Sites-AutobahnSharedLibrary/en_US/v1720586832650/assets/js/jquery-ui.min.js'; var jquicss='https://www.dunhamssports.com/on/demandware.static/-/Library-Sites-AutobahnSharedLibrary/en_US/v1720586832650/assets/css/jquery-ui.min.css'; var jquistyle=document.createElement('link'); jquistyle.type="text/css"; jquistyle.href=jquicss; jquistyle.rel="stylesheet"; document.getElementsByTagName('head')[0].appendChild(jquistyle); var jquiscript=document.createElement('script'); jquiscript.type="text/javascript"; jquiscript.src=jquijs; document.getElementsByTagName('head')[0].appendChild(jquiscript);}function biClicked(whic){ //whic=0 switch (whic){ case 0: handleDropDownCh("non"); break; case 1: handleDropDownCh("team"); break; case 2: handleDropDownCh("sportsmen"); break; case 3: handleDropDownCh("company"); break; case 4: handleDropDownCh("group-organization"); break; case 5: handleDropDownCh("military"); break; default: handleDropDownCh("non"); break; }}function initSourceVal(){ //determine if the sc val exists in the url, if true then add a hidden val to the form to pass this through - add the sourcecode to a cookie val in case the visitor navigates away from this page before coming back and submitting ##cookie //check for sc in url and in cookie, if exists pass val through to form either in action as querystring or append an input to the form: // new source campaign flow: var disprosctoch=getCookie("disprosc"); //var thisisnow=new Date(); //var ttdiff=0; var cururltoch = "" + window.location.href; var sourcecampaign = gPBN('sc', cururltoch.toLowerCase()); //1. check if URL has sc value if so then set the var and cookie if(sourcecampaign){//set var and cookie setCookie("disprosc", sourcecampaign, 365); }else{//check if cookie or set all to none if(disprosctoch){ sourcecampaign=disprosctoch; }else{ sourcecampaign="none"; } } return sourcecampaign;}function updTermsLink(){ var returnsc=initSourceVal(); var scinput=''; $("div.update-section").each(function (){ $(this).prepend(scinput); }); $(".tab").each(function(){ var olpotxt=" (No P.O. Boxes if requesting over 1,000 cards)"; var thpo=$(this).html(); var thpotemp=thpo.replace(olpotxt, ""); $(this).html(thpotemp); });}function chDeliveryMethod(){ //$("#Company div.checkbox-group > label:eq(2)").css("display", "none"); rwLabels("Company"); //$("#Sportsmens-Club") rwLabels("Sportsmens-Club"); //$("#Group-Organization") rwLabels("Group-Organization"); //hide the 3rd label and rewrite the first two}function chDeliveryMethodPCM(){ //$("#Company div.checkbox-group > label:eq(2)").css("display", "none"); //rwLabelsPleaseContactMe("Company"); rwLabels("Company"); //$("#Sportsmens-Club") rwLabelsPleaseContactMe("Sportsmens-Club"); //rwLabels("Sportsmens-Club"); //$("#Group-Organization") rwLabels("Group-Organization"); //hide the 3rd label and rewrite the first two rwLabelsPCMTeam("Team");}function rwLabelsPCMTeam(wh){ //if(cururl.indexOf('staging-na02')!=-1){ //default "Email my offers" radio as checked onload $("input[name='distributionOffer']").each(function (){ if ($(this).val() == "Email my offers"){ $(this).prop('checked', true); //$(this).val("Email my offers weekend flyer but Print and Mail my discount cards"); } }); updSportsDD(); //hide all radios //replace label from "Distribution of Offers" to $("#"+wh+" > form > div > ul > li:contains('Distribution of Offers *') > b").css("display", "none"); $("#"+wh+" > form > div > ul > li:contains('Distribution of Offers *') > p").css("display", "none"); $("#"+wh+" > form > div > ul > li:contains('Distribution of Offers *') > label:eq(0)").css("display", "none"); $("#"+wh+" > form > div > ul > li:contains('Distribution of Offers *') > label:eq(1)").css("display", "none"); $("#"+wh+" > form > div > ul > li:contains('Distribution of Offers *') > label:eq(2)").css("display", "none"); $("#"+wh+" > form > div > ul > li:contains('Distribution of Offers *') > br:eq(0)").css("display", "none"); $("#"+wh+" > form > div > ul > li:contains('Distribution of Offers *') > br:eq(1)").css("display", "none"); $("#"+wh+" > form > div > ul > li:contains('Distribution of Offers *') > br:eq(2)").css("display", "none"); $("#distribution-block").show(); //add checkbox with "Please call me" var newliforteam=''; newliforteam+='

  • Can't receive the offers via email? Click below and we will mail your Discount Cards, and Team Weekend Flyers.

  • '; $("#"+wh+" > form > div > ul > li:contains('Program Status')").after(newliforteam); //}}function rwLabelsPleaseContactMe(wh){ //label 1 replace: var labelheadera="Preferred Delivery Method (select all that apply): * "; var labelheaderb="Can't receive the offers via email? CClick below and we will mail your Discount Cards, and Team Weekend Flyers."; //Not Required! var labelheadertemp=$("#"+wh+" > form > div > ul > li:eq(11) > p.inline-display > b").html(); var newheader=labelheadertemp.replace(labelheadera, labelheaderb); $("#"+wh+" > form > div > ul > li:eq(11) > p.inline-display > b").html(newheader); var l1a="Print & Mail (please specify how many below)"; var l1b="Please Contact Me"; var l1temp=$("#"+wh+" div.checkbox-group > label:eq(0)").html(); var l1=l1temp.replace(l1a, l1b); $("#"+wh+" div.checkbox-group > label:eq(0)").html(l1); $("#"+wh+" div.checkbox-group > label:eq(1)").css("display", "none"); $("#"+wh+" div.checkbox-group > label:eq(2)").css("display", "none"); rebuildAllDisProLIs(wh);}function rebuildAllDisProLIs(wh){ var newsecondli=''; newsecondli+='

  • '; newsecondli+=' '; newsecondli+=' '; newsecondli+='
  • '; $("#"+wh+" > form > div > ul > li:eq(1)").before(newsecondli); $("#"+wh+" > form > div > ul > li.printed-needed > p > b").html("How many printed cards will you need?");}function rwLabels(wh){ //update the drop-down with a Military option: //label 1 replace: var l1a="Print & Mail (please specify how many below)"; var l1b="Printed Cards
    We understand there may be special circ*mstances that require printed cards. By checking this box, you consent to Dunham's contacting you for further information."; var l1temp=$("#"+wh+" div.checkbox-group > label:eq(0)").html(); var l1=l1temp.replace(l1a, l1b); $("#"+wh+" div.checkbox-group > label:eq(0)").html(l1); //label 2 replace: var l2a="Post a PDF to Internal Site or Member Informational Area"; var l2b="Digital Download
    You will receive an email that includes a PDF that you can post in an informational area or on an internal website. This communication will include instructions on how to download your discount directly to your Mobile Wallet app."; var l2temp=$("#"+wh+" div.checkbox-group > label:eq(1)").html(); var l2=l2temp.replace(l2a, l2b); $("#"+wh+" div.checkbox-group > label:eq(1)").html(l2); $("#"+wh+" div.checkbox-group > label:eq(2)").css("display", "none");}function chSetTeamRadio(){ $("input[name='distributionOffer']").each(function (){ if ($(this).val() == "Email my weekend flyer but Print and Mail my discount cards"){ $(this).val("Email my offers weekend flyer but Print and Mail my discount cards"); } });}function updateHidFormVal(){ document.forms[2].elements.namedItem("ProgramType").value = "Company"; document.forms[3].elements.namedItem("ProgramType").value = "Sportsmens-Club"; document.forms[4].elements.namedItem("ProgramType").value = "Group-Organization"; document.forms[5].elements.namedItem("ProgramType").value = "Team"; if (document.forms[2].action == "http://cloud.dunhamssports-email.com/message-discount-programs"){ document.forms[2].action = "https://cloud.dunhamssports-email.com/message-discount-programs"; } if (document.forms[3].action == "http://cloud.dunhamssports-email.com/message-discount-programs"){ document.forms[3].action = "https://cloud.dunhamssports-email.com/message-discount-programs"; } if (document.forms[4].action == "http://cloud.dunhamssports-email.com/message-discount-programs"){ document.forms[4].action = "https://cloud.dunhamssports-email.com/message-discount-programs"; } if (document.forms[5].action == "http://cloud.dunhamssports-email.com/message-discount-programs"){ document.forms[5].action = "https://cloud.dunhamssports-email.com/message-discount-programs"; }}function handleDropDownCh(whpsearch){ //whpsearch="" if (whpsearch == "company"){ $("#program-select").val("Company").change(); } else if (whpsearch == "sportsmen"){ $("#program-select").val("Sportsmens-Club").change(); } else if (whpsearch == "group-organization"){ $("#program-select").val("Group-Organization").change(); } else if (whpsearch == "team"){ $("#program-select").val("Team").change(); } else if (whpsearch == "military"){ $("#program-select").val("Military").change(); } else { $("#program-select").val("non").change(); } updateHidFormVal();}function updateHeaderTxt(wh){ $("#discountsbody > h1").html(wh);}function setUrlParam(whpParam){ const url = new URL(window.location); url.searchParams.set('whp', whpParam); window.history.pushState({}, '', url);}function chDiscountQSTR(){ if(cururl.indexOf('/Discounts-Show')!=-1||cururl.indexOf('/discounts-show')!=-1){ updateDisProDD(); dicururl = "" + window.location.href; whpsearch = gPBN('whp', dicururl.toLowerCase()); handleDropDownCh(whpsearch); //alert(whpsearch); //console.log("IN: hpcaroscont"); if(whpsearch!="non"&&whpsearch!=""){ //console.log("HIDE: hpcaroscont"); $(".hpcaroscont").css("display", "none"); } }}function updSportsDD(){ var ns1="

    \n"; ns1+="

    \n"; $("select[name='Sports']").append(ns1);}function updateDisProDD(){ var opttoadd="

    "; $("#program-select").append(opttoadd); }function gPBN(name, url){ if (!url) url = window.location.href; name = name.replace(/[\[\]]/g, '\\$&'); var regex = new RegExp('[?&]' + name + '(=([^]*)|&|#|$)'), results = regex.exec(url); if (!results) return null; if (!results[2]) return ''; return decodeURIComponent(results[2].replace(/\+/g, ' '));}function updStoreDD(wh){ var newddout=bGenStoreSelOptGroup(); document.forms[5].elements.namedItem("StoreLocation").innerHTML=newddout;}function dynamicSort(property){ var sortOrder=1; if(property[0]==="-"){ sortOrder=-1; property=property.substr(1); } return function(a,b){ if(sortOrder == -1){ return b[property].localeCompare(a[property]); }else{ return a[property].localeCompare(b[property]); } }}function getAllStoresLive(){//Function to populate stores object array with json received from live api connection at: //set api url and qstr vars to get all current store data: //https://dunhamssportsforms.com/assets/php/returnstoredetails.php?whst=all or XXX/storeID //https://dunhamssportsforms.com/assets/php/returnstoredetails.php?whst=007 var storeurl="https://dunhamssportsforms.com/assets/php/returnstoredetails.php"; var storeqstr="whst=all"; $.ajax({ type:'GET', url:storeurl, dataType:'json', data:storeqstr, success:function(r){ if(r.status==="success"){ console.log("SUCCESS - "+r.message); //loop through the storesobj array and populate the dynlivsto object array with vars var stct=r.s.length; for(i=0;i

    a.cit.localeCompare(b.cit)); dynlivsto.sort(dynamicSort("cit")); var ssout=''+"\n"; var tempopt1=""; var tempopt2=""; var ssouttemp=""; var addaddr=false; var curstnfound=false; var curstnfoundend=false; for(s=0;s=0&&!addaddr){ if(dynlivsto[i].cit==dynlivsto[i-1].cit&&dynlivsto[i].stn==dynlivsto[i-1].stn){ addaddr=true; } } if(addaddr){ if(dynlivsto[i].id=="249"){ tempopt2=tempopt1+" ("+dynlivsto[i].addr1+")"; }else{ if(dynlivsto[i].addr2){ tempopt2=tempopt1+" ("+dynlivsto[i].addr2+")"; }else{ tempopt2=tempopt1+" ("+dynlivsto[i].addr1+")"; } } }else{ tempopt2=tempopt1; } ssouttemp+="\n"; } } if(curstnfound==true){ curstnfound=false; curstnfoundend=true; ssout+=""; } ssout+=ssouttemp; if(curstnfoundend==true){//ADD ending optgroup curstnfoundend=false; ssout+=""; } } return ssout;}var dynlivsto=[];dynlivsto[0]={id:"", tz:"", ph:"", stn:"", zc:"", addr1:"", addr2:"", cit:""};//dynlivsto.push({id:"", tz:"", ph:"", stn:"", zc:"", addr1:"", addr2:"", cit:""});var stnarr=[];//stnarr[s].abrvstnarr.push({abrv:"AL", fnm:"Alabama"});stnarr.push({abrv:"AK", fnm:"Alaska"});stnarr.push({abrv:"AZ", fnm:"Arizona"});stnarr.push({abrv:"AR", fnm:"Arkansas"});stnarr.push({abrv:"CA", fnm:"California"});stnarr.push({abrv:"CO", fnm:"Colorado"});stnarr.push({abrv:"CT", fnm:"Connecticut"});stnarr.push({abrv:"DE", fnm:"Delaware"});stnarr.push({abrv:"DC", fnm:"District Of Columbia"});stnarr.push({abrv:"FL", fnm:"Florida"});stnarr.push({abrv:"GA", fnm:"Georgia"});stnarr.push({abrv:"HI", fnm:"Hawaii"});stnarr.push({abrv:"ID", fnm:"Idaho"});stnarr.push({abrv:"IL", fnm:"Illinois"});stnarr.push({abrv:"IN", fnm:"Indiana"});stnarr.push({abrv:"IA", fnm:"Iowa"});stnarr.push({abrv:"KS", fnm:"Kansas"});stnarr.push({abrv:"KY", fnm:"Kentucky"});stnarr.push({abrv:"LA", fnm:"Louisiana"});stnarr.push({abrv:"ME", fnm:"Maine"});stnarr.push({abrv:"MD", fnm:"Maryland"});stnarr.push({abrv:"MA", fnm:"Massachusetts"});stnarr.push({abrv:"MI", fnm:"Michigan"});stnarr.push({abrv:"MN", fnm:"Minnesota"});stnarr.push({abrv:"MS", fnm:"Mississippi"});stnarr.push({abrv:"MO", fnm:"Missouri"});stnarr.push({abrv:"MT", fnm:"Montana"});stnarr.push({abrv:"NE", fnm:"Nebraska"});stnarr.push({abrv:"NV", fnm:"Nevada"});stnarr.push({abrv:"NH", fnm:"New Hampshire"});stnarr.push({abrv:"NJ", fnm:"New Jersey"});stnarr.push({abrv:"NM", fnm:"New Mexico"});stnarr.push({abrv:"NY", fnm:"New York"});stnarr.push({abrv:"NC", fnm:"North Carolina"});stnarr.push({abrv:"ND", fnm:"North Dakota"});stnarr.push({abrv:"OH", fnm:"Ohio"});stnarr.push({abrv:"OK", fnm:"Oklahoma"});stnarr.push({abrv:"OR", fnm:"Oregon"});stnarr.push({abrv:"PA", fnm:"Pennsylvania"});stnarr.push({abrv:"RI", fnm:"Rhode Island"});stnarr.push({abrv:"SC", fnm:"South Carolina"});stnarr.push({abrv:"SD", fnm:"South Dakota"});stnarr.push({abrv:"TN", fnm:"Tennessee"});stnarr.push({abrv:"TX", fnm:"Texas"});stnarr.push({abrv:"UT", fnm:"Utah"});stnarr.push({abrv:"VT", fnm:"Vermont"});stnarr.push({abrv:"VA", fnm:"Virginia"});stnarr.push({abrv:"WA", fnm:"Washington"});stnarr.push({abrv:"WV", fnm:"West Virginia"});stnarr.push({abrv:"WI", fnm:"Wisconsin"});stnarr.push({abrv:"WY", fnm:"Wyoming"});var womcarh="no";var custstid="";var dovestr=[];dovestr.push({id:"070"});dovestr.push({id:"192"});dovestr.push({id:"270"});dovestr.push({id:"196"});dovestr.push({id:"274"});dovestr.push({id:"110"});dovestr.push({id:"275"});dovestr.push({id:"078"});dovestr.push({id:"277"});dovestr.push({id:"278"});dovestr.push({id:"235"});dovestr.push({id:"038"});dovestr.push({id:"237"});dovestr.push({id:"238"});dovestr.push({id:"284"});dovestr.push({id:"241"});dovestr.push({id:"243"});dovestr.push({id:"244"});dovestr.push({id:"124"});dovestr.push({id:"201"});dovestr.push({id:"245"});dovestr.push({id:"202"});dovestr.push({id:"247"});dovestr.push({id:"208"});dovestr.push({id:"250"});dovestr.push({id:"251"});dovestr.push({id:"175"});dovestr.push({id:"176"});dovestr.push({id:"253"});dovestr.push({id:"177"});dovestr.push({id:"210"});dovestr.push({id:"211"});dovestr.push({id:"014"});dovestr.push({id:"179"});dovestr.push({id:"212"});dovestr.push({id:"213"});dovestr.push({id:"215"});dovestr.push({id:"259"});dovestr.push({id:"216"});dovestr.push({id:"217"});dovestr.push({id:"218"});dovestr.push({id:"219"});dovestr.push({id:"181"});dovestr.push({id:"182"});dovestr.push({id:"260"});dovestr.push({id:"263"});dovestr.push({id:"220"});dovestr.push({id:"264"});dovestr.push({id:"221"});dovestr.push({id:"225"});dovestr.push({id:"227"});dovestr.push({id:"229"});
    Dunhams Master Catalog | Dunhams Sports (2024)
    Top Articles
    Latest Posts
    Article information

    Author: Carlyn Walter

    Last Updated:

    Views: 5819

    Rating: 5 / 5 (50 voted)

    Reviews: 89% of readers found this page helpful

    Author information

    Name: Carlyn Walter

    Birthday: 1996-01-03

    Address: Suite 452 40815 Denyse Extensions, Sengermouth, OR 42374

    Phone: +8501809515404

    Job: Manufacturing Technician

    Hobby: Table tennis, Archery, Vacation, Metal detecting, Yo-yoing, Crocheting, Creative writing

    Introduction: My name is Carlyn Walter, I am a lively, glamorous, healthy, clean, powerful, calm, combative person who loves writing and wants to share my knowledge and understanding with you.