", "LocationImageUrl": "//c2.ndrv.in/Final_634988720057577388.jpg", "SortOrder": 0, "SearchMiles": 0.0, "Type1": "", "Type2": "", "Type3": "", "Type4": "", "Type5": "", "Country": "US", "Latitude": 36.75233, "Longitude": -95.97674, "RegionName": null, "RegionId": 1, "ShowOnMap": false, "SEODescription": null, "SEOTitle": null, "LastUpdated": "2018-04-10T03:05:46.487", "LinkPromosAndSocialFeeds": false, "GetServiceMondayHours": "", "GetServiceTuesdayHours": "", "GetServiceWednesdayHours": "", "GetServiceThursdayHours": "", "GetServiceFridayHours": "", "GetServiceSaturdayHours": "", "GetServiceSundayHours": "", "GetMondayHours": "7:30 AM - 5:30 PM", "GetTuesdayHours": "7:30 AM - 5:30 PM", "GetWednesdayHours": "7:30 AM - 5:30 PM", "GetThursdayHours": "7:30 AM - 5:30 PM", "GetFridayHours": "7:30 AM - 5:30 PM", "GetSaturdayHours": "8:00 AM - 12:00 PM", "GetSundayHours": "Closed ", "FormattedSearchMiles": "0", "FormattedSearchKilometers": "0", "CountryDisplay": "United States" }, { "LocationId": 2, "GUID": "50bd0b0e-3a19-4c51-84ca-8707768c8bb6", "IsHidden": false, "HideFromQuoting": false, "HideFromScheduleService": false, "LocationName": "Tate Boys Tire & Service", "LocationDescription": "", "HideLocationDescription": true, "StreetAddress": "2319 SE Washington Blvd.", "HideStreetAddress": false, "AddressCity": "Bartlesville", "AddressState": "OK", "AddressZip": "74006", "TimeZone": 0, "TimeZoneInfo": null, "HideCityStateZip": false, "Phone": "(918) 876-5283", "HidePhone": false, "Fax": "(918) 335-8475", "HideFax": true, "Email": "customer_service_2@tateboys.com", "EmailLabel": "Email:", "HideEmail": false, "Website": "http://www.tateboys.com", "HideWebsite": false, "Manager": "Mitch Tate", "HideManager": false, "HoursStatement": "", "MondayOpening": "8:00|AM", "MondayClosing": "6:00|PM", "MondayClosed": false, "closedTextMonday": "", "TuesdayOpening": "8:00|AM", "TuesdayClosing": "6:00|PM", "TuesdayClosed": false, "closedTextTuesday": "", "WednesdayOpening": "8:00|AM", "WednesdayClosing": "6:00|PM", "WednesdayClosed": false, "closedTextWednesday": "", "ThursdayOpening": "8:00|AM", "ThursdayClosing": "6:00|PM", "ThursdayClosed": false, "closedTextThursday": "", "FridayOpening": "8:00|AM", "FridayClosing": "6:00|PM", "FridayClosed": false, "closedTextFriday": "", "SaturdayOpening": "8:00|AM", "SaturdayClosing": "3:00|PM", "SaturdayClosed": false, "closedTextSaturday": "", "SundayOpening": " | ", "SundayClosing": " | ", "SundayClosed": true, "closedTextSunday": "", "HideHours": false, "ServiceMondayClosed": false, "ServiceMondayClosing": "", "ServiceMondayOpening": "", "ServiceTextMonday": "", "ServiceTuesdayClosed": false, "ServiceTuesdayClosing": "", "ServiceTuesdayOpening": "", "ServiceTextTuesday": "", "ServiceWednesdayClosed": false, "ServiceWednesdayClosing": "", "ServiceWednesdayOpening": "", "ServiceTextWednesday": "", "ServiceThursdayClosed": false, "ServiceThursdayClosing": "", "ServiceThursdayOpening": "", "ServiceTextThursday": "", "ServiceFridayClosed": false, "ServiceFridayClosing": "", "ServiceFridayOpening": "", "ServiceTextFriday": "", "ServiceSaturdayClosed": false, "ServiceSaturdayClosing": "", "ServiceSaturdayOpening": "", "ServiceTextSaturday": "", "ServiceSundayClosed": false, "ServiceSundayOpening": "", "ServiceSundayClosing": "", "ServiceTextSunday": "", "HideServiceHours": false, "ServiceTypeList": null, "PaymentTypeList": null, "PaymentTypes": "", "HidePayments": false, "HideServiceTypes": false, "ShowTestimonials": false, "LocationStatement": "

\"\"Click here to view our reviews on this location

", "LocationImageUrl": "//c2.ndrv.in/Final_634988720106092239.jpg", "SortOrder": 0, "SearchMiles": 0.0, "Type1": "", "Type2": "", "Type3": "", "Type4": "", "Type5": "", "Country": "US", "Latitude": 36.71604, "Longitude": -95.93516, "RegionName": null, "RegionId": 1, "ShowOnMap": false, "SEODescription": null, "SEOTitle": null, "LastUpdated": "2018-04-10T03:05:46.487", "LinkPromosAndSocialFeeds": false, "GetServiceMondayHours": "", "GetServiceTuesdayHours": "", "GetServiceWednesdayHours": "", "GetServiceThursdayHours": "", "GetServiceFridayHours": "", "GetServiceSaturdayHours": "", "GetServiceSundayHours": "", "GetMondayHours": "8:00 AM - 6:00 PM", "GetTuesdayHours": "8:00 AM - 6:00 PM", "GetWednesdayHours": "8:00 AM - 6:00 PM", "GetThursdayHours": "8:00 AM - 6:00 PM", "GetFridayHours": "8:00 AM - 6:00 PM", "GetSaturdayHours": "8:00 AM - 3:00 PM", "GetSundayHours": "Closed ", "FormattedSearchMiles": "0", "FormattedSearchKilometers": "0", "CountryDisplay": "United States" }, { "LocationId": 3, "GUID": "50bd0b0e-3a19-4c51-84ca-8707768c8bb6", "IsHidden": false, "HideFromQuoting": false, "HideFromScheduleService": false, "LocationName": "Tate Boys Tire & Service", "LocationDescription": "", "HideLocationDescription": true, "StreetAddress": "1005 W. Rogers Blvd", "HideStreetAddress": false, "AddressCity": "Skiatook", "AddressState": "OK", "AddressZip": "74070", "TimeZone": 0, "TimeZoneInfo": null, "HideCityStateZip": false, "Phone": "(918) 578-2350 ", "HidePhone": false, "Fax": "(918) 396-9066", "HideFax": false, "Email": "customer_service_3@tateboys.com", "EmailLabel": "Email:", "HideEmail": false, "Website": "http://www.tateboys.com", "HideWebsite": false, "Manager": "Ricky Whistler", "HideManager": false, "HoursStatement": "", "MondayOpening": "8:00|AM", "MondayClosing": "6:00|PM", "MondayClosed": false, "closedTextMonday": "", "TuesdayOpening": "8:00|AM", "TuesdayClosing": "6:00|PM", "TuesdayClosed": false, "closedTextTuesday": "", "WednesdayOpening": "8:00|AM", "WednesdayClosing": "6:00|PM", "WednesdayClosed": false, "closedTextWednesday": "", "ThursdayOpening": "8:00|AM", "ThursdayClosing": "6:00|PM", "ThursdayClosed": false, "closedTextThursday": "", "FridayOpening": "8:00|AM", "FridayClosing": "6:00|PM", "FridayClosed": false, "closedTextFriday": "", "SaturdayOpening": "8:00|AM", "SaturdayClosing": "2:00|PM", "SaturdayClosed": false, "closedTextSaturday": "", "SundayOpening": " | ", "SundayClosing": " | ", "SundayClosed": true, "closedTextSunday": "", "HideHours": false, "ServiceMondayClosed": false, "ServiceMondayClosing": "", "ServiceMondayOpening": "", "ServiceTextMonday": "", "ServiceTuesdayClosed": false, "ServiceTuesdayClosing": "", "ServiceTuesdayOpening": "", "ServiceTextTuesday": "", "ServiceWednesdayClosed": false, "ServiceWednesdayClosing": "", "ServiceWednesdayOpening": "", "ServiceTextWednesday": "", "ServiceThursdayClosed": false, "ServiceThursdayClosing": "", "ServiceThursdayOpening": "", "ServiceTextThursday": "", "ServiceFridayClosed": false, "ServiceFridayClosing": "", "ServiceFridayOpening": "", "ServiceTextFriday": "", "ServiceSaturdayClosed": false, "ServiceSaturdayClosing": "", "ServiceSaturdayOpening": "", "ServiceTextSaturday": "", "ServiceSundayClosed": false, "ServiceSundayOpening": "", "ServiceSundayClosing": "", "ServiceTextSunday": "", "HideServiceHours": false, "ServiceTypeList": null, "PaymentTypeList": null, "PaymentTypes": "", "HidePayments": false, "HideServiceTypes": false, "ShowTestimonials": false, "LocationStatement": "

