jQuery(document).ready(function(){AOS.init();jQuery( ".cons_sec" ).mouseover(function() {}) .mouseout(function() {jQuery( this ).removeClass("active");});});jQuery(document).ready(function() {jQuery('.go_top').on('click', function(){jQuery('html, body').animate({scrollTop: 0}, 1000);});});jQuery(document).ready(function() {jQuery(function ($) {jQuery('.cons_sec').hover(function () {jQuery(this).find('img').attr('src', function (i, src) {return src.replace('con_icon1.html', 'con_icon11.html')});}, function () {jQuery(this).find('img').attr('src', function (i, src) {return src.replace('con_icon11.html', 'con_icon1.html')});});});jQuery(function ($) {jQuery('.cons_sec').hover(function () {jQuery(this).find('img').attr('src', function (i, src) {return src.replace('con_icon2.html', 'con_icon22.html')});}, function () {jQuery(this).find('img').attr('src', function (i, src) {return src.replace('con_icon22.html', 'con_icon2.html')});});});jQuery(function ($) {jQuery('.cons_sec').hover(function () {jQuery(this).find('img').attr('src', function (i, src) {return src.replace('con_icon3.html', 'con_icon33.html')});}, function () {jQuery(this).find('img').attr('src', function (i, src) {return src.replace('con_icon33.html', 'con_icon3.html')});});});jQuery(function ($) {jQuery('.cons_sec').hover(function () {jQuery(this).find('img').attr('src', function (i, src) {return src.replace('con_icon4.html', 'con_icon44.html')});}, function () {jQuery(this).find('img').attr('src', function (i, src) {return src.replace('con_icon44.html', 'con_icon4.html')});});});jQuery(function ($) {jQuery('.cons_sec').hover(function () {jQuery(this).find('img').attr('src', function (i, src) {return src.replace('con_icon5.html', 'con_icon55.html')});}, function () {jQuery(this).find('img').attr('src', function (i, src) {return src.replace('con_icon55.html', 'con_icon5.html')});});});jQuery(function ($) {jQuery('.cons_sec').hover(function () {jQuery(this).find('img').attr('src', function (i, src) {return src.replace('con_icon6.html', 'con_icon66.html')});}, function () {jQuery(this).find('img').attr('src', function (i, src) {return src.replace('con_icon66.html', 'con_icon6.html')});});});jQuery(function ($) {jQuery('.cons_sec').hover(function () {jQuery(this).find('img').attr('src', function (i, src) {return src.replace('y-icon.html', 'y-iconn.html')});}, function () {jQuery(this).find('img').attr('src', function (i, src) {return src.replace('y-iconn.png.', 'y-icon.html')});});});jQuery(function ($) {jQuery('.cons_sec').hover(function () {jQuery(this).find('img').attr('src', function (i, src) {return src.replace('y-icon1.html', 'y-icon11.html')});}, function () {jQuery(this).find('img').attr('src', function (i, src) {return src.replace('y-icon11.png.', 'y-icon1.html')});});});jQuery(function ($) {jQuery('.cons_sec').hover(function () {jQuery(this).find('img').attr('src', function (i, src) {return src.replace('y-icon2.html', 'y-icon22.html')});}, function () {jQuery(this).find('img').attr('src', function (i, src) {return src.replace('y-icon22.png.', 'y-icon2.html')});});});jQuery(function ($) {jQuery('.cons_sec').hover(function () {jQuery(this).find('img').attr('src', function (i, src) {return src.replace('y-icon3.html', 'y-icon33.html')});}, function () {jQuery(this).find('img').attr('src', function (i, src) {return src.replace('y-icon33.png.', 'y-icon3.html')});});});jQuery(function ($) {jQuery('.cons_sec').hover(function () {jQuery(this).find('img').attr('src', function (i, src) {return src.replace('y-icon4.html', 'y-icon44.html')});}, function () {jQuery(this).find('img').attr('src', function (i, src) {return src.replace('y-icon44.png.', 'y-icon4a.html')});});});});jQuery(document).ready(function() {jQuery('.dropdown').hover(function() {jQuery(this).find('.dropdown-menu').stop(true, true).delay(200).fadeIn(500);}, function() {jQuery(this).find('.dropdown-menu').stop(true, true).delay(200).fadeOut(500);});});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);}}}}