"," ","g");var mm=hh.replace(" ","
","g");$('.cClose').html(mm);if($('div').hasClass('popup-wrap')){$('body').addClass('modal-open');$('.rtl .modal-title').css('text-align','right');}},3000);}else{setTimeout(function(){$('.homepopup').remove();},4000);}
if($(".no-desc").hasClass("virtual-demo")){$('#virtual-sel').val($("input[name='testdrivetype']:checked").val());}else if($('.no-desc').hasClass('schedule-a-virtual-demo')){$('#virtual-sel').val('Car At Home');}else{$('#virtual-sel').val('');}
$("input[name='testdrivetype']").click(function(){var selecVal=$(this).val();var selecData=$(this).data('name');$(".testdrivetype-box").hide();$("#drivetype-"+selecData).show();$('#virtual-sel').val(selecVal);});var contactVal="";$("input[name='contacttype']").click(function(){var selecVal=$(this).val();contactVal=selecVal;if(selecVal=='Email'){contactVal='Email';}});$('.info-wrapper2').slick({slidesToShow:1,slidesToScroll:1,mobileFirst:true,arrows:false,dots:false,responsive:[{breakpoint:769,settings:'unslick'}]});$(window).on('resize',function(){$('.info-wrapper2').slick('resize');});$('.ltr .slick-banner').slick({autoplay:false,dots:true});$('.rtl .slick-banner').slick({autoplay:false,dots:true,rtl:true});