\"\"Click here to view our reviews on this location

", "LocationImageUrl": "//c2.ndrv.in/Final_634988720195571186.jpg", "SortOrder": 0, "SearchMiles": 0.0, "Type1": "", "Type2": "", "Type3": "", "Type4": "", "Type5": "", "Country": "US", "Latitude": 36.36859, "Longitude": -96.01338, "RegionName": null, "RegionId": 1, "ShowOnMap": false, "SEODescription": null, "SEOTitle": null, "LastUpdated": "2018-04-10T03:05:46.487", "LinkPromosAndSocialFeeds": false, "GetServiceMondayHours": "", "GetServiceTuesdayHours": "", "GetServiceWednesdayHours": "", "GetServiceThursdayHours": "", "GetServiceFridayHours": "", "GetServiceSaturdayHours": "", "GetServiceSundayHours": "", "GetMondayHours": "8:00 AM - 6:00 PM", "GetTuesdayHours": "8:00 AM - 6:00 PM", "GetWednesdayHours": "8:00 AM - 6:00 PM", "GetThursdayHours": "8:00 AM - 6:00 PM", "GetFridayHours": "8:00 AM - 6:00 PM", "GetSaturdayHours": "8:00 AM - 2:00 PM", "GetSundayHours": "Closed ", "FormattedSearchMiles": "0", "FormattedSearchKilometers": "0", "CountryDisplay": "United States" }, { "LocationId": 5, "GUID": "50bd0b0e-3a19-4c51-84ca-8707768c8bb6", "IsHidden": false, "HideFromQuoting": false, "HideFromScheduleService": false, "LocationName": "Tate Boys Tire & Service", "LocationDescription": "", "HideLocationDescription": true, "StreetAddress": "11901 East 96th St. North", "HideStreetAddress": false, "AddressCity": "Owasso", "AddressState": "OK", "AddressZip": "74055", "TimeZone": 0, "TimeZoneInfo": null, "HideCityStateZip": false, "Phone": "(918) 376-0227", "HidePhone": false, "Fax": "(918) 376-0227", "HideFax": false, "Email": "customer_service_4@tateboys.com", "EmailLabel": "Email:", "HideEmail": false, "Website": "http://www.tateboys.com", "HideWebsite": false, "Manager": "Jamie Schoenthaler", "HideManager": false, "HoursStatement": "", "MondayOpening": "7:30|AM", "MondayClosing": "6:00|PM", "MondayClosed": false, "closedTextMonday": "", "TuesdayOpening": "7:30|AM", "TuesdayClosing": "6:00|PM", "TuesdayClosed": false, "closedTextTuesday": "", "WednesdayOpening": "7:30|AM", "WednesdayClosing": "6:00|PM", "WednesdayClosed": false, "closedTextWednesday": "", "ThursdayOpening": "7:30|AM", "ThursdayClosing": "6:00|PM", "ThursdayClosed": false, "closedTextThursday": "", "FridayOpening": "7:30|AM", "FridayClosing": "6:00|PM", "FridayClosed": false, "closedTextFriday": "", "SaturdayOpening": "7:30|AM", "SaturdayClosing": "3:00|PM", "SaturdayClosed": false, "closedTextSaturday": "", "SundayOpening": " | ", "SundayClosing": " | ", "SundayClosed": true, "closedTextSunday": "", "HideHours": false, "ServiceMondayClosed": false, "ServiceMondayClosing": "", "ServiceMondayOpening": "", "ServiceTextMonday": "", "ServiceTuesdayClosed": false, "ServiceTuesdayClosing": "", "ServiceTuesdayOpening": "", "ServiceTextTuesday": "", "ServiceWednesdayClosed": false, "ServiceWednesdayClosing": "", "ServiceWednesdayOpening": "", "ServiceTextWednesday": "", "ServiceThursdayClosed": false, "ServiceThursdayClosing": "", "ServiceThursdayOpening": "", "ServiceTextThursday": "", "ServiceFridayClosed": false, "ServiceFridayClosing": "", "ServiceFridayOpening": "", "ServiceTextFriday": "", "ServiceSaturdayClosed": false, "ServiceSaturdayClosing": "", "ServiceSaturdayOpening": "", "ServiceTextSaturday": "", "ServiceSundayClosed": false, "ServiceSundayOpening": "", "ServiceSundayClosing": "", "ServiceTextSunday": "", "HideServiceHours": false, "ServiceTypeList": null, "PaymentTypeList": null, "PaymentTypes": "", "HidePayments": false, "HideServiceTypes": false, "ShowTestimonials": false, "LocationStatement": "

\"\"Click here to view our reviews on this location

