text: //tealium universal tag - utag.loader ut4.0.201902121218, Copyright 2019 Tealium.com Inc. All Rights Reserved.
  if(typeof utag_err=='undefined')var utag_err=[];window._tealium_old_error=window._tealium_old_error||window.onerror||function(){};window.onerror=function(m,u,l){if(typeof u!=='undefined'&&u.indexOf('/utag.')>0&&utag_err.length<5)utag_err.push({e:m,s:u,l:l,t:'js'});window._tealium_old_error(m,u,l)};var utag_condload=false;try{(function(){function ul(src,a,b){a=document;b=a.createElement('script');b.language='javascript';b.type='text/javascript';b.src=src;a.getElementsByTagName('head')[0].appendChild(b)};if((""+document.cookie).match("utag_env_booking.com_main=(\/\/tags\.tiqcdn\.com\/utag\/booking\.com\/[^\S;]*)")){if(RegExp.$1.indexOf("/prod/")===-1){var s=RegExp.$1;while(s.indexOf("%")!=-1){s=decodeURIComponent(s);}s=s.replace(/\.\./g,"");ul(s);utag_condload=true;__tealium_default_path='//tags.tiqcdn.com/utag/booking.com/main/prod/';}}})();}catch(e){};if(typeof utag=="undefined"&&!utag_condload){var utag={id:"booking.com.main",o:{},sender:{},send:{},rpt:{ts:{a:new Date()}},dbi:[],db_log:[],loader:{q:[],lc:0,f:{},p:0,ol:0,wq:[],lq:[],bq:{},bk:{},rf:0,ri:0,rp:0,rq:[],ready_q:[],sendq:{"pending":0},run_ready_q:function(){for(var i=0;i<utag.loader.ready_q.length;i++){utag.DB("READY_Q:"+i);try{utag.loader.ready_q[i]()}catch(e){utag.DB(e)};}},lh:function(a,b,c){a=""+location.hostname;b=a.split(".");c=(/\.co\.|\.com\.|\.org\.|\.edu\.|\.net\.|\.asn\.|\...\.jp$/.test(a))?3:2;return b.splice(b.length-c,c).join(".");},WQ:function(a,b,c,d,g){utag.DB('WQ:'+utag.loader.wq.length);try{if(utag.udoname&&utag.udoname.indexOf(".")<0){utag.ut.merge(utag.data,window[utag.udoname],0);}
  if(utag.cfg.load_rules_at_wait){utag.handler.LR(utag.data);}}catch(e){utag.DB(e)};d=0;g=[];for(a=0;a<utag.loader.wq.length;a++){b=utag.loader.wq[a];b.load=utag.loader.cfg[b.id].load;if(b.load==4){this.f[b.id]=0;utag.loader.LOAD(b.id)}else if(b.load>0){g.push(b);d++;}else{this.f[b.id]=1;}}
  for(a=0;a<g.length;a++){utag.loader.AS(g[a]);}
  if(d==0){utag.loader.END();}},AS:function(a,b,c,d){utag.send[a.id]=a;if(typeof a.src=='undefined'){a.src=utag.cfg.path+((typeof a.name!='undefined')?a.name:'ut'+'ag.'+a.id+'.js')}
  a.src+=(a.src.indexOf('?')>0?'&':'?')+'utv='+(a.v?utag.cfg.template+a.v:utag.cfg.v);utag.rpt['l_'+a.id]=a.src;b=document;this.f[a.id]=0;if(a.load==2){utag.DB("Attach sync: "+a.src);a.uid=a.id;b.write('<script id="utag_'+a.id+'" src="'+a.src+'"></scr'+'ipt>')
  if(typeof a.cb!='undefined')a.cb();}else if(a.load==1||a.load==3){if(b.createElement){c='utag_booking.com.main_'+a.id;if(!b.getElementById(c)){d={src:a.src,id:c,uid:a.id,loc:a.loc}
  if(a.load==3){d.type="iframe"};if(typeof a.cb!='undefined')d.cb=a.cb;utag.ut.loader(d);}}}},GV:function(a,b,c){b={};for(c in a){if(a.hasOwnProperty(c)&&typeof a[c]!="function")b[c]=a[c];}
  return b},OU:function(a,b,c,d,f){try{if(typeof utag.data['cp.OPTOUTMULTI']!='undefined'){c=utag.loader.cfg;a=utag.ut.decode(utag.data['cp.OPTOUTMULTI']).split('|');for(d=0;d<a.length;d++){b=a[d].split(':');if(b[1]*1!==0){if(b[0].indexOf('c')==0){for(f in utag.loader.GV(c)){if(c[f].tcat==b[0].substring(1))c[f].load=0}}else if(b[0]*1==0){utag.cfg.nocookie=true}else{for(f in utag.loader.GV(c)){if(c[f].tid==b[0])c[f].load=0}}}}}}catch(e){utag.DB(e)}},RDdom:function(o){var d=document||{},l=location||{};o["dom.referrer"]=d.referrer;o["dom.title"]=""+d.title;o["dom.domain"]=""+l.hostname;o["dom.query_string"]=(""+l.search).substring(1);o["dom.hash"]=(""+l.hash).substring(1);o["dom.url"]=""+d.URL;o["dom.pathname"]=""+l.pathname;o["dom.viewport_height"]=window.innerHeight||(d.documentElement?d.documentElement.clientHeight:960);o["dom.viewport_width"]=window.innerWidth||(d.documentElement?d.documentElement.clientWidth:960);},RDcp:function(o,b,c,d){b=utag.loader.RC();for(d in b){if(d.match(/utag_(.*)/)){for(c in utag.loader.GV(b[d])){o["cp.utag_"+RegExp.$1+"_"+c]=b[d][c];}}}
  for(c in utag.loader.GV((utag.cl&&!utag.cl['_all_'])?utag.cl:b)){if(c.indexOf("utag_")<0&&typeof b[c]!="undefined")o["cp."+c]=b[c];}
  },RDqp:function(o,a,b,c){a=location.search+(location.hash+'').replace("#","&");if(utag.cfg.lowerqp){a=a.toLowerCase()};if(a.length>1){b=a.substring(1).replace(/;/g,"&").split('&');for(a=0;a<b.length;a++){c=b[a].split("=");if(c.length>1){o["qp."+c[0]]=utag.ut.decode(c[1])}}}},RDmeta:function(o,a,b,h){a=document.getElementsByTagName("meta");for(b=0;b<a.length;b++){try{h=a[b].name||a[b].getAttribute("property")||"";}catch(e){h="";utag.DB(e)};if(utag.cfg.lowermeta){h=h.toLowerCase()};if(h!=""){o["meta."+h]=a[b].content}}},RDva:function(o){var readAttr=function(o,l){var a="",b;a=localStorage.getItem(l);if(!a||a=="{}")return;b=utag.ut.flatten({va:JSON.parse(a)});utag.ut.merge(o,b,1);}
  try{readAttr(o,"tealium_va");readAttr(o,"tealium_va_"+o["ut.account"]+"_"+o["ut.profile"]);}catch(e){utag.DB(e)}},RDut:function(o,a){var t={};var d=new Date();var m=(utag.ut.typeOf(d.toISOString)=="function");o["ut.domain"]=utag.cfg.domain;o["ut.version"]=utag.cfg.v;t["tealium_event"]=o["ut.event"]=a||"view";t["tealium_visitor_id"]=o["ut.visitor_id"]=o["cp.utag_main_v_id"];t["tealium_session_id"]=o["ut.session_id"]=o["cp.utag_main_ses_id"];try{t["tealium_datasource"]=utag.cfg.datasource;t["tealium_account"]=o["ut.account"]=utag.cfg.utid.split("/")[0];t["tealium_profile"]=o["ut.profile"]=utag.cfg.utid.split("/")[1];t["tealium_environment"]=o["ut.env"]=utag.cfg.path.split("/")[6];}catch(e){utag.DB(e)}
  t["tealium_random"]=Math.random().toFixed(16).substring(2);t["tealium_library_name"]="ut"+"ag.js";t["tealium_library_version"]=(utag.cfg.template+"0").substring(2);t["tealium_timestamp_epoch"]=Math.floor(d.getTime()/1000);t["tealium_timestamp_utc"]=(m?d.toISOString():"");d.setHours(d.getHours()-(d.getTimezoneOffset()/60));t["tealium_timestamp_local"]=(m?d.toISOString().replace("Z",""):"");utag.ut.merge(o,t,0);},RDses:function(o,a,c){a=(new Date()).getTime();c=(a+parseInt(utag.cfg.session_timeout))+"";if(!o["cp.utag_main_ses_id"]){o["cp.utag_main_ses_id"]=a+"";o["cp.utag_main__ss"]="1";o["cp.utag_main__sn"]=(1+parseInt(o["cp.utag_main__sn"]||0))+"";}else{o["cp.utag_main__ss"]="0";}
  o["cp.utag_main__pn"]=o["cp.utag_main__pn"]||"1";o["cp.utag_main__st"]=c;utag.loader.SC("utag_main",{"_sn":(o["cp.utag_main__sn"]||1),"_ss":o["cp.utag_main__ss"],"_st":c,"ses_id":(o["cp.utag_main_ses_id"]||a)+";exp-session","_pn":o["cp.utag_main__pn"]+";exp-session"});},RDpv:function(o){if(typeof utag.pagevars=="function"){utag.DB("Read page variables");utag.pagevars(o);}},RD:function(o,a){utag.DB("utag.loader.RD");utag.DB(o);utag.loader.RDcp(o);if(!utag.loader.rd_flag){utag.loader.rd_flag=1;o["cp.utag_main_v_id"]=o["cp.utag_main_v_id"]||utag.ut.vi((new Date()).getTime());o["cp.utag_main__pn"]=(1+parseInt(o["cp.utag_main__pn"]||0))+"";utag.loader.SC("utag_main",{"v_id":o["cp.utag_main_v_id"]});utag.loader.RDses(o);}
  if(a&&!utag.cfg.noview)utag.loader.RDses(o);utag.loader.RDqp(o);utag.loader.RDmeta(o);utag.loader.RDdom(o);utag.loader.RDut(o,a||"view");utag.loader.RDpv(o);utag.loader.RDva(o);},RC:function(a,x,b,c,d,e,f,g,h,i,j,k,l,m,n,o,v,ck,cv,r,s,t){o={};b=(""+document.cookie!="")?(document.cookie).split("; "):[];r=/^(.*?)=(.*)$/;s=/^(.*);exp-(.*)$/;t=(new Date()).getTime();for(c=0;c<b.length;c++){if(b[c].match(r)){ck=RegExp.$1;cv=RegExp.$2;}
  e=utag.ut.decode(cv);if(typeof ck!="undefined"){if(ck.indexOf("ulog")==0||ck.indexOf("utag_")==0){e=cv.split("$");g=[];j={};for(f=0;f<e.length;f++){try{g=e[f].split(":");if(g.length>2){g[1]=g.slice(1).join(":");}
  v="";if((""+g[1]).indexOf("~")==0){h=g[1].substring(1).split("|");for(i=0;i<h.length;i++)h[i]=utag.ut.decode(h[i]);v=h}else v=utag.ut.decode(g[1]);j[g[0]]=v;}catch(er){utag.DB(er)};}
  o[ck]={};for(f in utag.loader.GV(j)){if(j[f]instanceof Array){n=[];for(m=0;m<j[f].length;m++){if(j[f][m].match(s)){k=(RegExp.$2=="session")?(typeof j._st!="undefined"?j._st:t-1):parseInt(RegExp.$2);if(k>t)n[m]=(x==0)?j[f][m]:RegExp.$1;}}
  j[f]=n.join("|");}else{j[f]=""+j[f];if(j[f].match(s)){k=(RegExp.$2=="session")?(typeof j._st!="undefined"?j._st:t-1):parseInt(RegExp.$2);j[f]=(k<t)?null:(x==0?j[f]:RegExp.$1);}}
  if(j[f])o[ck][f]=j[f];}}else if(utag.cl[ck]||utag.cl['_all_']){o[ck]=e}}}
  return(a)?(o[a]?o[a]:{}):o;},SC:function(a,b,c,d,e,f,g,h,i,j,k,x,v){if(!a)return 0;if(a=="utag_main"&&utag.cfg.nocookie)return 0;v="";var date=new Date();var exp=new Date();exp.setTime(date.getTime()+(365*24*60*60*1000));x=exp.toGMTString();if(c&&c=="da"){x="Thu, 31 Dec 2009 00:00:00 GMT";}else if(a.indexOf("utag_")!=0&&a.indexOf("ulog")!=0){if(typeof b!="object"){v=b}}else{d=utag.loader.RC(a,0);for(e in utag.loader.GV(b)){f=""+b[e];if(f.match(/^(.*);exp-(\d+)(\w)$/)){g=date.getTime()+parseInt(RegExp.$2)*((RegExp.$3=="h")?3600000:86400000);if(RegExp.$3=="u")g=parseInt(RegExp.$2);f=RegExp.$1+";exp-"+g;}
  if(c=="i"){if(d[e]==null)d[e]=f;}else if(c=="d")delete d[e];else if(c=="a")d[e]=(d[e]!=null)?(f-0)+(d[e]-0):f;else if(c=="ap"||c=="au"){if(d[e]==null)d[e]=f;else{if(d[e].indexOf("|")>0){d[e]=d[e].split("|")}
  g=(d[e]instanceof Array)?d[e]:[d[e]];g.push(f);if(c=="au"){h={};k={};for(i=0;i<g.length;i++){if(g[i].match(/^(.*);exp-(.*)$/)){j=RegExp.$1;}
  if(typeof k[j]=="undefined"){k[j]=1;h[g[i]]=1;}}
  g=[];for(i in utag.loader.GV(h)){g.push(i);}}
  d[e]=g}}else d[e]=f;}
  h=new Array();for(g in utag.loader.GV(d)){if(d[g]instanceof Array){for(c=0;c<d[g].length;c++){d[g][c]=encodeURIComponent(d[g][c])}
  h.push(g+":~"+d[g].join("|"))}else h.push((g+":").replace(/[\,\$\;\?]/g,"")+encodeURIComponent(d[g]))}
  if(h.length==0){h.push("");x=""}
  v=(h.join("$"));}
  document.cookie=a+"="+v+";path=/;domain="+utag.cfg.domain+";expires="+x;return 1},LOAD:function(a,b,c,d){if(!utag.loader.cfg){return}
  if(this.ol==0){if(utag.loader.cfg[a].block&&utag.loader.cfg[a].cbf){this.f[a]=1;delete utag.loader.bq[a];}
  for(b in utag.loader.GV(utag.loader.bq)){if(utag.loader.cfg[a].load==4&&utag.loader.cfg[a].wait==0){utag.loader.bk[a]=1;utag.DB("blocked: "+a);}
  utag.DB("blocking: "+b);return;}
  utag.loader.INIT();return;}
  utag.DB('utag.loader.LOAD:'+a);if(this.f[a]==0){this.f[a]=1;if(utag.cfg.noview!=true){if(utag.loader.cfg[a].send){utag.DB("SENDING: "+a);try{if(utag.loader.sendq.pending>0&&utag.loader.sendq[a]){utag.DB("utag.loader.LOAD:sendq: "+a);while(d=utag.loader.sendq[a].shift()){utag.DB(d);utag.sender[a].send(d.event,utag.handler.C(d.data));utag.loader.sendq.pending--;}}else{utag.sender[a].send('view',utag.handler.C(utag.data));}
  utag.rpt['s_'+a]=0;}catch(e){utag.DB(e);utag.rpt['s_'+a]=1;}}}
  if(utag.loader.rf==0)return;for(b in utag.loader.GV(this.f)){if(this.f[b]==0||this.f[b]==2)return}
  utag.loader.END();}},EV:function(a,b,c,d){if(b=="ready"){if(!utag.data){try{utag.cl={'_all_':1};utag.loader.initdata();utag.loader.RD(utag.data);}catch(e){utag.DB(e)};}
  if((document.attachEvent||utag.cfg.dom_complete)?document.readyState==="complete":document.readyState!=="loading")setTimeout(c,1);else{utag.loader.ready_q.push(c);var RH;if(utag.loader.ready_q.length<=1){if(document.addEventListener){RH=function(){document.removeEventListener("DOMContentLoaded",RH,false);utag.loader.run_ready_q()};if(!utag.cfg.dom_complete)document.addEventListener("DOMContentLoaded",RH,false);window.addEventListener("load",utag.loader.run_ready_q,false);}else if(document.attachEvent){RH=function(){if(document.readyState==="complete"){document.detachEvent("onreadystatechange",RH);utag.loader.run_ready_q()}};document.attachEvent("onreadystatechange",RH);window.attachEvent("onload",utag.loader.run_ready_q);}}}}else{if(a.addEventListener){a.addEventListener(b,c,false)}else if(a.attachEvent){a.attachEvent(((d==1)?"":"on")+b,c)}}},END:function(b,c,d,e,v,w){if(this.ended){return};this.ended=1;utag.DB("loader.END");b=utag.data;if(utag.handler.base&&utag.handler.base!='*'){e=utag.handler.base.split(",");for(d=0;d<e.length;d++){if(typeof b[e[d]]!="undefined")utag.handler.df[e[d]]=b[e[d]]}}else if(utag.handler.base=='*'){utag.ut.merge(utag.handler.df,b,1);}
  utag.rpt['r_0']="t";for(var r in utag.loader.GV(utag.cond)){utag.rpt['r_'+r]=(utag.cond[r])?"t":"f";}
  utag.rpt.ts['s']=new Date();(function(a,b,c,l){if(typeof utag_err!='undefined'&&utag_err.length>0){a='//uconnect.tealiumiq.com/ulog/_error?utid='+utag.cfg.utid;l=utag_err.length>5?5:utag_err.length;for(b=0;b<l;b++){c=utag_err[b];a+='&e'+b+'='+encodeURIComponent(c.t+'::'+c.l+'::'+c.s+'::'+c.e);}
  utag.dbi.push((new Image()).src=a);}})();v=utag.cfg.path;w=v.indexOf(".tiqcdn.");if(w>0&&b["cp.utag_main__ss"]==1&&!utag.cfg.no_session_count)utag.ut.loader({src:v.substring(0,v.indexOf("/ut"+"ag/")+6)+"tiqapp/ut"+"ag.v.js?a="+utag.cfg.utid+(utag.cfg.nocookie?"&nocookie=1":"&cb="+(new Date).getTime()),id:"tiqapp"})
  if(utag.cfg.noview!=true)utag.handler.RE('view',b,"end");utag.handler.INIT();}},DB:function(a,b){if(utag.cfg.utagdb===false){return;}else if(typeof utag.cfg.utagdb=="undefined"){b=document.cookie+'';utag.cfg.utagdb=((b.indexOf('utagdb=true')>=0)?true:false);}
  if(utag.cfg.utagdb===true){var t;if(utag.ut.typeOf(a)=="object"){t=utag.handler.C(a)}else{t=a}
  utag.db_log.push(t);try{if(!utag.cfg.noconsole)console.log(t)}catch(e){}}},RP:function(a,b,c){if(typeof a!='undefined'&&typeof a.src!='undefined'&&a.src!=''){b=[];for(c in utag.loader.GV(a)){if(c!='src')b.push(c+'='+escape(a[c]))}
  this.dbi.push((new Image()).src=a.src+'?utv='+utag.cfg.v+'&utid='+utag.cfg.utid+'&'+(b.join('&')))}},view:function(a,c,d){return this.track({event:'view',data:a,cfg:{cb:c,uids:d}})},link:function(a,c,d){return this.track({event:'link',data:a,cfg:{cb:c,uids:d}})},track:function(a,b,c,d){if(typeof a=="string")a={event:a,data:b,cfg:{cb:c}};for(d in utag.loader.GV(utag.o)){try{utag.o[d].handler.trigger(a.event||"view",a.data||a,a.cfg)}catch(e){utag.DB(e)};}
  if(a.cfg&&a.cfg.cb)try{a.cfg.cb()}catch(e){utag.DB(e)};return true},handler:{base:"",df:{},o:{},send:{},iflag:0,INIT:function(a,b,c){utag.DB('utag.handler.INIT');if(utag.initcatch){utag.initcatch=0;return}
  this.iflag=1;a=utag.loader.q.length;if(a>0){utag.DB("Loader queue");for(b=0;b<a;b++){c=utag.loader.q[b];utag.handler.trigger(c.a,c.b,c.c)}}
  },test:function(){return 1},LR:function(b){utag.DB("Load Rules");for(var d in utag.loader.GV(utag.cond)){utag.cond[d]=false;}
  utag.DB(b);utag.loader.loadrules(b);utag.DB(utag.cond);utag.loader.initcfg();utag.loader.OU();for(var r in utag.loader.GV(utag.cond)){utag.rpt['r_'+r]=(utag.cond[r])?"t":"f";}},RE:function(a,b,c,d,e,f,g){if(c!="alr"&&!this.cfg_extend){return 0;}
  utag.DB("RE: "+c);if(c=="alr")utag.DB("All Tags EXTENSIONS");utag.DB(b);if(typeof this.extend!="undefined"){g=0;for(d=0;d<this.extend.length;d++){try{e=0;if(typeof this.cfg_extend!="undefined"){f=this.cfg_extend[d];if(typeof f.count=="undefined")f.count=0;if(f[a]==0||(f.once==1&&f.count>0)||f[c]==0){e=1}else{if(f[c]==1){g=1};f.count++}}
  if(e!=1){this.extend[d](a,b);utag.rpt['ex_'+d]=0}}catch(er){utag.DB(er);utag.rpt['ex_'+d]=1;utag.ut.error({e:er.message,s:utag.cfg.path+'utag.js',l:d,t:'ge'});}}
  utag.DB(b);return g;}},trigger:function(a,b,c,d,e,f){utag.DB('trigger:'+a+(c&&c.uids?":"+c.uids.join(","):""));b=b||{};utag.DB(b);if(!this.iflag){utag.DB("trigger:called before tags loaded");for(d in utag.loader.f){if(!(utag.loader.f[d]===1))utag.DB('Tag '+d+' did not LOAD')}
  utag.loader.q.push({a:a,b:utag.handler.C(b),c:c});return;}
  utag.ut.merge(b,this.df,0);utag.loader.RD(b,a);utag.cfg.noview=false;function sendTag(a,b,d){try{if(typeof utag.sender[d]!="undefined"){utag.DB("SENDING: "+d);utag.sender[d].send(a,utag.handler.C(b));utag.rpt['s_'+d]=0;}else if(utag.loader.cfg[d].load!=2){utag.loader.sendq[d]=utag.loader.sendq[d]||[];utag.loader.sendq[d].push({"event":a,"data":utag.handler.C(b)});utag.loader.sendq.pending++;utag.loader.AS({id:d,load:1});}}catch(e){utag.DB(e)}}
  if(c&&c.uids){this.RE(a,b,"alr");for(f=0;f<c.uids.length;f++){d=c.uids[f];sendTag(a,b,d);}}else if(utag.cfg.load_rules_ajax){this.RE(a,b,"blr");this.LR(b);this.RE(a,b,"alr");for(f=0;f<utag.loader.cfgsort.length;f++){d=utag.loader.cfgsort[f];if(utag.loader.cfg[d].load&&utag.loader.cfg[d].send){sendTag(a,b,d);}}}else{this.RE(a,b,"alr");for(d in utag.loader.GV(utag.sender)){sendTag(a,b,d);}}
  this.RE(a,b,"end");},C:function(a,b,c){b={};for(c in utag.loader.GV(a)){if(a[c]instanceof Array){b[c]=a[c].slice(0)}else{b[c]=a[c]}}
  return b}},ut:{pad:function(a,b,c,d){a=""+((a-0).toString(16));d='';if(b>a.length){for(c=0;c<(b-a.length);c++){d+='0'}}return""+d+a},vi:function(t,a,b){if(!utag.v_id){a=this.pad(t,12);b=""+Math.random();a+=this.pad(b.substring(2,b.length),16);try{a+=this.pad((navigator.plugins.length?navigator.plugins.length:0),2);a+=this.pad(navigator.userAgent.length,3);a+=this.pad(document.URL.length,4);a+=this.pad(navigator.appVersion.length,3);a+=this.pad(screen.width+screen.height+parseInt((screen.colorDepth)?screen.colorDepth:screen.pixelDepth),5)}catch(e){utag.DB(e);a+="12345"};utag.v_id=a;}
  return utag.v_id},hasOwn:function(o,a){return o!=null&&Object.prototype.hasOwnProperty.call(o,a)},isEmptyObject:function(o,a){for(a in o){if(utag.ut.hasOwn(o,a))return false}
  return true},isEmpty:function(o){var t=utag.ut.typeOf(o);if(t=="number"){return isNaN(o)}else if(t=="boolean"){return false}else if(t=="string"){return o.length===0}else return utag.ut.isEmptyObject(o)},typeOf:function(e){return({}).toString.call(e).match(/\s([a-zA-Z]+)/)[1].toLowerCase();},flatten:function(o){var a={};function r(c,p){if(Object(c)!==c||c instanceof Array){a[p]=c;}else{if(utag.ut.isEmptyObject(c)){}else{for(var d in c){r(c[d],p?p+"."+d:d);}}}}
  r(o,"");return a;},merge:function(a,b,c,d){if(c){for(d in utag.loader.GV(b)){a[d]=b[d]}}else{for(d in utag.loader.GV(b)){if(typeof a[d]=="undefined")a[d]=b[d]}}},decode:function(a,b){b="";try{b=decodeURIComponent(a)}catch(e){utag.DB(e)};if(b==""){b=unescape(a)};return b},encode:function(a,b){b="";try{b=encodeURIComponent(a)}catch(e){utag.DB(e)};if(b==""){b=escape(a)};return b},error:function(a,b,c){if(typeof utag_err!="undefined"){utag_err.push(a)}},loader:function(o,a,b,c,l,m){utag.DB(o);a=document;if(o.type=="iframe"){m=a.getElementById(o.id);if(m&&m.tagName=="IFRAME"){m.parentNode.removeChild(m);}
  b=a.createElement("iframe");o.attrs=o.attrs||{};utag.ut.merge(o.attrs,{"height":"1","width":"1","style":"display:none"},0);}else if(o.type=="img"){utag.DB("Attach img: "+o.src);b=new Image();}else{b=a.createElement("script");b.language="javascript";b.type="text/javascript";b.async=1;b.charset="utf-8";}
  if(o.id){b.id=o.id};for(l in utag.loader.GV(o.attrs)){b.setAttribute(l,o.attrs[l])}
  b.setAttribute("src",o.src);if(typeof o.cb=="function"){if(b.addEventListener){b.addEventListener("load",function(){o.cb()},false);}else{b.onreadystatechange=function(){if(this.readyState=='complete'||this.readyState=='loaded'){this.onreadystatechange=null;o.cb()}};}}
  if(typeof o.error=="function"){utag.loader.EV(b,"error",o.error);}
  if(o.type!="img"){l=o.loc||"head";c=a.getElementsByTagName(l)[0];if(c){utag.DB("Attach to "+l+": "+o.src);if(l=="script"){c.parentNode.insertBefore(b,c);}else{c.appendChild(b)}}}}}};utag.o['booking.com.main']=utag;utag.cfg={template:"ut4.45.",load_rules_ajax:true,load_rules_at_wait:false,lowerqp:false,noconsole:false,session_timeout:1800000,readywait:0,noload:0,domain:utag.loader.lh(),datasource:"##UTDATASOURCE##".replace("##"+"UTDATASOURCE##",""),path:"//tags.tiqcdn.com/utag/booking.com/main/prod/",utid:"booking.com/main/201902121218"};utag.cfg.v=utag.cfg.template+"201902121218";try{var _gaq=_gaq||[];var pageTracker=pageTracker||{_trackEvent:function(c,d,e,f,g){g={ga_eventCat:c,ga_eventAction:d,ga_eventLabel:e,ga_eventValue:f};utag.link(g,null,[537]);},_trackPageview:function(c){_gaq.push(['_trackPageview',c?c:null]);}}}catch(e){};utag.cond={100:0,103:0,104:0,107:0,112:0,113:0,120:0,122:0,126:0,130:0,138:0,139:0,13:0,140:0,143:0,148:0,149:0,151:0,154:0,156:0,158:0,161:0,163:0,165:0,168:0,172:0,176:0,178:0,179:0,17:0,181:0,183:0,185:0,187:0,188:0,189:0,18:0,192:0,193:0,194:0,195:0,196:0,197:0,202:0,203:0,205:0,207:0,20:0,223:0,227:0,230:0,232:0,233:0,234:0,241:0,242:0,244:0,248:0,249:0,254:0,257:0,258:0,259:0,260:0,264:0,266:0,267:0,269:0,271:0,27:0,283:0,29:0,2:0,306:0,307:0,314:0,315:0,317:0,318:0,321:0,322:0,337:0,35:0,3:0,4:0,50:0,52:0,54:0,5:0,68:0,69:0,70:0,71:0,72:0,74:0,75:0,76:0,77:0,83:0,86:0,89:0,91:0,92:0,96:0,98:0,99:0};utag.pagevars=function(ud){ud=ud||utag.data;try{ud['js_page.booking.env.b_real_action']=booking.env.b_real_action}catch(e){utag.DB(e)};try{ud['js_page.booking.env.b_guest_country']=booking.env.b_guest_country}catch(e){utag.DB(e)};try{ud['js_page.booking.env.b_landingpage_theme']=booking.env.b_landingpage_theme}catch(e){utag.DB(e)};};utag.loader.chkCanRunTime=function(s,e,d,t,o,i){try{o={is:[s,e],dt:[],tm:[],hd:0,ms:0};for(i=0;i<2;i++){d=o.is[i].substring(0,8);t=o.is[i].substring(8);o.dt[i]=new Date();if(d!=='--------'){o.dt[i].setFullYear(d.substring(0,4));o.dt[i].setMonth(parseInt(d.substring(4,6))-1);o.dt[i].setDate(d.substring(6,8));}if(t!=='----'){o.dt[i].setHours(t.substring(0,2));o.dt[i].setMinutes(t.substring(2,4));}else{o.dt[i].setHours(o.hd);o.dt[i].setMinutes(o.ms);}o.dt[i].setSeconds(o.ms);o.tm[i]=o.dt[i].getTime();o.hd=23;o.ms=59;}o.n=new Date().getTime();return(o.n>=o.tm[0]&&o.n<=o.tm[1]);}catch(e){return false;}};utag.loader.initdata=function(){try{utag.data=(typeof utag_data!='undefined')?utag_data:{};utag.udoname='utag_data';}catch(e){utag.data={};utag.DB('idf:'+e);}};utag.loader.loadrules=function(_pd,_pc){var d=_pd||utag.data;var c=_pc||utag.cond;for(var l in utag.loader.GV(c)){switch(l){case'100':try{c[100]|=(d['partner_id']=='464295')}catch(e){utag.DB(e)};break;case'103':try{c[103]|=(/^(383337|383338)$/.test(d['ai']))}catch(e){utag.DB(e)};break;case'104':try{c[104]|=(d['site']=='mobile')}catch(e){utag.DB(e)};break;case'107':try{c[107]|=(d['partner_id']=='463573')||(d['partner_id']=='617817')}catch(e){utag.DB(e)};break;case'112':try{c[112]|=(d['fbp']!='0')||(typeof d['fbp']=='undefined')}catch(e){utag.DB(e)};break;case'113':try{c[113]|=(/^(376483|376484|376485|376486|377071|377072|377073|377074)$/.test(d['ai']))}catch(e){utag.DB(e)};break;case'120':try{c[120]|=(d['partner_id']=='470723')||(d['partner_id']=='617803')}catch(e){utag.DB(e)};break;case'122':try{c[122]|=(d['action']=='searchresults')}catch(e){utag.DB(e)};break;case'126':try{c[126]|=(d['hotel_id'].toString().indexOf('245881')<0)}catch(e){utag.DB(e)};break;case'13':try{c[13]|=(d['ai']=='358443')}catch(e){utag.DB(e)};break;case'130':try{c[130]|=(d['partner_id']=='468136')}catch(e){utag.DB(e)};break;case'138':try{c[138]|=(/^(hotel|searchresults|index|cross_product_index|book|city|region|country|landmark|district|airport|destinationfinder|articles)$/.test(d['action']))||(/^(confirmation|myreservations)$/.test(d['action'])&&d['n_b']=='1')}catch(e){utag.DB(e)};break;case'139':try{c[139]|=(d['partner_id']=='455156')}catch(e){utag.DB(e)};break;case'140':try{c[140]|=(/^(hotel|searchresults|index|cross_product_index|book|city|airport|district|landmark)$/.test(d['action']))}catch(e){utag.DB(e)};break;case'143':try{c[143]|=(/^(813843|813844|813845|813846|813847|813848|813849|813850|813851|813852|813853|813854|813855)$/.test(d['ai']))}catch(e){utag.DB(e)};break;case'148':try{c[148]|=(d['partner_id']=='477441')}catch(e){utag.DB(e)};break;case'149':try{c[149]|=(d['partner_id']=='477444')}catch(e){utag.DB(e)};break;case'151':try{c[151]|=(d['partner_id']=='404815')}catch(e){utag.DB(e)};break;case'154':try{c[154]|=(d['partner_id']=='475198')}catch(e){utag.DB(e)};break;case'156':try{c[156]|=(/^(0|1|2|3)$/.test(d['exp2']))}catch(e){utag.DB(e)};break;case'158':try{c[158]|=(d['partner_id']=='597041')}catch(e){utag.DB(e)};break;case'161':try{c[161]|=(d['partner_id']=='481010')}catch(e){utag.DB(e)};break;case'163':try{c[163]|=(d['partner_id']=='479206')}catch(e){utag.DB(e)};break;case'165':try{c[165]|=(d['partner_id']=='477424')}catch(e){utag.DB(e)};break;case'168':try{c[168]|=(d['partner_id']=='429396')}catch(e){utag.DB(e)};break;case'17':try{c[17]|=(d['ai']=='358450')}catch(e){utag.DB(e)};break;case'172':try{c[172]|=(d['partner_id']=='431843')}catch(e){utag.DB(e)};break;case'176':try{c[176]|=(d['user_location'].toString().toLowerCase()!='cn'.toLowerCase())}catch(e){utag.DB(e)};break;case'178':try{c[178]|=(d['partner_id']=='459876')}catch(e){utag.DB(e)};break;case'179':try{c[179]|=(d['cp.utag_main__ss']=='1')}catch(e){utag.DB(e)};break;case'18':try{c[18]|=(d['n_b']=='1'&&/^(confirmation|myreservations)$/.test(d['action']))}catch(e){utag.DB(e)};break;case'181':try{c[181]|=(/^(489057)$/.test(d['partner_id']))}catch(e){utag.DB(e)};break;case'183':try{c[183]|=(d['partner_id']=='428550')}catch(e){utag.DB(e)};break;case'185':try{c[185]|=(d['partner_id']=='483058')}catch(e){utag.DB(e)};break;case'187':try{c[187]|=(d['partner_id']=='484822')}catch(e){utag.DB(e)};break;case'188':try{c[188]|=(d['partner_id']=='484819')}catch(e){utag.DB(e)};break;case'189':try{c[189]|=(d['partner_id']=='482627')}catch(e){utag.DB(e)};break;case'192':try{c[192]|=(d['dom.viewport_height'].toString().indexOf('492629')>-1)}catch(e){utag.DB(e)};break;case'193':try{c[193]|=(d['partner_id']=='456114')}catch(e){utag.DB(e)};break;case'194':try{c[194]|=(d['action']=='business')}catch(e){utag.DB(e)};break;case'195':try{c[195]|=(d['action']=='companysignup')}catch(e){utag.DB(e)};break;case'196':try{c[196]|=(d['action']=='company')}catch(e){utag.DB(e)};break;case'197':try{c[197]|=(d['partner_id']=='492418')}catch(e){utag.DB(e)};break;case'2':try{c[2]|=(/^(index|cross_product_index)$/.test(d['action']))}catch(e){utag.DB(e)};break;case'20':try{c[20]|=(/^(hotel|searchresults|index|cross_product_index|book|interests|destinationfinder|city|region|country|landmark|airport|district|apps|articles)$/.test(d['action']))}catch(e){utag.DB(e)};break;case'202':try{c[202]|=(d['partner_id']=='499261')}catch(e){utag.DB(e)};break;case'203':try{c[203]|=(d['partner_id']=='500442')}catch(e){utag.DB(e)};break;case'205':try{c[205]|=(d['partner_id']=='500458')}catch(e){utag.DB(e)};break;case'207':try{c[207]|=(d['partner_id']=='433948')}catch(e){utag.DB(e)};break;case'223':try{c[223]|=(d['partner_id']=='429549')}catch(e){utag.DB(e)};break;case'227':try{c[227]|=(d['partner_id']=='414074')}catch(e){utag.DB(e)};break;case'230':try{c[230]|=(d['partner_id']=='443750')}catch(e){utag.DB(e)};break;case'232':try{c[232]|=(/^(au|br|ca|de|es|fr|gb|it|jp|us|se|pl|cl|dk|fi|pt|gr|ar|ie|th|ru|nl|sg|hu|ae|hk|mx|my|uy|py)$/.test(d['user_location']))}catch(e){utag.DB(e)};break;case'233':try{c[233]|=(d['partner_id']=='457712')}catch(e){utag.DB(e)};break;case'234':try{c[234]|=(d['partner_id']=='423463')}catch(e){utag.DB(e)};break;case'241':try{c[241]|=(/_clkid-[-@0-9a-zA-Z]{24}/.test(d['label']))}catch(e){utag.DB(e)};break;case'242':try{c[242]|=(d['partner_id']=='521611')}catch(e){utag.DB(e)};break;case'244':try{c[244]|=(d['partner_id']=='528900')}catch(e){utag.DB(e)};break;case'248':try{c[248]|=(d['partner_id'].toString().indexOf('572933')>-1)}catch(e){utag.DB(e)};break;case'249':try{c[249]|=(d['partner_id']=='589390')}catch(e){utag.DB(e)};break;case'254':try{c[254]|=(/^(hotel|searchresults|index|cross_product_index|book|interests|destinationfinder|city|region|country|landmark|airport|district)$/.test(d['action'])&&parseFloat(d['cp.utag_main__pn'])<=parseFloat(10))||(d['action']=='book')}catch(e){utag.DB(e)};break;case'257':try{c[257]|=(d['site']=='bookings2')||(/^((?!gb)(?!se)(?!es)(?!si)(?!sk)(?!ro)(?!pt)(?!pl)(?!nl)(?!mt)(?!lu)(?!lt)(?!lv)(?!it)(?!ie)(?!hu)(?!gr)(?!de)(?!fr)(?!fi)(?!ee)(?!dk)(?!cz)(?!cy)(?!hr)(?!bg)(?!be)(?!at).)*$/.test(d['user_location'])&&/^(mobile|tablet)$/.test(d['site']))}catch(e){utag.DB(e)};break;case'258':try{c[258]|=(d['user_location']=='cn')||(typeof d['js_page.booking.env.b_guest_country']!='undefined'&&d['js_page.booking.env.b_guest_country']!=''&&d['js_page.booking.env.b_guest_country']=='cn')}catch(e){utag.DB(e)};break;case'259':try{c[259]|=(d['partner_id']=='609149')}catch(e){utag.DB(e)};break;case'260':try{c[260]|=(d['partner_id']=='614844')}catch(e){utag.DB(e)};break;case'264':try{c[264]|=(d['android_test'].toString().indexOf('test')>-1)}catch(e){utag.DB(e)};break;case'266':try{c[266]|=(/^(4|14|16|19)$/.test(d['channel_id']))}catch(e){utag.DB(e)};break;case'267':try{c[267]|=(d['ai']=='1271787')}catch(e){utag.DB(e)};break;case'269':try{c[269]|=(d['partner_id']=='641224')}catch(e){utag.DB(e)};break;case'27':try{c[27]|=(d['user_location']=='us')}catch(e){utag.DB(e)};break;case'271':try{c[271]|=(/^(813843|813844|813845|813846|813847|813848|813849|813850|813851|813852|813853|813854|813855|840247|840248|1200854|1325525|1325526|1346023|1141056|1271787)$/.test(d['ai']))}catch(e){utag.DB(e)};break;case'283':try{c[283]|=(d['site'].toString().indexOf('tablet')<0)}catch(e){utag.DB(e)};break;case'29':try{c[29]|=(d['site']=='bookings2')}catch(e){utag.DB(e)};break;case'3':try{c[3]|=(/^(searchresults|city|region|country|landmark|airport|district|continent|destinationfinder)$/.test(d['action']))}catch(e){utag.DB(e)};break;case'306':try{c[306]|=(d['action']=='business')||(d['action']=='company')}catch(e){utag.DB(e)};break;case'307':try{c[307]|=(d['dom.url'].toString().indexOf('secure.booking.com/companyjoin')>-1)}catch(e){utag.DB(e)};break;case'314':try{c[314]|=(d['gst']=='1')}catch(e){utag.DB(e)};break;case'315':try{c[315]|=(typeof d['exp_rmkt_test']=='undefined')||(d['exp_rmkt_test'].toString().toLowerCase()=='de_on'.toLowerCase())||(d['exp_rmkt_test'].toString().toLowerCase()=='global_on'.toLowerCase())}catch(e){utag.DB(e)};break;case'317':try{c[317]|=(d['ai']=='340295')||(d['ai']=='344335')||(d['ai']=='340289')||(d['ai']=='340303')||(d['ai']=='344323')||(d['ai']=='340296')}catch(e){utag.DB(e)};break;case'318':try{c[318]|=(d['site']=='iphone')}catch(e){utag.DB(e)};break;case'321':try{c[321]|=(d['exp_rmkt_test'].toString().toLowerCase()=='de_off'.toLowerCase())||(d['exp_rmkt_test'].toString().toLowerCase()=='de_on'.toLowerCase())}catch(e){utag.DB(e)};break;case'322':try{c[322]|=(typeof d['qp.trv_reference']!='undefined'&&d['qp.trv_reference']!='')}catch(e){utag.DB(e)};break;case'337':try{c[337]|=(d['channel_id']=='4')}catch(e){utag.DB(e)};break;case'35':try{c[35]|=(/^(404815|437486)$/.test(d['partner_id']))}catch(e){utag.DB(e)};break;case'4':try{c[4]|=(d['action']=='hotel')}catch(e){utag.DB(e)};break;case'5':try{c[5]|=(d['action']=='book')}catch(e){utag.DB(e)};break;case'50':try{c[50]|=(d['partner_id']=='442881')}catch(e){utag.DB(e)};break;case'52':try{c[52]|=(d['partner_id']=='457038')}catch(e){utag.DB(e)};break;case'54':try{c[54]|=(d['crt']!='0')||(typeof d['crt']=='undefined')}catch(e){utag.DB(e)};break;case'68':try{c[68]|=(d['partner_id']=='458623')}catch(e){utag.DB(e)};break;case'69':try{c[69]|=(d['partner_id']=='448060')||(d['partner_id']=='617806')}catch(e){utag.DB(e)};break;case'70':try{c[70]|=(d['partner_id']=='458927')}catch(e){utag.DB(e)};break;case'71':try{c[71]|=(d['partner_id']=='458718')}catch(e){utag.DB(e)};break;case'72':try{c[72]|=(d['partner_id']=='459115')}catch(e){utag.DB(e)};break;case'74':try{c[74]|=(d['action']=='apps')}catch(e){utag.DB(e)};break;case'75':try{c[75]|=(/^(ru|uk|tr)$/.test(d['language']))}catch(e){utag.DB(e)};break;case'76':try{c[76]|=(/^(searchresults|city|airport|district|landmark)$/.test(d['action']))}catch(e){utag.DB(e)};break;case'77':try{c[77]|=(/^(index|cross_product_index|region|country|continent|destinationfinder)$/.test(d['action']))}catch(e){utag.DB(e)};break;case'83':try{c[83]|=(d['bo']=='1')}catch(e){utag.DB(e)};break;case'86':try{c[86]|=(d['partner_id']=='459319')}catch(e){utag.DB(e)};break;case'89':try{c[89]|=(/^(hotel|searchresults|index|book|cross_product_index)$/.test(d['action']))}catch(e){utag.DB(e)};break;case'91':try{c[91]|=(d['partner_id']=='463251')||(d['partner_id']=='617814')}catch(e){utag.DB(e)};break;case'92':try{c[92]|=(/^(us|gb|de|ca|au)$/i.test(d['user_location']))}catch(e){utag.DB(e)};break;case'96':try{c[96]|=(d['partner_id']=='463516')}catch(e){utag.DB(e)};break;case'98':try{c[98]|=(d['partner_id']=='463561')}catch(e){utag.DB(e)};break;case'99':try{c[99]|=(d['partner_id']=='464974')}catch(e){utag.DB(e)};break;}}};utag.pre=function(){utag.loader.initdata();utag.pagevars();try{utag.loader.RD(utag.data)}catch(e){utag.DB(e)};utag.loader.loadrules();};utag.loader.GET=function(){utag.cl={'_all_':1};utag.pre();utag.handler.extend=[function(a,b){try{if(1){if(b["tag_cdn"]=="tags.tiqcdn.cn"){utag.cfg.path=utag.cfg.path.replace('tags.tiqcdn.com',"tags.tiqcdn.cn");}}}catch(e){utag.DB(e)}},function(a,b){try{if(1){b['zz_val_zero']='0';b['zz_val_one']='1';try{b['zz_val_random']=Math.random();}catch(e){};try{b['zz_time_now_unix']=Math.round(Date.now()/1000);}catch(e){};try{b['zz_time_datein_unix']=Date.parse(b.date_in)/1000;}catch(e){};try{b['zz_label_clkid']=/_clkid-[-@0-9A-Za-z]+/.test(b.label)?b.label.replace(/^.*_clkid-([-@0-9A-Za-z]+)(_*$|_\w+.*$)/,"$1"):'';}catch(e){};try{b['zz_label_pub']=/_pub-[-0-9A-Za-z]+/.test(b.label)?b.label.replace(/^.*_pub-([-0-9A-Za-z]+)($|_\w+.*$)/,"$1"):'';}catch(e){};try{b['zz_time_datein_month']=b.date_in.match(/\d+-(\d+)-\d+/)[1];}catch(e){};try{b['zz_time_dateout_month']=b.date_out.match(/\d+-(\d+)-\d+/)[1];}catch(e){};try{b['zz_cachebuster']=Math.floor(Math.random()*1000000000);}catch(e){};b['zz_val_eur']='EUR';try{b['zz_generic_segment']=(Math.random()<0.5)?1:2;}catch(e){};b['zz_val_usd']='USD'}}catch(e){utag.DB(e)}},function(a,b){try{if(b['children'].toString().indexOf('ARRAY(')>-1){b['children']='0'}}catch(e){utag.DB(e)}},function(a,b){try{if(1){b['zz_fake_order_total']='0.00';try{b['zz_fake_list_prod']=['0']}catch(e){};try{b['zz_fake_list_price']=['0']}catch(e){};try{b['zz_fake_list_qty']=['1']}catch(e){}}}catch(e){utag.DB(e)}},function(a,b,c,d){b._ccity='';b._ccountry=(typeof b['user_location']!='undefined')?b['user_location']:'';b._ccurrency=(typeof b['zz_val_eur']!='undefined')?b['zz_val_eur']:'';b._ccustid='';b._corder=(typeof b['rid']!='undefined')?b['rid']:'';b._cpromo='';b._cship='';b._cstate='';b._cstore='';b._csubtotal=(typeof b['zz_fake_order_total']!='undefined')?b['zz_fake_order_total']:'';b._ctax='';b._ctotal=(typeof b['zz_fake_order_total']!='undefined')?b['zz_fake_order_total']:'';b._ctype='';b._czip='';b._cprod=(typeof b['zz_fake_list_prod']!='undefined'&&b['zz_fake_list_prod'].length>0)?b['zz_fake_list_prod']:[];b._cprodname=(typeof b['zz_fake_list_prod']!='undefined'&&b['zz_fake_list_prod'].length>0)?b['zz_fake_list_prod']:[];b._cbrand=[];b._ccat=[];b._ccat2=[];b._cquan=(typeof b['zz_fake_list_qty']!='undefined'&&b['zz_fake_list_qty'].length>0)?b['zz_fake_list_qty']:[];b._cprice=(typeof b['zz_fake_list_price']!='undefined'&&b['zz_fake_list_price'].length>0)?b['zz_fake_list_price']:[];b._csku=(typeof b['zz_fake_list_prod']!='undefined'&&b['zz_fake_list_prod'].length>0)?b['zz_fake_list_prod']:[];b._cpdisc=[];if(b._cprod.length==0){b._cprod=b._csku.slice()};if(b._cprodname.length==0){b._cprodname=b._csku.slice()};function tf(a){if(a==''||isNaN(parseFloat(a))){return a}else{return(parseFloat(a)).toFixed(2)}};b._ctotal=tf(b._ctotal);b._csubtotal=tf(b._csubtotal);b._ctax=tf(b._ctax);b._cship=tf(b._cship);for(c=0;c<b._cprice.length;c++){b._cprice[c]=tf(b._cprice[c])};for(c=0;c<b._cpdisc.length;c++){b._cpdisc[c]=tf(b._cpdisc[c])};},function(a,b){try{if((typeof b['zz_generic_segment']!='undefined'&&b['zz_generic_segment']!=''&&typeof b['cp.zz_cook_tms_seg1']=='undefined')){document.cookie="zz_cook_tms_seg1="+b['zz_generic_segment']+";path=/;domain="+utag.cfg.domain+";expires="+(function(){var d=new Date();d.setTime(d.getTime()+(364*86400000));return d.toGMTString()})()+"";b['cp.zz_cook_tms_seg1']=b['zz_generic_segment'];}}catch(e){utag.DB(e)}},function(a,b){if(typeof b['cp.utag_main_4split']=='undefined'||b['cp.utag_main_4split']==''){var r=parseInt((Math.random()*100)+1);var s={'0':25,'1':25,'2':25,'3':25};var g={},k=0,i;for(i in s){k++;g[i]={};g[i].min=k;k=k+s[i]-1;g[i].max=k;};for(i in g){if(r>=g[i].min&&r<=g[i].max){s=i;break;};};utag.loader.SC('utag_main',{'4split':s});b['cp.utag_main_4split']=s;}},function(a,b){if(typeof b['cp.utag_main_4split2']=='undefined'||b['cp.utag_main_4split2']==''){var r=parseInt((Math.random()*100)+1);var s={'0':25,'1':25,'2':25,'3':25};var g={},k=0,i;for(i in s){k++;g[i]={};g[i].min=k;k=k+s[i]-1;g[i].max=k;};for(i in g){if(r>=g[i].min&&r<=g[i].max){s=i;break;};};utag.loader.SC('utag_main',{'4split2':s});b['cp.utag_main_4split2']=s;}},function(a,b){try{if((/^(3|17|20)$/.test(b['channel_id'])&&parseFloat(b['cp.utag_main__pn'])<=parseFloat(2))){document.cookie="zz_cook_tms_ed="+'1'+";path=/;domain="+utag.cfg.domain+";expires="+(function(){var d=new Date();d.setTime(d.getTime()+(182*86400000));return d.toGMTString()})()+"";b['cp.zz_cook_tms_ed']='1';}}catch(e){utag.DB(e)}},function(a,b){try{if((b['channel_id']=='4'&&parseFloat(b['cp.utag_main__pn'])<=parseFloat(2))){document.cookie="zz_cook_tms_ep="+'1'+";path=/;domain="+utag.cfg.domain+";expires="+(function(){var d=new Date();d.setTime(d.getTime()+(182*86400000));return d.toGMTString()})()+"";b['cp.zz_cook_tms_ep']='1';}}catch(e){utag.DB(e)}},function(a,b){try{if((b['channel_id']=='14'&&parseFloat(b['cp.utag_main__pn'])<=parseFloat(2))){document.cookie="zz_cook_tms_em="+'1'+";path=/;domain="+utag.cfg.domain+";expires="+(function(){var d=new Date();d.setTime(d.getTime()+(182*86400000));return d.toGMTString()})()+"";b['cp.zz_cook_tms_em']='1';}}catch(e){utag.DB(e)}},function(a,b){try{if((b['partner_id']=='413084'&&parseFloat(b['cp.utag_main__pn'])<=parseFloat(2))){document.cookie="zz_cook_tms_ev="+'1'+";path=/;domain="+utag.cfg.domain+";expires="+(function(){var d=new Date();d.setTime(d.getTime()+(182*86400000));return d.toGMTString()})()+"";b['cp.zz_cook_tms_ev']='1';}}catch(e){utag.DB(e)}},function(a,b){try{if((b['partner_id']=='423463'&&parseFloat(b['cp.utag_main__pn'])<=parseFloat(2))){document.cookie="zz_cook_tms_eg="+'1'+";path=/;domain="+utag.cfg.domain+";expires="+(function(){var d=new Date();d.setTime(d.getTime()+(182*86400000));return d.toGMTString()})()+"";b['cp.zz_cook_tms_eg']='1';}}catch(e){utag.DB(e)}},function(a,b){try{if((/^(404815|528900)$/.test(b['partner_id'])&&parseFloat(b['cp.utag_main__pn'])<=parseFloat(2))){document.cookie="zz_cook_tms_et="+'1'+";path=/;domain="+utag.cfg.domain+";expires="+(function(){var d=new Date();d.setTime(d.getTime()+(182*86400000));return d.toGMTString()})()+"";b['cp.zz_cook_tms_et']='1';}}catch(e){utag.DB(e)}},function(a,b){try{if(1){try{b['hotel_recent_list']=(b['cp.zz_teal_hlist']&&b['cp.zz_teal_hlist'].length>0?b['cp.zz_teal_hlist'].split(','):[]);b.hotel_recent_list.unshift(b['hotel_id']);}catch(e){};try{b['hotel_recent_list']=b.hotel_recent_list.splice(0,10);}catch(e){}}}catch(e){utag.DB(e)}},function(a,b){try{if(b['action']=='hotel'){document.cookie="zz_cook_tms_hlist="+b['hotel_recent_list']+";path=/;domain="+utag.cfg.domain+";expires=";b['cp.zz_cook_tms_hlist']=b['hotel_recent_list'];}}catch(e){utag.DB(e)}},function(a,b){try{if((typeof b['idfa']!='undefined'&&b['idfa'].toString().toLowerCase()!=''.toLowerCase())){b['zz_mobile_advertiser_id']=b['idfa']}}catch(e){utag.DB(e)}},function(a,b){try{if((typeof b['gaid']!='undefined'&&b['gaid'].toString().toLowerCase()!=''.toLowerCase())){b['zz_mobile_advertiser_id']=b['gaid']}}catch(e){utag.DB(e)}}];utag.handler.cfg_extend=[{"bwq":0,"end":0,"alr":0,"id":"271","blr":1},{"bwq":0,"end":0,"id":"104","blr":0,"alr":1},{"blr":0,"id":"52","alr":1,"end":0,"bwq":0},{"alr":1,"id":"85","blr":0,"bwq":0,"end":0},{"end":0,"bwq":0,"blr":0,"id":"1","alr":1},{"alr":1,"blr":0,"id":"151","end":0,"bwq":0},{"end":0,"bwq":0,"alr":1,"blr":0,"id":"114"},{"end":0,"bwq":0,"alr":1,"blr":0,"id":"258"},{"bwq":0,"end":0,"alr":1,"id":"233","blr":0},{"end":0,"bwq":0,"blr":0,"id":"232","alr":1},{"alr":1,"id":"255","blr":0,"bwq":0,"end":0},{"end":0,"bwq":0,"blr":0,"id":"231","alr":1},{"alr":1,"blr":0,"id":"234","end":0,"bwq":0},{"bwq":0,"end":0,"alr":1,"id":"225","blr":0},{"end":0,"bwq":0,"blr":0,"id":"57","alr":1},{"alr":1,"blr":0,"id":"56","end":0,"bwq":0},{"end":0,"bwq":0,"alr":1,"blr":0,"id":"314"},{"end":0,"bwq":0,"alr":1,"blr":0,"id":"315"}];utag.loader.initcfg=function(){utag.loader.cfg={"587":{load:(utag.cond[138]&&utag.cond[258]&&utag.cond[283]),send:1,v:201808090916,wait:1,tid:20010},"41":{load:(utag.cond[18]&&utag.cond[126]),send:1,v:201804181029,wait:0,tid:7114},"8":{load:(utag.cond[20]&&utag.cond[176]&&utag.cond[126]),send:1,v:201804181029,wait:1,tid:7114},"270":{load:(utag.cond[18]&&utag.cond[17]),send:1,v:201702120312,wait:0,tid:7117},"227":{load:(utag.cond[18]&&utag.cond[139]),send:1,v:201702120312,wait:0,tid:7117},"208":{load:(utag.cond[18]&&utag.cond[27]),send:1,v:201702120312,wait:0,tid:7117},"193":{load:(utag.cond[74]&&utag.cond[83]),send:1,v:201510300951,wait:1,tid:7117},"263":{load:(utag.cond[89]&&utag.cond[156]),send:1,v:201711121339,wait:1,tid:20067},"432":{load:(utag.cond[18]&&utag.cond[176]&&utag.cond[54]&&utag.cond[315]),send:1,v:201808031115,wait:0,tid:20010},"431":{load:(utag.cond[5]&&utag.cond[176]&&utag.cond[54]&&utag.cond[315]),send:1,v:201808031115,wait:1,tid:20010},"430":{load:(utag.cond[4]&&utag.cond[176]&&utag.cond[54]&&utag.cond[315]),send:1,v:201808031115,wait:1,tid:20010},"429":{load:(utag.cond[76]&&utag.cond[176]&&utag.cond[54]&&utag.cond[315]),send:1,v:201808031115,wait:1,tid:20010},"428":{load:(utag.cond[77]&&utag.cond[176]&&utag.cond[54]&&utag.cond[315]),send:1,v:201808031115,wait:1,tid:20010},"284":{load:(utag.cond[20]&&utag.cond[176]),send:1,v:201902071514,wait:1,tid:4001},"62":{load:utag.cond[18],send:1,v:201812071327,wait:0,tid:4001},"61":{load:(utag.cond[5]&&utag.cond[176]),send:1,v:201810011309,wait:1,tid:4001},"60":{load:(utag.cond[4]&&utag.cond[176]),send:1,v:201810011309,wait:1,tid:4001},"59":{load:(utag.cond[3]&&utag.cond[176]),send:1,v:201810011309,wait:1,tid:4001},"58":{load:(utag.cond[2]&&utag.cond[176]),send:1,v:201810011309,wait:1,tid:4001},"315":{load:(utag.cond[18]&&utag.cond[158]),send:1,v:201810011309,wait:0,tid:4001},"296":{load:(utag.cond[18]&&utag.cond[143]),send:1,v:201810011309,wait:1,tid:4001},"495":{load:(utag.cond[138]&&utag.cond[176]&&utag.cond[112]),send:1,v:201902071514,wait:1,tid:20067},"526":{load:(utag.cond[18]&&utag.cond[176]&&utag.cond[249]&&utag.cond[112]),send:1,v:201811141322,wait:1,tid:20067},"395":{load:utag.cond[18],send:1,v:201809112024,wait:1,tid:20011},"396":{load:(utag.cond[4]&&utag.cond[92]),send:1,v:201809112024,wait:1,tid:20011},"540":{load:(utag.cond[138]&&utag.cond[176]),send:1,v:201809112024,wait:1,tid:20067},"539":{load:(utag.cond[138]&&utag.cond[176]),send:1,v:201809112024,wait:1,tid:20067},"473":{load:(utag.cond[18]&&utag.cond[234]),send:1,v:201711121323,wait:1,tid:20067},"521":{load:(utag.cond[254]&&utag.cond[266]),send:1,v:201711121323,wait:1,tid:20067},"522":{load:(utag.cond[18]&&utag.cond[266]),send:1,v:201711121323,wait:1,tid:20067},"305":{load:(utag.cond[18]&&utag.cond[241]&&utag.cond[151]),send:1,v:201802131248,wait:0,tid:20067},"472":{load:(utag.cond[18]&&utag.cond[35]),send:1,v:201711121323,wait:1,tid:20067},"306":{load:(utag.cond[18]&&utag.cond[241]&&utag.cond[244]),send:1,v:201711121339,wait:0,tid:20067},"356":{load:(utag.cond[18]&&utag.cond[172]),send:1,v:201802131248,wait:1,tid:20067},"442":{load:(utag.cond[18]&&utag.cond[27]),send:1,v:201702121443,wait:1,tid:4001},"448":{load:(utag.cond[18]&&utag.cond[181]),send:1,v:201711121323,wait:0,tid:20067},"421":{load:(utag.cond[18]&&utag.cond[207]),send:1,v:201711121323,wait:1,tid:20067},"470":{load:(utag.cond[18]&&utag.cond[233]),send:1,v:201711121323,wait:1,tid:20067},"455":{load:(utag.cond[18]&&utag.cond[230]),send:1,v:201710180019,wait:1,tid:9023},"447":{load:(utag.cond[18]&&utag.cond[227]),send:1,v:201711121323,wait:1,tid:20067},"438":{load:(utag.cond[18]&&utag.cond[223]),send:1,v:201711121323,wait:1,tid:20067},"85":{load:(utag.cond[18]&&utag.cond[183]),send:1,v:201702112158,wait:0,tid:1130},"398":{load:utag.cond[138],send:1,v:201711121323,wait:1,tid:20067},"25":{load:(utag.cond[18]&&utag.cond[13]),send:1,v:201702112158,wait:0,tid:20011},"378":{load:(utag.cond[138]&&utag.cond[257]&&utag.cond[75]),send:1,v:201706231239,wait:1,tid:25010},"372":{load:utag.cond[194],send:1,v:201808271226,wait:1,tid:4001},"373":{load:utag.cond[195],send:1,v:201808271226,wait:1,tid:4001},"374":{load:utag.cond[196],send:1,v:201808271226,wait:1,tid:4001},"544":{load:(utag.cond[18]&&utag.cond[259]),send:1,v:201803071621,wait:1,tid:6026},"346":{load:(utag.cond[18]&&utag.cond[178]),send:1,v:201711121339,wait:1,tid:20067},"347":{load:(utag.cond[179]&&utag.cond[178]),send:1,v:201607271321,wait:1,tid:20010},"141":{load:(utag.cond[18]&&utag.cond[70]),send:1,v:201711121355,wait:0,tid:20067},"210":{load:(utag.cond[18]&&utag.cond[100]),send:1,v:201711121355,wait:1,tid:20067},"484":{load:(utag.cond[18]&&utag.cond[242]),send:1,v:201711121323,wait:1,tid:20067},"209":{load:(utag.cond[18]&&utag.cond[99]),send:1,v:201711121355,wait:1,tid:20067},"416":{load:(utag.cond[18]&&utag.cond[205]),send:1,v:201711121323,wait:1,tid:20067},"389":{load:(utag.cond[18]&&utag.cond[107]),send:1,v:201702112158,wait:1,tid:1024},"295":{load:(utag.cond[18]&&utag.cond[107]),send:1,v:201702112158,wait:1,tid:1024},"367":{load:(utag.cond[18]&&utag.cond[165]),send:1,v:201702121443,wait:1,tid:1109},"320":{load:(utag.cond[18]&&utag.cond[161]),send:1,v:201711121339,wait:1,tid:20067},"518":{load:(utag.cond[18]&&utag.cond[248]),send:1,v:201711121323,wait:1,tid:20067},"139":{load:(utag.cond[18]&&utag.cond[68]),send:1,v:201711121355,wait:0,tid:20067},"246":{load:(utag.cond[18]&&utag.cond[120]),send:1,v:201803071621,wait:0,tid:3004},"412":{load:(utag.cond[18]&&utag.cond[202]),send:1,v:201711121323,wait:1,tid:20067},"417":{load:(utag.cond[18]&&utag.cond[203]),send:1,v:201711121323,wait:1,tid:20067},"361":{load:(utag.cond[18]&&utag.cond[188]),send:1,v:201711121339,wait:1,tid:20067},"362":{load:(utag.cond[18]&&utag.cond[185]),send:1,v:201711121339,wait:1,tid:20067},"327":{load:(utag.cond[18]&&utag.cond[27]&&utag.cond[168]),send:1,v:201711121339,wait:1,tid:20067},"194":{load:(utag.cond[18]&&utag.cond[71]),send:1,v:201711121355,wait:0,tid:20067},"490":{load:(utag.cond[18]&&utag.cond[50]),send:1,v:201711121323,wait:1,tid:20067},"415":{load:(utag.cond[18]&&utag.cond[91]),send:1,v:201711121323,wait:1,tid:20067},"360":{load:(utag.cond[18]&&utag.cond[187]),send:1,v:201711121339,wait:1,tid:20067},"218":{load:(utag.cond[18]&&utag.cond[96]),send:1,v:201711121355,wait:1,tid:20067},"364":{load:(utag.cond[18]&&utag.cond[189]),send:1,v:201711121339,wait:1,tid:20067},"496":{load:(utag.cond[18]&&utag.cond[69]),send:1,v:201711121323,wait:1,tid:20067},"369":{load:(utag.cond[18]&&utag.cond[192]),send:1,v:201711121339,wait:1,tid:20067},"333":{load:(utag.cond[18]&&utag.cond[52]),send:1,v:201711121339,wait:0,tid:20067},"302":{load:(utag.cond[18]&&utag.cond[148]),send:1,v:201702112158,wait:1,tid:16027},"264":{load:(utag.cond[18]&&utag.cond[130]),send:1,v:201711121339,wait:1,tid:20067},"309":{load:(utag.cond[18]&&utag.cond[149]),send:1,v:201702120312,wait:0,tid:20084},"377":{load:(utag.cond[18]&&utag.cond[197]),send:1,v:201711121339,wait:1,tid:20067},"311":{load:(utag.cond[18]&&utag.cond[154]),send:1,v:201702112158,wait:1,tid:20010},"143":{load:(utag.cond[18]&&utag.cond[72]),send:1,v:201711121355,wait:0,tid:20067},"322":{load:(utag.cond[18]&&utag.cond[163]),send:1,v:201711121339,wait:1,tid:20067},"491":{load:(utag.cond[18]&&utag.cond[98]),send:1,v:201711121323,wait:1,tid:20067},"214":{load:(utag.cond[18]&&utag.cond[193]),send:1,v:201702112158,wait:1,tid:26002},"397":{load:(utag.cond[18]&&utag.cond[103]),send:1,v:201702112158,wait:1,tid:26002},"437":{load:(utag.cond[18]&&utag.cond[232]),send:1,v:201712041218,wait:1,tid:20010},"436":{load:(utag.cond[138]&&utag.cond[232]),send:1,v:201712041218,wait:1,tid:20010},"510":{load:(utag.cond[89]&&utag.cond[27]),send:1,v:201711121323,wait:1,tid:20067},"557":{load:(utag.cond[18]&&utag.cond[267]),send:1,v:201803231600,wait:1,tid:25022},"556":{load:(utag.cond[138]&&utag.cond[271]),send:1,v:201711020300,wait:1,tid:25019},"581":{load:(utag.cond[138]&&utag.cond[271]),send:1,v:201711020300,wait:1,tid:20067},"172":{load:(utag.cond[18]&&utag.cond[86]&&utag.cond[29]),send:1,v:201711121355,wait:1,tid:20067},"228":{load:(utag.cond[18]&&utag.cond[113]&&utag.cond[29]),send:1,v:201711121355,wait:1,tid:20067},"338":{load:(utag.cond[18]&&utag.cond[27]),send:1,v:201809112024,wait:1,tid:7117},"339":{load:(utag.cond[18]&&utag.cond[27]),send:1,v:201809112024,wait:1,tid:7117},"336":{load:(utag.cond[18]&&utag.cond[27]),send:1,v:201809112024,wait:1,tid:7117},"337":{load:(utag.cond[18]&&utag.cond[27]),send:1,v:201809112024,wait:1,tid:7117},"340":{load:(utag.cond[140]&&utag.cond[27]),send:1,v:201809112024,wait:1,tid:7115},"341":{load:(utag.cond[140]&&utag.cond[27]),send:1,v:201809112024,wait:1,tid:7115},"342":{load:(utag.cond[140]&&utag.cond[27]),send:1,v:201809112024,wait:1,tid:7115},"343":{load:(utag.cond[140]&&utag.cond[27]),send:1,v:201809112024,wait:1,tid:7115},"551":{load:(utag.cond[18]&&utag.cond[260]),send:1,v:201711121323,wait:1,tid:20067},"569":{load:(utag.cond[18]&&utag.cond[269]),send:1,v:201708230532,wait:1,tid:20067},"572":{load:(utag.cond[122]&&utag.cond[27]),send:1,v:201709081428,wait:1,tid:20067},"573":{load:(utag.cond[18]&&utag.cond[27]),send:1,v:201709081428,wait:1,tid:20067},"554":{load:utag.cond[264],send:1,v:201803071432,wait:1,tid:20067},"600":{load:utag.cond[321],send:1,v:201808161221,wait:1,tid:7114},"656":{load:utag.cond[306],send:1,v:201806251100,wait:1,tid:13060},"661":{load:(utag.cond[18]&&utag.cond[314]),send:1,v:201812071327,wait:0,tid:4049},"665":{load:utag.cond[307],send:1,v:201809251343,wait:1,tid:7132},"667":{load:(utag.cond[122]&&utag.cond[322]&&utag.cond[317]),send:1,v:201901280913,wait:1,tid:20067},"674":{load:utag.cond[18],send:1,v:201810120957,wait:1,tid:2045},"558":{load:utag.cond[318],send:1,v:201812040930,wait:1,tid:20064},"680":{load:(utag.cond[2]&&utag.cond[104]),send:1,v:201810171937,wait:1,tid:2044},"682":{load:(utag.cond[18]&&utag.cond[337]&&utag.cond[104]),send:1,v:201901021101,wait:1,tid:2044},"694":{load:4,send:1,v:201902081017,wait:1,tid:2045}};utag.loader.cfgsort=["587","41","8","270","227","208","193","263","432","431","430","429","428","284","62","61","60","59","58","315","296","495","526","395","396","540","539","473","521","522","305","472","306","356","442","448","421","470","455","447","438","85","398","25","378","372","373","374","544","346","347","141","210","484","209","416","389","295","367","320","518","139","246","412","417","361","362","327","194","490","415","360","218","364","496","369","333","302","264","309","377","311","143","322","491","214","397","437","436","510","557","556","581","172","228","338","339","336","337","340","341","342","343","551","569","572","573","554","600","656","661","665","667","674","558","680","682","694"];}
  utag.loader.initcfg();}
  if(typeof utag_cfg_ovrd!='undefined'){for(utag._i in utag.loader.GV(utag_cfg_ovrd))utag.cfg[utag._i]=utag_cfg_ovrd[utag._i]};utag.loader.PINIT=function(a,b,c){utag.DB("Pre-INIT");if(utag.cfg.noload){return;}
  try{this.GET();if(utag.handler.RE('view',utag.data,"blr")){utag.handler.LR(utag.data);}}catch(e){utag.DB(e)};a=this.cfg;c=0;for(b in this.GV(a)){if(a[b].block==1||(a[b].load>0&&(typeof a[b].src!='undefined'&&a[b].src!=''))){a[b].block=1;c=1;this.bq[b]=1;}}
  if(c==1){for(b in this.GV(a)){if(a[b].block){a[b].id=b;if(a[b].load==4)a[b].load=1;a[b].cb=function(){var d=this.uid;utag.loader.cfg[d].cbf=1;utag.loader.LOAD(d)};this.AS(a[b]);}}}
  if(c==0)this.INIT();};utag.loader.INIT=function(a,b,c,d,e){utag.DB('utag.loader.INIT');if(this.ol==1)return-1;else this.ol=1;if(utag.cfg.noview!=true)utag.handler.RE('view',utag.data,"alr");utag.rpt.ts['i']=new Date();d=this.cfgsort;for(a=0;a<d.length;a++){e=d[a];b=this.cfg[e];b.id=e;if(b.block!=1){if(utag.loader.bk[b.id]||((utag.cfg.readywait||utag.cfg.noview)&&b.load==4)){this.f[b.id]=0;utag.loader.LOAD(b.id)}else if(b.wait==1&&utag.loader.rf==0){utag.DB('utag.loader.INIT: waiting '+b.id);this.wq.push(b)
  this.f[b.id]=2;}else if(b.load>0){utag.DB('utag.loader.INIT: loading '+b.id);this.lq.push(b);this.AS(b);}}}
  if(this.wq.length>0)utag.loader.EV('','ready',function(a){if(utag.loader.rf==0){utag.DB('READY:utag.loader.wq');utag.loader.rf=1;utag.loader.WQ();}});else if(this.lq.length>0)utag.loader.rf=1;else if(this.lq.length==0)utag.loader.END();return 1};utag.loader.EV('','ready',function(a){if(utag.loader.efr!=1){utag.loader.efr=1;try{if(1){if(typeof utag.runonce=='undefined')utag.runonce={};if(typeof utag.runonce[73]=='undefined'){utag.runonce[73]=1;jQuery('#main_cta_lk').bind('click',function(e){if(utag.data.action==="apps"){utag.track('mobileapp',utag.data);}})}}}catch(e){utag.DB(e)};try{if(typeof utag.runonce=='undefined')utag.runonce={};utag.jdh=function(h,i,j,k){h=utag.jdhc.length;if(h==0)window.clearInterval(utag.jdhi);else{for(i=0;i<h;i++){j=utag.jdhc[i];k=jQuery(j.i).is(":visible")?1:0;if(k!=j.s){if(j.e==(j.s=k))jQuery(j.i).trigger(j.e?"afterShow":"afterHide")}}}};utag.jdhi=window.setInterval(utag.jdh,250);utag.jdhc=[];if(1){if(typeof utag.runonce[287]=='undefined'){utag.runonce[287]=1;jQuery(document.body).on('change','input#email',function(e){utag.view({"criteo_basket":'1'})});}}}catch(e){utag.DB(e)};}})
  if(utag.cfg.readywait||utag.cfg.waittimer){utag.loader.EV('','ready',function(a){if(utag.loader.rf==0){utag.loader.rf=1;utag.cfg.readywait=1;utag.DB('READY:utag.cfg.readywait');setTimeout(function(){utag.loader.PINIT()},utag.cfg.waittimer||1);}})}else{utag.loader.PINIT()}}
  //tealium universal tag - utag.694 ut4.0.201902121218, Copyright 2019 Tealium.com Inc. All Rights Reserved.
  var uetq=uetq||[];try{(function(id,loader){var u={"id":id};utag.o[loader].sender[id]=u;if(utag.ut===undefined){utag.ut={};}
  var match=/ut\d\.(\d*)\..*/.exec(utag.cfg.v);if(utag.ut.loader===undefined||!match||parseInt(match[1])<41){u.loader=function(o,a,b,c,l,m){utag.DB(o);a=document;if(o.type=="iframe"){m=a.getElementById(o.id);if(m&&m.tagName=="IFRAME"){b=m;}else{b=a.createElement("iframe");}o.attrs=o.attrs||{};utag.ut.merge(o.attrs,{"height":"1","width":"1","style":"display:none"},0);}else if(o.type=="img"){utag.DB("Attach img: "+o.src);b=new Image();}else{b=a.createElement("script");b.language="javascript";b.type="text/javascript";b.async=1;b.charset="utf-8";}if(o.id){b.id=o.id;}for(l in utag.loader.GV(o.attrs)){b.setAttribute(l,o.attrs[l]);}b.setAttribute("src",o.src);if(typeof o.cb=="function"){if(b.addEventListener){b.addEventListener("load",function(){o.cb();},false);}else{b.onreadystatechange=function(){if(this.readyState=="complete"||this.readyState=="loaded"){this.onreadystatechange=null;o.cb();}};}}if(o.type!="img"&&!m){l=o.loc||"head";c=a.getElementsByTagName(l)[0];if(c){utag.DB("Attach to "+l+": "+o.src);if(l=="script"){c.parentNode.insertBefore(b,c);}else{c.appendChild(b);}}}};}else{u.loader=utag.ut.loader;}
  if(utag.ut.typeOf===undefined){u.typeOf=function(e){return({}).toString.call(e).match(/\s([a-zA-Z]+)/)[1].toLowerCase();};}else{u.typeOf=utag.ut.typeOf;}
  u.ev={"view":1,"link":1};u.initialized=false;u.map={};u.extend=[];u.loader_cb=function(){if(!u.initialized){var o={ti:u.data.tagid};o.q=uetq;uetq=new UET(o);uetq.push("pageLoad");}
  u.initialized=true;var g={};u.data.gv=u.data.gv||u.data.order_subtotal;u.data.gc=u.data.gc||u.data.order_currency;if(u.data.ec){g.ec=u.data.ec;}
  if(u.data.ea){g.ea=u.data.ea;}
  if(u.data.el){g.el=u.data.el;}
  if(u.data.ev){g.ev=u.data.ev;}
  if(u.data.gc){g.gc=u.data.gc}
  if(u.data.gv){var gv=parseFloat(u.data.gv,10);if(isNaN(gv)===false){g.gv=gv;}}
  if(!utag.ut.isEmptyObject(g)){uetq.push(g);}};u.send=function(a,b){if(u.ev[a]||u.ev.all!==undefined){utag.DB("send:694");utag.DB(b);var c,d,e,f;u.data={"base_url":"//bat.bing.com/bat.js","tagid":"15005356","ec":"","ea":"","el":"","ev":"","gv":"","gc":""};utag.DB("send:694:EXTENSIONS");utag.DB(b);for(d in utag.loader.GV(u.map)){if(b[d]!==undefined&&b[d]!==""){e=u.map[d].split(",");for(f=0;f<e.length;f++){u.data[e[f]]=b[d];}}}
  utag.DB("send:694:MAPPINGS");utag.DB(u.data);u.data.order_subtotal=u.data.order_subtotal||b._csubtotal||"";u.data.order_currency=u.data.order_currency||b._ccurrency||"";if(!u.initialized){u.loader({"type":"script","src":u.data.base_url,"cb":u.loader_cb,"loc":"script","id":"utag_694","attrs":{}});}else{u.loader_cb();}
  utag.DB("send:694:COMPLETE");}};utag.o[loader].loader.LOAD(id);}("694","booking.com.main"));}catch(error){utag.DB(error);}
  (function(){ if(typeof utag!='undefined'){utag.initcatch=true;for(var i in utag.loader.GV(utag.loader.cfg)){var b=utag.loader.cfg[i];if(b.load!=4){utag.initcatch=false;break};if(b.wait==1){utag.initcatch=false;break}};if(utag.initcatch)utag.handler.INIT();} })();