var file_version = 20240908054252; itt_hottour_name = 'showcase_hotprice_v3_'; check_color = 'https://www.ittour.com.ua/classes/handlers/ittour_external_modules/ittour_modules/hottour_v3/css/hottour_themes/beige.css'; windowHT = window; if(document.getElementById('showcase_hotprice_v3_showcase_module') != null && typeof(document.getElementById('showcase_hotprice_v3_showcase_module')) != 'undefined') { document.getElementById('showcase_hotprice_v3_showcase_module').style.display = 'none'; //} function showcase_hotprice_v3_showcase_load_stylesheet(filename, id) { var css = document.createElement('link'); css.rel = 'stylesheet'; css.type = 'text/css'; css.href = filename; if (id){ css.id= id; } document.getElementsByTagName('head')[0].appendChild(css); } var script; var is_showcase_hotprice_v3_showcase_script_load = new Array(); var itt_hide_cursor_delay = 700; var itt_timeout_nicescroll = null; function showcase_hotprice_v3_showcase_load_script(filename, after_load, id) { if(typeof(is_script_load) != 'undefined' && typeof(is_script_load[filename]) != 'undefined') { is_showcase_hotprice_v3_showcase_script_load[filename] = true; showcase_hotprice_v3_showcase_load_js(after_load); } else { is_showcase_hotprice_v3_showcase_script_load[filename] = false; script = document.createElement('script'); script.type = 'text/javascript'; script.src = filename; if (id){ script.id= id; } document.getElementsByTagName('head')[0].appendChild(script); script.onreadystatechange = function () { if (this.readyState == 'loaded' || this.readyState == 'complete') { if(is_showcase_hotprice_v3_showcase_script_load[filename] == false) { is_showcase_hotprice_v3_showcase_script_load[filename] = true; showcase_hotprice_v3_showcase_load_js(after_load); } } } script.onload = function() { if(is_showcase_hotprice_v3_showcase_script_load[filename] == false) { is_showcase_hotprice_v3_showcase_script_load[filename] = true; showcase_hotprice_v3_showcase_load_js(after_load); } } } } function showcase_hotprice_v3_showcase_load_js(type) { if(type == 'jquery') showcase_hotprice_v3_showcase_load_script("https://www.ittour.com.ua/classes/handlers/ittour_external_modules/ittour_modules/hottour_v3/js/showcase_hottour.min.js?i=" + file_version, 'prepare_showcase_form', 'hotprice_v3_script'); if(type == 'prepare_showcase_form'){ setTimeout(function(){ jqHT('#showcase_hotprice_v3_showcase_module').data('showcase_hotprice_v3_showcase_options', { 'modules_url' : 'https://www.ittour.com.ua/classes/handlers/ittour_external_modules/ittour_modules/' , 'modules_action' : 'https://www.ittour.com.ua/tour_search.php?callback=?&module_type=showcase&id=374572D1610752G1N127236&ver=&type=110&kind=50' , 'modules_param_action' : 'https://www.ittour.com.ua/search_param.php?callback=?&module_type=showcase&id=374572D1610752G1N127236&ver=&type=110&kind=50' , 'modules_action_full' : 'https://www.ittour.com.ua/tour_search.php?id=374572D1610752G1N127236&num=5&type=110' , 'modules_api_action' : 'https://api.ittour.com.ua/' , 'last_params' : 'id=374572D1610752G1N127236&num=5&type=110' , 'modules_id' : '374572D1610752G1N127236' , 'modules_popup_type' : 'div'// or 'window' , 'module_container' : '#showcase_hotprice_v3_showcase_module' , 'module_name' : 'showcase_hotprice_v3_' , 'add_tour_type' : 'add' , 'module_type' : '' , 'items_per_page' : '16' , 'show_items_per_page' : '16' , 'showcase_type' : '110' , 'res_type' : '65' , 'width_class' : '55' , 'module_paysystem' : 'liqpay' , 'paysystem_client_pay' : '0' , 'paysystem_commission' : '' }); itt_hottour_prepare_showcase_form(); document.getElementById('showcase_hotprice_v3_showcase_module').style.display = 'block'; }, 100); } } function showcase_hotprice_v3_showcase_start_js(no_confloct) { jQuery = no_confloct; showcase_hotprice_v3_showcase_load_js('prepare_showcase_form'); } function showcase_hotprice_v3_showcase_load_css() { showcase_hotprice_v3_showcase_load_stylesheet("https://www.ittour.com.ua/classes/handlers/ittour_external_modules/ittour_modules/hottour_v3/css/showcase_hottour_flat.min.css", 'hotprice_v3_styles'); showcase_hotprice_v3_showcase_load_stylesheet("https://www.ittour.com.ua/classes/handlers/ittour_external_modules/ittour_modules/hottour_v3/css/hottour_themes/beige.css", 'showcase_hotprice_v3_theme') ; showcase_hotprice_v3_showcase_load_js('jquery'); } function showcase_hotprice_v3_showcase_addLoadEvent(func) { var oldonload = window.onload; if (typeof window.onload != 'function') { window.onload = func; } else { window.onload = function() { if (oldonload) { oldonload(); } func(); } } } function itt_showcase_hotprice_v3_showcase_is_bot() { var agent = navigator.userAgent; agent = agent.toLowerCase(); if(agent.indexOf('google') != -1 || agent.indexOf('googlebot') != -1) { return 'google'; } if(agent.indexOf('yandex') != -1) { return 'yandex'; } if(agent.indexOf('stackrambler') != -1) { return 'rambler'; } if(agent.indexOf('yahoo') != -1) { return 'yahoo'; } if(agent.indexOf('msnbot') != -1) { return 'msnbot'; } return false; } if(!itt_showcase_hotprice_v3_showcase_is_bot()) { showcase_hotprice_v3_showcase_addLoadEvent(showcase_hotprice_v3_showcase_load_css); } var showcase_hotprice_v3_showcase_module = ''; showcase_hotprice_v3_showcase_module += '