", "LocationImageUrl": "//c2.ndrv.in/Final_634988719211192758.jpg", "SortOrder": 0, "SearchMiles": 0.0, "Type1": "", "Type2": "", "Type3": "", "Type4": "", "Type5": "", "Country": "US", "Latitude": 36.29325, "Longitude": -95.84171, "RegionName": null, "RegionId": 1, "ShowOnMap": false, "SEODescription": null, "SEOTitle": null, "LastUpdated": "2018-04-10T03:05:46.487", "LinkPromosAndSocialFeeds": false, "GetServiceMondayHours": "", "GetServiceTuesdayHours": "", "GetServiceWednesdayHours": "", "GetServiceThursdayHours": "", "GetServiceFridayHours": "", "GetServiceSaturdayHours": "", "GetServiceSundayHours": "", "GetMondayHours": "7:30 AM - 6:00 PM", "GetTuesdayHours": "7:30 AM - 6:00 PM", "GetWednesdayHours": "7:30 AM - 6:00 PM", "GetThursdayHours": "7:30 AM - 6:00 PM", "GetFridayHours": "7:30 AM - 6:00 PM", "GetSaturdayHours": "7:30 AM - 3:00 PM", "GetSundayHours": "Closed ", "FormattedSearchMiles": "0", "FormattedSearchKilometers": "0", "CountryDisplay": "United States" }, { "LocationId": 4, "GUID": "50bd0b0e-3a19-4c51-84ca-8707768c8bb6", "IsHidden": false, "HideFromQuoting": false, "HideFromScheduleService": false, "LocationName": "Tate Boys Tire & Service", "LocationDescription": "", "HideLocationDescription": true, "StreetAddress": "605 N. Aspen Ave", "HideStreetAddress": false, "AddressCity": "Broken Arrow", "AddressState": "OK", "AddressZip": "74012", "TimeZone": 0, "TimeZoneInfo": null, "HideCityStateZip": false, "Phone": "(918) 615-4892", "HidePhone": false, "Fax": "(918) 258-8786", "HideFax": false, "Email": "customer_service_5@tateboys.com", "EmailLabel": "Email:", "HideEmail": false, "Website": "http://www.tateboys.com", "HideWebsite": false, "Manager": "Marcus Frazier", "HideManager": false, "HoursStatement": "", "MondayOpening": "8:00|AM", "MondayClosing": "6:00|PM", "MondayClosed": false, "closedTextMonday": "", "TuesdayOpening": "8:00|AM", "TuesdayClosing": "6:00|PM", "TuesdayClosed": false, "closedTextTuesday": "", "WednesdayOpening": "8:00|AM", "WednesdayClosing": "6:00|PM", "WednesdayClosed": false, "closedTextWednesday": "", "ThursdayOpening": "8:00|AM", "ThursdayClosing": "6:00|PM", "ThursdayClosed": false, "closedTextThursday": "", "FridayOpening": "8:00|AM", "FridayClosing": "6:00|PM", "FridayClosed": false, "closedTextFriday": "", "SaturdayOpening": "8:00|AM", "SaturdayClosing": "5:00|PM", "SaturdayClosed": false, "closedTextSaturday": "", "SundayOpening": " | ", "SundayClosing": " | ", "SundayClosed": true, "closedTextSunday": "", "HideHours": false, "ServiceMondayClosed": false, "ServiceMondayClosing": "", "ServiceMondayOpening": "", "ServiceTextMonday": "", "ServiceTuesdayClosed": false, "ServiceTuesdayClosing": "", "ServiceTuesdayOpening": "", "ServiceTextTuesday": "", "ServiceWednesdayClosed": false, "ServiceWednesdayClosing": "", "ServiceWednesdayOpening": "", "ServiceTextWednesday": "", "ServiceThursdayClosed": false, "ServiceThursdayClosing": "", "ServiceThursdayOpening": "", "ServiceTextThursday": "", "ServiceFridayClosed": false, "ServiceFridayClosing": "", "ServiceFridayOpening": "", "ServiceTextFriday": "", "ServiceSaturdayClosed": false, "ServiceSaturdayClosing": "", "ServiceSaturdayOpening": "", "ServiceTextSaturday": "", "ServiceSundayClosed": false, "ServiceSundayOpening": "", "ServiceSundayClosing": "", "ServiceTextSunday": "", "HideServiceHours": false, "ServiceTypeList": null, "PaymentTypeList": null, "PaymentTypes": "", "HidePayments": false, "HideServiceTypes": false, "ShowTestimonials": false, "LocationStatement": "

\"\"Click here to view our reviews on this location

", "LocationImageUrl": "//www.tateboys.com/DesktopModules/LFLocations/LocationImages/Final_635702168297109979.jpg", "SortOrder": 0, "SearchMiles": 0.0, "Type1": "", "Type2": "", "Type3": "", "Type4": "", "Type5": "", "Country": "US", "Latitude": 36.0577, "Longitude": -95.81483, "RegionName": null, "RegionId": 1, "ShowOnMap": false, "SEODescription": null, "SEOTitle": null, "LastUpdated": "2018-04-10T03:05:46.487", "LinkPromosAndSocialFeeds": false, "GetServiceMondayHours": "", "GetServiceTuesdayHours": "", "GetServiceWednesdayHours": "", "GetServiceThursdayHours": "", "GetServiceFridayHours": "", "GetServiceSaturdayHours": "", "GetServiceSundayHours": "", "GetMondayHours": "8:00 AM - 6:00 PM", "GetTuesdayHours": "8:00 AM - 6:00 PM", "GetWednesdayHours": "8:00 AM - 6:00 PM", "GetThursdayHours": "8:00 AM - 6:00 PM", "GetFridayHours": "8:00 AM - 6:00 PM", "GetSaturdayHours": "8:00 AM - 5:00 PM", "GetSundayHours": "Closed ", "FormattedSearchMiles": "0", "FormattedSearchKilometers": "0", "CountryDisplay": "United States" } ]; useMiles = true; clientGuid = '50bd0b0e-3a19-4c51-84ca-8707768c8bb6'; locationSelected = $('#dnn_ctr17495_NewView_RequestQuote_hdnLocationSelectionId'); locationSelected = ThisLocationSelector.attributes['selectedlocationid'].value; if (ThisLocationSelector.getAttribute("locreadonly") != null && ThisLocationSelector.attributes["locreadonly"].value.toLowerCase() == "true") { $("#autocomplete-loc-header").addClass("hideme"); $("#autocomplete-wrapper").addClass("hideme"); $("#locationList").addClass("hideme"); } isPageScheduleService = ThisLocationSelector.attributes["pagetype"].value == "ScheduleService"; multiScheduledServiceLocations = hasMultiScheduleServiceLocations(); if (((locListings.length > 1) && (!isPageScheduleService)) || (isPageScheduleService && multiScheduledServiceLocations)) { createLocationsDropDown(locListings); if (parseInt(ThisLocationSelector.attributes["selectedlocationid"].value) > 0) { selectItemByValue(document.getElementById("locationList"), ThisLocationSelector.attributes["selectedlocationid"].value); ThisLocationSelector.attributes["locreadonly"].value = "true"; } else { selectItemByValue(document.getElementById("locationList"), locListings[0].LocationId); } } else { var index = -1; var selectedLocId = ThisLocationSelector.attributes['selectedlocationid'].value; if (selectedLocId == -1 && isPageScheduleService) { for (i = 0; i < locListings.length; i++) { if (!locListings[i].HideFromScheduleService) { selectedLocId = locListings[i].LocationId; index = i; break; } } } else { for (i = 0; i < locListings.length; i++) { if (locListings[i].LocationId == selectedLocId) { index = i; break; } } } buildLocationSection(locListings[index]); document.getElementById("autocomplete-wrapper").style.display = "none"; ThisLocationSelector.attributes['selectedlocationid'].value = locListings[index].LocationId; $('#dnn_ctr17495_NewView_RequestQuote_hdnLocationSelectionId').val(locListings[index].LocationId); locationSelected.value = locListings[index].LocationId; } $('.jsHoursDropDown').attr("disabled", true); $('#autocomplete').bind('keypress', function (e) { if (e.keyCode == 13) {//13 is the return key mapSearch(); return false; } }); }); function getLocationCookie(cname) { var name = cname + "="; var ca = document.cookie.split(';'); for (var i = 0; i < ca.length; i++) { var c = ca[i]; while (c.charAt(0) == ' ') c = c.substring(1); if (c.indexOf(name) != -1) return c.substring(name.length, c.length); } return ""; } function hasMultiScheduleServiceLocations() { result = false; locListings = [ { "LocationId": 1, "GUID": "50bd0b0e-3a19-4c51-84ca-8707768c8bb6", "IsHidden": false, "HideFromQuoting": false, "HideFromScheduleService": false, "LocationName": "Tate Boys Tire & Service", "LocationDescription": "", "HideLocationDescription": true, "StreetAddress": "106 SE 2nd Street", "HideStreetAddress": false, "AddressCity": "Bartlesville", "AddressState": "OK", "AddressZip": "74003", "TimeZone": 0, "TimeZoneInfo": null, "HideCityStateZip": false, "Phone": "(918) 876-5255", "HidePhone": false, "Fax": "(918) 336-7004", "HideFax": false, "Email": "customer_service_1@tateboys.com", "EmailLabel": "Email:", "HideEmail": false, "Website": "http://www.tateboys.com", "HideWebsite": false, "Manager": "Nick DeVivo", "HideManager": false, "HoursStatement": "", "MondayOpening": "7:30|AM", "MondayClosing": "5:30|PM", "MondayClosed": false, "closedTextMonday": "", "TuesdayOpening": "7:30|AM", "TuesdayClosing": "5:30|PM", "TuesdayClosed": false, "closedTextTuesday": "", "WednesdayOpening": "7:30|AM", "WednesdayClosing": "5:30|PM", "WednesdayClosed": false, "closedTextWednesday": "", "ThursdayOpening": "7:30|AM", "ThursdayClosing": "5:30|PM", "ThursdayClosed": false, "closedTextThursday": "", "FridayOpening": "7:30|AM", "FridayClosing": "5:30|PM", "FridayClosed": false, "closedTextFriday": "", "SaturdayOpening": "8:00|AM", "SaturdayClosing": "12:00|PM", "SaturdayClosed": false, "closedTextSaturday": "", "SundayOpening": " | ", "SundayClosing": " | ", "SundayClosed": true, "closedTextSunday": "", "HideHours": false, "ServiceMondayClosed": false, "ServiceMondayClosing": "", "ServiceMondayOpening": "", "ServiceTextMonday": "", "ServiceTuesdayClosed": false, "ServiceTuesdayClosing": "", "ServiceTuesdayOpening": "", "ServiceTextTuesday": "", "ServiceWednesdayClosed": false, "ServiceWednesdayClosing": "", "ServiceWednesdayOpening": "", "ServiceTextWednesday": "", "ServiceThursdayClosed": false, "ServiceThursdayClosing": "", "ServiceThursdayOpening": "", "ServiceTextThursday": "", "ServiceFridayClosed": false, "ServiceFridayClosing": "", "ServiceFridayOpening": "", "ServiceTextFriday": "", "ServiceSaturdayClosed": false, "ServiceSaturdayClosing": "", "ServiceSaturdayOpening": "", "ServiceTextSaturday": "", "ServiceSundayClosed": false, "ServiceSundayOpening": "", "ServiceSundayClosing": "", "ServiceTextSunday": "", "HideServiceHours": false, "ServiceTypeList": null, "PaymentTypeList": null, "PaymentTypes": "", "HidePayments": false, "HideServiceTypes": false, "ShowTestimonials": false, "LocationStatement": "

