1<!DOCTYPE HTML><HTML lang='en'><HEAD><title>Login</title><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1"><meta content="Microsoft Visual Studio 7.0" name="GENERATOR"><meta content="C#" name="CODE_LANGUAGE"><meta content="JavaScript" name="vs_defaultClientScript"><meta content="https://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema"><meta name="robots" content="noindex" /><meta http-equiv="content-language" content="en-us" />
1<script>
vendor: 374 bytes, line 1
1(function (w, d, s, l, i) { w[l] = w[l] || []; w[l].push({ 'gtm.start': new Date().getTime(), event: 'gtm.js' }); var f = d.getElementsByTagName(s)[0], j = d.createElement(s), dl = l != 'dataLayer' ? '&l=' + l : ''; j.async = true; j.src = 'https://www.googletagmanager.com/gtm.js?id=' + i + dl; f.parentNode.insertBefore(j, f); })(window, document, 'script', 'dataLayer', '
1GTM-K54D2D9
vendor: 3 bytes, line 1
1');
1</script>
1<script> var siteName = 'www.TyreMarket.com'; var callcenterpath = '/callcenter'; var callcenterpathLowercase = callcenterpath.toLowerCase(); var windowpathnameLowercase = window.location.pathname.toLowerCase(); (function (i, s, o, g, r, a, m) { i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () { (i[r].q = i[r].q || []).push(arguments) }, i[r].l = 1 * new Date(); a = s.createElement(o), m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m) })(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga'); if ((window.location.host.toLowerCase() == siteName.toLowerCase() || window.location.host.toLowerCase() == window.location.protocol + "//" + siteName.toLowerCase()) && (window.location.port == "") && (windowpathnameLowercase.indexOf(callcenterpathLowercase) == -1)) { ga('create', 'UA-64639747-1', 'auto'); ga('send', 'pageview'); } else { window['ga-disable-UA-64639747-1'] = true; } </script>
1<link href="https://code.jquery.com/ui/1.13.2/themes/base/jquery-ui.css" rel="stylesheet" />
1<script type="text/javascript" src="https://code.jquery.com/jquery-2.2.4.min.js"></script>
1<script src="https://code.jquery.com/ui/1.13.2/jquery-ui.min.js"></script>
1<script type="text/javascript" async src="https://www.tyremarket.com/scripts/bootstrap.min.js"></script>
1<script type="text/javascript" async src="https://www.tyremarket.com/scripts/html5shiv.js"></script>
1<script type="text/javascript" async src="https://www.tyremarket.com/scripts/respond.js"></script>
1<script type="text/javascript" src="https://www.tyremarket.com/scripts/bootbox.min.js"></script>
1<script type="text/javascript" src="https://www.tyremarket.com/scripts/tyremarket_1_1_8_97.js" id='tm_js' webservice_url='tpwebservice'></script>
1<link rel="stylesheet" href="https://www.tyremarket.com/themes/bootstrap.min.css" /><link rel="stylesheet" href="https://www.tyremarket.com/themes/master_1_1_9_83.css" /><link rel="stylesheet" href="https://www.tyremarket.com/themes/tyremarket_1_1_8_68.css" /><link rel="stylesheet" href="https://www.tyremarket.com/themes/btnStandards_1_1_1_3.css" /><link href="https://fonts.googleapis.com/css?family=Montserrat:400,500,600,700,800" rel="stylesheet" media="none" onload="if(media!='all') media='all'"><link href="https://fonts.googleapis.com/css?family=Montserrat+Alternates:400,500" rel="stylesheet" media="none" onload="if(media!='all') media='all'"><link rel="stylesheet" href="https://www.tyremarket.com/fonts/inter/inter.css"/><link rel="stylesheet" href="https://www.tyremarket.com/themes/typography_1_1_1_2.css" />
1<script type="text/javascript"> (function (n, i, t, r, o) { var a, m; n['NitroObject'] = o; n[o] = n[o] || function () { (n[o].q = n[o].q || []).push(arguments) }, n[o].l = 1 * new Date(); n[o].h = r; a = i.createElement(t), m = i.getElementsByTagName(t)[0]; a.async = 1; a.src = r; m.parentNode. insertBefore(a, m) })(window, document, 'script', 'https://x.nitrocommerce.ai/nitro.js', 'nitro'); nitro('configure', '7c9691fb-b3a8-40be-ae2e-1636326e5650'); </script>
1<script language="javascript"> function window_onload() { if(document.all("txtUserID")!= null) document.all("txtUserID").focus(); else document.all("txtUserName").focus(); } $(function () { $("#txtUserID").on('keyup', function () { var emailReg = /^([\w-\.]+@([\w-]+\.)+[\w-]{2,4})?$/; var IsValid = emailReg.test($("#txtUserID").val()); if ($("#txtUserID").val() != "" && IsValid) { $("#txtUserID").attr('style', 'border-bottom:1px solid rgb(129, 214, 254) !important'); $('#valSum').text(''); } else if ($("#txtUserID").val() != "") { $("#txtUserID").attr('style', 'border-bottom:1px solid rgb(129, 214, 254) !important'); } }); $("#txtPassword").on('keyup', function () { if ($("#txtPassword").val() != "") { $("#txtPassword").attr('style', 'border-bottom:1px solid rgb(129, 214, 254) !important'); } }); }); var ScriptPath = "ClientScripts/"; function enabledisable(evt) { var id = ''; id = evt.id; if (id == "btnLogin") { document.all('btnLogin').style.display = "none"; document.all('tm_btn_login_processing').style.display = "inline"; document.all('tm_btn_login_processing').setAttribute('disabled', 'disabled'); document.all('tm_btn_login_processing').style.visibility = "visible"; } } </script>
1<style> input:-ms-input-placeholder { color:#a7a7a7; opacity: 1; /* Firefox */ font-size:1.3rem !important; font-weight:400 !important; } .tm-body-bg { background:#f7f7f7; } .tm-form-control{ border: 0; outline: 0; border-bottom: 1px solid rgb(129, 214, 254); /*font-size: 1.4rem;*/ /*RSS Note: Typography Enhancements*/ color: #000; width:100%; padding: 0 5px 8px 0px; } .tm-panel { margin: 0px auto; float: none; border: 1px solid #e4e4e4 !important; padding: 20px; } .tm-mar-bt-30 { margin-bottom:30px; } .tm-btn { padding:8px !important; border-radius:3px !important; background:#1a296a!important; color:#fff; width:100%; font-size:1.3rem; } .tm-linktext { color:#1294f1!important; } .tm-title { /*font-size: 1.6rem !important; font-style: normal; font-weight: 600;*/ /*RSS Note: Typography Enhancements*/ color: #000 !important; /* padding: 20px 0px 20px 0px !important;*/ /*RSS Note: Typography Enhancements*/ } .tm-mandatory { position:relative !important; top:-36px; color:red; left:-7px; } ::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */ color:#a7a7a7; opacity: 1; /* Firefox */ font-size:1.3rem !important; font-weight:400 !important; } .error ul{ margin-left: -3.4em; } .mnuwrap{ margin-bottom:0px!important; } .divider{ margin: 8px auto 8px auto!important; } .border { border: 1px solid #ddd; } input#btnRegister { background-color: #fff!important; border-color: #fff!important; color:#1294f1!important; padding: 0px; margin: 0px; margin-left: 5px; /*font-weight:600!important; font-size: 1.2rem;*/ /*RSS Note: Typography Enhancements*/ } input#btnRegister:hover{ text-decoration:underline; } a#lnkForgotPwd{ color:#1294f1!important; /* line-height: 0px!important; font-size:12px!important; font-weight: 100; font-style: normal; font-weight:600!important; font-size: 1.2rem; */ /*RSS Note: Typography Enhancements*/ } label{ font-weight:500!important; } #lblhelp{ font-weight:600!important; } </style></HEAD><body onload="window_onload()" class="tm-body-bg"><form name="frmLogin" method="post" language="javascript" onsubmit="javascript:return WebForm_OnSubmit();" id="frmLogin" EnableCdn="true"> 2<input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="" /> 3<input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="" /> 4<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPaA8FDzhkZjIxYzNjNTJjNmE3NGSMmt93UwMD8SNdOCP8vPjUbOMMwGGMpK6GNVNsDowrXQ==" /> 5
6<script type="text/javascript"> 7<!-- 8var theForm = document.forms['frmLogin']; 9function __doPostBack(eventTarget, eventArgument) { 10 if (!theForm.onsubmit || (theForm.onsubmit() != false)) { 11 theForm.__EVENTTARGET.value = eventTarget; 12 theForm.__EVENTARGUMENT.value = eventArgument; 13 theForm.submit(); 14 } 15} 16// --> 17</script>
17 18 19 20
21<script src="/WebResource.axd?d=jVaxBfeQWkFIBxF2M6J0tzME5qrqnzI6pJI2iwmgV-V_LDXqXDPzJE9sPIoPaHHSG8xFMxdjDzrw8INMNIYUTdKfB8ShB3ZRowOT22X3jQk1&t=638901734248157332" type="text/javascript"></script>
vendor: 2 bytes, line 21
21
22<script src="/ScriptResource.axd?d=6jGnC3JrIdH9v_ZcWkNCnecxqJT2NVuh-1zD2WidyEnrZX1v2iZ_D6OvhlM4ttGzChyClGmEPjKsgi5EqaNSOOLiUO6fJEGADzqr2EY8UMV3a5ICCqvSUWgp8Am3wblljCXAyk5t-MKqvsNwylLhWc1GKsC172Ntsewk95nACmomsFnI4Ho2OrLKZQElV-St0&t=5c0e0825" type="text/javascript"></script>
vendor: 2 bytes, line 22
22
23<script type="text/javascript"> 24//<![CDATA[ 25if (typeof(Sys) === 'undefined') throw new Error('ASP.NET Ajax client-side framework failed to load.'); 26//]]> 27</script>
27 28
29<script type="text/javascript"> 30<!-- 31function WebForm_OnSubmit() { 32if (typeof(ValidatorOnSubmit) == "function" && ValidatorOnSubmit() == false) return false; 33return true; 34} 35// --> 36</script>
vendor: 2 bytes, line 36
36
37<script language="javascript"> function right(e) { var msg = "Sorry, you don't have permission to right-click on an image."; if (navigator.appName == 'Netscape' && e.which == 3) { alert(msg); return false; } if (navigator.appName == 'Microsoft Internet Explorer' && event.button==2) { alert(msg); return false; } else return true; } function DisableImageClick() { if(document.images) { for(i=0;i<document.images.length;i++) { document.images[i].onmousedown = right; document.images[i].onmouseup = right; } } } function getURL(srcURL){ document.getElementById('iframe1').src =srcURL; } </script>
37<input name="ucSiteHeader$DefaultImagePath" type="hidden" id="ucSiteHeader_DefaultImagePath" class="DefaultImagePath" value="Images/Products/default.png" />
37<script type="text/javascript"> $(document).ready(function () { var DefaultImagePath = $('.DefaultImagePath').val(); var location = window.location.pathname; var windowpathname = ''; var usersitepath = ''; var callcenterpath = '/callcenter'; var sitesecuredomain = 'https://www.tyremarket.com/'; if (location.toLowerCase().indexOf(callcenterpath.toLowerCase()) == -1) { windowpathname = usersitepath.toLowerCase(); } else { windowpathname = callcenterpath.toLowerCase().replace('/', ''); } $(window).load(function () { $('img.SearchProductImage').each(function () { if (!this.complete || typeof this.naturalWidth == "undefined" || this.naturalWidth == 0) { /* image was broken, replace with your new image */ this.src = sitesecuredomain + windowpathname + '/' + DefaultImagePath; } }); }); $(window).load(function () { $('img#imgProductImage,.imagethumbnail-item').each(function () { if (!this.complete || typeof this.naturalWidth == "undefined" || this.naturalWidth == 0) { /* image was broken, replace with your new image */ this.src = sitesecuredomain + windowpathname + '/' + DefaultImagePath; } }); }); $('ul').find('li').each(function () { if ($(this).is(':empty')) $(this).hide(); }); /* if ($('span#ucSiteHeader_lblSiteUser').text() == "") { $('.customerdrop').hide(); } $('#mymodel-search').on('click', function () { $('#myModal').modal('toggle'); }); $('#lnkNewCustomer,#lnkEditCustomer,#lnkOrderHistory').on('click', function () { $('#modalNewCustomer').modal('toggle'); }); */ /* $('.dropdown-toggle').on('click', function () { */ /* $(this).closest('ul.dropdown-menu').toggle(); */ /* }); */ }); </script>
37<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css" media="none" onload="if(media!='all') media='all'">
37<script type="text/javascript" src="https://www.tyremarket.com/scripts/location_1.1.8.1.js" id='location_js' webservice_url='tpwebservice'></script>
37<script src='https://maps.googleapis.com/maps/api/js?v=3.exp&libraries=places&key=AIzaSyDtysQG4elkV9UAEpAzxZtvXfOmx_pjGLs' type='text/javascript'></script>
37<script src='https://www.tyremarket.com/scripts/jquery.idle-timer_1.1.8.1.js' type="text/javascript" async></script>
vendor: 67 bytes, line 37
37<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=
37GTM-K54D2D9
vendor: 82 bytes, line 37
37" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
37<script type="text/javascript"> var boolIsMarkPlaceMode = true; var boolIsDiscoveryMode = false; function updateButtonText() { if (window.innerWidth <= 767) { $(".btnSwitch").val("Search For More Tyres"); } else { $(".btnSwitch").val("Add More"); } } /* Run on page load */ updateButtonText(); /* Run whenever screen size changes */ $(window).on("resize", function () { updateButtonText(); }); window.addEventListener("pageshow", function (event) { var historyTraversal = event.persisted; if (historyTraversal) { window.location.reload(); } }); function getLatLongFromEnteredPINCodeGenHead(obj) { var strpin = $(obj).val(); if (strpin != undefined && strpin.trim() != "") { var strStatus = GetLatLongFromPINCode(strpin); if (strStatus == "0") { var latitude = getCookie('lat'); var longitude = getCookie('lan'); $('#CheckotLat').val(latitude); $('#CheckotLng').val(longitude); return true; } else if (strStatus == "1") { alert("Please enter a valid PINCode. "); $(obj).val(""); $(obj).focus(); return false; } else return true; } else return true; } function isNumberKey(evt) { var charCode = (evt.which) ? evt.which : evt.keyCode;
37 if (charCode == 8 || charCode == 9 || charCode == 46 || charCode == 37 || charCode == 39) { return true; } else if ((charCode >= 48 && charCode <= 57) || (charCode >= 96 && charCode <= 105)) { return true; } else { return false; } } function expresscheckout() { /*document.all('txt_email_or_mobile_header').setAttribute('required', 'required');*/ document.all('ucStoreHeader_btnExpressCheckout').style.display = "none"; document.all('tm_btn_checkoutcart_processing_header').style.display = "inline"; document.all('tm_btn_checkoutcart_processing_header').setAttribute('disabled', 'disabled'); document.all('tm_btn_checkoutcart_processing_header').style.visibility = "visible"; AddProductToCart_header('037416da-262e-4a1c-a3de-7bb7fe9a6764 '); /*return false;*/ ga('send', 'event', { eventCategory: 'shoppingcart-popup', eventAction: 'Submit', eventLabel: 'Express checkout', eventValue: 1 }); } /*This function is copied from tyremarket.js by Ravi SS*/ function getCookie(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) == 0) { return c.substring(name.length, c.length); } } return ""; } function validateAddtocartInfoFormForUser_header() { var strErrorMsg = ''; $("#divUserDetails_addtocart_popup_header #txt_email_or_mobile_header").attr('style', 'border: 1px solid #C0C0C0 !important;border-radius:6px;'); $("#divUserDetails_addtocart_popup_header #autocomplete_search_3").attr('style', 'border: 1px solid rgba(36,39,44,.3)!important;'); $("#divUserDetails_addtocart_popup_header #txtSimplePincode2").attr('style', 'border: 1px solid #C0C0C0 !important;border-radius:6px;'); var userdetail = $("#divUserDetails_addtocart_popup_header #txt_email_or_mobile_header").val(); if ('True'.toUpperCase() == 'TRUE' && 'True'.toUpperCase() == 'TRUE') { if ('False'.toUpperCase() == 'TRUE') { if ($("#divUserDetails_addtocart_popup_header #autocomplete_search_3").val() == '') { $("#btnSubmit_addtocart_popup_processing").attr('style', 'display:none'); $("#divUserDetails_addtocart_popup_header #autocomplete_search_3").attr('style', 'border:solid 1px red!important'); $("#btnSubmit_addtocart_popup").attr('style', 'display:inline-block; margin-left: 5px;'); strErrorMsg = 'Please enter and select a valid location or Pincode.'; } } else { if ($("#divUserDetails_addtocart_popup_header #txtSimplePincode2").val() == '') { $("#btnSubmit_addtocart_popup_processing").attr('style', 'display:none'); $("#divUserDetails_addtocart_popup_header #txtSimplePincode2").attr('style', 'border:solid 1px red!important;border-radius:6px;'); $("#btnSubmit_addtocart_popup").attr('style', 'display:inline-block; margin-left: 5px;'); strErrorMsg = 'Please enter valid Pincode.'; } var pincodedata = $("#divUserDetails_addtocart_popup_header #txtSimplePincode2").val(); if (pincodedata.length < 6) { $("#btnSubmit_addtocart_popup_processing").attr('style', 'display:none'); $("#divUserDetails_addtocart_popup_header #txtSimplePincode2").attr('style', 'border:solid 1px red!important;border-radius:6px;'); $("#btnSubmit_addtocart_popup").attr('style', 'display:inline-block; margin-left: 5px;'); if (strErrorMsg == '') strErrorMsg = 'Please enter valid Pincode.'; } } } if (isNaN($("#divUserDetails_addtocart_popup_header #txt_email_or_mobile_header").val())) { $("#divUserDetails_addtocart_popup_header #hdntxtEmail_addtocart_popup_header").val(userdetail); $("#divUserDetails_addtocart_popup_header #hdntxtMobileNo_addtocart_popup_header").val(''); } else { $("#divUserDetails_addtocart_popup_header #hdntxtMobileNo_addtocart_popup_header").val(userdetail); $("#divUserDetails_addtocart_popup_header #hdntxtEmail_addtocart_popup_header").val(''); } if ($("#divUserDetails_addtocart_popup_header #txt_email_or_mobile_header").val() == '') { $("#divUserDetails_addtocart_popup_header #txt_email_or_mobile_header").focus(); $("#divUserDetails_addtocart_popup_header #txt_email_or_mobile_header").attr('style', 'border:solid 1px red!important;border-radius:6px;'); $("#btnSubmit_addtocart_popup_processing_header").attr('style', 'display:none'); $("#btnSubmit_addtocart_popup_header").attr('style', 'display:inline-block; margin-left: 5px'); if (strErrorMsg == '') { strErrorMsg = 'Please enter 10 digit mobile number to proceed.'; } else { strErrorMsg = strErrorMsg.concat('<br>Please enter 10 digit mobile number to proceed.'); } } if ($("#divUserDetails_addtocart_popup_header").find('#hdntxtMobileNo_addtocart_popup_header').val() != "") { if ($("#divUserDetails_addtocart_popup_header #hdntxtMobileNo_addtocart_popup_header").val().length < 10 || $("#divUserDetails_addtocart_popup_header #hdntxtMobileNo_addtocart_popup_header").val().length > 10) { $("#divUserDetails_addtocart_popup_header #txt_email_or_mobile_header").focus(); $("#divUserDetails_addtocart_popup_header #txt_email_or_mobile_header").attr('style', 'border:solid 1px red!important;border-radius:6px;'); $("#btnSubmit_addtocart_popup_processing_header").attr('style', 'display:none'); $("#btnSubmit_addtocart_popup_header").attr('style', 'display:inline-block'); if (strErrorMsg == '') { strErrorMsg = 'Please enter 10 digit mobile number to proceed.'; } else { strErrorMsg = strErrorMsg.concat('<br>Please enter 10 digit mobile number to proceed.'); } } } if ($("#divUserDetails_addtocart_popup_header").find('#hdntxtEmail_addtocart_popup_header').val() != "") { if (!ValidateEmail($("#divUserDetails_addtocart_popup_header").find('#hdntxtEmail_addtocart_popup_header').val())) { $("#divUserDetails_addtocart_popup_header").find('#txt_email_or_mobile_header').focus(); $("#divUserDetails_addtocart_popup_header #txt_email_or_mobile_header").attr('style', 'border:solid 1px red!important;border-radius:6px;'); $("#btnSubmit_addtocart_popup_processing_header").attr('style', 'display:none'); $("#btnSubmit_addtocart_popup_header").attr('style', 'display:inline-block'); if (strErrorMsg == '') { strErrorMsg = 'Please Enter valid email id'; } else { strErrorMsg = strErrorMsg.concat('<br>Please Enter valid email id'); } } } if (strErrorMsg == '') { $("#divUserDetails_addtocart_popup_header #txt_email_or_mobile_header").removeAttr('style'); $("#divUserDetails_addtocart_popup_header #autocomplete_search_3").removeAttr('style'); $("#divUserDetails_addtocart_popup_header #txtSimplePincode2").removeAttr('style'); $("#spanNameOrMobileError_header").attr('style', 'display:none'); return true; } else { $("#spanNameOrMobileError_header").attr('style', 'display:block;text-align:center;'); $("#spanNameOrMobileError_header").html(strErrorMsg); return false; } } function addCustomerDetailsAddtocartPopup_header(customer_num, source, fromcontinueshopping) { if (fromcontinueshopping == undefined || fromcontinueshopping == "") { fromcontinueshopping = 0; } if (isMobile) { device_type = 0; } else { device_type = 1; } if ($('#divUserDetails_addtocart_popup_header #txtCity_header').val() != '') { locationdt = $('#divUserDetails_addtocart_popup_header #txtCity_header').val(); } var dttimeformat = ''; var search_query = "", page_url = "", selectedState = "", selectedCity = ""; var xmlDocument = "<root first_name='" + ($('#divUserDetails_addtocart_popup_header #txtFirstName_addtocart_popup_header').val() == undefined ? '' : $('#divUserDetails_addtocart_popup_header #txtFirstName_addtocart_popup_header').val()) /*+ $("#divUserDetails_nonpromocode #txtFirstName_nonpromocode").val()*/ + "' last_name ='" + ($('#divUserDetails_addtocart_popup_header #txtLastName_addtocart_popup_header').val() == undefined ? '' : $('#divUserDetails_addtocart_popup_header #txtLastName_addtocart_popup_header').val()) + "' mobile_no='" + ($('#divUserDetails_addtocart_popup_header #hdntxtMobileNo_addtocart_popup_header').val() == undefined ? '' : $('#divUserDetails_addtocart_popup_header #hdntxtMobileNo_addtocart_popup_header').val()) + "' email='" + ($('#divUserDetails_addtocart_popup_header #hdntxtEmail_addtocart_popup_header').val() == undefined ? '' : $('#divUserDetails_addtocart_popup_header #hdntxtEmail_addtocart_popup_header').val()) + "' vehicle_info ='" + ($('#divUserDetails_addtocart_popup_header #txtVehicleInfo_addtocart_popup_header').val() == undefined ? '' : $('#divUserDetails_addtocart_popup_header #txtVehicleInfo_addtocart_popup_header').val()) + "' customer_ip ='" + customer_ip + "' location='" + (locationdt == undefined ? '' : locationdt) + "' comments ='" + ($('#divUserDetails_addtocart_popup_header #txtComments_addtocart_popup_header').val() == undefined ? '' : $('#divUserDetails_addtocart_popup_header #txtComments_addtocart_popup_header').val()) + "' required_on='" + inputRequireOn + "' device_type='" + device_type + "' customer_number='" + customer_num + "' required_date= '" + ($('#divUserDetails_addtocart_popup_header #txtrequiredDate_addtocart_popup_header').val() == undefined ? '' : dttimeformat) + "' source= '" + source + "' search_query= '" + search_query + "' state= '" + selectedState + "' city='" + selectedCity + "' page_url='" + page_url + "' pincode='" + ($('#divUserDetails_addtocart_popup_header #txtSimplePincode2').val() == undefined ? '' : $('#divUserDetails_addtocart_popup_header #txtSimplePincode2').val()) + "'></root>"; var webserviceUrl = location.protocol + '//' + location.host; var tmAPI = webserviceUrl + '/' + webserviceUrlFromConfig + '/Customers.asmx/AddCustomerInfo'; var resultArray = '', xml_string = '', xml_string_locationinfo = ''; xml_string = xmlDocument.replace(/&/g, "&").replace(/'/g, "'").replace(/"/g, """).replace(/</g, "<").replace(/>/g, ">"); if (locationgps == undefined) { locationgps = '<Response></Response>'; } xml_string_locationinfo = locationgps.replace(/&/g, "&").replace(/'/g, "'").replace(/"/g, """).replace(/</g, "<").replace(/>/g, ">"); $.ajax({ url: tmAPI, method: "post", data: { strXMLCustomerInfo: xml_string, strLocationInfo: xml_string_locationinfo }, async: false, success: function (outputdata) { var xmlData = outputdata; createCookie('TMNonPromocodeUserInfoPopupShow', customer_num); if ('True'.toUpperCase() == 'TRUE' && 'False'.toUpperCase() == 'FALSE' && $('#divUserDetails_addtocart_popup_header #txtSimplePincode2').val() != undefined) { deleteCookie('PIN'); createCookie('PIN', $('#divUserDetails_addtocart_popup_header #txtSimplePincode2').val()); } if (fromcontinueshopping == 0 && boolIsDiscoveryMode) { if ('True') { window.location.href = 'https://www.t
37yremarket.com/Choose-Dealer-Near-by'; } else { window.location.href = 'https://www.tyremarket.com/Checkout_SelectLocation.aspx'; } } }, error: function (jqxhr, textStatus, error) { console.log("Request Failed: " + textStatus + ', ' + error); } }); } function continueShoppingClick_header() { var isValid = false; var isAlreadyAdded = false; if ($('#divCaptureDetail_header').css('display') == 'none') { isValid = true; isAlreadyAdded = true; } else var isValid = validateAddtocartInfoFormForUser_header(); source = 1; /*if (isValid) {*/ var fromcontinueshopping = 1; /*$("#btnSubmit_addtocart_popup_header").attr('style', 'display:none'); $("#btnSubmit_addtocart_popup_processing_header").attr('style', 'margin-right: 15px; margin-left: 5px'); e.preventDefault();*/ customer_num = $('#ucStoreHeader_hdnCustomerNum').val() == '' ? 0 : $('#ucStoreHeader_hdnCustomerNum').val(); if ($("#divUserDetails_addtocart_popup_header #hdntxtMobileNo_addtocart_popup_header").val() != '' || $("#divUserDetails_addtocart_popup_header #hdntxtEmail_addtocart_popup_header").val() != '') { if (isValid) { addCustomerDetailsAddtocartPopup_header(customer_num, source, fromcontinueshopping); } else { return false; } } else { if (isAlreadyAdded) { $('#divUserDetails_addtocart_popup_header').hide(); } else $('#divUserDetails_addtocart_popup_header').hide(); } /*__doPostBack();*/ /*} else { return false; }*/ ga('send', 'event', { eventCategory: 'Addtocart-popup', eventAction: 'Submit', eventLabel: 'shoppingcart-popup-continue shopping', eventValue: 1 }); } function AddProductToCart_header(strCustomerNumber) { var strXml = ''; var locationpath_name = location.pathname; if (boolIsMarkPlaceMode || blnAllowMarketplaceMode ) DistributeBasketToSource(intSourceId, strCustomerNumber, 1); if (boolIsDiscoveryMode || boolIsMarkPlaceMode || blnAllowMarketplaceMode ) { /*added by dimple UP-1693*/ /*else */ if ('true' == 'true' && 0== 0 && locationpath_name.indexOf("/callcenter") == -1) { if ('true' == 'true') { AddToCartShowCustomerInfo_header(strXml); } else { NonPromoCodeShowCustomerInfo_productdt(); } /* document.getElementById('imgBtnAddToCart').style.display = "block"; document.getElementById('tmaddtocartprobtnProcessing').style.display = "none";*/ } /*end by dimple for UP-1693*/ else if (locationpath_name.toLowerCase().indexOf("/callcenter") == -1) { if (boolIsDiscoveryMode) { if ('True') { window.location.href = 'https://www.tyremarket.com/Choose-Dealer-Near-by'; } else { window.location.href = 'https://www.tyremarket.com/Checkout_SelectLocation.aspx'; } } } else { __doPostBack(); } } } var intLoggedin = parseInt('0'); function AddToCartShowCustomerInfo_header(strHtmlData) { if (intLoggedin == 0) { /*var cust_num = this.$('#hdnCustomerNum_nonpromocode').val();*/ var cust_num = $('#ucStoreHeader_hdnCustomerNum').val() == '' ? 0 : $('#ucStoreHeader_hdnCustomerNum').val(); let elem = document.getElementById('divCartNotEmpty'); if (elem != undefined && strHtmlData != '') { elem.innerHTML = strHtmlData.replaceAll('<', '<').replaceAll('>', '>'); } if (((getCookie('TMUserInfoPopupShow') == "") || getCookie('TMUserInfoPopupShow') != cust_num) && ((getCookie('TMNonPromocodeUserInfoPopupShow') == "") || getCookie('TMNonPromocodeUserInfoPopupShow') != cust_num)) { addToCartShowCaptureForm_header("Show"); return false; } else { if (boolIsDiscoveryMode) { if ('True') { window.location.href = 'https://www.tyremarket.com/Choose-Dealer-Near-by'; } else { window.location.href = 'https://www.tyremarket.com/Checkout_SelectLocation.aspx'; } } /*addToCartShowCaptureForm_productdt("");*/ } return false; } else { return true; } } function addToCartShowCaptureForm_header(strShow) { if (strShow == '') { /*$('#divCaptureDetail').hide();*/ if (boolIsDiscoveryMode) { if ('True') { window.location.href = 'https://www.tyremarket.com/Choose-Dealer-Near-by'; } else { window.location.href = 'https://www.tyremarket.com/Checkout_SelectLocation.aspx'; } } } else { if('True'.toUpperCase() == 'TRUE') { if ('False'.toUpperCase() == 'TRUE') { $('#divGAPIInput2').show(); $('#divSimplePincode2').hide(); } else { $('#divGAPIInput2').hide(); $('#divSimplePincode2').show(); var strPincode = getCookie("PIN"); if (strPincode != undefined && strPincode != '') { $("#divUserDetails_addtocart_popup_header #txtSimplePincode2").val(strPincode); } } } else { $('#divGAPIInput2').hide(); $('#divSimplePincode2').hide(); } } $('#divUserDetails_addtocart_popup_header').show(); var cust_num = $(".capturedetails-addtocart-cart").find('.userinfo').find('#ucListProducts_hdnCustomerNum').val() == undefined ? $(".capturedetails-addtocart-cart").find('.userinfo').find('#hdnCu
37stomerNum_addtocart_popup_header').val() : $(".capturedetails-addtocart-cart").find('.userinfo').find('#ucListProducts_hdnCustomerNum').val(); getCustomerInfo(cust_num, add_to_cart, ".userinfo"); } var jsonData; function MakeSearchButtonDefault() { if (document.all) { if (event.keyCode == 13) { event.returnValue = false; event.cancel = true; if (document.all("ucStoreHeader:btnSearch") != null) document.all("ucStoreHeader:btnSearch").click(); } } } function getURL(srcURL) { document.getElementById('iframe1').src = srcURL; } function getURLReguster(srcURL) { getURL(srcURL); $('#myModal').modal('hide'); $('#modalNewCustomer').modal('show'); } function checkValidation() { $('#ucStoreHeader_lnkClearCustomer').hide(); $('#tm_btn_newcall_processing').show(); $('#tm_btn_newcall_processing').attr("disabled", true); var blnResult = confirm('Are you sure you want to clear this customer?'); if (blnResult === false) { $('#tm_btn_newcall_processing').hide(); $('#ucStoreHeader_lnkClearCustomer').show(); } return blnResult; } function checkDuplicateOrder() { return confirm('Are you sure you want to duplicate last order?'); } function getCustomMsg() { var loggedinCustomer = '0'; var loggedinUserId = ''; if (loggedinCustomer == 0 && loggedinUserId != 0) { var id = "5"; var alert = $('#alert-' + id); var timeOut; alert.appendTo('.page-alerts'); alert.slideDown(); var delay = 3000; if (delay != undefined) { delay = parseInt(delay); clearTimeout(timeOut); timeOut = window.setTimeout(function () { alert.slideUp(); }, delay); } } } function getTicketInfo(strTicket) { var webserviceUrlFromConfig = 'tpwebservice'; var webserviceUrl = location.protocol + '//' + location.host; var tmAPIGet = webserviceUrl + '/' + webserviceUrlFromConfig + '/Security.asmx/GetTicketInfo'; var loggedinUserId = ''; $.ajax({ url: tmAPIGet, method: "post", dataType: "xml", data: { intUserId: loggedinUserId, strTicket: strTicket }, async: false, success: function (strXML) { var selecthtml = ''; if (strXML == "") { } else { var xmlDoc = strXML; var rawData = xmlDoc.childNodes[0].innerHTML; var parsedData = ''; var iCnt = 0; if (rawData != '') { parsedData = $("<p/>").html(rawData).text(); }; $(parsedData).find("ticket").each(function () { var cust_num = $(this).attr('customer_number'); var cust_name = $(this).attr('firstname') + $(this).attr('lastname'); var ticket_no = $(this).attr('ticket'); var basket_id = $(this).attr('basket_id'); var strRedirect = "TicketDetails.aspx"; window.location.href = 'https://www.tyremarket.com/TicketDetails.aspx?ticket=' + ticket_no + "&cust_num=" + cust_num + "&cust_name=" + cust_name + "&basket_id=" + basket_id; }); }; }, error: function (jqxhr, textStatus, error) { console.log("Request Failed: " + textStatus + ', ' + error); } }); } function cookieChk() { var sessioncookieChk = '0'; var cookieSessionchk = getCookieInHeader('sessioncheck'); if (cookieSessionchk == "ok") { } else { if ($(window).width() < 400) { $('#ucStoreHeader_imgCookieChecker').removeAttr('class'); $('#ucStoreHeader_imgCookieChecker').attr('class', 'cookieimg'); } } } $(document).ready(function () { cookieChk(); $(".compress").hover(function () { $(".image").show(); }); if ($(window).width() >= 767) { $("li.dropdown.mega-dropdown").hover(function () { $('body select').blur(); $('.dropdown-menu', this).not('.in .dropdown-menu').stop(true, true).show(); $(this).toggleClass('open'); }, function () { $('.dropdown-menu', this).not('.in .dropdown-menu').stop(true, true).hide(); $(this).toggleClass('open'); } ); } $('.nav-wrapper ul li ul li a, #divStoreNavBar ul li').click(function () { try { $(this).closest('#liTitle').addClass('active sh3').siblings().removeClass('active sh3').addClass('storelink sh3'); $(this).closest('#liTitle').find('a:first')[0].click(); var storeId = $(this).find("input[type=hidden]").val(); var objtype = $(this).attr('objtype'); $('#ucSearch_hdnObjectType').val(objtype); } catch (e) { /* alert(e); */ } }); $('.nav-wrapper ul li ul li a, #divStoreNavBar ul li').click(function () { try { $(this).closest('#liSellerSolution').addClass('active sh3').siblings().removeClass('active sh3').addClass('sellerlsolutionlink sh3'); $(this).closest('#liSellerSolution').find('a:first')[0].click(); var storeId = $(this).find("input[type=hidden]").val(); var objtype = $(this).attr('objtype'); $('#ucSearch_hdnObjectType').val(objtype); } catch (e) { /* alert(e); */ } }); if ($(window).width() <= 767) { $('li.dropdown').removeClass('mega-dropdown'); } if ($(window).width() <= 768) { $('li.dropdown').find('.fa-angle-down').each(function () { $(this).on('click', function () { if ($(window).width() < 768) { $(this).parent().find('ul.dropdown-menu').slideToggle(1000); } return false; }); }); }
37 $('#Locationmodal-trigger,#Locationmodal-triggermobile').on('click', function (e) { e.preventDefault(); $('#Locationmodal').modal({ backdrop: 'static', keyboard: false }); if ($('#locationmismatch').text() != '') { $('#locationmismatch').text(''); var cookieAddress = getCookieInHeader('address'); $('#autocomplete').val(decodeURIComponent(cookieAddress)); } }); $('#ucStoreHeader_lnkTicketNo, #ucStoreHeader_lnkMobileTicketNum').on('click', function (e) { e.preventDefault(); $('#modalFolowUps').modal({ backdrop: 'static', keyboard: false }); $('#divRptFollowupList').removeAttr('class'); $('#divRptFollowupList').attr('class', 'show'); $('#divTicketHistory').removeAttr('class'); $('#divTicketHistory').attr('class', 'hide'); }); $('#ucStoreHeader_lnkCustName,#ucStoreHeader_lnkCustId,#ucStoreHeader_lnkMobileCustomerName,#ucStoreHeader_lnkMobileCustId').on('click', function (e) { e.preventDefault(); $('#divRptFollowupList').removeAttr('class'); $('#divRptFollowupList').attr('class', 'hide'); $('#divTicketHistory').removeAttr('class'); $('#divTicketHistory').attr('class', 'show'); $('#modalFolowUps').modal({ backdrop: 'static', keyboard: false }); }); var SelectedCity; $('#selectlocation-city').on('change', function () { SelectedCity = $(this).val(); if (SelectedCity != '') { /* city = SelectedCity; */ /* CreateCityCookie(city); */ } if ($('.modal-city input.combobox.form-control').val() != SelectedCity) { $('.modal-city input.combobox.form-control').val(SelectedCity); } }); function getCompleteUrl(strRelativeURL) { if (strRelativeURL.indexOf(".") > -1) strExtension = strRelativeURL.split('.')[1]; var CanBrowserHandleWebPImages='True'; if (strRelativeURL.toLowerCase().indexOf("images") > -1 && CanBrowserHandleWebPImages.toLowerCase()=="true" && strExtension != "" && strExtension != "aspx" && (strExtension.indexOf("webp") > -1 || strExtension.indexOf("png") > -1 || strExtension.indexOf("jpg") > -1 || strExtension.indexOf("jpeg") > -1 || strExtension.indexOf("gif") > -1 || strExtension.indexOf("svg") > -1 || strExtension.indexOf("bmp") > -1)) { strRelativeURL = strRelativeURL.replace(strExtension, "webp"); } return strRelativeURL; } /* get serviceable cities */ getServiceableCities(); function getServiceableCities() { jsonData = getLocationJson(); $("#divTopCities").html(''); $.each(jsonData, function (key, value) { /* $('#stateSelect').append('<option value="' + value.state + '">' + value.state + '</option>'); */ var StateSelected = value.state; $.each(value, function (key, valueCity) { if (key == 'cities') { /* if (valueCity.state == StateSelected) { */ /* $('#selectlocation-city option[value!=""]').remove(); */ $(valueCity).each(function (key, val) { /* $('#selectlocation-city').append('<option value="' + val.city + '">' + val.city + '</option>'); */ availableStates.push([StateSelected, val.city]); availableCities.push(val.city); var cityValue = val.city; var cityLat = val.lattitude; var cityLong = val.longitude; if (cityValue.indexOf('/') != -1) { var citySplitValue = cityValue.split('/'); availableAllCities.push([citySplitValue[0], cityValue]); availableAllCities.push([citySplitValue[1], cityValue]); cityValue = citySplitValue[1] } else { availableAllCities.push([cityValue, cityValue]); cityValue = val.city; } if (val.priority == 1) { var cityimgpath = val.img_path; var siteName = ''; var fullpathforImg = getCompleteUrl(cityimgpath); var img_src = 'https://www.tyremarket.com/'+fullpathforImg+''; divCity = $('<div />',{ id: 'div_' + StateSelected + '_' + key, "class":"Divpopularcities", }); btn = $('<img />', { src: img_src, alt: val.city, title: val.city , name: StateSelected, width: 65, height: 65, id: 'img_' + cityValue, "class": "billinginfo-container popularcities", on: { click: function () { ModalCloseEventForPopularCities(val.city, StateSelected,cityLat,cityLong); } } }); lbl = $('<input />', { type: 'label', title: val.city, value: cityValue, id: 'lbl_' + val.city + '_' + key, "class": "popularcities-lbl no-padding", on: { click: function () { ModalCloseEventForPopularCities(val.city, StateSelected, cityLat, cityLong); } } }); $(divCity).append(btn).append(lbl).append('</br>'); $("#divTopCities").append(divCity); } }); } }); }); } $('#divUserDetails_addtocart_popup_header #btnSubmit_addtocart_popup_header').on('click', function (e) { var isValid = false; var isAlreadyAdded = false; if ($('#divCaptureDetail_header').css('display') == 'none') { isValid = true; isAlreadyAdded = true; } else var isValid = validateAddtocartInfoFormForUser_header(); source = 1; if (isValid) { $("#btnSubmit_addtocart_popup_header").attr('style', 'display:none'); $("#btnSubmit_addtocart_popup_processing_header").attr('style', 'margin-left: 5px'); e.preventDefault(); customer_num = $('#ucStoreHeader_hdnCustomerNum').val() == '' ? 0 : $('#ucStoreHeader_hdnCustomerNum').val(); if ($("#divUserDetails_addtocart_popup_header #hdntxtMobileNo_addtocart_popup_header").val() != '' || $("#divUserDetails_addtocart_popup_header #hdntxtEmail_addtocart_popup_header").val() != '') { addCustomerDetailsAddtocartPopup_header(customer_num, source); } else { if (isAlreadyAdded) { $('#divUserDetails_addtocart_popup_header').hide(); if (boolIsDiscoveryMode) { if ('True') { document.location.href = 'https://www.t
37yremarket.com/Choose-Dealer-Near-by'; } else { window.location.href = 'https://www.tyremarket.com/Checkout_SelectLocation.aspx'; } } } else $('#divUserDetails_addtocart_popup_header').hide(); } } ga('send', 'event', { eventCategory: 'Addtocart-popup', eventAction: 'Submit', eventLabel: 'shoppingcart-popup-checkout', eventValue: 1 }); }); $(".capturedetails-addtocart-cart-close").on("click", function () { closeCaptureformaddtocart(); }); function closeCaptureformaddtocart() { if ("true" == "true") { $(".capturedetails-addtocart-cart").hide(); document.getElementById('ucStoreHeader_btnExpressCheckout').style.display = "inline"; document.getElementById('tm_btn_checkoutcart_processing_header').style.display = "none"; } else { $(".capturedetails-addtocart-cart").hide(); document.getElementById('ucStoreHeader_btnExpressCheckout').style.display = "inline"; document.getElementById('tm_btn_checkoutcart_processing_header').style.display = "none"; if ('True') { document.location.href = 'https://www.tyremarket.com/Order-To-Complete'; } else { window.location.href = 'https://www.tyremarket.com/Checkout_Final.aspx'; } } } function getName(imgCity) { var imagePath = ''; var fullPath = imgCity; var filename = fullPath.replace(/^.*[\\\/]/, ''); /* var filename = fullPath.split("/").pop();*/ var cookieSelectedCity = decodeURIComponent(getCookieInHeader('city')); if (cookieSelectedCity !="" && cookieSelectedCity != undefined && filename.indexOf(cookieSelectedCity.toLowerCase()) != -1) { filename = filename.replace('-disabled', ''); var imgFullpath = fullPath.split("/"); imagePath = fullPath.split("/")[0] + "/" + fullPath.split("/")[1] + "/" + filename; } else { imagePath = imgCity; } return imagePath; } /* UP-565 : Introducing "Popular cities", and "State" selection in the location selection popup.*/ function getServiceableState() { /* get states list */ $('#selectstate').html(''); $('#selectstate').append('<option value="">Select a state</option>'); $.each(jsonData, function (key, value) { $('#selectstate').append('<option value="' + value.state + '">' + value.state + '</option>'); }); } getServiceableState(); $('#selectstate').on('change', function () { var StateSelected = $(this).val(); $('#autocomplete').val(''); $.each(jsonData, function (key, value) { if (value.state == StateSelected) { $('#selectlocation-city option[value!=""]').remove(); $(value.cities).each(function (key, val) { $('#selectlocation-city').append('<option value="' + val.city + '">' + val.city + '</option>'); }); } }); }); var CookieState_Highlgt = '', CookieCity_Highlgt = ''; }); /* Select Your Location scripts */ function openNav() { document.getElementById("mySidenav").style.width = "250px"; var element = document.getElementById("tmcovermboverlay"); element.classList.add("tmcover"); $('body').css('overflow', 'hidden'); } function closeNav() { document.getElementById("mySidenav").style.width = "0"; var element = document.getElementById("tmcovermboverlay"); element.classList.remove("tmcover"); $('body').css('overflow', 'auto'); } $("#autocomplete_search_3").focus(function () { $('#autocomplete_search_3').attr("autocomplete", "new-password"); }); </script>
vendor: 2 bytes, line 37
37
38<script> 39 (function () { 40 function initTmCarousel(root) { 41 if (!root || root.getAttribute('data-init')) return; 42 var slides = root.querySelectorAll('.tm-slide'); 43 var dotsEl = root.querySelector('.tm-dots'); 44 if (!slides.length || !dotsEl) return; 45 root.setAttribute('data-init', '1'); 46 47 var current = 0, timer = null, INTERVAL = 4000; 48 49 for (var i = 0; i < slides.length; i++) { 50 (function (n) { 51 var b = document.createElement('button'); 52 b.type = 'button'; 53 b.setAttribute('aria-label', 'Show slide ' + (n + 1)); 54 b.onclick = function () { show(n); restart(); }; 55 dotsEl.appendChild(b); 56 })(i); 57 } 58 var dots = dotsEl.querySelectorAll('button'); 59 60 function show(n) { 61 slides[current].classList.remove('active'); 62 dots[current].classList.remove('active'); 63 current = (n + slides.length) % slides.length; 64 slides[current].classList.add('active'); 65 dots[current].classList.add('active'); 66 } 67 function start() { stop(); timer = setInterval(function () { show(current + 1); }, INTERVAL); } 68 function stop() { clearInterval(timer); } 69 function restart() { start(); } 70 71 root.addEventListener('mouseenter', stop); 72 root.addEventListener('mouseleave', start); 73 74 show(0); 75 start(); 76 } 77 78 function initAll() { 79 var list = document.querySelectorAll('.tm-promo-carousel'); 80 for (var i = 0; i < list.length; i++) initTmCarousel(list[i]); 81 } 82 83 if (document.readyState === 'loading') { 84 document.addEventListener('DOMContentLoaded', initAll); 85 } else { 86 initAll(); 87 } 88 89 // expose for cases where the promo HTML is injected after page load 90 window.initTmCarousel = initAll; 91 })(); 92</script>
92 93<style> /* RSS Note: Nova - 444 */ /* #txt_email_or_mobile_header { padding: 4px; font-size: 15px; color: #313030; font-weight: 100; -webkit-appearance: none; text-shadow: 0 0 0 #24272c; border: 1px solid rgba(36,39,44,.3)!important; margin-top:10px; } */ #olark-wrapper .olark-launch-button { /*padding: 0 13px !important; height: 50px !important;*/ width: 55px !important; right: 0px !important; padding-right: 14px !important; } #olark-wrapper .olark-launch-button:hover { width: 168px !important; padding-right: 20px !important; } #olark-wrapper .olark-launch-button:hover { } .olark-launch-button .olark-button-text { } .nav-mob > li > a { padding: 0; } @media screen and (max-width: 358px) { .top-links li { padding: 1px !important; } } @media screen and (max-width: 320px) { .mbleicn { font-size: 17px !important; } .topmobilemne { margin: 0px !important; } .top-links li { padding: 1px !important; } } .topmobilemne { float: none !important; } @media screen and (max-width: 786px) and (min-width:500px) { .topmobilemne { float: right !important; } .tm-mob-cart{ float:right; } .tm-ham-menu{ width:55px; } } @media screen and (max-width: 767px) { .tmheaderbdr { box-shadow: 0px 1px 5px -1px #111; } } @media screen and (max-width: 786px) { .statusticketnum { position: initial !important; } span.call-text { font-size: 15px; } .tmlogo { text-align: left; } } .icon-bar { width: 100%; } .icon-bar a { float: left; width: 25%; text-align: center; padding: 10px 0 !important; transition: all 0.3s ease; color: #1a296a; /*font-size: 26px;*/ /*RSS Note: typography enhacements*/ } .icon-bar.tmsec a { width: 100% !important; text-align: left !important; /*font-size: 13px !important;*/ /*RSS Note: typography enhacements*/ } .icon-bar .active { background: #504c4c !important; } .sellertmmbledrptxtdn, .tyremantratmmbledrptxtdn { padding: 0px 28px !important; } .cartmmbletxt, .biketmmbletxt, .servicetmmbletxt, .tyremantratmmbletxt, .sellertmmbletxt, .sellertmmbledrptxtdn, .tyremantratmmbledrptxtdn { font-size: 10px !important; margin: 0px !important; font-weight: 700 !important; } .tmmbledrptxt { font-size: 13px !important; } .nav-tabs.topmenunv > li > a { margin-right: 0px !important; } .nav.nav-mob .open > a { border: none !important; } .compress { width: 20%; /*aspect ratio will be maintained*/ } .image { display: none; position: absolute; } ul.enlarge { list-style-type: none; /*remove the bullet point*/ margin-left: 0; padding: 0; } ul.enlarge li { display: inline-block; /*places the images in a line*/ position: relative; z-index: 0; /*resets the stack order of the list items - later we'll increase this*/ margin: 10px 40px 0 20px; } ul.enlarge img { } ul.enlarge span { position: absolute; left: -9999px; background-color: #eae9d4; padding: 10px; /*font-family: 'Droid Sans', sans-serif;*/ /*RSS Note: typography enhacements*/ font-size: .9em; text-align: center; color: #495a62; -webkit-box-shadow: 0 0 20px rgba(0,0,0, .75)); -moz-box-shadow: 0 0 20px rgba(0,0,0, .75); box-shadow: 0 0 20px rgba(0,0,0, .75); -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; } ul.enlarge li:hover { z-index: 50; cursor: pointer; } ul.enlarge span img { padding: 2px; background: #ccc; } ul.enlarge li:hover span { top: -300px; /*the distance from the bottom of the thumbnail to the top of the popup image*/ left: -20px; /*distance from the left of the thumbnail to the left of the popup image*/ } ul.enlarge li:hover:nth-child(2) span { left: -100px; } ul.enlarge li:hover:nth-child(3) span { left: -200px; } /**IE Hacks - see http://css3pie.com/ for more info on how to use CS3Pie and to download the latest version**/ ul.enlarge img, ul.enlarge span { behavior: url(pie/PIE.htc); } @-webkit-keyframes blink { 0% { opacity: 0; } 50% { opacity: 0; } 50.01% { opacity: 1; } 100% { opacity: 1; } } blink { -webkit-animation: blink 0.7s infinite linear alternate; -webkit-font-smoothing: antialiased; font-size: 50px; } @keyframes blink { 50% { border-color: #e95c5c; } } @media (min-width: 768px) { .janpromo{ font-size:12px; } .cartdropdown { top: 30px; } .col-sm-pull-85 { right: 66% !important; } } #divtopmnu { padding-left: 0px !important; } .followupstyle { background-color: #d2e1f9 !important; color: #000; text-align: center;
93 /*font-weight: bold; font-size: 12px; font-family: verdana;*/ /*RSS Note: typography enhacements*/ } .txtDecoration { text-decoration: underline !important; } #ucStoreHeader_lnkTicketNo, #ucStoreHeader_lnkCustName, #ucStoreHeader_lnkMobileCustomerName { text-decoration: underline !important; } /*hamburger menu*/ .sidenav { height: 100%; width: 0; position: fixed; z-index: 9999; top: 0; left: 0; background-color: #fff; overflow-x: hidden; transition: 0.2s; /*padding-top: 60px;*/ } .sidenav a { padding: 8px 8px 8px 32px; text-decoration: none; /*font-size: 15px;*/ /* RSS Note: Typography enhancements */ color: #818181; display: block; transition: 0.3s; } .sidenav a:hover { color: #f1f1f1; } .sidenav .closebtn { position: absolute; top: 0; right: 0px; /*font-size: 36px;*/ /*RSS Note: Typography enhancement */ margin-left: 50px; } @media screen and (max-height: 450px) { .sidenav { padding-top: 15px; } .sidenav a { /*font-size: 18px;*/ /* RSS Note: Typography enhancements */ } } .tmmobilecustop { background: #1a296a !important; width: 100%; height: 70px; position: absolute; } .tmtnmenu { position: relative !important; top: 0px !important; left: 0px !important; padding-left: 15px !important; } .tmcuslogin { /*border-top: 1px solid #afa8a8;*/ list-style-type: none; padding-left: 35px; } .tmtnmenu { box-shadow: none !important; border: none !important; } .tmtnmenu li a { color: #000 !important; font-size: 14px; } .tmaccountmobile li a { color: #1a296a !important; } .tmcover { background-color: rgba(0, 0, 0, 0.3); position: fixed; top: 0; bottom: 0; left: 0; right: 0; height: 100vh; z-index: 5000; transition: 0.2s; margin-left: 250px; } .tmmobilecusname { white-space: nowrap; width: 200px; overflow: hidden; text-overflow: ellipsis; } .tmcartdesk { margin-top: 0px; } @media screen and (max-width: 768px) { .tmtopband{ box-shadow: 0px 2px 2px 0px #948c8c; } .janpromo{ font-size:11px; } .phone-number-hold h3 { margin-top: 0px !important; } } .tmworktext { color: #c42c28 !important; font-weight: 600 !important; font-size: 12px; margin-bottom: 10px; } .lblCountMaxcolor { color: red; } .lblCountcolor { color: black; } #divRptTopFollowupList { /*position:absolute; left:85px;*/ margin-left: 230px; width: 330px; height: 104px; /*font-size: 11px; font-family: "Helvetica Neue",Helvetica,Arial,sans-serif !important;*/ /*RSS Note: typography enhacements */ margin-top: 5px; } /*@media screen and (max-width: 400px){ #ucStoreHeader_linkEnableCookie img{ width:100%; } }*/ @media screen and (max-width: 1200px) { #divRptTopFollowupList { margin-left: 100px; } } #divRptTopFollowupList .callorder { /*font-size: 11px; font-family: "Helvetica Neue",Helvetica,Arial,sans-serif !important; line-height: 1.42857143;*/ /*RSS Note: typography enhacements */ } #divRptTopFollowupList table { border-collapse: collapse !important; } .callorder td, .callorder th { border: 1px solid #ddd; padding: 2px; } .callorder th { text-align: left; background-color: #1a296a; color: white; font-style: normal !important; } #lblCountText { position: absolute; top: -17px; right: 45px; } #lblCount { position: absolute; top: -17px; right: 0px; font-size: 18px; } @media screen and (max-width: 1200px) and (min-width:768px) { /*.janpromo { display: none; }*/ } #liSellerSolution:hover .dropdown-menu { display: block; margin-top: 0; } #liTitleTm:hover .dropdown-menu { display: block; margin-top: 0; } #liTitleRd:hover .dropdown-menu { display: block; margin-top: 0; } .cookieimg { width: 100%; } .popularcities{ font-size: 9px; padding: 0px; text-align: center; width: 65px; } #divTopCities img{ border: 1px solid #a398a1; border-radius: 10px; padding: 5px; cursor:pointer; } .popularcities-lbl{ border:none!important; font-size: 9px!important; padding: 0px!important; text-align: center; width: 60px; left:15px; bottom:0px; cursor:pointer; vertical-align:top; } .Divpopularcities{ width: 65px; display: inline-block; margin: 0px 5px; } .popularcity-title{ color: #1a296a !important; margin: 15px 0px; } @media screen and (max-width: 499px) { .Divpopularcities { width: 49px; } .popularcities{ width: 50px; } #divTopCities img{ padding:0px; max-width: 48px; max-height: 48px; } } #idOtherCities img{ border: 1px solid #a398a1; border-radius: 10px; padding: 5px; cursor: pointer; } #lblOtherCities{ font-weight:400; } .janpromo a{ text-decoration:underline!important; } .tmtopcheckout, .top_editcart_processing{ margin-right: 5px !important; } #tm_btn_checkoutcart_processing_header{ width:150px; } .tmpromotoptxt { text-decoration:none; color:white; font-size: 12px; animation-name: tmpromotext; animation-duration: 2s; animation-iteration-count: infinite; } /*@keyframes tmpromotext { from {color: #ffeb3b;} to {color: #000;} }*/ </style> 94<style> 95 .tm-promo-carousel { position: relative; width: 100%; height: 100px; overflow: hidden; background: #fdf3e7; } 96 .tm-promo-carousel .tm-slide { 97 position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; 98 opacity: 0; transition: opacity .6s ease; pointer-events: none; 99 } 100 .tm-promo-carousel .tm-slide.active { opacity: 1; pointer-events: auto; } 101 .tm-promo-carousel .tm-slide img { max-height: 100%; max-width: 100%; height: auto; width: auto; object-fit: contain; }
102 .tm-promo-carousel .tm-dots { 103 position: absolute; bottom: 3px; left: 0; right: 0; text-align: center; line-height: 0; 104 } 105 .tm-promo-carousel .tm-dots button { 106 width: 7px; height: 7px; margin: 0 3px; padding: 0; border: 0; border-radius: 50%; 107 background: rgba(0,0,0,.25); cursor: pointer; 108 } 109 .tm-promo-carousel .tm-dots button.active { background: #e65100; } 110 @media (max-width: 600px) { .tm-promo-carousel { height: 75px; } } 111</style> 112<body><div class="topactiveinfo"><input name="ucStoreHeader$hdnSHDiscoveryMode" type="hidden" id="ucStoreHeader_hdnSHDiscoveryMode" value="False" /><input name="ucStoreHeader$hdnSHShowLocation" type="hidden" id="ucStoreHeader_hdnSHShowLocation" value="False" /><input name="ucStoreHeader$hdnWebsite" type="hidden" id="ucStoreHeader_hdnWebsite" value="www.TyreMarket.com" /><input name="ucStoreHeader$hdnSessionId" type="hidden" id="ucStoreHeader_hdnSessionId" value="2logpzx0cxe03oit2vpssc34" /><input name="ucStoreHeader$hdnAdid" type="hidden" id="ucStoreHeader_hdnAdid" /><input name="ucStoreHeader$hdnPromoValidated" type="hidden" id="ucStoreHeader_hdnPromoValidated" /><div class="row header_top_new" style="height:0px;"><div class="container"><div class="container no-padding"><div class="page-alerts" style="position: absolute; z-index: 9999;"><div class="alert alert-info page-alert" id="alert-5" style="display: none"><button type="button" class="close"><span style="top: -10px;font-size:23px;" aria-hidden="true">x</span><span class="sr-only"></span></button><strong>Information: </strong>Customer details are not available. Kindly check it.</div></div></div></div></div><div class="header_new_main"><div id="ucStoreHeader_divDtPromoDisplay" style="text-align:center;background: #D97706; padding: 5px 10px;" class="janpromo"><div class="tm-promo-carousel" id="tmPromoCarousel"> 113 <a class="tm-slide active" href="https://www.tyremarket.com/offers.html?V=9" target="_parent"> 114 <picture> 115 <source media="(max-width: 600px)" srcset="/images/gandhi2026/GandhiJayanthi-mob-1.jpeg"> 116 <img src="/images/gandhi2026/GandhiJayanthi-desk-1.jpeg" alt="The freedom to journey in safety"> 117 </picture> 118 </a> 119 <a class="tm-slide" href="https://www.tyremarket.com/offers.html?V=9" target="_parent"> 120 <picture> 121 <source media="(max-width: 600px)" srcset="/images/gandhi2026/GandhiJayanthi-mob-2.jpeg"> 122 <img src="/images/gandhi2026/GandhiJayanthi-desk-2.jpeg" alt="HEART5K, GANDHI10K and ROADSAFE20K coupons" loading="lazy"> 123 </picture> 124 </a> 125 <a class="tm-slide" href="https://www.tyremarket.com/offers.html?V=9" target="_parent"> 126 <picture> 127 <source media="(max-width: 600px)" srcset="/images/gandhi2026/GandhiJayanthi-mob-3.jpeg"> 128 <img src="/images/gandhi2026/GandhiJayanthi-desk-3.jpeg" alt="TyreMarket - 2 October Gandhi Jayanti" loading="lazy"> 129 </picture> 130 </a> 131 <div class="tm-dots"></div> 132</div></div><div class="container no-padding tmtopband"><div class="col-sm-8 col-sm-push-4 no-padding tmcallwhatsapp "><div class="row hidden-xs"><div id="ucStoreHeader_ulHeaderMenu"><div class="col-sm-12 no-padding" style="padding-left: 5%;"><div class="contact-top"><div class="row"><div class="care-holder"></div></div></div></div><div class="col-sm-12 no-padding"><ul class="list-unstyled list-inline navbar-right top-links"><li><a href="#" type="button" id="Locationmodal-trigger"><img style="width: 16px; height:21px; margin-right: 5px;" src="https://www.tyremarket.com/Images/home/new/Location.webp" alt="Select Location" /><span id="locationlabel" class="sh2">Select Your Location</span></a></li><li id="ucStoreHeader_liHelp" class="hidden-xs hide"><a href = https://www.tyremarket.com/Help><img style='margin-right:5px;margin-top:-5px' src = https://www.tyremarket.com/Images/home/new/question.webp /><label id='lblhelp'>Help</label></a></li><li id="ucStoreHeader_anchorpos" class="dropdown"><a href="https://www.tyremarket.com/Login" id="ucStoreHeader_anchorLogin" rel="nofollow" class="sh2"><span>Login</span><span style="margin:0px 5px;">|</span></a><a id="ucStoreHeader_anchorSignin" class="sh2" href="https://www.t
132yremarket.com/Sign-Up">Sign-Up</a><ul id="ucStoreHeader_ulSubMenu" class="dropdown-menu dropdown-menu-right account-dropdown"><li id="ucStoreHeader_liSubMenu" class="noborder submenulogin"></li></ul></li><li style="height:32px;"><div id="ucStoreHeader_liCart" class="show-on-hover tmcartdesk" onclick="getCustomMsg();" data-toggle-id="5" data-delay="3000"><a href="https://www.tyremarket.com/Shopping-Cart" id="ucStoreHeader_anchorCart" rel="nofollow" data-ajax="false" class=" pull-left cartCount-header-link carticon ui-link dropdown-toggle disabled" data-toggle="dropdown"><span id="ucStoreHeader_divCart" class="count-circle sh2">0</span><img style="width:25px;height:28px;" src="https://www.tyremarket.com/Images/home/new/carticon.webp" /></a><div class="dropdown-menu cartdropdown dropdown-menu-right" role="menu" style="width:350px;"><h4 id="ucStoreHeader_divCartEmpty" class="title text-center">Cart Empty</h4><style> @media (max-width: 540px) { /*478*/ #btnCheckout { width: 100%; } /*#btnUpdate { width: 100%; }*/ } #ucStoreHeader_btnContinueShopping { /* margin-right: 5px !important; background-color: #fff!important; color: #1a296a!important; border-color: #ccc!important; */ } .top_continue_shopping_processing{ /* background-color: #fff!important; color: #1a296a!important; border-color: #ccc!important; */ } </style><div class="row text-right"><span id="ucStoreHeader_spnCheckout" class="error"></span><input onclick="if (typeof(Page_ClientValidate) == 'function') Page_ClientValidate(''); __doPostBack('ucStoreHeader$btnContinueShopping','')" name="ucStoreHeader$btnContinueShopping" type="button" id="ucStoreHeader_btnContinueShopping" class="btnMedium btnTertiary btn-font-medium no-padding" title="Continue Shopping" value="Continue Shopping" /><Button ID="top_continue_shopping_popup_processing" class="btn btn-warning top_continue_shopping_processing no-padding" style="display:none;"><i class="fa fa-refresh fa-spin" style="font-size:17px;"></i> Processing...</Button><Button ID="top_editcart_processing" class="btn btn-warning top_editcart_processing" style="display:none;font-size: 10.24px;padding: 9px 2px;"><i class="fa fa-refresh fa-spin" style="color: #ffffff!important;font-size:12px;"></i> Processing...</Button><Button ID="tm_btn_checkoutcart_processing_header" class="btn btn-warning tm_btn_checkoutcart_processing" style="display:none;"><i class="fa fa-refresh fa-spin" style="color: #ffffff!important;"></i> Processing...</Button></div></div></div></li><li id="ucStoreHeader_liRss" class="hidden-xs hide"><a href="https://www.tyremarket.com/tyremantra/tyremarket-rss-feeds/"><i class="fa fa-rss"></i> Rss</a></li></ul></div></div></div><label id="lblCountText" class="hide">Number of Followup(s) :</label><label id="lblCount"></label></div><div class="col-sm-4 col-sm-pull-85 no-padding tmheaderbdr"><div class="col-xs-2 hidden-sm visible-xs no-padding tm-ham-menu" style="padding-left: 15px!important;padding-top:10px!important;"><div id="tmcovermboverlay" class="" onclick="closeNav();"></div><div id="mySidenav" class="sidenav"><div class="tmmobilecustop" style="background:#1a296a!important;"><div id="ucStoreHeader_divMobileMenuCustomerName" class="tmmobilecusname"><img style="width:27px; height:27px; margin:5px;margin-right:10px;" src="https://www.tyremarket.com/Images/home/new/avatar.webp" /><span id="ucStoreHeader_lblHello" style="padding-right:5px;">Hello.</span><span id="ucStoreHeader_lblMobileCustomerName">Guest</span><br/></div><a href="javascript:void(0)" class="closebtn " onclick="closeNav()" style="color:#fff!important;">×</a></div><div class="icon-bar topmenucrone tmsec mnunew" style="display:inline-grid;padding-top: 70px;"><ul id="ucStoreHeader_ulMobileCustomerdt" style="list-style-type:none;border-bottom: 1px solid #afa8a8;padding-left:35px;background:#a0aeea" class="hide"><li style="padding: 0px 0px 12px 0px !important"><div id="ucStoreHeader_divMobileCustLabel" style="float: left; color: #000; font-size: 13px; padding: 5px;padding-left:0px;font-weight:600;" class="hide"></div><div id="ucStoreHeader_divMobileCustomerName" style="float: left; color: #1a296a; font-size: 13px; padding: 5px; padding-top:3px; padding-left: 0px; font-weight: 600!important;" class="hide"></div></li><li id="ucStoreHeader_liMobcuslbl"><span id="ucStoreHeader_divMobileCustIdLabel" style="float: left; color: #000; font-size: 11px; padding: 5px;padding-left:0px; font-weight:600;" class="hide"></span><span id="ucStoreHeader_divMobileCustId" style="float: left; color: #1a296a; font-size: 13px; padding: 3px; padding-left: 0px; font-weight: 600!important;" class="hide"></span></li><li id="ucStoreHeader_liMobcreatecuslbl"><div class="statusticketnum"><div id="ucStoreHeader_divMobileCustCreateLabel" style="float: left; color: #000; font-size: 11px; padding: 5px;padding-left: 0px;font-weight:600;" class="hide"></div><div id="ucStoreHeader_divMobileCustCreationDate" style="float: left; color: #1a296a; font-size: 13px; padding: 2px; padding-left: 0px; font-weight: 600!important;" class="hide"></div><div id="ucStoreHeader_divMobileCustTicketNum" style="float: left;color: #3e3b3b;font-size: 11px;padding: 2px;width: 100%;padding-left: 0px;" class="hide"><span style="float: left;color: #000;font-size: 11px;padding: 5px;padding-left: 0px;font-weight: 600;">Ticket Number : </span><a id="ucStoreHeader_lnkMobileTicketNum" href="javascript:__doPostBack('ucStoreHeader$lnkMobileTicketNum','')" style="width:auto!important;padding-top:3px!important;padding-left:3px!important;padding-bottom:0px!important;text-decoration:underline;"></a></div></div></li></ul><ul style="display:inline;list-style-type:none;padding-left:35px;border-bottom: 1px solid #afa8a8;"><li onclick="getCustomMsg();" data-toggle-id="5" data-delay="3000" class='active sh3' id="liTitle" objtype='1'>
132<a href="https://www.tyremarket.com/Car-Tyres" id="ucStoreHeader_rptMobileMenu__ctl0_Hyperlink1">Car Tyres<input type="hidden" name="ucStoreHeader$rptMobileMenu$_ctl0$hdnStoreId" id="ucStoreHeader_rptMobileMenu__ctl0_hdnStoreId" value="1" /></a></li><li onclick="getCustomMsg();" data-toggle-id="5" data-delay="3000" class='storelink sh3' id="liTitle" objtype='5'><a href="https://www.tyremarket.com/Two-Wheeler-Tyres" id="ucStoreHeader_rptMobileMenu__ctl1_Hyperlink1">Two-Wheeler Tyres<input type="hidden" name="ucStoreHeader$rptMobileMenu$_ctl1$hdnStoreId" id="ucStoreHeader_rptMobileMenu__ctl1_hdnStoreId" value="2" /></a></li><li onclick="getCustomMsg();" data-toggle-id="5" data-delay="3000" class='storelink sh3' id="liTitle" objtype='4'><a href="https://www.tyremarket.com/Alloy-Wheels/AdvancedSearch" id="ucStoreHeader_rptMobileMenu__ctl2_Hyperlink1">Alloy Wheels<input type="hidden" name="ucStoreHeader$rptMobileMenu$_ctl2$hdnStoreId" id="ucStoreHeader_rptMobileMenu__ctl2_hdnStoreId" value="3" /></a></li><li onclick="getCustomMsg();" data-toggle-id="5" data-delay="3000" class='storelink sh3' id="liTitle" objtype='12'><a href="https://www.tyremarket.com/SCV-Tyres" id="ucStoreHeader_rptMobileMenu__ctl3_Hyperlink1">SCV Tyres<input type="hidden" name="ucStoreHeader$rptMobileMenu$_ctl3$hdnStoreId" id="ucStoreHeader_rptMobileMenu__ctl3_hdnStoreId" value="15" /></a></li><li onclick="getCustomMsg();" data-toggle-id="5" data-delay="3000" class='storelink sh3' id="liTitle" objtype='8'><a href="https://www.tyremarket.com/Services" id="ucStoreHeader_rptMobileMenu__ctl4_Hyperlink1">Services<input type="hidden" name="ucStoreHeader$rptMobileMenu$_ctl4$hdnStoreId" id="ucStoreHeader_rptMobileMenu__ctl4_hdnStoreId" value="5" /></a></li><li id="ucStoreHeader_liMobileBoodmo" class="storelink sh3"><a style="width:80%!important;" title="Offers" id="anchorMobileBoodmo" href="https://www.tyremarket.com/offers.html?v=9">Offers </a></li><li id="ucStoreHeader_liMobileItem" class="storelink sh3"><a style="width:80%!important;" title="Tyre Mantra" id="anchorMobileTyreMantra" href="https://www.tyremarket.com/tyremantra" >Tyre Mantra </a><div data-toggle="dropdown" aria-expanded="false" style="float:right;padding-right:15px;margin: 5px;margin-top:10px;font-size: 22px;font-weight: bolder;" class="dropdown-toggle dropdown account-dropdown fa fa-angle-down"></div><ul role="menu" class="tmtnmenu dropdown-menu"><li><a title="Advisory" href="https://www.tyremarket.com/tyremantra/category/advisory/">Advisory</a></li><li><a title="Featured" href="https://www.tyremarket.com/tyremantra/category/featured/">Featured</a></li><li><a title="News" href="https://www.tyremarket.com/tyremantra/category/news/">News</a></li><li><a title="Videos" href="https://www.tyremarket.com/tyremantra/category/videos/">Videos</a></li><li><a title="Tyre Brand History" href="https://www.tyremarket.com/tyremantra/tyre-brand-history/">Tyre Brand History</a></li></ul></li><li id="ucStoreHeader_liMobileItemRd" class="storelink sh3"><a style="width:80%!important;" title="Road Tales" id="anchorMobileRoadTales" href="https://www.tyremarket.com/roadtales" >Road Tales </a><div data-toggle="dropdown" aria-expanded="false" style="float:right;padding-right:15px;margin: 5px;margin-top:10px;font-size: 22px;font-weight: bolder;" class="dropdown-toggle dropdown account-dropdown fa fa-angle-down"></div><ul role="menu" class="tmtnmenu dropdown-menu"><li><a title="Cars and Bikes" href="https://www.tyremarket.com/roadtales/category/cars-and-bikes/">Cars and Bikes</a></li><li><a title="Journey" href="https://www.tyremarket.com/roadtales/category/journey/">Journey</a></li><li><a title="Trendy" href="https://www.tyremarket.com/roadtales/category/trendy/">Trendy</a></li><li><a title="Auto Geeks" href="https://www.tyremarket.com/roadtales/category/autogeeks/">Auto Geeks</a></li><li><a title="Videos" href="https://www.tyremarket.com/roadtales/category/videos/">Videos</a></li></ul></li><li id="ucStoreHeader_liMobileSellerSolution" class="sellerlsolutionlink sh3"><a href="https://www.tyremarket.com/Seller-Solutions" id="ucStoreHeader_tmsellersolmobile" style="width:80%!important;">Seller Solutions</a><div style="float:right;margin: 5px;font-size: 22px;margin-top:10px;font-weight: bolder;" data-toggle="dropdown" class="dropdown-toggle dropdown fa fa-angle-down"></div><ul role="menu" class="tmtnmenu dropdown-menu"><li>
132<a href="https://www.tyremarket.com/Dealer-Registration" id="ucStoreHeader_tmdealermobile">Dealer Registration</a></li></ul></li></ul><ul id="ucStoreHeader_ulRegLinks" class="tmcuslogin sh3"><li id="ucStoreHeader_liLogin"><a href="https://www.tyremarket.com/Login" id="ucStoreHeader_anchorForLiLogin" rel="nofollow">Login</a></li><li id="ucStoreHeader_liSignUp"><a href="https://www.tyremarket.com/Sign-Up" id="ucStoreHeader_anchorForLiSignup">Sign-Up</a></li></ul></div></div><span style="font-size:30px;cursor:pointer;color: #1a296a" onclick="openNav()">☰</span></div><div class="col-sm-12 col-xs-6 nopadding tmlogo" style="padding-right: 6px!important;padding-top:0px!important;"><div class="col-sm-5 col-xs-12 nopadding tmlogocontainer"><a id="ucStoreHeader_lnkHome" title="Home" class="headelogo" onclick="getCustomMsg();" data-toggle-id="5" data-delay="3000" alt="tyremarket logo" href="https://www.tyremarket.com/Car-Tyres"><img title="Home" src="https://www.tyremarket.com/images/site/tyremarket.webp" alt="tyremarket logo" border="0" /></a></div><div class="col-sm-7 col-xs-7 nopadding"><div id="divRptTopFollowupList" style="overflow-y:scroll;"class="hide"></div></div></div><div class="col-xs-4 hidden-sm visible-xs no-padding tm-mob-cart" style="padding-right: 6px!important;padding-top:20px!important;"><li class="care-holder hidden-sm visible-xs"><a href="#" type="button" id="Locationmodal-triggermobile"><img style="width: 20px; height:26px; margin-right: 15px;" src="https://www.tyremarket.com/Images/home/new/Location.webp"</a><div style="float:right;" onclick="getCustomMsg();" data-toggle-id="5" data-delay="3000"><a href="https://www.tyremarket.com/Shopping-Cart" id="ucStoreHeader_anchorMobileCart" rel="nofollow" data-ajax="false" class="text-center row cartCount-header-link carticon ui-link" style="font-size: 14px; padding: 0px; width: 42px;"><img src="https://www.tyremarket.com/Images/home/new/carticon.webp" width="29" height="32" /><span id="ucStoreHeader_divCartMobile" class="count-circle" style="padding: 0px 6px; font-size:14px;">0</span></a></div></li></div><div class="hidden-sm visible-xs no-padding" style="text-align:center"><div id="ucStoreHeader_divMbPromoDisplay" style="display: none;font-size: 12px;" class="janpromo hide"><div class="tm-promo-carousel" id="tmPromoCarousel"> 133 <a class="tm-slide active" href="https://www.tyremarket.com/offers.html?V=9" target="_parent"> 134 <picture> 135 <source media="(max-width: 600px)" srcset="/images/gandhi2026/GandhiJayanthi-mob-1.jpeg"> 136 <img src="/images/gandhi2026/GandhiJayanthi-desk-1.jpeg" alt="The freedom to journey in safety"> 137 </picture> 138 </a> 139 <a class="tm-slide" href="https://www.tyremarket.com/offers.html?V=9" target="_parent"> 140 <picture> 141 <source media="(max-width: 600px)" srcset="/images/gandhi2026/GandhiJayanthi-mob-2.jpeg"> 142 <img src="/images/gandhi2026/GandhiJayanthi-desk-2.jpeg" alt="HEART5K, GANDHI10K and ROADSAFE20K coupons" loading="lazy"> 143 </picture> 144 </a> 145 <a class="tm-slide" href="https://www.tyremarket.com/offers.html?V=9" target="_parent"> 146 <picture> 147 <source media="(max-width: 600px)" srcset="/images/gandhi2026/GandhiJayanthi-mob-3.jpeg"> 148 <img src="/images/gandhi2026/GandhiJayanthi-desk-3.jpeg" alt="TyreMarket - 2 October Gandhi Jayanti" loading="lazy"> 149 </picture> 150 </a> 151 <div class="tm-dots"></div> 152</div></div></div></div></div></div><div class="col-sm-12 hidden-sm hidden-xs" id="divtopmobilemnu"><ul class="list-unstyled list-inline navbar-right top-links topmobilemne"><li id="ucStoreHeader_liHelpmobile" class="hidden-xs hide"><a href = https://www.tyremarket.com/Help><img style='margin-right:5px;margin-top:-5px' src = https://www.tyremarket.com/Images/home/new/question.webp />Help</a></li><li id="ucStoreHeader_anchorposmobile" class="dropdown hide"><a href="https://www.tyremarket.com/Login" id="ucStoreHeader_anchorLoginmobile"><i class="fa fa-user mbleicn"></i><span>Login</span><span>|</span></a><a id="ucStoreHeader_anchorSigninmobile" href="https://www.tyremarket.com/Sign-Up">Sign-Up</a><ul id="ucStoreHeader_ulSubMenumobile" class="dropdown-menu dropdown-menu-right account-dropdown hide"><li id="ucStoreHeader_liSubMenumobile" class="noborder submenulogin"></li></ul></li><li class="hidden-xs hidden-sm hide">
152<a href="https://www.tyremarket.com/tyremantra/tyremarket-rss-feeds/"><i class="fa fa-rss"></i> Rss</a></li></ul></div></div><style> a.link.active { color: blue; } @media only screen and (max-width: 767px) and (min-width: 556px) { .hmebrdr { -webkit-box-shadow: 0px 14px 10px -14px #111 !important; -moz-box-shadow: 0px 14px 10px -14px #111 !important; box-shadow: 0px 14px 10px -14px #111 !important; } } </style><div class="nav-wrapper mnuwrap"><div class="container no-padding"><div class="row"><div class="col-sm-12 no-padding tmmenudsktp"><nav class="navbar navbar-default hmebrdr"><div class="collapse navbar-collapse js-navbar-collapse" id="divStoreNavBar"><ul class="nav navbar-nav"><li onclick="getCustomMsg();" data-toggle-id="5" data-delay="3000" class='active sh3' id="liTitle" objtype='1'><a href="https://www.tyremarket.com/Car-Tyres" id="ucStoreHeader_repeaterTab__ctl0_Hyperlink1">Car Tyres</a><input type="hidden" name="ucStoreHeader$repeaterTab$_ctl0$hdnStoreId" id="ucStoreHeader_repeaterTab__ctl0_hdnStoreId" value="1" /></li><li onclick="getCustomMsg();" data-toggle-id="5" data-delay="3000" class='storelink sh3' id="liTitle" objtype='5'><a href="https://www.tyremarket.com/Two-Wheeler-Tyres" id="ucStoreHeader_repeaterTab__ctl1_Hyperlink1">Two-Wheeler Tyres</a><input type="hidden" name="ucStoreHeader$repeaterTab$_ctl1$hdnStoreId" id="ucStoreHeader_repeaterTab__ctl1_hdnStoreId" value="2" /></li><li onclick="getCustomMsg();" data-toggle-id="5" data-delay="3000" class='storelink sh3' id="liTitle" objtype='4'><a href="https://www.tyremarket.com/Alloy-Wheels/AdvancedSearch" id="ucStoreHeader_repeaterTab__ctl2_Hyperlink1">Alloy Wheels</a><input type="hidden" name="ucStoreHeader$repeaterTab$_ctl2$hdnStoreId" id="ucStoreHeader_repeaterTab__ctl2_hdnStoreId" value="3" /></li><li onclick="getCustomMsg();" data-toggle-id="5" data-delay="3000" class='storelink sh3' id="liTitle" objtype='12'><a href="https://www.tyremarket.com/SCV-Tyres" id="ucStoreHeader_repeaterTab__ctl3_Hyperlink1">SCV Tyres</a><input type="hidden" name="ucStoreHeader$repeaterTab$_ctl3$hdnStoreId" id="ucStoreHeader_repeaterTab__ctl3_hdnStoreId" value="15" /></li><li onclick="getCustomMsg();" data-toggle-id="5" data-delay="3000" class='storelink sh3' id="liTitle" objtype='8'><a href="https://www.tyremarket.com/Services" id="ucStoreHeader_repeaterTab__ctl4_Hyperlink1">Services</a><input type="hidden" name="ucStoreHeader$repeaterTab$_ctl4$hdnStoreId" id="ucStoreHeader_repeaterTab__ctl4_hdnStoreId" value="5" /></li><li id="liOffers" class="storelink dropdown sh3"><a onclick="ga('send', 'event',{eventCategory: 'promo-offermenu', eventAction: 'Submit', eventLabel: 'promo-offermenu', eventValue: 1});" title="Offers" id="anchorOffer" href="https://www.tyremarket.com//offers.html?v=9" data-toggle="dropdown" class="dropdown-toggle disabled" aria-haspopup="true">Offers </a></li><li id="liTitleTm" class="storelink dropdown sh3"><a title="Tyre Mantra" id="anchorTyreMantra" href="https://www.tyremarket.com/tyremantra" data-toggle="dropdown" class="dropdown-toggle disabled" aria-haspopup="true">Tyre Mantra <span class="fa fa-angle-down"></span></a><ul role="menu" class=" dropdown-menu"><li><a title="Advisory" href="https://www.tyremarket.com/tyremantra/category/advisory/">Advisory</a></li><li><a title="Featured" href="https://www.tyremarket.com/tyremantra/category/featured/">Featured</a></li><li><a title="News" href="https://www.tyremarket.com/tyremantra/category/news/">News</a></li><li><a title="Videos" href="https://www.tyremarket.com/tyremantra/category/videos/">Videos</a></li><li><a title="Tyre Brand History" href="https://www.tyremarket.com/tyremantra/tyre-brand-history/">Tyre Brand History</a></li></ul></li><li id="liTitleRd" class="storelink dropdown sh3"><a title="Road Tales" id="anchorRoadTales" href="https://www.tyremarket.com/roadtales" data-toggle="dropdown" class="dropdown-toggle disabled" aria-haspopup="true">Road Tales <span class="fa fa-angle-down"></span></a><ul role="menu" class=" dropdown-menu"><li><a title="Cars and Bikes" href="https://www.tyremarket.com/roadtales/category/cars-and-bikes/">Cars and Bikes</a></li><li>
152<a title="Journey" href="https://www.tyremarket.com/roadtales/category/journey/">Journey</a></li><li><a title="Trendy" href="https://www.tyremarket.com/roadtales/category/trendy/">Trendy</a></li><li><a title="Auto Geeks" href="https://www.tyremarket.com/roadtales/category/autogeeks/">Auto Geeks</a></li><li><a title="Videos" href="https://www.tyremarket.com/roadtales/category/videos/">Videos</a></li></ul></li><li id="liSellerSolution" class="sellerlsolutionlink dropdown sh3"><a href="https://www.tyremarket.com/Seller-Solutions" id="ucStoreHeader_anchorSellerSolutions" data-toggle="dropdown" class="dropdown-toggle disabled" aria-haspopup="true">Seller Solutions <span class="fa fa-angle-down"></span></a><ul role="menu" class=" dropdown-menu"><li><a href="https://www.tyremarket.com/Dealer-Registration" id="ucStoreHeader_lnkDealerRegistration">Dealer Registration</a></li></ul></li></ul></div></nav></div></div></div></div><div class="container text-center" id="divImgCookie" style="display:none;"><a href="https://www.tyremarket.com/StepsToEnableCookies" id="ucStoreHeader_linkEnableCookie" style="display:block"><img src="https://www.tyremarket.com/cookieChecker.aspx" id="ucStoreHeader_imgCookieChecker" border="0" style="margin-bottom:5px;" /></a></div><div class="map-container capturedetails-addtocart-cart" style="display: none;background-color: rgba(0,0,0,.5)!important;" id="divUserDetails_addtocart_popup_header"><div class="userinfo tmprdtaddtocrt" style="cursor:default"><input name="ucStoreHeader$hdnCustomerNum_addtocart_popup_header" type="hidden" id="ucStoreHeader_hdnCustomerNum_addtocart_popup_header" value="<%=m_strCustomerNumber%>" /><input name="ucStoreHeader$hdnDiscoveryMode_addtocart_popup_header" type="hidden" id="ucStoreHeader_hdnDiscoveryMode_addtocart_popup_header" /><input name="ucStoreHeader$hdnFriendlyUrlMode_addtocart_popup_header" type="hidden" id="ucStoreHeader_hdnFriendlyUrlMode_addtocart_popup_header" /><input name="ucStoreHeader$hdnOrderType_addtocart_popup_header" type="hidden" id="ucStoreHeader_hdnOrderType_addtocart_popup_header" /><input name="ucStoreHeader$hdntxtMobileNo_addtocart_popup_header" type="hidden" id="hdntxtMobileNo_addtocart_popup_header" /><input name="ucStoreHeader$hdntxtEmail_addtocart_popup_header" type="hidden" id="hdntxtEmail_addtocart_popup_header" /><button type="button" class="close capturedetails-addtocart-cart-close cls-btn-close" data-dismiss="modal" aria-label="Close"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M16 1.4734L14.5266 0L8 6.53696L1.4734 0L0 1.4734L6.53696 8L0 14.5266L1.4734 16L8 9.46303L14.5266 16L16 14.5266L9.46303 8L16 1.4734Z" fill="#757575"/></svg></button><div class="clspaneluser" id="paneluser"><span id="spanNameOrMobileError_header" class="sh2 color-error-tertiary">Please enter 10 digit mobile number to proceed.</span><div id="divGAPIInput2" style="margin-bottom:15px;margin-top:10px;width:100%;position:relative;"><span style="color: #1a296a!important; font-size: 12px!important; font-weight:500!important;">Area/PIN Code</span><input id="autocomplete_search_3" autocomplete="off" class="form-control atcpstyles" type="text" autocorrect="off" /><a id="autocomplete_ceat_clearBtn_3" onclick="$('#autocomplete_search_3').val('')" ><span style="font-weight: 500;font-size: 1.7rem; color: #000;">x</span></a></div><div id="divSimplePincode2" style="margin-bottom:15px;margin-top:10px;width:100%;"><input id="txtSimplePincode2" class="atcpstyles b2" onblur="return getLatLongFromEnteredPINCodeGenHead(this)" onkeydown = "return isNumberKey(event);" maxlength="6" type="text" autocorrect="off" placeholder="Enter 6 digit Pin Code" style="height:42px;"/></div><div style="border-bottom: none; padding-bottom: 0px;text-align:center; padding-left: 0px;margin-bottom:10px;"><span id="spnTopMessage" class="text-center" style="color: #00AA00; text-align: center;"></span></div><div id="ucStoreHeader_div1"></div><div id="divCaptureDetail_header" class="group" style="margin-bottom: 20px; display:initial"><input type="text" id="txt_email_or_mobile_header" name="email_or_mobile" maxlength="10" onkeydown="return isNumberKey(event);" placeholder="Enter Mobile Number" class="atcpstyles b2" style="height:42px;"/></div><br/><div class="rowloc"><div ><div class="row text-center btn-disp-container"><span id="ucStoreHeader_Span1" class="error"></span><input onclick="return continueShoppingClick_header(); if (typeof(Page_ClientValidate) == 'function') Page_ClientValidate(''); __doPostBack('ucStoreHeader$Button1','')" name="ucStoreHeader$Button1" type="button" id="ucStoreHeader_Button1" class="btnMedium btnTertiary btn-font-medium btnSwitch" title="Add More" value="Add More" /><Button ID="top_continue_shopping_popup_processing_header" class="btnMedium btnTertiary btn-font-medium" style="display:none;"><i class="fa fa-refresh fa-spin" style="color: #ffffff!important;font-size:17px;"></i> Processing...</Button><input type="button" value="Next" class="btnMedium btnPrimary btn-font-medium" id="bt
152nSubmit_addtocart_popup_header" style="margin-left: 5px;"/><Button ID="btnSubmit_addtocart_popup_processing_header" class="btnMedium btnPrimary btn-font-medium" style="display:none;"><i class="fa fa-refresh fa-spin" style="color: #ffffff!important;"></i> Processing...</Button><div class="row" style="margin-top:20px;"><span class="b4 color-600">Trusted by 75,000+ customers</span></div></div></div></div></div></div></div><div class="modal fade bs-example-modal-lg" id="Locationmodal" role="dialog" aria-labelledby="myModalLabel"><div class="modal-dialoog ezCustTrans" role="document"><div class="modal-content" id="divLocation"><button type="button" id="close-modal-dialog" class="close modal-dialoog" data-dismiss="modal" aria-label="Close"><span aria-hidden="true" style="top: 0px; margin-right: 10px !important;">x</span></button><div class="height-auto"><h4 class="text-center location-title">Select Your Location</h4><br /><div class="row"><div class="col-sm-12"><div class="row"><div style="padding-top:0px;" class="col-sm-12 modal-city"><div id="ucStoreHeader_divLMAreaPin" class="form-group areapin"><div id="ucStoreHeader_divLMSimplePincode"><span style="color: #1a296a!important; font-size: 12px!important; font-weight:500!important;">PIN Code</span><input id="txtLMSimplePincode" class="form-control" onblur="return getLatLongFromEnteredPINCodeGenHead(this)" onkeydown = "return isNumberKey(event);" style="margin-top: 14px; width: 100%; padding-top: 8px!important; padding-bottom: 6px!important; border-radius: 0;" maxlength="6" type="text" autocorrect="off" placeholder="PIN Code (optional)"></div><div id="locationmismatch" class="error" style="color:red"></div></div></div><div class="rowloc"></div><div class="row text-center "><ul class="list-inline list-unstyled"><li><button class="btnSmall btnTertiary btn-font-small" style="width:90px;" id="clearlocation" type="button">Clear</button></li><li><button class="btnSmall btnSecondary btn-font-small no-padding" style="width:90px;" id="skip" type="button" aria-label="View Square Card"><span class="ng-scope">Continue</span></button></li><li><a class="btnSmall btnPrimary btn-font-small" style="width:100px;padding: 12px 20px;" href="#" id="LocationSubmit">Submit</a></li></ul></div></div></div></div></div></div></div></div><div class="modal fade bs-example-modal-lg" id="modalFolowUps" role="dialog" aria-labelledby="myModalLabel" style="padding-right: 3px!important"><div class="modal-dialog modal-lg" role="document"><div class="modal-content" id="divFollowupList" style="width: 100% !important"><button type="button" class="close modal-dialoog" data-dismiss="modal" aria-label="Close"><span aria-hidden="true" style="top: 0px; margin-right: 10px !important;">x</span></button><div class="height-auto"><div id="divRptFollowupList" class="hide"></div><div id="divTicketHistory" class="hide"></div></div></div></div></div><div class="map-container capturedetailss-cart" style="display: none;" id="divUserInfoCollection" method="post" enctype="application/x-www-form-urlencoded"><div class="userinfo"><input name="ucStoreHeader$hdnCustomerNum" type="hidden" id="ucStoreHeader_hdnCustomerNum" value="037416da-262e-4a1c-a3de-7bb7fe9a6764" /><input name="ucStoreHeader$hdnDiscoveryMode" type="hidden" id="ucStoreHeader_hdnDiscoveryMode" value="false" /><input name="ucStoreHeader$hdnFriendlyUrlMode" type="hidden" id="ucStoreHeader_hdnFriendlyUrlMode" /><input name="ucStoreHeader$hdnCurrentPage" type="hidden" id="ucStoreHeader_hdnCurrentPage" /><input name="ucStoreHeader$hdnRegistered" type="hidden" id="ucStoreHeader_hdnRegistered" value="0" /><input name="ucStoreHeader$hdnFrequencyBased" type="hidden" id="ucStoreHeader_hdnFrequencyBased" value="true" /><input name="ucStoreHeader$hdnHubSpotUTK" type="hidden" id="ucStoreHeader_hdnHubSpotUTK" /><input name="ucStoreHeader$hdnIPAddress" type="hidden" id="ucStoreHeader_hdnIPAddress" value="106.51.227.56" /><input name="ucStoreHeader$hdnPortalID" type="hidden" id="ucStoreHeader_hdnPortalID" value="2905584" /><input name="ucStoreHeader$hdnFormGUID" type="hidden" id="ucStoreHeader_hdnFormGUID" value="8ca84aa8-8c73-4343-9026-405a649d028b" /><input name="ucStoreHeader$hdnTollfreeNumber" type="hidden" id="ucStoreHeader_hdnTollfreeNumber" value="+91-8088-090-090" /><div class="col-md-12 col-xs-12" id="paneluser"><div class="modal-header" style="border-bottom: none; padding-bottom: 0px;"></div><button type="button" class="close capturedetailss-cart-close" data-dismiss="modal" aria-label="Close" id="bt
152nIdleOrExitClose"><span aria-hidden="true" style="top: -8px; font-size: 20px !important; font-weight: 800!important; margin-right: -7px;">X</span></button><h4 style="color: #c42c28; margin-top: 0px; text-align: center; padding-bottom: 5%;">Do You Need any Help? Please Provide Your Details to Get a Callback.</h4><div class="group"><input type="number" id="txtMobileNo" placeholder="Please Enter 10 digit Mobile No" style="padding: 0px; font-size: 15px; border-bottom: 1px solid #1a296a !important; color: #313030;" /><span class="bar"></span><span class="highlight"></span><label class="label-controluserinfo">Contact Number <span class="text-danger">*</span></label><span id="spanMobileError" style="display: none; color: red;">Please Enter 10 digit Mobile No</span></div><div class="group"><input type="text" id="txtFirstName" placeholder="Please Enter Your Name" style="padding: 0px; font-size: 15px; border-bottom: 1px solid #1a296a !important; color: #313030;" /><span class="highlight"></span><span class="bar"></span><label class="label-controluserinfo">Name <span class="text-danger">*</span></label></div><div class="group"><input type="email" id="txtEmail" placeholder="Please Enter Valid Email" style="padding: 0px; font-size: 15px; border-bottom: 1px solid #1a296a !important; color: #313030;" /><span class="bar"></span><span class="highlight"></span><label class="label-controluserinfo">Email <span class="text-danger">*</span></label><span id="spanEmailError" style="display: none; color: red;">Please Enter Valid Email</span></div><div class="rowloc"><div class="groups"><div class="col-xs-4 col-sm-4 popupbtn"><input type="button" value="Submit" class="btn btn-warning col-sm-12 col-xs-12" id="btnMainHomeSubmit" /></div></div></div></div></div></div><input name="ucStoreHeader$hdnSelectedCity" type="hidden" id="ucStoreHeader_hdnSelectedCity" /><input type="hidden" id="BS_accountkey" value='er76kjsi45HnWdspgde2Hsilfw1Dsueh'/><input type="hidden" id="BS_accountvendor" value='Test'/><input type="hidden" id="BS_generatecodeurl" value='https://firsthive.com/engage/codeapi/bridgeStoneGenerateCodeApi'/><div class="tm_static_ad_top" style="margin: 5px auto; text-align:center;"><div id="om-magykertntjirtcfllsy-holder"></div><div id="om-nzbfomjricdcaf9tuiue-holder"></div></div></body>
152<script type="text/javascript"> var callcenterapppath = '/callcenter'; var strDocumentLocation = ''; strDocumentLocation = document.location.toString().toLowerCase(); /* global values */ var Pincode; var city; var lattitude; var longitude; var address; var data = []; var availableCities = []; var availableAllCities = []; var availableStates = []; var state; var Cookietime = new Date; var autocompleteCity; var autofilladdress; var cityandalias; var SkipLocationVar = false; var isLocalityExistinStore = false; /* auto complete functions */ var input3 = document.getElementById('autocomplete_search_3'); google.maps.event.addDomListener(input3, 'keydown', function (e) { if (e.keyCode == 13) { e.preventDefault(); pincode = ''; } }); function initialize() { var callcenterapppath = '/callcenter'; var strDocumentLocation = ''; strDocumentLocation = document.location.toString().toLowerCase(); var pincode = ''; if (pincode == '') { } if ('False'.toUpperCase() == 'TRUE') { if (strDocumentLocation.toString().toLowerCase().indexOf(callcenterapppath) != -1) { $('#Locationmodal-trigger').attr('style', 'display:none'); $('#Locationmodal-triggermobile').attr('style', 'display:none'); /* document.getElementById('autocomplete').value = pincode; */ /* $('#autocomplete').val(pincode); */ pincode = getCookieInHeader("PIN"); autocompleteStore = new google.maps.places.Autocomplete( /* @type {HTMLInputElement} */ (document.getElementById('autocomplete')), { fields: ['geometry', 'address_components'], types: ['geocode'], /* types: ['(cities)'], */ componentRestrictions: { country: "IN" } }); var CurrentSearchedAddress = getCookieInHeader("searchedaddress"); CurrentSearchedAddress = decodeURIComponent(CurrentSearchedAddress); if (CurrentSearchedAddress == '') { $('#autocomplete').val(pincode); document.getElementById('autocomplete').value = pincode; } else $('#autocomplete').val(CurrentSearchedAddress); $("#autocomplete").focus(); $("#autocomplete").blur(); var scripts = document.getElementsByTagName('script'); var keyVal = ''; try { for (var i = 0; i < scripts.length; i++) { var script = scripts[i]; if (script.src.indexOf('https://maps.googleapis.com/maps/api/js?v=3.exp&libraries=places') > -1) { var keyValue = script.src.split('&')[2]; if (keyValue == undefined) { } else { keyVal = keyValue.split('=')[1]; } } } } catch (ex) { } /* FindLocationAndFill(); */ getCityState(pincode); } autocompleteStore = new google.maps.places.Autocomplete( /* @type {HTMLInputElement} */ (document.getElementById('autocomplete')), { fields: ['geometry', 'address_components'], types: ['geocode'], /* types: ['(cities)'], */ componentRestrictions: { country: "IN" } }); } function getCityState($zip) { var date = new Date(); $.getJSON('https://maps.googleapis.com/maps/api/geocode/json?address=' + $zip + '&key=' + keyVal + '&type=json&_=' + date.getTime(), function (response) { /* find the city and state */ setTimeout(function () { var address_components = response.results[0].address_components; var cityList = []; for (var i = 0; i < address_components.length; i++) { var localtypeCity = address_components[i].types[0]; cityList.push(localtypeCity); } if (cityList.indexOf('locality') == -1) { isLocalityExistinStore = false; } else { isLocalityExistinStore = true; } $.each(address_components, function (index, component) { var types = component.types; $.each(types, function (index, type) { if (isLocalityExistinStore && type == 'locality') { city = component.long_name; createCookieInHeader('city', city, Cookietime); } else if (isLocalityExistinStore == false && type == 'administrative_area_level_2') { city = component.long_name; createCookieInHeader('city', city, Cookietime); } if (type == 'administrative_area_level_1') { state = component.long_name; createCookieInHeader('state', state, Cookietime); } }); }); var selectedAddress = decodeURIComponent(city) + ', ' + decodeURIComponent(state) + ' ' + ($zip == 'undefined' ? '' : $zip) + ', ' + 'India'; if (city != undefined && state != undefined && city != 'undefined' && state != 'undefined') { createCookieInHeader('address', decodeURIComponent(selectedAddress), Cookietime); if (selectedAddress != '') { $('#autocomplete').val(decodeURIComponent(selectedAddress)); $('#locationlabel').text(city); $('#locationlabelmobile').text(city); try { var cookielat = getCookie('lat'); var cookielon = getCookie('lan'); if ((cookielat != "" && cookielat != undefined) && (cookielon != "" && cookielon != undefined)) { $('#autocomplete_search').val(decodeURIComponent(selectedAddress)); } else { $('#autocomplete_search').val(''); } autocompleteStore.addListener('place_changed', fillInAddressInHeader); google.maps.event.trigger(autocompleteStore, 'place_changed'); } catch (ex) { } } } }, 200) }); } var CookieCity = decodeURIComponent(getCookieInHeader('cityandalias').trim()); var CookieCityName = decodeURIComponent(getCookieInHeader('city').trim()); var CookieAddress = decodeURIComponent(getCookieInHeader('address')); var CookiePIN = decodeURIComponent(getCookieInHeader('PIN')); if (CookieCity !== "") { $('#locationlabel').text(CookieCity); $('#locationlabelmobile').text(CookieCity); } else if (CookieCityName != '' && CookieCity == "") { $('#locationlabel').text(CookieCityName); $('#locationlabelmobile').text(CookieCityName); } else if (CookiePIN != undefined && CookiePIN != '' ) { $('#locationlabel').text(CookiePIN); $('#locationlabelmobile').text(CookiePIN); } if ('False'.toUpperCase() == 'TRUE') { if (CookieAddress != '') { $('#autocomplete').val(decodeURIComponent(CookieAddress)); } autocompleteStore.addListener('place_changed', fillInAddressInHeader); } if ('False'.toUpperCase() == 'TRUE') { /*Second contro*/ autocompleteSearch3 = new google.maps.places.Autocomplete( /* @type {HTMLInputElement} */ (document.getElementById('autocomplete_search_3')), { fields: ['geometry', 'address_components'], types: ['geocode'], componentRestrictions: { country: "IN" } }); var CookieAddress = decodeURIComponent(getCookieInHeader('address')); if (CookieAddress != "" && CookieAddress != "undefined") { var cookielat = getCookie('lat'); var cookielon = getCookie('lan'); if ((cookielat != "" && cookielat != undefined) && (cookielon != "" && cookielon != undefined)) { $('#autocomplete_search_3').val(CookieAddress); } else { $('#autocomplete_search_3').val(''); } } autocompleteSearch3.addListener('place_changed', fillInAddressInSearch3); } } initialize(); $("#autocomplete").focus(function () { $('#autocomplete').attr("autocomplete", "new-password"); }); function fillInAddressInHeader() { var isLocalityExist = false; /* Get the place details from the autocomplete object. */ var place = autocompleteStore.getPlace(); address = $('#autocomplete').val(); lattitude = place.geometry.location.lat(); longitude = place.geometry.location.lng(); /* Get each component of the address from the place details */ /* and fill the corresponding field on the form. */ var citylst = []; for (var i = 0; i < place.address_components.length; i++) { var localtype = place.address_components[i].types[0]; citylst.push(localtype); } if (citylst.indexOf('locality') == -1) { isLocalityExist = false; } else { isLocalityExist = true; } for (var i = 0; i < place.address_components.length; i++) { var addressType = place.address_components[i].types[0]; if (isLocalityExist && addressType == 'locality') { city = place.address_components[i].long_name; AddressCity = place.address_components[i].long_name; cityshortname = place.address_components[i].short_name; } else if (isLocalityExist == false && addressType == 'administrative_area_level_2') { city = place.address_components[i].long_name; AddressCity = place.address_components[i].long_name; cityshortname = place.address_components[i].short_name; } else if (addressType == 'administrative_area_level_1') { AddressState = place.address_components[i].long_name; stateshortname = place.address_components[i].short_name; state = AddressState; } else if (addressType == 'postal_code') { Pincode = place.address_components[i].long_name; if (Pincode != "") { if (ErrorMessage.GetValue() != "") { ErrorMessage.SetValue(""); } } createCookieInHeader('PIN', place.address_components[i].long_name); }
152 else if (addressType == 'country') { countryshortname = place.address_components[i].short_name; countryname = place.address_components[i].long_name; } } } function fillInAddressInSearch3() { var isLocalityExist = false; deleteCookie('PIN'); /* Get the place details from the autocomplete object. */ var place = autocompleteSearch3.getPlace(); address = $('#autocomplete_search_3').val(); lattitude = place.geometry.location.lat(); longitude = place.geometry.location.lng(); var citylstSearch = []; for (var i = 0; i < place.address_components.length; i++) { var localtypeSearch = place.address_components[i].types[0]; citylstSearch.push(localtypeSearch); } if (citylstSearch.indexOf('locality') == -1) { isLocalityExist = false; } else { isLocalityExist = true; } /* Get each component of the address from the place details */ /* and fill the corresponding field on the form. */ for (var i = 0; i < place.address_components.length; i++) { var addressType = place.address_components[i].types[0]; if (isLocalityExist && addressType == 'locality') { city = place.address_components[i].long_name; AddressCity = place.address_components[i].long_name; cityshortname = place.address_components[i].short_name; } else if (isLocalityExist == false && addressType == 'administrative_area_level_2') { city = place.address_components[i].long_name; AddressCity = place.address_components[i].long_name; cityshortname = place.address_components[i].short_name; } else if (addressType == 'administrative_area_level_1') { AddressState = place.address_components[i].long_name; stateshortname = place.address_components[i].short_name; state = AddressState; } else if (addressType == 'postal_code') { Pincode = place.address_components[i].long_name; if (Pincode != "") { if (ErrorMessage_Search.GetValue() != "") { ErrorMessage_Search.SetValue(""); } } }
152 else if (addressType == 'country') { countryshortname = place.address_components[i].short_name; countryname = place.address_components[i].long_name; } } storeAddressInCookie3(); updateUserJourney7(); } function storeAddressInCookie3() { /* added by dimple for UP-1641 */ var expires = 10; Cookietime = new Date(new Date().getTime() + parseInt(expires) * 1000 * 60 * 60 * 24 * 365); /* end by dimple */ var isCityExist = false; var autocompleteAddress = $('#autocomplete_search_3').val(); var location_mismatch_msg = $('div#locationmismatch_search').text(); var cookieCityVa = getCookieInHeader('city'); var cookieCityVal = decodeURIComponent(cookieCityVa); if (autocompleteAddress != "") { if (typeof (state) != "" && typeof (state) != "undefined") { createCookieInHeader('state', decodeURIComponent(state), Cookietime); } if (typeof (city) != "" && typeof (city) != "undefined") { createCookieInHeader('city', decodeURIComponent(city), Cookietime); isCityExist = updateCityAndAliasCookieInStoreHeader(city); if (isCityExist == false) { deleteCookie('cityandalias'); createCookieInHeader('cityandalias', decodeURIComponent(city), Cookietime); } } else if (cookieCityVal != "") { createCookieInHeader('city', cookieCityVal, Cookietime); isCityExist = updateCityAndAliasCookieInSearch(cookieCityVal); if (isCityExist == false) { deleteCookie('cityandalias'); createCookieInHeader('cityandalias', decodeURIComponent(cookieCityVal), Cookietime); } } if (typeof (autocompleteAddress) != "" && autocompleteAddress != "undefined") { createCookieInHeader('address', decodeURIComponent(autocompleteAddress), Cookietime); createCookieInHeader('lat', lattitude, Cookietime); createCookieInHeader('lan', longitude, Cookietime); createCookieInHeader('PIN', Pincode, Cookietime); } } /* store searched value in cookie */ var selectedSearch = '', selectedStoreId = ''; selectedStoreId = $('#liTitle.active').find('input[type=hidden]').val(); $('#ucSearch_hdnSpeedRating').val($('#cboSpeedRating').val()); $('#ucSearch_hdnSpeedRatingText').val($("#cboSpeedRating>option:selected").html()); selectedSearch = 'store/' + selectedStoreId + '/searchby/' + $('#ucSearch_hdnSearchBy').val() + '/vehiclemake/' + $('#ucSearch_hdnVehicle').val() + '/vehiclemodel/' + $('#ucSearch_hdnModel').val() + '/vehiclesubmodel/' + $('#ucSearch_hdnSubmodel').val() + '/objecttype/' + $('#ucSearch_hdnObjectType').val() + '/width/' + $('#ucSearch_hdnWidth').val() + '/profile/' + $('#ucSearch_hdnProfile').val() + '/rim/' + $('#ucSearch_hdnRim').val() + '/speedrating/' + $('#cboSpeedRating').val(); createCookieInHeader('storedSearch', selectedSearch, Cookietime); } /* Disable enter key for autocomplete */ /*var input = document.getElementById('autocomplete'); google.maps.event.addDomListener(input, 'keydown', function (e) { if (e.keyCode == 13) { e.preventDefault(); } });*/ /* Cookie functions help:- sitepoint.com/how-to-deal-with-cookies-in-javascript/ */ function createCookieInHeader(name, value, expires) { if (value != null) { var domain = location.host; var path = '/'; var cookie = name + "=" + escape(value) + ";"; if (expires) { /* If it's a date */ if (expires instanceof Date) { /* If it isn't a valid date */ if (isNaN(expires.getTime())) expires = new Date(); } else expires = new Date(new Date().getTime() + parseInt(expires) * 1000 * 60 * 60 * 24 * 365); cookie += "expires=" + expires.toGMTString() + ";"; } if (path) cookie += "path=" + path + ";"; document.cookie = cookie; } } function getCookieInHeader(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) == 0) { return c.substring(name.length, c.length); } } return ""; } function deleteCookie(name) { createCookieInHeader(name, '', -10) } var pincode = ''; /* Error Message Generation */ function Variable(initVal, onChange) { this.val = initVal; this.onChange = onChange; this.GetValue = function () { return this.val; }; this.SetValue = function (value) { this.val = value; this.onChange(); } } var ErrorMessage = new Variable("", function () { $('div#locationmismatch').text(ErrorMessage.GetValue()); }); Cookietime.setFullYear(Cookietime.getFullYear() + 10); function getAvailableCities() { var x = document.getElementById("selectlocation-city"); var i; if (x != undefined) { for (i = 0; i < x.length; i++) { var cityValue = x.options[i].value; availableCities.push(x.options[i].value); if (cityValue != "") { if (cityValue.indexOf('/') != -1) { var citySplitValue = cityValue.split('/'); availableAllCities.push([citySplitValue[0], cityValue]); availableAllCities.push([citySplitValue[1], cityValue]); } else { availableAllCities.push([cityValue, cityValue]); } } } } } /* check if locationexists or not */ function CheckLocation(loc) { var CityExsists; for (var i = 0; i < availableCities.length; i++) { if (availableCities[i].indexOf(loc) != -1) { CityExsists = true; } } if (CityExsists == true) { var SelectedCIty = $('select#selectlocation-city').val(); if (city != '') { for (var i = 0; i < availableAllCities.length; i++) { if (availableAllCities[i][0] == city) { $("select#selectlocation-city option[value='" + availableAllCities[i][1] + "']").prop("selected", "true"); $('.modal-city input.combobox.form-control').val(availableAllCities[i][1]); $('.combobox-container').addClass('combobox-selected'); if (typeof (state) != "") { $('#selectstate').val(state); /* $('#s2id_selectstate').find('#select2-chosen-2').text(state);*/ var StateSelected = state; $.each(jsonData, function (key, value) { if (value.state == StateSelected) { $('#selectlocation-city option[value!=""]').remove(); $(value.cities).each(function (key, val) { $('#selectlocation-city').append('<option value="' + val.city + '">' + val.city + '</option>'); }); } }); } if (typeof (cityandalias != "")) { $('#selectlocation-city').val(availableAllCities[i][1]); $('#select2-chosen-1').text(availableAllCities[i][1]); } ErrorMessage.SetValue(''); return false; } else { /* ErrorMessage.SetValue('We do not have our presence in this location yet. But soon we will be coming.');*/ } } } else { ErrorMessage.SetValue('The Location chosen is not part of the City selected.'); } } else { /*ErrorMessage.SetValue('We do not have our presence in this location yet. But soon we will be coming.');*/ } } function updateCityAndAliasCookieInStoreHeader(cityval) { var expires = 10; Cookietime = new Date(new Date().getTime() + parseInt(expires) * 1000 * 60 * 60 * 24 * 365); for (var i = 0; i < availableAllCities.length; i++) { if (availableAllCities[i][0] == cityval) { createCookieInHeader('cityandalias', availableAllCities[i][1], Cookietime); return true; } else { } } return false; } function CreateSiteCookies() { var isCityAvailable = false; var expires = 10; Cookietime = new Date(new Date().getTime() + parseInt(expires) * 1000 * 60 * 60 * 24 * 365); if ($('#autocomplete').val() != '') { if ('False'.toUpperCase() == 'TRUE') { deleteCookie('PIN', ''); if (typeof (city) != undefined && city != undefined) { isCityAvailable = updateCityAndAliasCookieInStoreHeader(city); if (isCityAvailable == false) { deleteCookie('cityandalias'); createCookieInHeader('cityandalias', city, Cookietime); } createCookieInHeader('city', decodeURIComponent(city.trim()), Cookietime); } if (typeof (lattitude) != undefined) { createCookieInHeader('lat', lattitude, Cookietime); } if (typeof (longitude) != undefined) { createCookieInHeader('lan', longitude, Cookietime); } if (address != undefined) { createCookieInHeader('address', decodeURIComponent(address), Cookietime); } if (typeof (Pincode) != undefined) { createCookieInHeader('PIN', Pincode, Cookietime); } } } else { var cookieAddress = getCookieInHeader('address'); $('#autocomplete').val(decodeURIComponent(cookieAddress)); } if (typeof (state) != undefined) { createCookieInHeader('state', state, Cookietime); } } function CreateCityCookie(city) { var CityExsists; var CityandAlias = ''; for (var i = 0; i < availableCities.length; i++) { if (availableCities[i].indexOf(city) != -1) { CityExsists = true; CityandAlias = availableCities[i]; } } if (CityExsists == true) { deleteCookie('skiplocation'); } } function CreateStateCookie(state, city) { var StateExsists; for (var i = 0; i < availableCities.length; i++) { if (availableCities[i].indexOf(city) != -1) { StateExsists = true; } } if (StateExsists == true) { /* createCookieInHeader('state', state, Cookietime); */ } } /* get address using lattitude and longitude */ function GetLocationUsingLatLan(lattitude, longitude) { var URL = 'https://maps.googleapis.com/ma
152ps/api/geocode/json?latlng=' + lattitude + ',' + longitude; $('#LocationLoader').show(); $.ajax(URL, { success: function (data) { if (data.results.length > 0) { var formatted_address = data.results[0].formatted_address; /* createCookieInHeader('address', address, Cookietime); */ $('#autocomplete').val(data.results[0].formatted_address); var addressComp = data.results[0].address_components; for (var i = 0; i < addressComp.length; i++) { var addr = addressComp[i]; if (addr.types[0] == 'locality') { city = addr.long_name; if (city != null) document.getElementById('selectlocation-city').value = city; } } var IsCityAvailable; for (var i = 0; i < availableCities.length; i++) { if (availableCities[i].indexOf(city) != -1) { IsCityAvailable = true; } } if (IsCityAvailable == true) { var addressComp = data.results[0].address_components; for (var i = 0; i < addressComp.length; i++) { var addr = addressComp[i]; if (addr.types[0] == 'postal_code') { Pincode = addr.long_name; } if (addr.types[0] == 'administrative_area_level_1') { state = addr.long_name; CreateStateCookie(state, city); } } } CheckLocation(city); $('#LocationLoader').hide(); address = $('#autocomplete').val(); } }, error: function () { console.log('error'); $('#LocationLoader').hide(); ErrorMessage.SetValue('unable to get Your Location'); } }); } function SelectOnchange() { var SelectedCity; SelectedCity = document.getElementById('selectlocation-city').value; cityandalias = SelectedCity; if (SelectedCity != '') { /* city = SelectedCity; */ CreateCityCookie(city); } if ($('.modal-city input.combobox.form-control').val() != SelectedCity) { $('.modal-city input.combobox.form-control').val(SelectedCity); } /* select vaidations */ if (SelectedCity != '') { getStateName($('#selectlocation-city').val()); } var StreetAddress = document.getElementById('autocomplete').value; /* $('#autocomplete').val(); */ var thsiVal = SelectedCity; thsiVal = thsiVal.replace(' ', ''); var cityCurrentVal = city; if (city == undefined || city == "" || city == "undefined") { cityCurrentVal = getCookieInHeader('city'); } if (thsiVal != '') { if (StreetAddress != '') { /* autocompleteCity = getCookieInHeader('c'); */ if (thsiVal.search(cityCurrentVal) != -1) { ErrorMessage.SetValue(''); } else { ErrorMessage.SetValue('The Location chosen is not part of the City selected.'); } } } } function getStateName(selectedcity) { $.each(availableStates, function (key, value) { if (value.indexOf(selectedcity) != -1) { state = value[0]; } }); } function ModalCloseEvent() { ErrorMessage.SetValue(''); CreateSiteCookies(); var CookieCity = decodeURIComponent(getCookieInHeader('cityandalias')); var CookieCityName = decodeURIComponent(getCookieInHeader('city')); var Coockepincode = decodeURIComponent(getCookieInHeader('PIN')); if (CookieCity !== "") { $('#locationlabel').text(decodeURIComponent(CookieCity)); $('#locationlabelmobile').text(decodeURIComponent(CookieCity)); } else if (CookieCityName != "" && CookieCity == "") { $('#locationlabel').text(decodeURIComponent(CookieCityName)); $('#locationlabelmobile').text(decodeURIComponent(CookieCityName)); } else if (Coockepincode != undefined && Coockepincode != "") { $('#locationlabel').text(decodeURIComponent(Coockepincode)); $('#locationlabelmobile').text(decodeURIComponent(Coockepincode)); } var pageurl = window.top.location.href; var urlpathname = 'https://www.tyremarket.com/'; if ('' != '') { urlpathname = urlpathname + '/'; } updateUserJourney7(); if (pageurl == (urlpathname + 'Car-Tyres') || pageurl == (urlpathname + 'Two-Wheeler-Tyres') || pageurl == (urlpathname + 'Near-by-Dealers') || pageurl == (urlpathname + 'Choose-Dealer-Near-by') || pageurl.indexOf(urlpathname + 'Search') != -1 ) { parent.location.reload(); } $('#Locationmodal').modal('hide'); if ((pageurl.indexOf(urlpathname + 'Search') != -1) && getCookieInHeader('city') != "") { adVisibilityInSearchByLocation(); } else { $('.tm-top-ad-desktop').hide(); $('.tm-top-ad-mobile').hide(); $('.tm-top-ad-ipad').hide(); } parent.location.reload(); } function ModalCloseEventforskip() { ErrorMessage.SetValue(''); var CookieCity = decodeURIComponent(getCookieInHeader('cityandalias')); if (CookieCity !== "") { $('#locationlabel').text(decodeURIComponent(CookieCity)); $('#locationlabelmobile').text(decodeURIComponent(CookieCity)); } var pageurl = window.top.location.href;
152 var urlpathname = 'https://www.tyremarket.com/'; if ('' != '') { urlpathname = urlpathname + '/'; } /*if (pageurl == (urlpathname + 'Car-Tyres') || pageurl == (urlpathname + 'Two-Wheeler-Tyres') || pageurl == (urlpathname + 'Near-by-Dealers') || pageurl == (urlpathname + 'Choose-Dealer-Near-by')) { parent.location.reload(); } */ updateUserJourney7(); if ((pageurl.indexOf(urlpathname + 'Search') != -1) && getCookieInHeader('city') != "") { adVisibilityInSearchByLocation(); } else { $('.tm-top-ad-desktop').hide(); $('.tm-top-ad-mobile').hide(); $('.tm-top-ad-ipad').hide(); } $('#Locationmodal').modal('hide'); /*if (pageurl.indexOf(urlpathname + 'Product/') != -1) { parent.location.reload(); }*/ } function updateUserJourney7() { var webserviceUrlFromConfig = 'tpwebservice'; var webserviceUrl = location.protocol + '//' + location.host; var tmAPIuUpdateUJStep7 = webserviceUrl + '/' + webserviceUrlFromConfig + '/Site.asmx/UserJourneyStep7'; var session_id = $('#ucStoreHeader_hdnSessionId') == null ? '' : $('#ucStoreHeader_hdnSessionId').val(); if (Pincode == undefined || Pincode == '') { Pincode = 0; } if (typeof (lattitude) != undefined) { lattitude = getCookieInHeader('lat'); if (lattitude == null || lattitude == undefined || lattitude == '') { lattitude = 0; } } if (typeof (longitude) != undefined) { longitude = getCookieInHeader('lan'); if (longitude == null || longitude == undefined || longitude == '') { longitude = 0; } } if (typeof (city) != undefined) { city = decodeURIComponent(getCookieInHeader('city')); if (city == null || city == undefined) { city = ""; } } if (typeof (state) != undefined) { state = decodeURIComponent(getCookieInHeader('state')); if (state == null || state == undefined) { state = ""; } } $.ajax({ url: tmAPIuUpdateUJStep7, method: "post", data: { strUserSessionID: session_id, strCity: city, strState: state, strLatitude: lattitude, strLongitude: longitude, strPincode: Pincode }, async: false, success: function (outputdata) { }, error: function (jqxhr, textStatus, error) { console.log("Request Failed: " + textStatus + ', ' + error); } }); } function DeleteInitialCookie(name, value, expires) { if (value != null) { var domain = location.host; var path = '/'; var cookie = name + "=" + escape(value) + ";"; if (expires) { /* If it's a date */ if (expires instanceof Date) { /* If it isn't a valid date */ if (isNaN(expires.getTime())) expires = new Date(); } else expires = new Date(new Date().getTime() + parseInt(expires) * 1000 * 60 * 60 * 24 * 365); cookie += "expires=" + expires.toGMTString() + ";"; } if (path) cookie += "path=" + path + ";"; document.cookie = cookie; } } function ModalCloseEventForPopularCities(cityvalue, statevalue, cityLat, cityLong) { ErrorMessage.SetValue(''); CreateSiteCookiesForPopularCities(cityvalue, statevalue, cityLat, cityLong); var CookieCity = decodeURIComponent(getCookieInHeader('cityandalias')); if (CookieCity !== "") { $('#locationlabel').text(CookieCity); $('#locationlabelmobile').text(CookieCity); $("select#selectlocation-city option[value='" + CookieCity + "']").prop("selected", "true"); $('.modal-city input.combobox.form-control').val(CookieCity); $('.combobox-container').addClass('combobox-selected'); if (typeof (state) != "") { $('#selectstate').val(state); $('#selectstate').trigger('change'); } if (typeof (cityandalias != "")) { $('#selectlocation-city').val(CookieCity); } } updateUserJourney7(); $('#Locationmodal').modal('hide'); parent.location.reload(); } function CreateSiteCookiesForPopularCities(cityvalue, statevalue, cityLat, cityLong) { var expires = 10; Cookietime = new Date(new Date().getTime() + parseInt(expires) * 1000 * 60 * 60 * 24 * 365); cityandalias = decodeURIComponent(cityvalue); state = statevalue; var cityNewName = ''; if (cityvalue.indexOf('/') != -1) { cityNewName = cityvalue.split('/')[1]; } else { cityNewName = cityvalue; } if (typeof (cityandalias) != undefined && typeof (state) != undefined) { deleteCookie('cityandalias'); deleteCookie('state'); deleteCookie('city'); deleteCookie('lat'); deleteCookie('lan'); deleteCookie('PIN'); deleteCookie('address'); createCookieInHeader('state', statevalue, Cookietime); createCookieInHeader('cityandalias', cityandalias.trim(), Cookietime); createCookieInHeader('city', decodeURIComponent(cityNewName.trim()), Cookietime); createCookieInHeader('lat', cityLat, Cookietime); createCookieInHeader('lan', cityLong, Cookietime); var countryName = 'India'; var searchedAddress = cityNewName + ', ' + statevalue + ' ' + ', ' + countryName; if (cityNewName != undefined && statevalue != undefined) { createCookieInHeader('address', searchedAddress, Cookietime); } } } function ClearAllCookiesInLogout() { deleteCookie('cityandalias'); deleteCookie('state'); deleteCookie('city'); deleteCookie('lat'); deleteCookie('lan'); deleteCookie('PIN'); deleteCookie('address'); deleteCookie('searchedaddress'); } $(document).ready(function () { /* Cookie handling */ if (getCookieInHeader('__tmvisitedv1') == "" || getCookieInHeader('__tmvisitedv1') == undefined || getCookieInHeader('__tmvisitedv1') == null) { var expires = 10; Cookietime = new Date(new Date().getTime() + parseInt(expires) * 1000 * 60 * 60 * 24 * 365); DeleteInitialCookie('city', '', -10); DeleteInitialCookie('cityandalias', '', -10); DeleteInitialCookie('state', '', -10); DeleteInitialCookie('address', '', -10); DeleteInitialCookie('lat', '', -10); DeleteInitialCookie('lan', '', -10); DeleteInitialCookie('PIN', '', -10); DeleteInitialCookie('skiplocation', '', -10); createCookieInHeader('__tmvisitedv1', 'JSq3rqgFzeJVGKqjLt13',Cookietime); } var callcenterapppath = '/callcenter'; var strDocumentLocation = ''; strDocumentLocation = document.location.toString().toLowerCase();
152 var CurrentCity = getCookieInHeader("cityandalias"); CurrentCity = decodeURIComponent(CurrentCity); var CurrentAddress = getCookieInHeader("address"); CurrentAddress = decodeURIComponent(CurrentAddress); if (CurrentAddress != '') { $('#autocomplete').val(CurrentAddress); } if (CurrentCity == '') { CurrentCity = getCookieInHeader("city"); CurrentCity = decodeURIComponent(CurrentCity); } if (CurrentCity != '') { var CityExsists; getAvailableCities(); for (var i = 0; i < availableCities.length; i++) { if (availableCities[i].indexOf(CurrentCity) != -1) { CityExsists = true; } } if (CityExsists == true) { /* $('#locationlabel').text(CurrentCity); */ $('select#selectlocation-city option').each(function () { if ($(this).val().indexOf(CurrentCity) != -1) { $("select#selectlocation-city [value='" + $(this).val() + "']").attr("selected", "true"); $('#select2-chosen-1').text($(this).val()); $('#locationlabel').text($(this).val()); $('#locationlabelmobile').text($(this).val()); } }); /* $("#selectlocation-city > [value=" + CurrentCity + "]").attr("selected", "true"); */ $('.modal-city input.combobox.form-control').val(CurrentCity); /* if(strDocumentLocation.toString().toLowerCase().indexOf(callcenterapppath) != -1){ */ /* var CurrentSearchedAddress = getCookieInHeader("searchedaddress"); */ /* CurrentSearchedAddress = decodeURIComponent(CurrentSearchedAddress); */ /* $('#autocomplete').val(CurrentSearchedAddress); */ /* } */ /* else{ */ $('#autocomplete').val(CurrentAddress); /* } */ } } else { if ('False'.toUpperCase() == 'TRUE') { $('#divGAPIInputLM').show(); $('#divLMSimplePincode').hide(); } else { $('#divGAPIInputLM').hide(); $('#divLMSimplePincode').show(); var strPincode = getCookie("PIN"); if (strPincode != undefined && strPincode != '') { $("#Locationmodal #txtLMSimplePincode").val(strPincode); } } var discovery_mode = $('#ucStoreHeader_hdnSHDiscoveryMode').val() == '' ? 'false' : $('#ucStoreHeader_hdnSHDiscoveryMode').val(); var show_location = $('#ucStoreHeader_hdnSHShowLocation').val() == '' ? 'false' : $('#ucStoreHeader_hdnSHShowLocation').val(); var ReqAddress = getCookieInHeader("skiplocation"); var selectedstoreid = '1'; var cityval = getCookieInHeader("city"); var qsVal = getParameterByNameForQueryStringCommon('mode'); var configQsVal = 'benefithub'; var sessionQs = ''; var CookieEnableCheck = document.cookie; var callCenterAppChk = strDocumentLocation.toString().toLowerCase().indexOf(callcenterapppath); if ( CookieEnableCheck != "" && callCenterAppChk == -1 && show_location.toUpperCase() == 'TRUE' && (selectedstoreid == 1) && (sessionQs == '') && (ReqAddress == '' || ReqAddress == undefined) && (qsVal == '' || qsVal == null) || (qsVal != null && qsVal.toLowerCase() != configQsVal)) { $('#Locationmodal').modal({ backdrop: 'static', keyboard: false }); } } $('#skip').on('click', function () { $('#Locationmodal').modal('toggle'); createCookieInHeader('skiplocation', 'yes'); var CookieCityAlias = decodeURIComponent(getCookieInHeader('cityandalias')); var Cookieaddress = decodeURIComponent(getCookieInHeader('address')); $("select#selectlocation-city option[value='" + CookieCityAlias + "']").prop("selected", "true"); if (CookieCityAlias == '' || typeof (CookieCityAlias) == undefined) { $('.combobox-container').removeClass('combobox-selected'); } else { $('.combobox-container').addClass('combobox-selected'); } $('#autocomplete').val(decodeURIComponent(Cookieaddress)); $('.modal-city input.combobox.form-control').val(decodeURIComponent(CookieCityAlias)); ErrorMessage.SetValue(''); /* ModalCloseEvent(); */ ModalCloseEventforskip(); SkipLocationVar = true; }); $('#LocationSubmit').on('click', function (e) { e.preventDefault(); /*debugger;*/ var CityExsistsSubmit; var SelectedCIty = '', SelectedState = ''; SelectedState = $('#selectstate').val(); if ($('#autocomplete').val() == "") { address = undefined; } /*if (city == undefined || city == "") { ErrorMessage.SetValue("Please select the location from the list shown!"); return false; }*/ var pincodedata = $("#txtLMSimplePincode").val(); if ('False'.toUpperCase() == 'FALSE' && (pincodedata == undefined || pincodedata == '')) { ErrorMessage.SetValue("Please enter valid PINCODE."); return false; } if ('False'.toUpperCase() == 'TRUE' && (city == undefined || city == "")) { ErrorMessage.SetValue("Please select the location from the list shown!"); return false; } if (('False'.toUpperCase() == 'TRUE' && city != undefined && city != "") || ('False'.toUpperCase() == 'FALSE' && pincodedata != undefined && pincodedata != '')) { ModalCloseEvent(); } }); $('#ucStoreHeader_lnkClearCustomer').on('click', function () { createCookieInHeader('skiplocation', 'yes'); deleteCookie('city'); deleteCookie('cityandalias'); deleteCookie('lat'); deleteCookie('lan'); deleteCookie('PIN'); deleteCookie('address'); deleteCookie('state'); deleteCookie('searchedaddress'); /* $('#locationlabel').text('Select Your Location'); $('#locationlabelmobile').text('Select Your Location'); */ $('#autocomplete').val(''); $('.modal-city input.combobox.form-control').val(''); $('#selectstate').val('Select a State'); $('#selectlocation-city').html(''); $('#selectlocation-city').val('Select a City'); /* $('#s2id_selectstate').find('#select2-chosen-2').text('Select a State'); */ ModalCloseEventforskip(); }); var countryName = ''; getAvailableCities(); /* Auto complete validations and data functions for obtaining Data */ $("#autocomplete").on('blur', function () { /* FindLocationAndFill(); */ }); function FindLocationAndFill() { setTimeout(function () { var value = $('#autocomplete').val(); autofilladdress = value; var SelectedCity = $('#selectlocation-city').val(); var geocoder = new google.maps.Geocoder(); geocoder.geocode({ 'address': value }, function (results, status) { if (status == google.maps.GeocoderStatus.OK) { var URL = 'https://maps.googleapis.com/ma
152ps/api/geocode/json?latlng=' + results[0].geometry.location.lat() + ',' + results[0].geometry.location.lng(); lattitude = results[0].geometry.location.lat(); longitude = results[0].geometry.location.lng(); $('#LocationLoader').show(); $.ajax(URL, { success: function (data) { if (data.status == "OVER_QUERY_LIMIT") { $('#LocationLoader').hide(); ErrorMessage.SetValue("Please try again."); return; } if (data.status == "ZERO_RESULTS") { $('#LocationLoader').hide(); ErrorMessage.SetValue("Oops! Presently we couldn't get your location data."); return; } else { if (data.results.length > 0) { var formatted_address = data.results[0].formatted_address; address = $('#autocomplete').val(); /* formatted_address; */ var addressComp = data.results[0].address_components; for (var i = 0; i < addressComp.length; i++) { var addr = addressComp[i]; if (addr.types[0] == 'locality') { /* console.log('City :' + addr.long_name); */ city = addr.long_name; /* createCookieInHeader('_city_autocomplete_valid', city, Cookietime); */ if (city != null) document.getElementById('selectlocation-city').value = city; } if (addr.types[0] == 'country') { countryName = addr.long_name; } } if (countryName.toLowerCase() != 'india') { $('#autocomplete').val(''); return; } var IsCityAvailable; for (var i = 0; i < availableCities.length; i++) { if (availableCities[i].indexOf(city) != -1) { IsCityAvailable = true; } } if (IsCityAvailable == true) { var addressComp = data.results[0].address_components; for (var i = 0; i < addressComp.length; i++) { var addr = addressComp[i]; if (addr.types[0] == 'postal_code') { /* console.log('PIN :' + addr.long_name); */ Pincode = addr.long_name; /* createCookieInHeader('PIN', Pincode, Cookietime); */ } if (addr.types[0] == 'administrative_area_level_1') { /* console.log('City :' + addr.long_name); */ state = addr.long_name; CreateStateCookie(state, city); } /* createCookieInHeader('address', autofilladdress, Cookietime); */ /* createCookieInHeader('lat', lattitude, Cookietime); */ /* createCookieInHeader('lan', longitude, Cookietime); */ } } CheckLocation(city); $('#LocationLoader').hide(); /* if (pincode != '' && strDocumentLocation.toString().toLowerCase().indexOf(callcenterapppath) != -1) { */ /* var searchedAddress = city + ', ' + state + ' ' + Pincode + ', ' + countryName; */ /* if (city != undefined && state != undefined && countryName != "") { */ /* $('#autocomplete').val(searchedAddress); */ /* } */ /* } */ } } }, error: function () { console.log('error'); $('#LocationLoader').hide(); ErrorMessage.SetValue('unable to get Your Location'); } }); } else { console.log("Something gone wrong " + status); } }); }, 100); if ($(this).val() == '') { /* createCookieInHeader('address', '', Cookietime); */ var SelectedCityVal = $('select#selectlocation-city').val(); if ($('#selectlocation-city').val() != '') { ErrorMessage.SetValue(''); } } } /* get current position */ /* user location function */ function errorFunction() { $('#LocationLoader').hide(); ErrorMessage.SetValue("Geocoder failed"); } function initialize_location() { var geocoder = new google.maps.Geocoder(); getLocation(); } function showLocation(position) { lattitude = position.coords.latitude; longitude = position.coords.longitude; try { getAddressFromLatLng(lattitude, longitude); } catch (ex) { $('#LocationLoader').hide(); ErrorMessage.SetValue('unable to get Your Location'); } } function getLocation() { if (navigator.geolocation) { var options = { timeout: 60000 }; navigator.geolocation.getCurrentPosition(showLocation, errorFunction, options); } else { $('#LocationLoader').hide(); ErrorMessage.SetValue("Sorry, browser does not support geolocation!"); } } function showPosition(position) { successFunction(position); } function getAddressFromLatLng(lat, lng) { var geocoder = new google.maps.Geocoder(); var latlng = new google.maps.LatLng(lat, lng); geocoder.geocode({ 'latLng': latlng }, function (results, status) { if (status == google.maps.GeocoderStatus.OK) { if (results.length > 0) { var formatted_address = results[0].formatted_address; /* createCookieInHeader('address', address, Cookietime); */ $('#autocomplete').val(results[0].formatted_address); var addressComp = results[0].address_components; for (var i = 0; i < addressComp.length; i++) { var addr = addressComp[i]; if (addr.types[0] == 'locality') { city = addr.long_name; if (city != null) document.getElementById('selectlocation-city').value = city; } } var IsCityAvailable; for (var i = 0; i < availableCities.length; i++) { if (availableCities[i].indexOf(city) != -1) { IsCityAvailable = true; } } if (IsCityAvailable == true) { var addressComp = results[0].address_components; for (var i = 0; i < addressComp.length; i++) { var addr = addressComp[i]; if (addr.types[0] == 'postal_code') { Pincode = addr.long_name; } if (addr.types[0] == 'administrative_area_level_1') { state = addr.long_name; CreateStateCookie(state, city); } } } CheckLocation(city); $('#LocationLoader').hide(); address = $('#autocomplete').val(); $('#LocationLoader').hide(); } else { $('#LocationLoader').hide(); ErrorMessage.SetValue("No results found"); } } else { $('#LocationLoader').hide(); ErrorMessage.SetValue('unable to get Your Location'); } }); } $('#getCurrentPosition-trigger').on('click', function (e) { e.preventDefault(); $('#LocationLoader').show(); initialize_location(); }); document.addEventListener('visibilitychange', function () { var show_location = $('#ucStoreHeader_hdnSHShowLocation').val() == '' ? 'false' : $('#ucStoreHeader_hdnSHShowLocation').val(); var cookiedata = ""; if ('False'.toUpperCase() == 'TRUE') { cookiedata = getCookieInHeader('cityandalias'); } else { cookiedata = getCookieInHeader('PIN'); } if (show_location.toUpperCase() == 'TRUE' && cookiedata == "" && getCookieInHeader('skiplocation') == "") { if ('False'.toUpperCase() == 'TRUE') { $('#divGAPIInputLM').show(); $('#divLMSimplePincode').hide(); } else { $('#divGAPIInputLM').hide(); $('#divLMSimplePincode').show(); var strPincode = getCookieInHeader("PIN"); if (strPincode != undefined && strPincode != '') { $("#Locationmodal #txtLMSimplePincode").val(strPincode); } } /* $('#select#selectlocation-city').val(''); */ $("select#selectlocation-city [value='']").prop("selected", "true"); $('input#autocomplete').val(''); $('.modal-city input.combobox.form-control').val(''); $('.combobox-container').removeClass('combobox-selected'); /* $('span#locationlabel').text('Select Your Location'); $('span#locationlabelmobile').text('Select Your Location'); */ var ReqAddress = getCookieInHeader("skiplocation"); var CookieEnableCheck = document.cookie; var callCenterAppChk = strDocumentLocation.toString().toLowerCase().indexOf(callcenterapppath); var selectedstoreid = '1'; if ((ReqAddress == '' || ReqAddress == undefined) && CookieEnableCheck != "" && callCenterAppChk == -1 && selectedstoreid == 1 && (sessionQs == '') && ((qsVal == '' || qsVal == null) || (qsVal != null && qsVal.toLowerCase() != configQsVal))) { $('#Locationmodal').modal({ backdrop: 'static', keyboard: false }); } /* ModalLoadEvent(); */ } }); /* $("#selectlocation-city").select2({}); $("#selectstate").select2({}); */ var timeout = '30000'; var showPopupInIdleOrExit = 'false';
152 var showPopupInIdleOrExitFrequencyBased = 'true'; var callcenterapppath = '/callcenter'; var strDocumentLocation = ''; strDocumentLocation = document.location.toString().toLowerCase(); $(document).bind("idle.idleTimer", function () { if (showPopupInIdleOrExit == true) { var url = $(location).attr('href'); $('#divUserInfoCollection').find('#ucStoreHeader_hdnCurrentPage').val(url); if (strDocumentLocation.toString().toLowerCase().indexOf(callcenterapppath) != -1) { alert(callcenterapppath); } if (url.indexOf('Order-To-Complete') > -1) { } else { if (showPopupInIdleOrExitFrequencyBased == true && $('#ucStoreHeader_hdnFrequencyBased').val() == 'true') { showCaptureformInUserIdleOrExit(); } else if (showPopupInIdleOrExitFrequencyBased == false) { /* $('#ucStoreHeader_hdnFrequencyBased').val()=='true' */ showCaptureformInUserIdleOrExit(); } } } }); $('#btnIdleOrExitClose').on('click', function () { ; var sessionValue = 'false'; $('#ucStoreHeader_hdnFrequencyBased').val(sessionValue); }); $(document).bind("active.idleTimer", function () { }); if (strDocumentLocation.toString().toLowerCase().indexOf(callcenterapppath) != -1) { } else if (showPopupInIdleOrExit == true) { $.idleTimer(timeout); } var CookieEnableCheck = document.cookie; if (CookieEnableCheck == "") { $('#divImgCookie').show(); } }); function getParameterByNameForQueryStringCommon(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, " ")); } /* $('.dropdown-toggle').dropdown(); */ </script>
152<script> $(function () { var links = $('a.link').click(function () { links.removeClass('active'); $(this).addClass('active sh3'); }); }); async function fetchHtmlAsText(url) { return await (await fetch(url)).text(); } async function loadHome() { /*style = "text-align:center;background: #1c2856;padding: 5px 10px;"*/ const contentDiv = document.getElementById('ucStoreHeader_divDtPromoDisplay'); if (contentDiv != null && contentDiv != undefined) { contentDiv.style.background = 'white'; } const contentMDiv = document.getElementById('ucStoreHeader_divMbPromoDisplay'); if (contentMDiv != null && contentMDiv != undefined) { contentMDiv.style.background = 'white'; } var strPromoFile = ''; if (("") == '') strPromoFile = "https://www.tyremarket.com/" + "promo.html"; else strPromoFile= "https://www.tyremarket.com/" + "/promo.html"; var strPromoText = await fetchHtmlAsText(strPromoFile); if (contentDiv != null && contentDiv != undefined) { if (strPromoText != null && strPromoText != undefined && strPromoText != '') { contentDiv.innerHTML = strPromoText; contentDiv.style.background = '#1c2856'; } else contentDiv.style.visibility = 'hidden'; } if (contentMDiv != null && contentMDiv != undefined) { if (strPromoText != null && strPromoText != undefined && strPromoText != '') { contentMDiv.innerHTML = strPromoText; contentMDiv.style.background = '#1c2856'; } else { contentMDiv.style.visibility = 'hidden'; } } } $(function () { $('.page-alert').hide(); $('button[data-toggle="page-alert"]').click(function (e) { e.preventDefault(); var id = $(this).attr('data-toggle-id'); var alert = $('#alert-' + id); var timeOut; alert.appendTo('.page-alerts'); alert.slideDown(); /* Is autoclosing alert */ var delay = $(this).attr('data-delay'); if (delay != undefined) { delay = parseInt(delay); clearTimeout(timeOut); timeOut = window.setTimeout(function () { alert.slideUp(); }, delay); } }); /* Close alert */ $('.page-alert .close').click(function (e) { e.preventDefault(); $(this).closest('.page-alert').slideUp(); }); /* Clear all */ $('.clear-page-alerts').click(function (e) { e.preventDefault(); $('.page-alert').slideUp(); }); var callcenter_path = '/callcenter'; var max_followup_number = '50'; var refresh_intervel = '60'; /*loadHome();*/ /* Thsi is a test code. Will be removed after testing. RaviSS var divpd = document.getElementById('ucStoreHeader_divDtPromoDisplay'); if (divpd != null) { getTopFollowupListForUser(); alert(divpd.innerHTML); } */ if ((location.pathname.toString().toLowerCase().indexOf(callcenter_path) != -1)) { getTopFollowupListForUser(); setInterval(getTopFollowupListForUser, 1000 * 60 * parseInt(refresh_intervel)); } function getTopFollowupListForUser() { var webserviceUrlFromConfig = 'tpwebservice'; var webserviceUrl = location.protocol + '//' + location.host; var tmAPIGet = webserviceUrl + '/' + webserviceUrlFromConfig + '/Security.asmx/GetTopFollowupListForUser'; var loggedinUserId = ''; $.ajax({ url: tmAPIGet, method: "post", dataType: "xml", data: { intCurrentUserId: loggedinUserId }, async: false, success: function (strXML) { var selecthtml = ''; if (strXML == "") { } else { var xmlDoc = strXML; var rawData = xmlDoc.childNodes[0].innerHTML; var parsedData = ''; var iCnt = 0; if (rawData != '') { parsedData = $("<p/>").html(rawData).text(); iCnt = $(parsedData).find("tr").length; if (parseInt(iCnt) > 0) { $('#lblCount').removeAttr('class'); $('#lblCountText').removeAttr('class'); $('#lblCountText').attr('class', 'show');
152 $('.count-circle').css('margin-top', '6px'); iCnt = parseInt(iCnt) - 1; if (parseInt(iCnt) >= parseInt(max_followup_number)) { $('#lblCount').attr('class', 'lblCountMaxcolor'); } else { $('#lblCount').attr('class', 'lblCountcolor'); } var divid = document.getElementById('divRptTopFollowupList'); if (divid != null) { $('#divRptTopFollowupList').removeAttr('class'); $('#divRptTopFollowupList').attr('class', 'show'); divid.innerHTML = ''; divid.innerHTML = parsedData; $('#lblCount').text(iCnt); } } }; }; }, error: function (jqxhr, textStatus, error) { console.log("Request Failed: " + textStatus + ', ' + error); } }); }; $('#close-modal-dialog').click(function () { $('#skip').trigger('click'); }); $('#ucStoreHeader_clearlocation,#clearlocation').on('click', function () { /*debugger;*/ deleteCookie('skiplocation'); deleteCookie('city'); deleteCookie('cityandalias'); deleteCookie('lat'); deleteCookie('lan'); deleteCookie('PIN'); deleteCookie('address'); deleteCookie('state'); deleteCookie('TMNonPromocodeUserInfoPopupShow'); updateUserJourney7(); $('#Locationmodal').modal('hide'); var pageurl = window.top.location.href; var urlpathname = 'https://www.tyremarket.com/'; if ('' != '') { urlpathname = urlpathname + '/'; } if (pageurl == (urlpathname + 'Car-Tyres') || pageurl == (urlpathname + 'Two-Wheeler-Tyres') || pageurl == (urlpathname + 'Near-by-Dealers') || pageurl == (urlpathname + 'Choose-Dealer-Near-by') ) { parent.location.reload(); } if (pageurl.indexOf(urlpathname + 'Product/') != -1 || pageurl == (urlpathname + 'Search/') != -1) { parent.location.reload(); } }); $('#imgOtherCities,#lblOtherCities').on('click', function () { $('#ucStoreHeader_clearlocation,#clearlocation').trigger('click'); $('#skip').trigger('click'); }); }); $('.tmbtncartcontinueshp').on('click', function () { $('.tmbtncartcontinueshp').hide(); $('#top_continue_shopping_popup_processing').show(); $('#top_continue_shopping_popup_processing').attr("disabled", true); }); $('.tmtopcheckout').on('click', function () { $('.tmtopcheckout').hide(); $('#top_editcart_processing').show(); $('#top_editcart_processing').attr("disabled", true); }); $('#ucStoreHeader_lnkClearCustomer').on('click', function () { $('#ucStoreHeader_lnkClearCustomer').hide(); $('#tm_btn_newcall_processing').show(); $('#tm_btn_newcall_processing').attr("disabled", true); }); $('#ucStoreHeader_lnkFollowUp').on('click', function () { $('#ucStoreHeader_lnkFollowUp').hide(); $('#tm_btn_followup_processing').show(); $('#tm_btn_followup_processing').attr("disabled", true); }); </script>
152<div class="container"><h1 class="title tm-title h3"><span id="lblSignIn">Log into your account</span></h1><div class="row login-container tm-mar-bt-30"><div class="col-sm-10 col-md-5 panel tm-panel"><div class="row flex"><div style="padding-bottom:15px;" class="col-sm-12 col-md-12 padding-bottom"><p class="text-warning"><span id="lblSignInText"></span></p><div id="valSum" class="error" style="color:Red;display:none;"> 153 154</div><span id="tdLogin" align="left" valign="top"><span id="trLoginByEmail"><label class="label-control"><span controltovalidate="txtUserID" errormessage="Not a valid email address. Must follow [email protected]." display="None" id="txtUserIdRegVal" evaluationfunction="RegularExpressionValidatorEvaluateIsValid" validationexpression="^\s*([\w\-\.]+)@((\[([0-9]{1,3}\.){3}[0-9]{1,3}\])|(([\w\-]+\.)+)([a-zA-Z]{2,4}))\s*$" style="color:Red;display:none;"></span></label><input name="txtUserID" type="text" id="txtUserID" class="tm-form-control b2" placeholder="Email" onkeydown="fnTrapKD(btnLogin,event)" /><span controltovalidate="txtUserID" display="Dynamic" id="txtUserIdVal" evaluationfunction="RequiredFieldValidatorEvaluateIsValid" initialvalue="" style="color:Red;display:none;"></span></span><label class="label-control"></label><input name="txtPassword" type="password" id="txtPassword" autocomplete="new-password" placeholder="Password" class="tm-form-control b2" onkeydown="fnTrapKD(btnLogin,event)" /><span controltovalidate="txtPassword" display="Dynamic" id="txtPasswordVal" evaluationfunction="RequiredFieldValidatorEvaluateIsValid" initialvalue="" style="color:Red;display:none;"></span></span><div class="col-sm-10 col-sm-offset-1" style="text-align:center;"><h5 class="title tmlogpg" style="margin-left:inherit; margin-bottom:10px; margin-top:10px;"><a id="lnkForgotPwd" href="https://www.tyremarket.com/ForgotPassword">Forgot your password?</a></h5><input type="submit" name="btnLogin" value="Login" onclick="enabledisable(this);" language="javascript" id="btnLogin" class="btn-long-full btnPrimary btn-font-long no-padding" /><Button id="tm_btn_login_processing" class="btn-long-full btnPrimaryPressed btn-font-long no-padding" style="display:none;"> Processing...</Button></div><div class="col-sm-10 col-sm-offset-1 h5" style="text-align:center;margin-top:10px;"><span class="title tmnotmember" style="margin-left:inherit; margin-bottom:10px; margin-top:10px;">Not a Member yet?<input type="submit" name="btnRegister" value="Sign Up" id="btnRegister" class="h5" /></span></div><br/><ul class="list-unstyled List-megamenu hide"><li class="hide"><a id="lnkFAQs">FAQs</a></li><li class="hide"></li><li class="hide"><a id="lnkLegal">Legal </a></li></ul></div></div></div></div></div><style> ul.social-network { list-style: none; display: inline; margin-left: 0 !important; padding: 0; } ul.social-network li.sn-label { display: inline; margin: 0 3px; color: #fff; font-size: 1.1rem; color: #fff; font-weight: 500; } ul.social-network li { display: inline; margin: 0 3px; } .footer-tail { padding: 20px 0px 20px 0px } /* footer social icons */ .social-network a.icoRss { } .social-network a.icoFacebook { } .social-network a.icoInstagram { } .social-network a.icoTwitter { } .social-network a.icoGoogle { } .social-network a.icoYoutube { } .social-network a.icoLinkedin { } /*.social-network a.icoRss:hover { background-color: #FFF; } .social-network a.icoFacebook:hover { background-color:#FFF; } .social-network a.icoTwitter:hover { background-color:#FFF; } .social-network a.icoGoogle:hover { background-color:#FFF; } .social-network a.icoVimeo:hover { background-color:#FFF; } .social-network a.icoLinkedin:hover { background-color:#FFF; }*/ .social-network a.icoRss:hover i, .social-network a.icoFacebook:hover i, .social-network a.icoTwitter:hover i, .social-network a.icoGoogle:hover i, .social-network a.icoVimeo:hover i, .social-network a.icoLinkedin:hover i { color: #fff; } a.socialIcon:hover, .socialHoverClass { color: #44BCDD; } .social-circle li a { display: inline-block; position: relative; margin: 0 auto 0 auto; /*-moz-border-radius:50%; -webkit-border-radius:50%; border-radius:50%; text-align:center; width: 40px; height: 40px; font-size: 15px; padding: 6px;*/ } .social-circle li i { margin: 0; line-height: 40px; text-align: center; } .social-circle li a:hover i, .triggeredHover { -moz-transform: rotate(360deg); -webkit-transform: rotate(360deg); -ms--transform: rotate(360deg); transform: rotate(360deg); -webkit-transition: all 0.2s; -moz-transition: all 0.2s; -o-transition: all 0.2s; -ms-transition: all 0.2s; transition: all 0.2s; } .social-circle i { color: #fff; -webkit-transition: all 0.8s; -moz-transition: all 0.8s; -o-transition: all 0.8s; -ms-transition: all 0.8s; transition: all 0.8s; }
154 .social-circle a { } footer li { /*margin-left:10px!important;*/ } .tmpaymentgoddy { text-align: center; padding-top: 15px; padding-bottom: 15px; } @media (max-width: 767px) { .tmpaymentgoddy { padding-left: 10px; padding-right: 10px; } } @media (max-width: 514px) { #siteseal img { padding-top: 10px; display: block; margin-left: auto; margin-right: auto; } .tmpaymenticons { width: 100%; max-width: 100%; max-height: 79px; } } .tmtyremantra { line-height: 20px; } @media (max-width: 514px) { div.tmtyremantra ul li a { } div.tmcustservice ul li a { } div.tmdealerreg ul li a { /*font-size: 12px !important;*/ /* RSS Note: Typography enhancements */ } } div.tmtyremantra ul li a { padding-right: 7px; padding-left: 7px; display: block; color: #bcbaba; /*font-size: 1.1rem; font-weight: 500;*/ /* RSS Note: Typography enhancements */ } div.tmtyremantra ul li:nth-child(2) { } div.tmtyremantra ul li:nth-child(1) { } div.tmtyremantra ul li:nth-child(3) { display: inline; content: '<br/>' } div.tmtyremantra ul li:nth-child(4):before { content: '\A'; } /*div.tmtyremantra ul li:nth-child(4):before { content: ' '; display: block; }*/ div.tmtyremantra ul li:nth-child(4) { } div.tmtyremantra ul li:nth-child(5) { display: inline; } /*customer service*/ .tmcustservice { line-height: 20px; } div.tmcustservice ul li a { padding-right: 7px; padding-left: 7px; /*font-size: 10px; font-weight: 500; font-size: 1.1rem;*/ /* RSS Note: Typography enhancements */ color: #bcbaba; } div.tmdealerreg ul li a { padding-right: 7px; padding-left: 7px; color: #bcbaba; /*font-size: 1.1rem; font-weight: 500;*/ /* RSS Note: Typography enhancements */ } .tmdealerreg { } div.tmsupport ul li span { /*font-size:1.9rem; font-weight:800;*/ /* RSS Note: Typography enhancements */ color: #fff; } div.tmsupport ul li a { color: #bcbaba; /*font-size: 1.0rem; font-weight: 500; */ /* RSS Note: Typography enhancements */ } /*.tmsupport{ text-align:left; }*/ footer h4 { } .tmcustservice h4 { /*font-family: 'Montserrat', sans-serif !important; font-size: 1.3rem; font-weight: 500;*/ /* RSS Note: Typography enhancements */ margin: 0px auto; width: 100%; padding: 10px; margin-bottom: 10px; border-bottom: 1px solid #707070; color: #fff !important; text-align: left; } .tmdealerreg h4 { /*font-family: 'Montserrat', sans-serif !important; font-size: 1.3rem; font-weight: 500;*/ /* RSS Note: Typography enhancemetns */ margin: 0px auto; width: 100%; padding: 10px; margin-bottom: 10px; border-bottom: 1px solid #707070; color: #fff !important; text-align: left; } .tmtyremantra h4 { /*font-family: 'Montserrat', sans-serif !important; font-size: 1.3rem; font-weight: 500;*/ /* RSS Note: Typography enhancements */ margin: 0px auto; width: 100%; padding: 10px; margin-bottom: 10px; border-bottom: 1px solid #707070; color: #fff !important; text-align: left; } .tmsupport h4 { /*font-family: 'Montserrat', sans-serif !important; font-size: 1.3rem; font-weight: 500;*/ /* RSS Note: Typography enhancements */ margin: 0px auto; width: 100%; padding: 10px; margin-bottom: 10px; border-bottom: 1px solid #707070; color: #fff !important; text-align: left; } @media (min-width: 512px) { .tmftbox { float: left; width: 220px; padding-left: 15px; padding-right: 15px; } .tmsupport { text-align: left; } } @media (max-width: 511px) { .tmftbox { float: none; width: 225px; /*padding-left: 15px; padding-right: 15px;*/ margin: 0 auto; } .tmsupport { text-align: center; } } .tmsmlinks { text-align: center; background: #2e363f; margin-bottom: 20px; padding: 7px; border-bottom: 1px solid #707070; padding: 10px !important; } .social-circle li img { width: 35px; height: 35px; } @media screen and (max-width: 430px) and (min-width: 361px) { .sn-label { display: none !important; } } @media screen and (max-width: 360px) { ul.social-network li.sn-label { display: none !important; } } </style>
154<script type="text/javascript" src="//widget.trustpilot.com/bootstrap/v5/tp.widget.bootstrap.min.js" async></script>
154<script language="javascript"> function OpenOrderForm(pageUrl) { /* window.open("orderform.htm","","toolbar=1,location=0,directories=0,status=0,menubar=1,scrollbars=1,left=100,top=50,height=300,width=600"); */ window.open(pageUrl, "", "toolbar=1,location=0,directories=0,status=0,menubar=1,scrollbars=1,left=100,top=50,height=300,width=600"); } </script>
154<div class="tm_footer_ad_btm" style="margin: 5px auto; text-align: center;"><div id="om-msdypkuhnw6jub4ymcyc-holder"></div><div id="om-xl2eowzj7ppsazsude3w-holder"></div><div id="om-chcv2tkzbhhtok9tmux6-holder"></div></div><input name="ucFooter$hdnWebsite" type="hidden" id="ucFooter_hdnWebsite" value="www.TyreMarket.com" /><table width="100%" border="0" cellpadding="0" cellspacing="0"><tr><td></td></tr></table><footer><div class="footer-main"><div class="tmsmlinks no-padding"><div class="container"><ul class="social-network social-circle"><li class="sn-label hide">Connect:</li><li><a href="https://www.tyremarket.com/tyremantra/tyremarket-rss-feeds/" class="icoRss" title="RSS" target="_blank"><img alt="RSS" class="js-lazy-image" data-src="https://www.tyremarket.com/Images/rss.webp" src='https://www.tyremarket.com/Images/Site/1pix.webp'></a></li><li><a href="https://www.facebook.com/tyremarketindia" class="icoFacebook" title="Facebook" target="_blank"><img alt="Facebook" class="js-lazy-image" data-src="https://www.tyremarket.com/Images/facebook.webp" src='https://www.tyremarket.com/Images/Site/1pix.webp'></a></li><li><a href="https://www.instagram.com/tyremarketindia/" class="icoInstagram" title="Instagram" target="_blank"><img alt="Instagram" class="js-lazy-image" data-src="https://www.tyremarket.com/Images/instagram.webp" src='https://www.tyremarket.com/Images/Site/1pix.webp'></a></li><li><a href="https://twitter.com/tyremarketindia" class="icoTwitter" title="Twitter" target="_blank"><img alt="Twitter" class="js-lazy-image" data-src="https://www.tyremarket.com/Images/twitter.webp" src='https://www.tyremarket.com/Images/Site/1pix.webp'></a></li><li><a href="https://www.linkedin.com/company/tyremarket.com" class="icoLinkedin" title="Linkedin" target="_blank"><img alt="Linkedin" class="js-lazy-image" data-src="https://www.tyremarket.com/Images/linkedin.webp" src='https://www.tyremarket.com/Images/Site/1pix.webp'></a></li><li style="border: none;"><a href="https://www.youtube.com/channel/UCparZJneEFRmHJFrERZDioA" class="icoYoutube" title="Youtube" target="_blank"><img alt="Youtube" class="js-lazy-image" data-src="https://www.tyremarket.com/Images/youtube.webp" src='https://www.tyremarket.com/Images/Site/1pix.webp'></a></li></ul></div></div><div class="container"><div class="tmsupport tmftbox sh3"><span>Support</span><ul class="list-unstyled support-footer"><li class="footer_email" style="margin-top: 0px;"><a href="mailto:[email protected]" class="mailto cap">[email protected]</a></li></ul></div><div id="ucFooter_divBlogSite" class="tmtyremantra tmftbox sh3"><span>Tyre Mantra</span><ul class='list-unstyled'><li><a class='b4' href='https://www.tyremarket.com/TyreMantra/category/Advisory'>Advisory</a></li><li><a class='b4' href='https://www.tyremarket.com/TyreMantra/category/Featured'>Featured</a></li><li><a class='b4' href='https://www.tyremarket.com/TyreMantra/category/News'>News</a></li><li><a class='b4' href='https://www.tyremarket.com/TyreMantra/category/Videos'>Videos</a></li><li><a class='b4' href='https://www.tyremarket.com/TyreMantra/Tyre-Brand-History'>Tyre Brand History</a></li></ul></div><div id="ucFooter_divStaticLinks" class="tmcustservice tmftbox sh3"><span>Customer Service</span><ul class='list-unstyled'><li><a class='b4' href='https://www.tyremarket.com/Legal'>Legal Policy</a></li><li><a class='b4' href='https://www.tyremarket.com/PrivacyPolicy'>Privacy Policy</a></li><li><a class='b4' href='https://www.tyremarket.com/ShippingandDeliveryPolicy'>Shipping and Delivery Policy</a></li><li><a class='b4' href='https://www.tyremarket.com/ReturnPolicy'>Return Policy</a></li><li><a class='b4' href='https://www.tyremarket.com/Comments'>Contact Us</a></li><li><a class='b4' href='https://www.tyremarket.com/About-Us'>About Us</a></li><li><a class='b4' href='https://www.tyremarket.com/FAQ'>FAQ</a></li><li><a class='b4' href='https://www.tyremarket.com/TyreGlossary'>Tyre Glossary</a></li><li><a class='b4' href='https://www.tyremarket.com/StepsToEnableCookies'>Steps To Enable Cookies</a></li><li>
154<a class='b4' href='https://www.tyremarket.com/Best-Price-Guarantee'>Best Price Guarantee</a></li></ul></div><div id="ucFooter_divstaticdealer" class="tmdealerreg tmftbox sh3"><span>Dealer Service</span><ul class='list-unstyled'><li><a class='b4' href='https://www.tyremarket.com/Dealer-Registration'>Dealer Registration</a></li></ul></div><div id="ucFooter_tmportal" class="tmftbox sh3"><img alt="Awarded India's No 1 Tyre Portal 2017" class="js-lazy-image centered" style="width: 100%; width: 225px; height: 179px;" data-src="https://www.tyremarket.com/Images/tmno1portalft.webp" src='https://www.tyremarket.com/Images/Site/1pix.webp' /></div></div></div><div class="container no-padding"><div class="footer-tail"><div class="tmpaymentgoddy"><div class="tmpaymenticondiv " style="padding-right: 0px; display: inline;"><img alt="Payment Gateway" style="width: 473px; height: 110px;" class=" tmpaymenticons js-lazy-image" data-src='https://www.tyremarket.com/images/trustedpaymentgateway.webp' src='https://www.tyremarket.com/Images/Site/1pix.webp'></div><div class="tmgodaddy" style="text-align: right; padding-left: 2px; display: inline;"><span id="siteseal">
154<script async="" type="text/javascript" src="https://seal.godaddy.com/getSeal?sealID=hV2CzuBK5ioZmcDyeT05MpCD388k2VHJYP8KJVKs17f8LoDznhVY1WFFXYpL"></script>
154</span></div></div> Ì¥ </div></div><div class="container"><div class="col-sm-12 no-padding" style="text-align: center;"><p class="b4" style="color: #fff; padding-bottom: 10px;"> © 2013-2026, Tyremarket.com, All rights reserved. <br /></p></div></div></footer>
154<script src='https://www.tyremarket.com/scripts/lazy-load.min.js'></script>
154<script type="text/javascript"> var siteName = 'www.TyreMarket.com'; var callcenterpath = '/callcenter'; var urlPrefix = 'www.'; var scriptEnd = "<\scr" + "ipt>"; var callcenterpathLowercase = callcenterpath.toLowerCase(); var windowpathnameLowercase = window.location.pathname.toLowerCase(); if ((window.location.host.toLowerCase() == siteName.toLowerCase() || window.location.host.toLowerCase() == window.location.protocol + "//" + siteName.toLowerCase()) && (window.location.port == "") && (windowpathnameLowercase.indexOf(callcenterpathLowercase) == -1)) { /* */ /* <![CDATA[ */ document.write('\<SCR' + 'IPT type="text/javascript">'); document.write('var google_conversion_id = 946537594;'); document.write('var google_custom_params = window.google_tag_params;'); document.write('var google_remarketing_only = true;'); document.write("</scr" + "ipt>"); /* ]]> */ /* End of Google Code for Remarketing */ } $(document).ready(function () { $(".tmcustservice ul").append("<li><a class='b4' href='https://app.monstercampaigns.com/c/mgxhiefqaqywply8mdde/' rel='nofollow noopener noreferrer'>Advertise with us</a></li>"); }); </script>
154<script type="text/javascript" src="https://a.omappapi.com/app/js/api.min.js" data-account="92307" data-user="82046" async></script>
vendor: 2 bytes, line 154
154
155<script type="text/javascript"> 156<!-- 157var Page_ValidationSummaries = new Array(document.getElementById("valSum")); 158var Page_Validators = new Array(document.getElementById("txtUserIdRegVal"), document.getElementById("txtUserIdVal"), document.getElementById("txtPasswordVal")); 159// --> 160</script>
160 161 162<input type="hidden" name="__VIEWSTATEGENERATOR" id="__VIEWSTATEGENERATOR" value="C2EE9ABB" /> 163 164
164<SCRIPT language="javascript"> 165 <!-- 166 function fnTrapKD(btn, event) 167 { 168 if (document.all) 169 { 170 if (event.keyCode == 13) 171 { 172 event.returnValue=false; 173 event.cancel = true; 174 btn.click(); 175 } 176 } 177 else if (document.getElementById) 178 { 179 if (event.which == 13) 180 { 181 event.returnValue=false; 182 event.cancel = true; 183 btn.click(); 184 } 185 } 186 else if(document.layers) 187 { 188 if(event.which == 13) 189 { 190 event.returnValue=false; 191 event.cancel = true; 192 btn.click(); 193 } 194 } 195 } 196 // --> 197 </SCRIPT>
vendor: 2 bytes, line 197
197
198<script type="text/javascript"> 199<!-- 200 201var Page_ValidationActive = false; 202if (typeof(ValidatorOnLoad) == "function") { 203 ValidatorOnLoad(); 204} 205 206function ValidatorOnSubmit() { 207 if (Page_ValidationActive) { 208 return ValidatorCommonOnSubmit(); 209 } 210 else { 211 return true; 212 } 213} 214 // --> 215</script>
215 216</form></body></HTML>
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.