console.log('PHP: ');console.log('PHP: Не нашли отель trivago SKroyal,Москва,СК-Роялhttps://www.googleapis.com/customsearch/v1?alt=json&cx=002350544079083536145:6hlkhsgpvda&key=AIzaSyAguua6Rj0AXwUqR6oUCGhc1e04ZII3yFk&q=%D0%B3%D0%BE%D1%81%D1%82%D0%B8%D0%BD%D0%B8%D1%86%D0%B0+%D0%A1%D0%9A-%D0%A0%D0%BE%D1%8F%D0%BB+%D0%9C%D0%BE%D1%81%D0%BA%D0%B2%D0%B0+site:trivago.ru');jQuery.getScript("http://sopt.ru/pimcore/static/js/frontend/geoip.js/", function(){
//alert(pimcore["location"]);
});
$("#table2").toggle();
$("#price_header").html(" " );
$("#price_header").css( "background-color" ,"white");
$("#price_header").css( "padding" ,"100px 0 450px 0 ");
$("#price_header").append('');
$( "#searchprices" ).click(function() {
if (typeof metrikaCounter != "undefined") {metrikaCounter.reachGoal('bookingbuttonclick');}
$.get( "http://sopt.ru/offers-notify.php?host=" );
var mainlink="";
var checkin_date=jQuery("#dateFrom").val();
var checkout_date=jQuery("#dateTo").val();
mainlink=mainlink.replace("CHECKINDAY", checkin_date.split(".")[0]);
mainlink=mainlink.replace("CHECKINMONTH", checkin_date.split(".")[1]);
mainlink=mainlink.replace("CHECKINYEAR", checkin_date.split(".")[2]);
mainlink=mainlink.replace("CHECKOUTDAY", checkout_date.split(".")[0]);
mainlink=mainlink.replace("CHECKOUTMONTH", checkout_date.split(".")[1]);
mainlink=mainlink.replace("CHECKOUTYEAR", checkout_date.split(".")[2]);
window.open(mainlink, 'booking', 'window settings');
return false;
});