\"\"Click here to view our reviews on this location

\n\n
\n", "LocationImageUrl": "//c2.ndrv.in/Final_634988720057577388.jpg", "SortOrder": 0, "SearchMiles": 0.0, "Type1": "", "Type2": "", "Type3": "", "Type4": "", "Type5": "", "Country": "US", "Latitude": 36.75233, "Longitude": -95.97674, "RegionName": null, "RegionId": 1, "ShowOnMap": false, "SEODescription": null, "SEOTitle": null, "LastUpdated": "2018-04-10T03:05:46.487", "LinkPromosAndSocialFeeds": false, "GetServiceMondayHours": "", "GetServiceTuesdayHours": "", "GetServiceWednesdayHours": "", "GetServiceThursdayHours": "", "GetServiceFridayHours": "", "GetServiceSaturdayHours": "", "GetServiceSundayHours": "", "GetMondayHours": "7:30 AM - 5:30 PM", "GetTuesdayHours": "7:30 AM - 5:30 PM", "GetWednesdayHours": "7:30 AM - 5:30 PM", "GetThursdayHours": "7:30 AM - 5:30 PM", "GetFridayHours": "7:30 AM - 5:30 PM", "GetSaturdayHours": "8:00 AM - 12:00 PM", "GetSundayHours": "Closed ", "FormattedSearchMiles": "0", "FormattedSearchKilometers": "0", "CountryDisplay": "United States" }, { "LocationId": 2, "GUID": "50bd0b0e-3a19-4c51-84ca-8707768c8bb6", "IsHidden": false, "HideFromQuoting": false, "HideFromScheduleService": false, "LocationName": "Tate Boys Tire & Service", "LocationDescription": "", "HideLocationDescription": true, "StreetAddress": "2319 SE Washington Blvd.", "HideStreetAddress": false, "AddressCity": "Bartlesville", "AddressState": "OK", "AddressZip": "74006", "TimeZone": 0, "TimeZoneInfo": null, "HideCityStateZip": false, "Phone": "(918) 876-5283", "HidePhone": false, "Fax": "(918) 335-8475", "HideFax": true, "Email": "customer_service_2@tateboys.com", "EmailLabel": "Email:", "HideEmail": false, "Website": "http://www.tateboys.com", "HideWebsite": false, "Manager": "Mitch Tate", "HideManager": false, "HoursStatement": "", "MondayOpening": "8:00|AM", "MondayClosing": "6:00|PM", "MondayClosed": false, "closedTextMonday": "", "TuesdayOpening": "8:00|AM", "TuesdayClosing": "6:00|PM", "TuesdayClosed": false, "closedTextTuesday": "", "WednesdayOpening": "8:00|AM", "WednesdayClosing": "6:00|PM", "WednesdayClosed": false, "closedTextWednesday": "", "ThursdayOpening": "8:00|AM", "ThursdayClosing": "6:00|PM", "ThursdayClosed": false, "closedTextThursday": "", "FridayOpening": "8:00|AM", "FridayClosing": "6:00|PM", "FridayClosed": false, "closedTextFriday": "", "SaturdayOpening": "8:00|AM", "SaturdayClosing": "3:00|PM", "SaturdayClosed": false, "closedTextSaturday": "", "SundayOpening": " | ", "SundayClosing": " | ", "SundayClosed": true, "closedTextSunday": "", "HideHours": false, "ServiceMondayClosed": false, "ServiceMondayClosing": "", "ServiceMondayOpening": "", "ServiceTextMonday": "", "ServiceTuesdayClosed": false, "ServiceTuesdayClosing": "", "ServiceTuesdayOpening": "", "ServiceTextTuesday": "", "ServiceWednesdayClosed": false, "ServiceWednesdayClosing": "", "ServiceWednesdayOpening": "", "ServiceTextWednesday": "", "ServiceThursdayClosed": false, "ServiceThursdayClosing": "", "ServiceThursdayOpening": "", "ServiceTextThursday": "", "ServiceFridayClosed": false, "ServiceFridayClosing": "", "ServiceFridayOpening": "", "ServiceTextFriday": "", "ServiceSaturdayClosed": false, "ServiceSaturdayClosing": "", "ServiceSaturdayOpening": "", "ServiceTextSaturday": "", "ServiceSundayClosed": false, "ServiceSundayOpening": "", "ServiceSundayClosing": "", "ServiceTextSunday": "", "HideServiceHours": false, "ServiceTypeList": null, "PaymentTypeList": null, "PaymentTypes": "", "HidePayments": false, "HideServiceTypes": false, "ShowTestimonials": false, "LocationStatement": "

\"\"Click here to view our reviews on this location

