jQuery(document).ready(function() {AOS.init();jQuery("#carousel").owlCarousel({autoplay: true, lazyLoad: true, loop: true, margin: 20, responsiveClass: true, autoHeight: true, autoplayTimeout: 7000, smartSpeed: 800, nav: true, responsive: {0: {items: 1}, 600: {items: 3}, 1024: {items: 4}, 1366: {items: 4}}});});jQuery(document).ready(function() {jQuery('.dropdown').hover(function() {jQuery(this).find('.dropdown-menu').stop(true, true).delay(100).fadeIn(500);}, function() {jQuery(this).find('.dropdown-menu').stop(true, true).delay(100).fadeOut(500);});});jQuery(document).ready(function() {jQuery('.dropdown1').hover(function() {jQuery(this).find('.dropdown-menu1').stop(true, true).delay(100).fadeIn(500);}, function() {jQuery(this).find('.dropdown-menu1').stop(true, true).delay(100).fadeOut(500);});});jQuery(document).ready(function() {jQuery('.dropdown2').hover(function() {jQuery(this).find('.dropdown-menu2').stop(true, true).delay(100).fadeIn(500);}, function() {jQuery(this).find('.dropdown-menu2').stop(true, true).delay(100).fadeOut(500);});});jQuery(document).ready(function() {jQuery("#carousel").owlCarousel({autoplay: true, lazyLoad: true, loop: true, margin: 20, responsiveClass: true, autoHeight: true, autoplayTimeout: 7000, smartSpeed: 800, nav: true, responsive: {0: {items: 1}, 600: {items: 3}, 1024: {items: 4}, 1366: {items: 4}}});});jQuery(document).ready(function() {jQuery('.checkbox').append('<div class="checkbox_terms">...Read More</div>');});jQuery(document).ready(function() {jQuery(".ordernow").click(function() {jQuery('#componentlayout466464').modal('show');});jQuery(".checkbox_terms").click(function() {jQuery('#componentlayout466460').modal('show');});});jQuery(document).ready(function() {jQuery(".reg-form").click(function() {jQuery('#componentlayout466708').modal('show');});jQuery(".ordernow2").click(function() {jQuery("#componentlayout466708").modal("hide");jQuery("#componentlayout466704").modal("show");});});jQuery(document).ready(function() {jQuery(".ordernow1").click(function() {jQuery('#componentlayout466464').modal('show');});jQuery(".ordernow1").click(function() {jQuery("#componentlayout466460").modal("hide");jQuery("#componentlayout466464").modal("show");});});jQuery(document).ready(function() {jQuery('.moreless-button').click(function() {jQuery('.moretext').slideToggle();if (jQuery('.moreless-button').text() == "Read more") {jQuery(this).text("Read less")} else {jQuery(this).text("Read more")}});});function ChangeSub(id,mytype,cat_values){if(cat_values!=null){cat_values = decodeURI(cat_values);mycat_values = JSON.parse(unescape(cat_values));}var selected_cat = document.getElementById("cat_value"+id).value;if(mytype=="cat"){var subcat_lists = "";document.getElementById("subcat_value"+id).options.length = 0;document.getElementById("item_value"+id).options.length = 0;if (mycat_values!="{}"){subcat_lists = mycat_values[selected_cat];}else{subcat_lists = dependency_value1[selected_cat];}for (key in subcat_lists){var option = document.createElement("option");option.text = key;option.value = key;var select = document.getElementById("subcat_value"+id);select.appendChild(option);}}else if(mytype=="subcat"){document.getElementById("item_value"+id).options.length = 0;var selected_subcat = document.getElementById("subcat_value"+id).value;var item_lists = "";if (JSON.stringify(mycat_values)!="{}"){item_lists = mycat_values[selected_cat][selected_subcat];}else{item_lists = dependency_value1[selected_cat][selected_subcat];}var ln = item_lists.length, jh = 0;if(ln > 0){for ( ;jh <ln;jh++){var option = document.createElement("option");option.text = item_lists[jh];option.value = item_lists[jh];select = document.getElementById("item_value"+id);select.appendChild(option);}}}}