", "LocationImageUrl": "//c2.ndrv.in/Final_634988720106092239.jpg", "SortOrder": 0, "SearchMiles": 0.0, "Type1": "", "Type2": "", "Type3": "", "Type4": "", "Type5": "", "Country": "US", "Latitude": 36.71604, "Longitude": -95.93516, "RegionName": null, "RegionId": 1, "ShowOnMap": false, "SEODescription": null, "SEOTitle": null, "LastUpdated": "2018-04-10T03:05:46.487", "LinkPromosAndSocialFeeds": false, "GetServiceMondayHours": "", "GetServiceTuesdayHours": "", "GetServiceWednesdayHours": "", "GetServiceThursdayHours": "", "GetServiceFridayHours": "", "GetServiceSaturdayHours": "", "GetServiceSundayHours": "", "GetMondayHours": "8:00 AM - 6:00 PM", "GetTuesdayHours": "8:00 AM - 6:00 PM", "GetWednesdayHours": "8:00 AM - 6:00 PM", "GetThursdayHours": "8:00 AM - 6:00 PM", "GetFridayHours": "8:00 AM - 6:00 PM", "GetSaturdayHours": "8:00 AM - 3:00 PM", "GetSundayHours": "Closed ", "FormattedSearchMiles": "0", "FormattedSearchKilometers": "0", "CountryDisplay": "United States" }, { "LocationId": 3, "GUID": "50bd0b0e-3a19-4c51-84ca-8707768c8bb6", "IsHidden": false, "HideFromQuoting": false, "HideFromScheduleService": false, "LocationName": "Tate Boys Tire & Service", "LocationDescription": "", "HideLocationDescription": true, "StreetAddress": "1005 W. Rogers Blvd", "HideStreetAddress": false, "AddressCity": "Skiatook", "AddressState": "OK", "AddressZip": "74070", "TimeZone": 0, "TimeZoneInfo": null, "HideCityStateZip": false, "Phone": "(918) 578-2350 ", "HidePhone": false, "Fax": "(918) 396-9066", "HideFax": false, "Email": "customer_service_3@tateboys.com", "EmailLabel": "Email:", "HideEmail": false, "Website": "http://www.tateboys.com", "HideWebsite": false, "Manager": "Ricky Whistler", "HideManager": false, "HoursStatement": "", "MondayOpening": "8:00|AM", "MondayClosing": "6:00|PM", "MondayClosed": false, "closedTextMonday": "", "TuesdayOpening": "8:00|AM", "TuesdayClosing": "6:00|PM", "TuesdayClosed": false, "closedTextTuesday": "", "WednesdayOpening": "8:00|AM", "WednesdayClosing": "6:00|PM", "WednesdayClosed": false, "closedTextWednesday": "", "ThursdayOpening": "8:00|AM", "ThursdayClosing": "6:00|PM", "ThursdayClosed": false, "closedTextThursday": "", "FridayOpening": "8:00|AM", "FridayClosing": "6:00|PM", "FridayClosed": false, "closedTextFriday": "", "SaturdayOpening": "8:00|AM", "SaturdayClosing": "2:00|PM", "SaturdayClosed": false, "closedTextSaturday": "", "SundayOpening": " | ", "SundayClosing": " | ", "SundayClosed": true, "closedTextSunday": "", "HideHours": false, "ServiceMondayClosed": false, "ServiceMondayClosing": "", "ServiceMondayOpening": "", "ServiceTextMonday": "", "ServiceTuesdayClosed": false, "ServiceTuesdayClosing": "", "ServiceTuesdayOpening": "", "ServiceTextTuesday": "", "ServiceWednesdayClosed": false, "ServiceWednesdayClosing": "", "ServiceWednesdayOpening": "", "ServiceTextWednesday": "", "ServiceThursdayClosed": false, "ServiceThursdayClosing": "", "ServiceThursdayOpening": "", "ServiceTextThursday": "", "ServiceFridayClosed": false, "ServiceFridayClosing": "", "ServiceFridayOpening": "", "ServiceTextFriday": "", "ServiceSaturdayClosed": false, "ServiceSaturdayClosing": "", "ServiceSaturdayOpening": "", "ServiceTextSaturday": "", "ServiceSundayClosed": false, "ServiceSundayOpening": "", "ServiceSundayClosing": "", "ServiceTextSunday": "", "HideServiceHours": false, "ServiceTypeList": null, "PaymentTypeList": null, "PaymentTypes": "", "HidePayments": false, "HideServiceTypes": false, "ShowTestimonials": false, "LocationStatement": "

\"\"Click here to view our reviews on this location

", "LocationImageUrl": "//c2.ndrv.in/Final_634988720195571186.jpg", "SortOrder": 0, "SearchMiles": 0.0, "Type1": "", "Type2": "", "Type3": "", "Type4": "", "Type5": "", "Country": "US", "Latitude": 36.36859, "Longitude": -96.01338, "RegionName": null, "RegionId": 1, "ShowOnMap": false, "SEODescription": null, "SEOTitle": null, "LastUpdated": "2018-04-10T03:05:46.487", "LinkPromosAndSocialFeeds": false, "GetServiceMondayHours": "", "GetServiceTuesdayHours": "", "GetServiceWednesdayHours": "", "GetServiceThursdayHours": "", "GetServiceFridayHours": "", "GetServiceSaturdayHours": "", "GetServiceSundayHours": "", "GetMondayHours": "8:00 AM - 6:00 PM", "GetTuesdayHours": "8:00 AM - 6:00 PM", "GetWednesdayHours": "8:00 AM - 6:00 PM", "GetThursdayHours": "8:00 AM - 6:00 PM", "GetFridayHours": "8:00 AM - 6:00 PM", "GetSaturdayHours": "8:00 AM - 2:00 PM", "GetSundayHours": "Closed ", "FormattedSearchMiles": "0", "FormattedSearchKilometers": "0", "CountryDisplay": "United States" }, { "LocationId": 5, "GUID": "50bd0b0e-3a19-4c51-84ca-8707768c8bb6", "IsHidden": false, "HideFromQuoting": false, "HideFromScheduleService": false, "LocationName": "Tate Boys Tire & Service", "LocationDescription": "", "HideLocationDescription": true, "StreetAddress": "11901 East 96th St. North", "HideStreetAddress": false, "AddressCity": "Owasso", "AddressState": "OK", "AddressZip": "74055", "TimeZone": 0, "TimeZoneInfo": null, "HideCityStateZip": false, "Phone": "(918) 376-0227", "HidePhone": false, "Fax": "(918) 376-0227", "HideFax": false, "Email": "customer_service_4@tateboys.com", "EmailLabel": "Email:", "HideEmail": false, "Website": "http://www.tateboys.com", "HideWebsite": false, "Manager": "Jamie Schoenthaler", "HideManager": false, "HoursStatement": "", "MondayOpening": "7:30|AM", "MondayClosing": "6:00|PM", "MondayClosed": false, "closedTextMonday": "", "TuesdayOpening": "7:30|AM", "TuesdayClosing": "6:00|PM", "TuesdayClosed": false, "closedTextTuesday": "", "WednesdayOpening": "7:30|AM", "WednesdayClosing": "6:00|PM", "WednesdayClosed": false, "closedTextWednesday": "", "ThursdayOpening": "7:30|AM", "ThursdayClosing": "6:00|PM", "ThursdayClosed": false, "closedTextThursday": "", "FridayOpening": "7:30|AM", "FridayClosing": "6:00|PM", "FridayClosed": false, "closedTextFriday": "", "SaturdayOpening": "7:30|AM", "SaturdayClosing": "3:00|PM", "SaturdayClosed": false, "closedTextSaturday": "", "SundayOpening": " | ", "SundayClosing": " | ", "SundayClosed": true, "closedTextSunday": "", "HideHours": false, "ServiceMondayClosed": false, "ServiceMondayClosing": "", "ServiceMondayOpening": "", "ServiceTextMonday": "", "ServiceTuesdayClosed": false, "ServiceTuesdayClosing": "", "ServiceTuesdayOpening": "", "ServiceTextTuesday": "", "ServiceWednesdayClosed": false, "ServiceWednesdayClosing": "", "ServiceWednesdayOpening": "", "ServiceTextWednesday": "", "ServiceThursdayClosed": false, "ServiceThursdayClosing": "", "ServiceThursdayOpening": "", "ServiceTextThursday": "", "ServiceFridayClosed": false, "ServiceFridayClosing": "", "ServiceFridayOpening": "", "ServiceTextFriday": "", "ServiceSaturdayClosed": false, "ServiceSaturdayClosing": "", "ServiceSaturdayOpening": "", "ServiceTextSaturday": "", "ServiceSundayClosed": false, "ServiceSundayOpening": "", "ServiceSundayClosing": "", "ServiceTextSunday": "", "HideServiceHours": false, "ServiceTypeList": null, "PaymentTypeList": null, "PaymentTypes": "", "HidePayments": false, "HideServiceTypes": false, "ShowTestimonials": false, "LocationStatement": "

\"\"Click here to view our reviews on this location

", "LocationImageUrl": "//c2.ndrv.in/Final_634988719211192758.jpg", "SortOrder": 0, "SearchMiles": 0.0, "Type1": "", "Type2": "", "Type3": "", "Type4": "", "Type5": "", "Country": "US", "Latitude": 36.29325, "Longitude": -95.84171, "RegionName": null, "RegionId": 1, "ShowOnMap": false, "SEODescription": null, "SEOTitle": null, "LastUpdated": "2018-04-10T03:05:46.487", "LinkPromosAndSocialFeeds": false, "GetServiceMondayHours": "", "GetServiceTuesdayHours": "", "GetServiceWednesdayHours": "", "GetServiceThursdayHours": "", "GetServiceFridayHours": "", "GetServiceSaturdayHours": "", "GetServiceSundayHours": "", "GetMondayHours": "7:30 AM - 6:00 PM", "GetTuesdayHours": "7:30 AM - 6:00 PM", "GetWednesdayHours": "7:30 AM - 6:00 PM", "GetThursdayHours": "7:30 AM - 6:00 PM", "GetFridayHours": "7:30 AM - 6:00 PM", "GetSaturdayHours": "7:30 AM - 3:00 PM", "GetSundayHours": "Closed ", "FormattedSearchMiles": "0", "FormattedSearchKilometers": "0", "CountryDisplay": "United States" }, { "LocationId": 4, "GUID": "50bd0b0e-3a19-4c51-84ca-8707768c8bb6", "IsHidden": false, "HideFromQuoting": false, "HideFromScheduleService": false, "LocationName": "Tate Boys Tire & Service", "LocationDescription": "", "HideLocationDescription": true, "StreetAddress": "605 N. Aspen Ave", "HideStreetAddress": false, "AddressCity": "Broken Arrow", "AddressState": "OK", "AddressZip": "74012", "TimeZone": 0, "TimeZoneInfo": null, "HideCityStateZip": false, "Phone": "(918) 615-4892", "HidePhone": false, "Fax": "(918) 258-8786", "HideFax": false, "Email": "customer_service_5@tateboys.com", "EmailLabel": "Email:", "HideEmail": false, "Website": "http://www.tateboys.com", "HideWebsite": false, "Manager": "Marcus Frazier", "HideManager": false, "HoursStatement": "", "MondayOpening": "8:00|AM", "MondayClosing": "6:00|PM", "MondayClosed": false, "closedTextMonday": "", "TuesdayOpening": "8:00|AM", "TuesdayClosing": "6:00|PM", "TuesdayClosed": false, "closedTextTuesday": "", "WednesdayOpening": "8:00|AM", "WednesdayClosing": "6:00|PM", "WednesdayClosed": false, "closedTextWednesday": "", "ThursdayOpening": "8:00|AM", "ThursdayClosing": "6:00|PM", "ThursdayClosed": false, "closedTextThursday": "", "FridayOpening": "8:00|AM", "FridayClosing": "6:00|PM", "FridayClosed": false, "closedTextFriday": "", "SaturdayOpening": "8:00|AM", "SaturdayClosing": "5:00|PM", "SaturdayClosed": false, "closedTextSaturday": "", "SundayOpening": " | ", "SundayClosing": " | ", "SundayClosed": true, "closedTextSunday": "", "HideHours": false, "ServiceMondayClosed": false, "ServiceMondayClosing": "", "ServiceMondayOpening": "", "ServiceTextMonday": "", "ServiceTuesdayClosed": false, "ServiceTuesdayClosing": "", "ServiceTuesdayOpening": "", "ServiceTextTuesday": "", "ServiceWednesdayClosed": false, "ServiceWednesdayClosing": "", "ServiceWednesdayOpening": "", "ServiceTextWednesday": "", "ServiceThursdayClosed": false, "ServiceThursdayClosing": "", "ServiceThursdayOpening": "", "ServiceTextThursday": "", "ServiceFridayClosed": false, "ServiceFridayClosing": "", "ServiceFridayOpening": "", "ServiceTextFriday": "", "ServiceSaturdayClosed": false, "ServiceSaturdayClosing": "", "ServiceSaturdayOpening": "", "ServiceTextSaturday": "", "ServiceSundayClosed": false, "ServiceSundayOpening": "", "ServiceSundayClosing": "", "ServiceTextSunday": "", "HideServiceHours": false, "ServiceTypeList": null, "PaymentTypeList": null, "PaymentTypes": "", "HidePayments": false, "HideServiceTypes": false, "ShowTestimonials": false, "LocationStatement": "

\"\"Click here to view our reviews on this location

", "LocationImageUrl": "//www.tateboys.com/DesktopModules/LFLocations/LocationImages/Final_635702168297109979.jpg", "SortOrder": 0, "SearchMiles": 0.0, "Type1": "", "Type2": "", "Type3": "", "Type4": "", "Type5": "", "Country": "US", "Latitude": 36.0577, "Longitude": -95.81483, "RegionName": null, "RegionId": 1, "ShowOnMap": false, "SEODescription": null, "SEOTitle": null, "LastUpdated": "2018-04-10T03:05:46.487", "LinkPromosAndSocialFeeds": false, "GetServiceMondayHours": "", "GetServiceTuesdayHours": "", "GetServiceWednesdayHours": "", "GetServiceThursdayHours": "", "GetServiceFridayHours": "", "GetServiceSaturdayHours": "", "GetServiceSundayHours": "", "GetMondayHours": "8:00 AM - 6:00 PM", "GetTuesdayHours": "8:00 AM - 6:00 PM", "GetWednesdayHours": "8:00 AM - 6:00 PM", "GetThursdayHours": "8:00 AM - 6:00 PM", "GetFridayHours": "8:00 AM - 6:00 PM", "GetSaturdayHours": "8:00 AM - 5:00 PM", "GetSundayHours": "Closed ", "FormattedSearchMiles": "0", "FormattedSearchKilometers": "0", "CountryDisplay": "United States" } ]; scheduleServiceLocationCount = 0; if (isPageScheduleService) { for (i = 0; i < locListings.length; i++) { if (!locListings[i].HideFromScheduleService) { scheduleServiceLocationCount++; } if (scheduleServiceLocationCount > 1) { result = true; break; } } } return result; } function setLocationCookie(cname, cvalue, exdays) { if (cvalue !== "-1") { setNDcookie(cname,cvalue,exdays); } } function getUserSeletedDate(inputText) { var d = new Date( inputText ); if (isNaN(d.getTime())) { d = new Date(); } return d; } function getTimeChangeInterval() { var ServiceTimeInterval = $('.ServiceTimeInterval').text(); return (typeof(ServiceTimeInterval) == 'undefined' || typeof(ServiceTimeInterval) == null) ? 60 : parseInt(ServiceTimeInterval); } function timeDropDownRepop(dateText, element) { var userSelectedDate = getUserSeletedDate(dateText); var changeIntervalInMins = getTimeChangeInterval(); var day = $('#hoursData div[day=' + userSelectedDate.getDay() + ']'); var dropDownList = $('#' + element.id).siblings('.jsHoursDropDown'); var hiddenAspInput = $('#' + element.id).siblings('.jsDropdownInput'); dropDownList.empty(); if ( dayOpen(day) ) { var openTime = day.attr('opening'); var closeTime = day.attr('closing'); var openTimeMinShift = getMinShift(openTime); var closeTimeMinShift = getMinShift(closeTime); var openHoursFromMidnight = getHoursFromMidnight(openTime); var closeHoursFromMidnight = getHoursFromMidnight(closeTime); if (!isNaN(window.nextAvailableDate)) { if (window.nextAvailableDate.getHours() > 12 && openHoursFromMidnight < 12) { openHoursFromMidnight = 12; } } if (closeHoursFromMidnight < openHoursFromMidnight) { //turns out the day is closed appendClosedOption($(this)); return; } if (day.attr('message').length > 1) { var el = document.createElement("option"); el.text = day.attr('message'); el.value = "11:59 PM"; dropDownList.append(el); $(this).parent().parent().children("span.contactMsg").remove(); } else { while (((openHoursFromMidnight * 60) + openTimeMinShift) + 60 // while next time plus interval <= ((closeHoursFromMidnight * 60) + closeTimeMinShift)) {// < closing, minus 1h cutoff while (openTimeMinShift >= 60) { openHoursFromMidnight++; openTimeMinShift = openTimeMinShift - 60; } var el = document.createElement("option"); el.value = formatTime(openHoursFromMidnight, openTimeMinShift); el.text = el.value; el.innerText = el.value; openTimeMinShift = openTimeMinShift + changeIntervalInMins; dropDownList.append(el); $(this).parent().parent().children("span.contactMsg").remove(); } } $(hiddenAspInput).val(dropDownList[0].options[0].value); } else { if (day.attr('message').length > 1) { var el = document.createElement("option"); el.value = "11:59 PM"; el.text = day.attr('message'); hiddenAspInput.text = day.attr('message'); $(this).parent().parent().children("span.contactMsg").remove(); $(this).parent().parent().append("We will contact you within 24 hours to confirm an appropriate time if available."); $(this).append(el); } else { appendClosedOption($(this)); } dropDownList.change(); } } function appendClosedOption(dropDownList) { var el = document.createElement("option"); el.value = "Closed"; el.text = "Closed"; dropDownList.append(el); } function dayOpen(day) { return day.attr('closed') != "True"; } function timeChanged() { var input = $(this).siblings('.jsDropdownInput'); var selectedValue = $(this).find(':selected').val(); $(input).val(selectedValue); } function formatTime(time, minShift) { var hour = time; var dayHalf; //am/pm //hour = time.getHours(); if (hour < 12) { dayHalf = "AM"; } else { if (hour > 12) { hour = hour - 12; } dayHalf = "PM"; } var minShiftString = minShift == 0 ? "00" : minShift; return hour + ":" + minShiftString + " " + dayHalf; } function getHoursFromMidnight(timeString) { var hoursFromMidnight = 0; if (undefined != timeString) { var cleanedTime = timeString.replace("|AM", "").replace("|PM", ""); var hourString = cleanedTime.substring(0, cleanedTime.indexOf(":")); hoursFromMidnight = parseInt(hourString); if (timeString.indexOf("|PM") != -1 && hourString != "12") { hoursFromMidnight = hoursFromMidnight + 12; } } return hoursFromMidnight; } function getMinShift(timeString) { var cleanedTime = timeString.replace("|AM", "").replace("|PM", ""); var minString = cleanedTime.substring(cleanedTime.indexOf(":") + 1 ); return parseInt(minString); } function unavailable(date) { var day = date.getDay(); var dayCheck = $('#hoursData div[day=' + day + ']'); if (dayCheck.attr('closed') === "true") { return [false, '']; } else { return [true, '']; } } function startLoadingInfo() { this.addClass('disabledForLoad'); mapSearch(); this.removeclass('disabledForLoad'); } function mapSearch() { mapSearchQuery = $('#autocomplete').val().trim(); if (isValidPostalCode(mapSearchQuery)) { mapSearchQuery = mapSearchQuery.replace(' ', ''); mapSearchQuery = mapSearchQuery.replace('-', ''); mapSearchQuery = mapSearchQuery.replace('_', ''); requestURL = "//w.nd-cdn.us/desktopmodules/locationmanager/LocationService.asmx/GetZipLonLat"; $.ajax({ url: requestURL, contentType: "application/javascript; charset=utf-8", type: "POST", dataType: "script", data: "zipcode=" + mapSearchQuery, complete: function () { zipSearchResponse(); } }); } else { var url = '//nominatim.openstreetmap.org/search?q='; var query = encodeURIComponent(mapSearchQuery); var params = '&countrycodes=us,ca,pr,mx' + '&format=json' + '&json_callback=nominatimResult' + '&email=tech@getnetdriven.com'; requestURL = url + query + params; $("#searchresultsdiv").html(""); $.ajax({ url: requestURL, contentType: "application/javascript; charset=utf-8", type: "POST", dataType: "script", data: "{}" }); } } function isLocationSelected() { var locationId = "-1"; locationId = ThisLocationSelector.attributes['selectedlocationid'].value; var locationselected = (locationId != "-1"); return locationselected; } function createLocationsDropDown(locations, fromSearch) { var defaultSelected = { "LocationId": -1, "description": " -- Select a Location -- " }; locations.splice(0, 0, defaultSelected); var placeHolder = document.getElementById("jsLocDropDownPlaceHolder"); placeHolder.innerHTML = ''; var newSelector = document.createElement("select"); newSelector.setAttribute("id", "locationList"); newSelector.setAttribute("class", "location-info"); newSelector.onchange = function () { this.selectedlocationid = newSelector.value; locChange(); if (this.selectedlocationid != "-1") { locationSelected.value = this.selectedlocationid; } var locId = this.value; if (locId != -1) { var loc2 = $.grep(locations, function (e) { return e.LocationId.toString() == locId; }); selectItemByValue(document.getElementById("locationList"), loc2[0].value); $("input.date-choice").attr("disabled", false); $("input.date-choice").removeAttr("title"); } else { var infoArea = document.getElementById("jsLocationInfoPlaceHolder"); infoArea.innerHTML = ""; resetDateSelectorAndHoursDropDown(); } locationSelected.value = locId; }; for (var i = 0; i < locations.length; i++) { var option = document.createElement("option"); var loc = locations[i]; if (loc.LocationId == -1) { option.text = loc.description; } else { if (loc.distance == undefined) { option.text = loc.StreetAddress + " " + loc.AddressCity + ", " + loc.AddressState + " " + loc.AddressZip; } else { option.text = loc.distance + (useMiles ? " mi" : " km") + " - " + loc.StreetAddress + " " + loc.AddressCity + ", " + loc.AddressState + " " + loc.AddressZip; } } option.value = loc.LocationId; if (!(((ThisLocationSelector.attributes["pagetype"].value == "IPE" || ThisLocationSelector.attributes["pagetype"].value == "ATC") && loc.HideFromQuoting) || ThisLocationSelector.attributes["pagetype"].value == "ScheduleService" && loc.HideFromScheduleService) || (!loc.HideFromQuoting && (typeof ThisLocationSelector.attributes["fromIPEEmail"] != 'undefined' && ThisLocationSelector.attributes["fromIPEEmail"].value == 'true')) ) newSelector.add(option); } if (fromSearch) { selectItemByValue(newSelector, newSelector.options[1]); newSelector.selectedIndex = 1; } placeHolder.appendChild(newSelector); locationSelected.value = locations[1].LocationId; selectedLocation = dnn_ctr17495_NewView_RequestQuote_locationSelector.attributes['selectedlocationid'].value; if (selectedLocation != null && selectedLocation != "-1" && selectedLocation != "0") { if (fromSearch) var selectedId = document.getElementById("locationList").options[1].value; else var selectedId = selectedLocation; for (var x = 0; x < locations.length; x++) if (locations[x].LocationId == selectedId) selectItemByValue(document.getElementById("locationList"), selectedId); } } function locChange() { var selectedlocation = document.getElementById("locationList").value; ThisLocationSelector.attributes['selectedlocationid'].value = selectedlocation; $('#dnn_ctr17495_NewView_RequestQuote_hdnLocationSelectionId').val(selectedlocation); setLocationCookie("LocationId", ThisLocationSelector.attributes['selectedlocationid'].value, 100); var geoCookie = getLocationCookie("GeoCookie"); geoCookie = geoCookie.replace("LocationId=" + geoCookie.substring(geoCookie.indexOf("LocationId=") + 11, geoCookie.indexOf("&Sha")), "LocationId=" + ThisLocationSelector.attributes['selectedlocationid'].value); setGeoCookie("GeoCookie", geoCookie); refreshGeoBox(geoCookie); selectItemByValue(document.getElementById("locationList"), selectedlocation); dateTimeSetup(); locationChangeClientCall(selectedlocation); } function setGeoCookie(c_name, value, exdays, extraParams) { if (typeof exdays === "undefined") { exdays = 365; } if(typeof extraParams === "undefined") { extraParams = ''; } var exdate = new Date(); exdate.setDate(exdate.getDate() + exdays); var c_value = value +((exdays == null) ? '': '; expires=' +exdate.toUTCString()) + "; path=/" +extraParams; document.cookie = c_name + '=' +c_value; } function refreshGeoBox(geoCookie) { if (typeof guid !== 'undefined') { var url = '/DesktopModules/PostalCodeLookup/Components/GeoService.asmx/GetLocationFinderHTML'; var r = new XMLHttpRequest(); r.open('POST', url, true); r.onreadystatechange = function () { if (r.readyState != 4 || r.status != 200) return; xmlDoc = $.parseXML(r.responseText); $xml = $(xmlDoc); var jtext = $xml.find('string').text(); var j = JSON.parse(jtext); $("#GeoContainer").html(j); $(".GeoBox").html($(".cityState").html()); }; r.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded'); if (geoCookie == "" || geoCookie.includes("SharedLocation=False")) { geoCookie = "GUID=" + guid + "&LocationId=" + $("#locationList").val() + "&SharedLocation=True&SetLocation=Local"; geoCookie = geoCookie.replace("SharedLocation=False", "SharedLocation=True"); setGeoCookie("GeoCookie", geoCookie); r.send('GUID=' + guid + '&locationId=' + $("#locationList").val(), true); $(".GeoPanel").show(); } else { r.send('GUID=' + geoCookie.substring(5, geoCookie.indexOf("&Loc")) + '&locationId=' + geoCookie.substring(geoCookie.indexOf("&Loc") + 12, geoCookie.indexOf("&Sha"))); } } } function resetDateSelectorAndHoursDropDown() { resetDateSelector(); resetHoursDropDown(); } function resetDateSelector() { $("input.date-choice").val(""); $("input.date-choice").attr("disabled", true); $("input.date-choice").attr("title", "Please select a location"); } function resetHoursDropDown() { $('.jsHoursDropDown').attr("disabled", true); $('.jsHoursDropDown').empty(); var op = document.createElement("option"); op.value = "Appt. Time"; op.text = op.value; $('.jsHoursDropDown').append(op); } function resetSpecificHoursDropDown(element) { var dropDownList = $('#' + element.id).siblings('.jsHoursDropDown'); dropDownList.attr("disabled", true); dropDownList.empty(); var op = document.createElement("option"); op.value = "Appt. Time"; op.text = op.value; dropDownList.append(op); } function locationChangeClientCall(selectedlocation) { ; } function selectItemByValue(elmnt, value) { for (var i = 0; i < elmnt.length; i++) { if (elmnt.options[i].value == value) elmnt.selectedIndex = i; } for (var i = 0; i < locListings.length; i++) { if (locListings[i].LocationId == value) buildLocationSection(locListings[i]); } } function HasServiceHours(loc) { if ((loc.ServiceSundayClosed == false || loc.ServiceMondayClosed == false || loc.ServiceTuesdayClosed || false && loc.ServiceWednesdayClosed == false || loc.ServiceThursdayClosed == false || loc.ServiceFridayClosed == false || loc.ServiceSaturdayClosed == false) && (loc.ServiceSundayOpening.indexOf("M") != -1 || loc.ServiceMondayOpening.indexOf("M") != -1 || loc.ServiceTuesdayOpening.indexOf("M") != -1 || loc.ServiceWednesdayOpening.indexOf("M") != -1 || loc.ServiceThursdayOpening.indexOf("M") != -1 || loc.ServiceFridayOpening.indexOf("M") != -1 || loc.ServiceSaturdayOpening.indexOf("M") != -1) && (typeof loc.ServiceSaturdayOpening != "undefined" || typeof loc.ServiceSundayOpening != "undefined" || typeof loc.ServiceMondayOpening != "undefined" || typeof loc.ServiceTuesdayOpening != "undefined" || typeof loc.ServiceWednesdayOpening != "undefined" || typeof loc.ServiceThursdayOpening != "undefined" || typeof loc.ServiceFridayOpening != "undefined")) { return true; } return false; } function buildLocationSection(loc) { var hasServiceHours = HasServiceHours(loc); var infoArea = document.getElementById("jsLocationInfoPlaceHolder"); infoArea.innerHTML = ""; if (loc != null && loc.LocationId != "-1") { var locInfo = document.createElement("div"); locInfo.innerHTML = "
" + loc.StreetAddress + "
" + loc.AddressCity + ", " + loc.AddressState + " " + loc.AddressZip + "
" + (!loc.HidePhone ? loc.Phone : "") + "
" + (ThisLocationSelector.attributes["pagetype"].value == "IPE" ? "" : "Hours
") + dayHoursText("Monday", loc, hasServiceHours) + dayHoursText("Tuesday", loc, hasServiceHours) + dayHoursText("Wednesday", loc, hasServiceHours) + dayHoursText("Thursday", loc, hasServiceHours) + dayHoursText("Friday", loc, hasServiceHours) + dayHoursText("Saturday", loc, hasServiceHours) + dayHoursText("Sunday", loc, hasServiceHours) + "

Tire Brands

More Brands »

Tate Boys Tire & Service

Tate Boys Tire & Service is an independent tire dealer that offers all forms of tire repairs, maintenance, and sales. With over 25 years serving customers in the Tulsa, OK area, we now have five locations that offer all of our tire and auto maintenance services. If you live in the Bartlesville, Skiatook, Broken Arrow, or Owasso areas, you can find one of our exceptional tire service facilities near you. Our focus on customer service is what keeps our customers coming back. We strive to offer all of your car care needs with the knowledge, expertise, and service that you expect from your service facility.