(function(){ var g=true,i=null,j=false;function aa(a){return function(b){this[a]=b}}function k(a){return function(){return this[a]}}var l,s=this;function ba(a){a=a.split(".");for(var b=s,c;c=a.shift();)if(b[c]!=i)b=b[c];else return i;return b}function v(){}
function ca(a){var b=typeof a;if(b=="object")if(a){if(a instanceof Array)return"array";else if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if(c=="[object Window]")return"object";if(c=="[object Array]"||typeof a.length=="number"&&typeof a.splice!="undefined"&&typeof a.propertyIsEnumerable!="undefined"&&!a.propertyIsEnumerable("splice"))return"array";if(c=="[object Function]"||typeof a.call!="undefined"&&typeof a.propertyIsEnumerable!="undefined"&&!a.propertyIsEnumerable("call"))return"function"}else return"null";
else if(b=="function"&&typeof a.call=="undefined")return"object";return b}function w(a){return ca(a)=="array"}function x(a){var b=ca(a);return b=="array"||b=="object"&&typeof a.length=="number"}function y(a){return typeof a=="string"}function da(a){return ca(a)=="function"}function ea(a){a=ca(a);return a=="object"||a=="array"||a=="function"}function z(a){return a[fa]||(a[fa]=++ga)}var fa="closure_uid_"+Math.floor(Math.random()*2147483648).toString(36),ga=0;
function ha(a){return a.call.apply(a.bind,arguments)}function ia(a,b){var c=b||s;if(arguments.length>2){var d=Array.prototype.slice.call(arguments,2);return function(){var e=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(e,d);return a.apply(c,e)}}else return function(){return a.apply(c,arguments)}}function A(){A=Function.prototype.bind&&Function.prototype.bind.toString().indexOf("native code")!=-1?ha:ia;return A.apply(i,arguments)}var B=Date.now||function(){return+new Date};
function C(a,b){function c(){}c.prototype=b.prototype;a.Ga=b.prototype;a.prototype=new c;a.prototype.constructor=a};var ja=/^[a-zA-Z0-9\-_.!~*'()]*$/;function D(a){a=String(a);if(!ja.test(a))return encodeURIComponent(a);return a}function ka(a,b){return a.replace(/(\r\n|\r|\n)/g,b?"<br />":"<br>")}function E(a){if(!la.test(a))return a;a.indexOf("&")!=-1&&(a=a.replace(ma,"&amp;"));a.indexOf("<")!=-1&&(a=a.replace(na,"&lt;"));a.indexOf(">")!=-1&&(a=a.replace(oa,"&gt;"));a.indexOf('"')!=-1&&(a=a.replace(pa,"&quot;"));return a}var ma=/&/g,na=/</g,oa=/>/g,pa=/\"/g,la=/[&<>\"]/;
function qa(a){return ka(a.replace(/  /g," &#160;"),void 0)}
function ra(a,b){for(var c=0,d=String(a).replace(/^[\s\xa0]+|[\s\xa0]+$/g,"").split("."),e=String(b).replace(/^[\s\xa0]+|[\s\xa0]+$/g,"").split("."),f=Math.max(d.length,e.length),h=0;c==0&&h<f;h++){var m=d[h]||"",o=e[h]||"",n=RegExp("(\\d*)(\\D*)","g"),t=RegExp("(\\d*)(\\D*)","g");do{var r=n.exec(m)||["","",""],q=t.exec(o)||["","",""];if(r[0].length==0&&q[0].length==0)break;c=sa(r[1].length==0?0:parseInt(r[1],10),q[1].length==0?0:parseInt(q[1],10))||sa(r[2].length==0,q[2].length==0)||sa(r[2],q[2])}while(c==
0)}return c}function sa(a,b){if(a<b)return-1;else if(a>b)return 1;return 0}var ta=Math.random()*2147483648|0;var F=Array.prototype,ua=F.indexOf?function(a,b,c){return F.indexOf.call(a,b,c)}:function(a,b,c){c=c==i?0:c<0?Math.max(0,a.length+c):c;if(y(a)){if(!y(b)||b.length!=1)return-1;return a.indexOf(b,c)}for(;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1},va=F.forEach?function(a,b,c){F.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=y(a)?a.split(""):a,f=0;f<d;f++)f in e&&b.call(c,e[f],f,a)};function wa(){return F.concat.apply(F,arguments)}
function xa(a){if(w(a))return wa(a);else{for(var b=[],c=0,d=a.length;c<d;c++)b[c]=a[c];return b}}function ya(a){for(var b=1;b<arguments.length;b++){var c=arguments[b],d;if(w(c)||(d=x(c))&&c.hasOwnProperty("callee"))a.push.apply(a,c);else if(d)for(var e=a.length,f=c.length,h=0;h<f;h++)a[e+h]=c[h];else a.push(c)}}function za(a,b,c){return arguments.length<=2?F.slice.call(a,b):F.slice.call(a,b,c)};function Aa(a,b){for(var c in a)b.call(void 0,a[c],c,a)}function Ba(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b}function Ca(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b}var Da=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"];function Ea(a){for(var b,c,d=1;d<arguments.length;d++){c=arguments[d];for(b in c)a[b]=c[b];for(var e=0;e<Da.length;e++){b=Da[e];Object.prototype.hasOwnProperty.call(c,b)&&(a[b]=c[b])}}};function Fa(a){if(typeof a.r=="function")return a.r();if(y(a))return a.split("");if(x(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return Ba(a)}function Ga(a,b,c){if(typeof a.forEach=="function")a.forEach(b,c);else if(x(a)||y(a))va(a,b,c);else{var d;if(typeof a.F=="function")d=a.F();else if(typeof a.r!="function")if(x(a)||y(a)){d=[];for(var e=a.length,f=0;f<e;f++)d.push(f)}else d=Ca(a);else d=void 0;e=Fa(a);f=e.length;for(var h=0;h<f;h++)b.call(c,e[h],d&&d[h],a)}};function Ha(a){this.t={};this.g=[];var b=arguments.length;if(b>1){if(b%2)throw Error("Uneven number of arguments");for(var c=0;c<b;c+=2)this.e(arguments[c],arguments[c+1])}else if(a){if(a instanceof Ha){b=a.F();c=a.r()}else{b=Ca(a);c=Ba(a)}for(var d=0;d<b.length;d++)this.e(b[d],c[d])}}l=Ha.prototype;l.a=0;l.Ia=0;l.D=k("a");l.r=function(){Ia(this);for(var a=[],b=0;b<this.g.length;b++)a.push(this.t[this.g[b]]);return a};l.F=function(){Ia(this);return this.g.concat()};
l.o=function(a){return G(this.t,a)};l.clear=function(){this.t={};this.Ia=this.a=this.g.length=0};l.remove=function(a){if(G(this.t,a)){delete this.t[a];this.a--;this.Ia++;this.g.length>2*this.a&&Ia(this);return g}return j};function Ia(a){if(a.a!=a.g.length){for(var b=0,c=0;b<a.g.length;){var d=a.g[b];G(a.t,d)&&(a.g[c++]=d);b++}a.g.length=c}if(a.a!=a.g.length){var e={};for(c=b=0;b<a.g.length;){d=a.g[b];if(!G(e,d)){a.g[c++]=d;e[d]=1}b++}a.g.length=c}}
l.get=function(a,b){if(G(this.t,a))return this.t[a];return b};l.e=function(a,b){if(!G(this.t,a)){this.a++;this.g.push(a);this.Ia++}this.t[a]=b};l.M=function(){return new Ha(this)};function G(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var Ja=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^/?#]*)@)?([\\w\\d\\-\\u0100-\\uffff.%]*)(?::([0-9]+))?)?([^?#]+)?(?:\\?([^#]*))?(?:#(.*))?$");function Ka(a){if(a[1]){var b=a[0],c=b.indexOf("#");if(c>=0){a.push(b.substr(c));a[0]=b=b.substr(0,c)}c=b.indexOf("?");if(c<0)a[1]="?";else c==b.length-1&&(a[1]=undefined)}return a.join("")}
function La(a,b){for(var c in b){var d=c,e=b[c],f=a;if(w(e))for(var h=0;h<e.length;h++){f.push("&",d);e[h]!==""&&f.push("=",D(e[h]))}else if(e!=i){f.push("&",d);e!==""&&f.push("=",D(e))}}return a};function Ma(a,b){var c;if(a instanceof Ma){this.W(b==i?a.s:b);Na(this,a.I);Oa(this,a.ea);Pa(this,a.O);Qa(this,a.T);Ra(this,a.S);Sa(this,a.w.M());Ta(this,a.Y)}else if(a&&(c=String(a).match(Ja))){this.W(!!b);Na(this,c[1]||"",g);Oa(this,c[2]||"",g);Pa(this,c[3]||"",g);Qa(this,c[4]);Ra(this,c[5]||"",g);Sa(this,c[6]||"",g);Ta(this,c[7]||"",g)}else{this.W(!!b);this.w=new Ua(i,this,this.s)}}l=Ma.prototype;l.I="";l.ea="";l.O="";l.T=i;l.S="";l.Y="";l.Qb=j;l.s=j;
l.toString=function(){if(this.n)return this.n;var a=[];this.I&&a.push(Va(this.I,Wa),":");if(this.O){a.push("//");this.ea&&a.push(Va(this.ea,Wa),"@");var b;b=this.O;b=y(b)?encodeURIComponent(b):i;a.push(b);this.T!=i&&a.push(":",String(this.T))}if(this.S){this.O&&this.S.charAt(0)!="/"&&a.push("/");a.push(Va(this.S,Xa))}(b=String(this.w))&&a.push("?",b);this.Y&&a.push("#",Va(this.Y,Ya));return this.n=a.join("")};
l.M=function(){var a=this.I,b=this.ea,c=this.O,d=this.T,e=this.S,f=this.w.M(),h=this.Y,m=new Ma(i,this.s);a&&Na(m,a);b&&Oa(m,b);c&&Pa(m,c);d&&Qa(m,d);e&&Ra(m,e);f&&Sa(m,f);h&&Ta(m,h);return m};function Na(a,b,c){H(a);delete a.n;a.I=c?b?decodeURIComponent(b):"":b;if(a.I)a.I=a.I.replace(/:$/,"")}function Oa(a,b,c){H(a);delete a.n;a.ea=c?b?decodeURIComponent(b):"":b}function Pa(a,b,c){H(a);delete a.n;a.O=c?b?decodeURIComponent(b):"":b}
function Qa(a,b){H(a);delete a.n;if(b){b=Number(b);if(isNaN(b)||b<0)throw Error("Bad port number "+b);a.T=b}else a.T=i}function Ra(a,b,c){H(a);delete a.n;a.S=c?b?decodeURIComponent(b):"":b}function Sa(a,b,c){H(a);delete a.n;if(b instanceof Ua){a.w=b;a.w.da=a;a.w.W(a.s)}else{c||(b=Va(b,Za));a.w=new Ua(b,a,a.s)}return a}
function $a(a,b,c){H(a);delete a.n;w(c)||(c=[String(c)]);a=a.w;I(a);J(a);b=K(a,b);if(a.o(b)){var d=a.b.get(b);if(w(d))a.a-=d.length;else a.a--}if(c.length>0){a.b.e(b,c);a.a+=c.length}}function Ta(a,b,c){H(a);delete a.n;a.Y=c?b?decodeURIComponent(b):"":b}function H(a){if(a.Qb)throw Error("Tried to modify a read-only Uri");}l.W=function(a){this.s=a;this.w&&this.w.W(a);return this};var ab=/^[a-zA-Z0-9\-_.!~*'():\/;?]*$/;
function Va(a,b){var c=i;if(y(a)){c=a;ab.test(c)||(c=encodeURI(a));c.search(b)>=0&&(c=c.replace(b,bb))}return c}function bb(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)}var Wa=/[#\/\?@]/g,Xa=/[\#\?]/g,Za=/[\#\?@]/g,Ya=/#/g;function Ua(a,b,c){this.B=a||i;this.da=b||i;this.s=!!c}
function I(a){if(!a.b){a.b=new Ha;if(a.B)for(var b=a.B.split("&"),c=0;c<b.length;c++){var d=b[c].indexOf("="),e=i,f=i;if(d>=0){e=b[c].substring(0,d);f=b[c].substring(d+1)}else e=b[c];e=decodeURIComponent(e.replace(/\+/g," "));e=K(a,e);a.add(e,f?decodeURIComponent(f.replace(/\+/g," ")):"")}}}l=Ua.prototype;l.b=i;l.a=i;l.D=function(){I(this);return this.a};l.add=function(a,b){I(this);J(this);a=K(this,a);if(this.o(a)){var c=this.b.get(a);w(c)?c.push(b):this.b.e(a,[c,b])}else this.b.e(a,b);this.a++;return this};
l.remove=function(a){I(this);a=K(this,a);if(this.b.o(a)){J(this);var b=this.b.get(a);if(w(b))this.a-=b.length;else this.a--;return this.b.remove(a)}return j};l.clear=function(){J(this);this.b&&this.b.clear();this.a=0};l.o=function(a){I(this);a=K(this,a);return this.b.o(a)};l.F=function(){I(this);for(var a=this.b.r(),b=this.b.F(),c=[],d=0;d<b.length;d++){var e=a[d];if(w(e))for(var f=0;f<e.length;f++)c.push(b[d]);else c.push(b[d])}return c};
l.r=function(a){I(this);if(a){a=K(this,a);if(this.o(a)){var b=this.b.get(a);if(w(b))return b;else{a=[];a.push(b)}}else a=[]}else{b=this.b.r();a=[];for(var c=0;c<b.length;c++){var d=b[c];w(d)?ya(a,d):a.push(d)}}return a};l.e=function(a,b){I(this);J(this);a=K(this,a);if(this.o(a)){var c=this.b.get(a);if(w(c))this.a-=c.length;else this.a--}this.b.e(a,b);this.a++;return this};l.get=function(a,b){I(this);a=K(this,a);if(this.o(a)){var c=this.b.get(a);return w(c)?c[0]:c}else return b};
l.toString=function(){if(this.B)return this.B;if(!this.b)return"";for(var a=[],b=0,c=this.b.F(),d=0;d<c.length;d++){var e=c[d],f=D(e);e=this.b.get(e);if(w(e))for(var h=0;h<e.length;h++){b>0&&a.push("&");a.push(f);e[h]!==""&&a.push("=",D(e[h]));b++}else{b>0&&a.push("&");a.push(f);e!==""&&a.push("=",D(e));b++}}return this.B=a.join("")};function J(a){delete a.xa;delete a.B;a.da&&delete a.da.n}l.M=function(){var a=new Ua;if(this.xa)a.xa=this.xa;if(this.B)a.B=this.B;if(this.b)a.b=this.b.M();return a};
function K(a,b){var c=String(b);a.s&&(c=c.toLowerCase());return c}l.W=function(a){if(a&&!this.s){I(this);J(this);Ga(this.b,function(b,c){var d=c.toLowerCase();if(c!=d){this.remove(c);this.add(d,b)}},this)}this.s=a};var L,cb,db,eb;function fb(){return s.navigator?s.navigator.userAgent:i}eb=db=cb=L=j;var gb;if(gb=fb()){var hb=s.navigator;L=gb.indexOf("Opera")==0;cb=!L&&gb.indexOf("MSIE")!=-1;db=!L&&gb.indexOf("WebKit")!=-1;eb=!L&&!db&&hb.product=="Gecko"}var M=cb,ib=eb,jb=db,kb=s.navigator,lb=(kb&&kb.platform||"").indexOf("Mac")!=-1,mb;
a:{var nb="",ob;if(L&&s.opera){var pb=s.opera.version;nb=typeof pb=="function"?pb():pb}else{if(ib)ob=/rv\:([^\);]+)(\)|;)/;else if(M)ob=/MSIE\s+([^\);]+)(\)|;)/;else jb&&(ob=/WebKit\/(\S+)/);if(ob){var qb=ob.exec(fb());nb=qb?qb[1]:""}}if(M){var rb,sb=s.document;rb=sb?sb.documentMode:undefined;if(rb>parseFloat(nb)){mb=String(rb);break a}}mb=nb}var tb={};function ub(a){return tb[a]||(tb[a]=ra(mb,a)>=0)};var vb=!M||ub("9");M&&ub("9");function wb(a){var b;b=(b=a.className)&&typeof b.split=="function"?b.split(/\s+/):[];var c;c=za(arguments,1);for(var d=0,e=0;e<c.length;e++)if(!(ua(b,c[e])>=0)){b.push(c[e]);d++}c=d==c.length;a.className=b.join(" ");return c};function xb(a,b){Aa(b,function(c,d){if(d=="style")a.style.cssText=c;else if(d=="class")a.className=c;else if(d=="for")a.htmlFor=c;else if(d in yb)a.setAttribute(yb[d],c);else a[d]=c})}var yb={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",rowspan:"rowSpan",valign:"vAlign",height:"height",width:"width",usemap:"useMap",frameborder:"frameBorder",maxlength:"maxLength",type:"type"};
function zb(a,b,c){function d(h){h&&b.appendChild(y(h)?a.createTextNode(h):h)}for(var e=2;e<c.length;e++){var f=c[e];x(f)&&!(ea(f)&&f.nodeType>0)?va(Ab(f)?xa(f):f,d):d(f)}}function Bb(a){if("outerHTML"in a)return a.outerHTML;else{var b=(a.nodeType==9?a:a.ownerDocument||a.document).createElement("div");b.appendChild(a.cloneNode(g));return b.innerHTML}}
function Ab(a){if(a&&typeof a.length=="number")if(ea(a))return typeof a.item=="function"||typeof a.item=="string";else if(da(a))return typeof a.item=="function";return j}function Cb(a){this.q=a||s.document||document}l=Cb.prototype;l.h=function(a){return y(a)?this.q.getElementById(a):a};
l.C=function(){var a=this.q,b=arguments,c=b[0],d=b[1];if(!vb&&d&&(d.name||d.type)){c=["<",c];d.name&&c.push(' name="',E(d.name),'"');if(d.type){c.push(' type="',E(d.type),'"');var e={};Ea(e,d);d=e;delete d.type}c.push(">");c=c.join("")}c=a.createElement(c);if(d)if(y(d))c.className=d;else w(d)?wb.apply(i,[c].concat(d)):xb(c,d);b.length>2&&zb(a,c,b);return c};l.createElement=function(a){return this.q.createElement(a)};l.createTextNode=function(a){return this.q.createTextNode(a)};
l.appendChild=function(a,b){a.appendChild(b)};function Db(a,b){this.da=new Ma(a);this.Eb=b?b:"callback";this.Ha=5E3}var Eb=0;
Db.prototype.send=function(a,b,c,d){a=a||i;if(!document.documentElement.firstChild){c&&c(a);return i}d=d||"_"+(Eb++).toString(36)+B().toString(36);s._callbacks_||(s._callbacks_={});var e=document.createElement("script"),f=i;this.Ha>0&&(f=s.setTimeout(Fb(d,e,a,c),this.Ha));c=this.da.M();if(a)for(var h in a)(!a.hasOwnProperty||a.hasOwnProperty(h))&&$a(c,h,a[h]);if(b){s._callbacks_[d]=Gb(d,e,b,f);$a(c,this.Eb,"_callbacks_."+d)}xb(e,{type:"text/javascript",id:d,charset:"UTF-8",src:c.toString()});document.getElementsByTagName("head")[0].appendChild(e);
return{Za:d,Ha:f}};function Fb(a,b,c,d){return function(){Hb(a,b,j);d&&d(c)}}function Gb(a,b,c,d){return function(){s.clearTimeout(d);Hb(a,b,g);c.apply(undefined,arguments)}}function Hb(a,b,c){s.setTimeout(function(){b&&b.parentNode&&b.parentNode.removeChild(b)},0);if(s._callbacks_[a])if(c)delete s._callbacks_[a];else s._callbacks_[a]=v};var Ib;!M||ub("9");M&&ub("8");function N(){Jb&&(Kb[z(this)]=this)}var Jb=j,Kb={};N.prototype.Wa=j;N.prototype.ha=function(){if(!this.Wa){this.Wa=g;this.N();if(Jb){var a=z(this);if(!Kb.hasOwnProperty(a))throw Error(this+" did not call the goog.Disposable base constructor or was disposed of after a clearUndisposedObjects call");delete Kb[a]}}};N.prototype.N=function(){};function O(a,b){N.call(this);this.type=a;this.currentTarget=this.target=b}C(O,N);O.prototype.N=function(){delete this.type;delete this.target;delete this.currentTarget};O.prototype.Ea=j;O.prototype.Wb=g;var Lb=new Function("a","return a");function Mb(a,b){a&&this.Q(a,b)}C(Mb,O);l=Mb.prototype;l.target=i;l.relatedTarget=i;l.offsetX=0;l.offsetY=0;l.clientX=0;l.clientY=0;l.screenX=0;l.screenY=0;l.button=0;l.keyCode=0;l.charCode=0;l.ctrlKey=j;l.altKey=j;l.shiftKey=j;l.metaKey=j;l.Tb=j;l.Xa=i;
l.Q=function(a,b){var c=this.type=a.type;O.call(this,c);this.target=a.target||a.srcElement;this.currentTarget=b;var d=a.relatedTarget;if(d){if(ib)try{Lb(d.nodeName)}catch(e){d=i}}else if(c=="mouseover")d=a.fromElement;else if(c=="mouseout")d=a.toElement;this.relatedTarget=d;this.offsetX=a.offsetX!==undefined?a.offsetX:a.layerX;this.offsetY=a.offsetY!==undefined?a.offsetY:a.layerY;this.clientX=a.clientX!==undefined?a.clientX:a.pageX;this.clientY=a.clientY!==undefined?a.clientY:a.pageY;this.screenX=
a.screenX||0;this.screenY=a.screenY||0;this.button=a.button;this.keyCode=a.keyCode||0;this.charCode=a.charCode||(c=="keypress"?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.Tb=lb?a.metaKey:a.ctrlKey;this.state=a.state;this.Xa=a;delete this.Wb;delete this.Ea};l.N=function(){Mb.Ga.N.call(this);this.relatedTarget=this.currentTarget=this.target=this.Xa=i};function Nb(){}var Ob=0;l=Nb.prototype;l.key=0;l.V=j;l.Ra=j;l.Q=function(a,b,c,d,e,f){if(da(a))this.ab=g;else if(a&&a.handleEvent&&da(a.handleEvent))this.ab=j;else throw Error("Invalid listener argument");this.la=a;this.hb=b;this.src=c;this.type=d;this.capture=!!e;this.Ya=f;this.Ra=j;this.key=++Ob;this.V=j};l.handleEvent=function(a){if(this.ab)return this.la.call(this.Ya||this.src,a);return this.la.handleEvent.call(this.la,a)};function P(a,b){N.call(this);this.eb=b;this.L=[];if(a>this.eb)throw Error("[goog.structs.SimplePool] Initial cannot be greater than max");for(var c=0;c<a;c++)this.L.push(this.A?this.A():{})}C(P,N);P.prototype.A=i;P.prototype.Va=i;P.prototype.getObject=function(){if(this.L.length)return this.L.pop();return this.A?this.A():{}};function Pb(a,b){a.L.length<a.eb?a.L.push(b):Qb(a,b)}function Qb(a,b){if(a.Va)a.Va(b);else if(ea(b))if(da(b.ha))b.ha();else for(var c in b)delete b[c]}
P.prototype.N=function(){P.Ga.N.call(this);for(var a=this.L;a.length;)Qb(this,a.pop());delete this.L};var Rb;var Sb=(Rb="ScriptEngine"in s&&s.ScriptEngine()=="JScript")?s.ScriptEngineMajorVersion()+"."+s.ScriptEngineMinorVersion()+"."+s.ScriptEngineBuildVersion():"0";var Tb,Ub,Vb,Wb,Xb,Yb,Zb,$b,ac,bc,cc;
(function(){function a(){return{a:0,U:0}}function b(){return[]}function c(){function q(u){return h.call(q.src,q.key,u)}return q}function d(){return new Nb}function e(){return new Mb}var f=Rb&&!(ra(Sb,"5.7")>=0),h;Yb=function(q){h=q};if(f){Tb=function(){return m.getObject()};Ub=function(q){Pb(m,q)};Vb=function(){return o.getObject()};Wb=function(q){Pb(o,q)};Xb=function(){return n.getObject()};Zb=function(){Pb(n,c())};$b=function(){return t.getObject()};ac=function(q){Pb(t,q)};bc=function(){return r.getObject()};
cc=function(q){Pb(r,q)};var m=new P(0,600);m.A=a;var o=new P(0,600);o.A=b;var n=new P(0,600);n.A=c;var t=new P(0,600);t.A=d;var r=new P(0,600);r.A=e}else{Tb=a;Ub=v;Vb=b;Wb=v;Xb=c;Zb=v;$b=d;ac=v;bc=e;cc=v}})();var Q={},R={},S={},dc={};
function ec(a,b,c,d,e){if(b)if(w(b))for(var f=0;f<b.length;f++)ec(a,b[f],c,d,e);else{d=!!d;var h=R;b in h||(h[b]=Tb());h=h[b];if(!(d in h)){h[d]=Tb();h.a++}h=h[d];var m=z(a),o;h.U++;if(h[m]){o=h[m];for(f=0;f<o.length;f++){h=o[f];if(h.la==c&&h.Ya==e){if(h.V)break;return}}}else{o=h[m]=Vb();h.a++}f=Xb();f.src=a;h=$b();h.Q(c,f,a,b,d,e);c=h.key;f.key=c;o.push(h);Q[c]=h;S[m]||(S[m]=Vb());S[m].push(h);if(a.addEventListener)(a==s||!a.Ib)&&a.addEventListener(b,f,d);else a.attachEvent(fc(b),f)}else throw Error("Invalid event type");
}function gc(a,b,c,d){if(!d.ma&&d.gb){for(var e=0,f=0;e<d.length;e++)if(d[e].V){var h=d[e].hb;h.src=i;Zb(h);ac(d[e])}else{e!=f&&(d[f]=d[e]);f++}d.length=f;d.gb=j;if(f==0){Wb(d);delete R[a][b][c];R[a][b].a--;if(R[a][b].a==0){Ub(R[a][b]);delete R[a][b];R[a].a--}if(R[a].a==0){Ub(R[a]);delete R[a]}}}}function fc(a){if(a in dc)return dc[a];return dc[a]="on"+a}
function hc(a,b,c,d,e){var f=1;b=z(b);if(a[b]){a.U--;a=a[b];if(a.ma)a.ma++;else a.ma=1;try{for(var h=a.length,m=0;m<h;m++){var o=a[m];o&&!o.V&&(f&=ic(o,e)!==j)}}finally{a.ma--;gc(c,d,b,a)}}return Boolean(f)}
function ic(a,b){var c=a.handleEvent(b);if(a.Ra){var d=a.key;if(Q[d]){var e=Q[d];if(!e.V){var f=e.src,h=e.type,m=e.hb,o=e.capture;if(f.removeEventListener)(f==s||!f.Ib)&&f.removeEventListener(h,m,o);else f.detachEvent&&f.detachEvent(fc(h),m);f=z(f);m=R[h][o][f];if(S[f]){var n=S[f],t=ua(n,e);t>=0&&F.splice.call(n,t,1);n.length==0&&delete S[f]}e.V=g;m.gb=g;gc(h,o,f,m);delete Q[d]}}}return c}
Yb(function(a,b){if(!Q[a])return g;var c=Q[a],d=c.type,e=R;if(!(d in e))return g;e=e[d];var f,h;Ib===undefined&&(Ib=M&&!s.addEventListener);if(Ib){f=b||ba("window.event");var m=g in e,o=j in e;if(m){if(f.keyCode<0||f.returnValue!=undefined)return g;a:{var n=j;if(f.keyCode==0)try{f.keyCode=-1;break a}catch(t){n=g}if(n||f.returnValue==undefined)f.returnValue=g}}n=bc();n.Q(f,this);f=g;try{if(m){for(var r=Vb(),q=n.currentTarget;q;q=q.parentNode)r.push(q);h=e[g];h.U=h.a;for(var u=r.length-1;!n.Ea&&u>=
0&&h.U;u--){n.currentTarget=r[u];f&=hc(h,r[u],d,g,n)}if(o){h=e[j];h.U=h.a;for(u=0;!n.Ea&&u<r.length&&h.U;u++){n.currentTarget=r[u];f&=hc(h,r[u],d,j,n)}}}else f=ic(c,n)}finally{if(r){r.length=0;Wb(r)}n.ha();cc(n)}return f}d=new Mb(b,this);try{f=ic(c,d)}finally{d.ha()}return f});var kc=s.TRAVELAUDIENCE_SERVICE_URL||"//ads.travelaudience.com/d.ashx?",lc=s.TRAVELAUDIENCE_BASE_URL||"//ads.travelaudience.com/",mc=s.TRAVELAUDIENCE_TEMPLATE_DEVELOPMENT||j,nc=s.TRAVELAUDIENCE_DEVELOPMENT_MODE||j;function oc(a,b,c,d){this.K=new Cb(document);var e=this.K.C("div",{id:this.Za="goog_"+ta++});this.K.q.write(Bb(e));this.Hb={x:0,y:0};e=this.Jb;var f={},h;for(h in e)f[h]=e[h];f.p=a;f.ident=b;f.key=d;f.x=s.travelaudience_ad_width||f.width;f.y=s.travelaudience_ad_height||f.height;f.link=s.travelaudience_color_headline||f.linkColor;f.bd=s.travelaudience_color_border||f.borderColor;f.price=s.travelaudience_color_price||f.pc;f.url=s.travelaudience_color_url||f.rc;f.txt=s.travelaudience_color_text||f.qc;
f.bg=s.travelaudience_color_bg||f.bgColor;f.type=s.travelaudience_ad_type||f.type;f.btnBg=s.travelaudience_button_bg||f.lc;f.btnTxt=s.travelaudience_button_text||f.mc;f.pos=c;document.location.toString().split("travelaudience_debug").length>1&&(f.travelaudience_debug=g);this.j=f}l=oc.prototype;l.Hb=i;l.kb=j;l.j=i;
l.Jb={p:"default",ident:"default",x:300,y:250,type:"text",link:"#000000",bd:"transparent",url:"#000000",bg:"#FFFFFF",price:"#000000",txt:"#000000",btnBg:"#005BC2",btnTxt:"#FFFFFF",pos:"",opb:i};l.v=i;l.Fa=function(a){var b=[];if(a.v){var c=this.j.x+"x"+this.j.y,d=a.ca["default"][c];if(s.TRAVELAUDIENCE_OFFERS)d=s.TRAVELAUDIENCE_OFFERS;else a.ca[this.j.p]&&a.ca[this.j.p][c]&&(d=a.ca[this.j.p][c]);for(c=0;c<d;c++){b.push(a.v[0].id);F.splice.call(a.v,0,1)}this.v=b}};l.h=function(){return this.K.h(this.Za)};
function pc(a,b){var c=a.h();if(a.v){var d=qc();Ea(d.z,{pb:a.j.p,ev:"ic",fm:a.j.x+"x"+a.j.y,pos:a.j.pos});if(b.aa){a.j.opb=b.aa;Ea(d.z,{opb:a.j.opb})}d.send();c?a.jb():ec(a.K.q.parentWindow||a.K.q.defaultView,"load",a.jb,j,a)}}
l.jb=function(){var a=this.v;if(a){var b=this.j,c=this.h(),d="width:"+b.x+"px;height:"+b.y+"px;overflow:hidden;border:0;vertical-align:bottom;";a=Ka([mc?"http://ads.travelaudience.com/template_debug.aspx?devUri="+lc+"&testId="+s.TRAVELAUDIENCE_TEST_ID:nc?"http://ads.travelaudience.com/ads_debug.aspx?devUri="+lc+"&testId="+s.TRAVELAUDIENCE_TEST_ID:this.dc,"&","ads","=",D(a.join(","))]);b=this.K.C("IFRAME",{src:Ka(La([a],b)),frameborder:0,style:d});this.K.appendChild(c,b);this.kb=g}};l.dc="http://ads.travelaudience.com/ads.aspx";function rc(a){return sc(a||arguments.callee.caller,[])}
function sc(a,b){var c=[];if(ua(b,a)>=0)c.push("[...circular reference...]");else if(a&&b.length<50){c.push(tc(a)+"(");for(var d=a.arguments,e=0;e<d.length;e++){e>0&&c.push(", ");var f;f=d[e];switch(typeof f){case "object":f=f?"object":"null";break;case "string":break;case "number":f=String(f);break;case "boolean":f=f?"true":"false";break;case "function":f=(f=tc(f))?f:"[fn]";break;default:f=typeof f}f.length>40&&(f=f.substr(0,40)+"...");c.push(f)}b.push(a);c.push(")\n");try{c.push(sc(a.caller,b))}catch(h){c.push("[exception trying to get caller]\n")}}else a?
c.push("[...long stack...]"):c.push("[end]");return c.join("")}function tc(a){a=String(a);if(!uc[a]){var b=/function ([^\(]+)/.exec(a);uc[a]=b?b[1]:"[Anonymous]"}return uc[a]}var uc={};function vc(a){this.q=a}var wc=/\s*;\s*/;l=vc.prototype;l.G=function(){var a=navigator.cookieEnabled;if(a&&jb){var b="COOKIES_TEST_"+B();xc.e(b,"1");if(!this.get(b))return j;this.remove(b)}return a};
l.e=function(a,b,c,d,e,f){if(/[;=\s]/.test(a))throw Error('Invalid cookie name "'+a+'"');if(/[;\r\n]/.test(b))throw Error('Invalid cookie value "'+b+'"');c!==undefined||(c=-1);e=e?";domain="+e:"";d=d?";path="+d:"";f=f?";secure":"";c=c<0?"":c==0?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date(B()+c*1E3)).toUTCString();this.qa(a+"="+b+e+d+c+f)};l.get=function(a,b){for(var c=a+"=",d=(this.P()||"").split(wc),e=0,f;f=d[e];e++)if(f.indexOf(c)==0)return f.substr(c.length);return b};
l.remove=function(a,b,c){var d=this.o(a);this.e(a,"",0,b,c);return d};l.F=function(){return yc(this).bb};l.r=function(){return yc(this).fc};l.D=function(){if(!this.P())return 0;return(this.P()||"").split(wc).length};l.o=function(a){return this.get(a)!==undefined};l.clear=function(){for(var a=yc(this).bb,b=a.length-1;b>=0;b--)this.remove(a[b])};l.qa=function(a){this.q.cookie=a};l.P=function(){return this.q.cookie};
function yc(a){a=(a.P()||"").split(wc);for(var b=[],c=[],d,e,f=0;e=a[f];f++){d=e.indexOf("=");if(d==-1){b.push("");c.push(e)}else{b.push(e.substring(0,d));c.push(e.substring(d+1))}}return{bb:b,fc:c}}var xc=new vc(document);xc.gc=3950;(function(){var a="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split("");Math.ob=function(){for(var b=Array(36),c=0,d,e=0;e<36;e++)if(e==8||e==13||e==18||e==23)b[e]="-";else if(e==14)b[e]="4";else{c<=2&&(c=33554432+Math.random()*16777216|0);d=c&15;c>>=4;b[e]=a[e==19?d&3|8:d]}return b.join("")}})();
s.TravelAudienceTrack=s.TravelAudienceTrack||{f:{Db:"http://data.traveltainment.de/app_0/tracker/track0.js",Sa:1E11,fa:i,ga:i,Ta:"_tracker",Ua:"_trackingCookie"},ba:{ec:j,Ca:j,Cb:g},hc:i,global:{c:{},e:function(a,b){if(b)this.c[a]=b;else this.c[a]&&delete this.c[a];this.ua()},get:function(a){return this.c[a]},getAll:k("c"),clear:function(){this.c={};this.ua()},ua:function(){try{this.Ab(TravelAudienceTrack.f.Ta,this.ta(this.c))}catch(a){}},tb:function(){try{if(this.c=this.Pa(this.ub(TravelAudienceTrack.f.Ta)))this.c.UUID||
(this.c.UUID=Math.ob());else{this.c={};this.c.UUID=Math.ob()}}catch(a){}},Ab:function(a,b){if(TravelAudienceTrack.f.Sa){var c=new Date;c.setTime(c.getTime()+TravelAudienceTrack.f.Sa)}document.cookie=a+"="+escape(b)+(c?"; expires="+c.toGMTString():"")+(TravelAudienceTrack.f.ga?"; path="+TravelAudienceTrack.f.ga:"")+(TravelAudienceTrack.f.fa?"; domain="+TravelAudienceTrack.f.fa:"")},ub:function(a){a+="=";for(var b=document.cookie.split(";"),c,d=0;d<b.length;d++){for(c=b[d];c.charAt(0)==" ";)c=c.substring(1,
c.length);if(c.indexOf(a)==0)return unescape(c.substring(a.length,c.length))}return""},ic:function(a){document.cookie=a+"=; expires="+((new Date).toGMTString()-1E3)+(TravelAudienceTrack.f.ga?"; path="+TravelAudienceTrack.f.ga:"")+(TravelAudienceTrack.f.fa?"; domain="+TravelAudienceTrack.f.fa:"")},ta:function(a){var b=typeof a;if(b!="object"||a===i){b=="string"&&(a='"'+a+'"');return String(a)}else{var c,d,e=[],f=a&&a.constructor==Array;for(c in a){d=a[c];b=typeof d;if(b=="string")d='"'+d+'"';else b==
"object"&&d!==i&&(d=this.ta(d));e.push((f?"":'"'+c+'":')+String(d))}return(f?"[":"{")+String(e)+(f?"]":"}")}},Pa:function(a){a===""&&(a='""');eval("var p="+a+";");return p},sb:function(){var a={};a[TravelAudienceTrack.f.Ua]=this.ta(this.c);return TravelAudienceTrack.Oa(a)},wb:function(){var a=window.location.href,b="#"+TravelAudienceTrack.f.Ua+"=",c=a.indexOf(b);if(c>=0){a=decodeURIComponent(a.substr(c+b.length).split("#")[0]);try{this.c=this.Pa(a);if(!this.c)this.c={}}catch(d){}this.ua()}},kc:function(a){return a+
"#"+this.sb()}},Oa:function(a){var b="";for(key in a){b&&(b+="&");b+=encodeURIComponent(key)+"="+encodeURIComponent(a[key])}return b},rb:function(a,b){if(b){a+=a.indexOf("?")===-1?"?":"&";a+=this.Oa(b)+"&__trackerRequestId="+Math.random()}return a},zb:function(a,b){var c=TravelAudienceTrack.rb(a,b);if(TravelAudienceTrack.ba.ec)(new Image).src=c;else{var d=document.createElement("script");d.setAttribute("src",c);d.setAttribute("type","text/javascript");TravelAudienceTrack.ba.Ca?_anchorDiv.appendChild(d):
document.body.appendChild(d)}},vb:function(){var a=-1;navigator.appName=="Microsoft Internet Explorer"&&/MSIE ([0-9]{1,}[.0-9]{0,})/.exec(navigator.userAgent)!=i&&(a=parseFloat(RegExp.$1));return a},send:function(a,b,c){b=b?{}:this.Ma(this.global.c);this.Na(b,a);this.zb(c||this.f.Db,b)},Ma:function(a){if(a==i||typeof a!="object")return a;var b=a.constructor();this.Na(b,a);return b},Na:function(a,b){if(b==i||typeof b!="object")return b;for(var c in b)a[c]=this.Ma(b[c]);return a},xb:function(){if(!this.yb){if(TravelAudienceTrack.ba.Cb){var a=
this.vb();if(a>5.5&&a<=8)TravelAudienceTrack.ba.Ca=g}if(TravelAudienceTrack.ba.Ca){document.write('<div id="TravelAudienceAnchor" style="visible:false;"></div>');_anchorDiv=document.getElementById("TravelAudienceAnchor")}this.yb=g;this.global.tb();this.global.wb();this.Ub()}},Ub:function(a){if(a=a||window.jc)try{for(;a.length>0;)this.send(a.shift())}catch(b){}}};s.TravelAudienceTrack.xb();function zc(){this.ib=B()}var Ac=new zc;zc.prototype.e=aa("ib");zc.prototype.reset=function(){this.e(B())};zc.prototype.get=k("ib");function T(a){this.Da=a||"";this.cc=Ac}T.prototype.Zb=g;T.prototype.ac=g;T.prototype.$b=g;T.prototype.mb=j;function U(a){if(a<10)return"0"+a;return String(a)}function Bc(a,b){var c=(a.nb-b)/1E3,d=c.toFixed(3),e=0;if(c<1)e=2;else for(;c<100;){e++;c*=10}for(;e-- >0;)d=" "+d;return d}function Cc(a){T.call(this,a)}C(Cc,T);Cc.prototype.mb=g;function V(a,b,c,d,e){this.reset(a,b,c,d,e)}V.prototype.Yb=0;V.prototype.za=i;V.prototype.ya=i;var Dc=0;V.prototype.reset=function(a,b,c,d,e){this.Yb=typeof e=="number"?e:Dc++;this.nb=d||B();this.H=a;this.fb=b;this.cb=c;delete this.za;delete this.ya};V.prototype.ra=aa("H");function W(a){this.Rb=a}W.prototype.na=i;W.prototype.H=i;W.prototype.wa=i;W.prototype.Z=i;function X(a,b){this.name=a;this.value=b}X.prototype.toString=k("name");var Ec=new X("SHOUT",1200),Fc=new X("SEVERE",1E3),Gc=new X("WARNING",900),Hc=new X("INFO",800),Ic=new X("CONFIG",700),Jc=[new X("OFF",Infinity),Ec,Fc,Gc,Hc,Ic,new X("FINE",500),new X("FINER",400),new X("FINEST",300),new X("ALL",0)],Kc=i;function Lc(a){if(!Kc){Kc={};for(var b=0,c;c=Jc[b];b++){Kc[c.value]=c;Kc[c.name]=c}}return Kc[a]||i}
l=W.prototype;l.getParent=k("na");l.ra=aa("H");function Mc(a){if(a.H)return a.H;if(a.na)return Mc(a.na);return i}l.log=function(a,b,c){if(a.value>=Mc(this).value){a=this.Mb(a,b,c);s.console&&s.console.markTimeline&&s.console.markTimeline("log:"+a.fb);for(b=this;b;){c=b;var d=a;if(c.Z)for(var e=0,f=void 0;f=c.Z[e];e++)f(d);b=b.getParent()}}};
l.Mb=function(a,b,c){var d=new V(a,String(b),this.Rb);if(c){d.za=c;var e;var f=arguments.callee.caller;try{var h;var m=ba("window.location.href");if(y(c))h={message:c,name:"Unknown error",lineNumber:"Not available",fileName:m,stack:"Not available"};else{var o,n,t=j;try{o=c.lineNumber||c.oc||"Not available"}catch(r){o="Not available";t=g}try{n=c.fileName||c.filename||c.sourceURL||m}catch(q){n="Not available";t=g}h=t||!c.lineNumber||!c.fileName||!c.stack?{message:c.message,name:c.name,lineNumber:o,
fileName:n,stack:c.stack||"Not available"}:c}e="Message: "+E(h.message)+'\nUrl: <a href="view-source:'+h.fileName+'" target="_new">'+h.fileName+"</a>\nLine: "+h.lineNumber+"\n\nBrowser stack:\n"+E(h.stack+"-> ")+"[end]\n\nJS stack traversal:\n"+E(rc(f)+"-> ")}catch(u){e="Exception trying to expose exception! You win, we lose. "+u}d.ya=e}return d};l.info=function(a,b){this.log(Hc,a,b)};l.f=function(a,b){this.log(Ic,a,b)};var Nc={},Oc=i;function Pc(){if(!Oc){Oc=new W("");Nc[""]=Oc;Oc.ra(Ic)}}
function Qc(a){Pc();var b;if(!(b=Nc[a])){b=new W(a);var c=a.lastIndexOf("."),d=a.substr(c+1);c=Qc(a.substr(0,c));if(!c.wa)c.wa={};c.wa[d]=b;b.na=c;Nc[a]=b}return b};function Rc(a){this.Ba=a||100;this.J=[]}l=Rc.prototype;l.$=0;l.add=function(a){this.J[this.$]=a;this.$=(this.$+1)%this.Ba};l.get=function(a){a=Sc(this,a);return this.J[a]};l.e=function(a,b){a=Sc(this,a);this.J[a]=b};l.D=function(){return this.J.length};l.clear=function(){this.$=this.J.length=0};l.r=function(){var a=this.D(),b=this.D(),c=[];for(a=this.D()-a;a<b;a++)c[a]=this.get(a);return c};l.F=function(){for(var a=[],b=this.D(),c=0;c<b;c++)a[c]=c;return a};l.o=function(a){return a<this.D()};
function Sc(a,b){if(b>=a.J.length)throw Error("Out of bounds exception");if(a.J.length<a.Ba)return b;return(a.$+Number(b))%a.Ba};function Tc(a,b){this.i=a||"";this.Da=b||"";this.R=[];this.pa=new Rc(Uc);this.Vb=A(this.Bb,this);this.Lb=new Cc(this.Da);this.Kb={};if(g!=this.$a){this.$a=g;Pc();var c=Oc,d=this.Vb;if(!c.Z)c.Z=[];c.Z.push(d)}this.X=Vc(this.i,"enabled")=="1";s.setInterval(A(this.Xb,this),7500)}var Uc=500;l=Tc.prototype;l.qb="LOGGING";l.d=i;l.Ja=j;l.$a=j;l.Qa=i;l.Aa=B();l.Q=function(){this.X&&Wc(this)};l.G=k("X");function Y(a){return!!a.d&&!a.d.closed}l.Fb=function(){this.pa.clear();Y(this)&&this.sa()};
l.Bb=function(a){if(!this.Kb[a.cb]){var b=this.Lb,c;switch(a.H.value){case Ec.value:c="dbg-sh";break;case Fc.value:c="dbg-sev";break;case Gc.value:c="dbg-w";break;case Hc.value:c="dbg-i";break;default:c="dbg-f"}var d=[];d.push(b.Da," ");if(b.Zb){var e=new Date(a.nb);d.push("[",U(e.getFullYear()-2E3)+U(e.getMonth()+1)+U(e.getDate())+" "+U(e.getHours())+":"+U(e.getMinutes())+":"+U(e.getSeconds())+"."+U(Math.floor(e.getMilliseconds()/10)),"] ")}b.ac&&d.push("[",qa(Bc(a,b.cc.get())),"s] ");b.$b&&d.push("[",
E(a.cb),"] ");d.push('<span class="',c,'">',ka(qa(E(a.fb))));b.mb&&a.za&&d.push("<br>",ka(qa(a.ya||"")));d.push("</span><br>");a=d.join("");if(this.X){Wc(this);this.pa.add(a);Xc(this,a)}else this.pa.add(a)}};function Xc(a,b){a.R.push(b);s.clearTimeout(a.Qa);if(B()-a.Aa>750)a.Ka();else a.Qa=s.setTimeout(A(a.Ka,a),250)}
l.Ka=function(){this.Aa=B();if(Y(this)){var a=this.d.document.body;a=a&&a.scrollHeight-(a.scrollTop+a.clientHeight)<=100;this.d.document.write(this.R.join(""));this.R.length=0;a&&this.d.scrollTo(0,1E6)}};function Yc(a){for(var b=a.pa.r(),c=0;c<b.length;c++)Xc(a,b[c])}
function Wc(a){if(!(Y(a)||a.Ja)){var b=a.P("dbg","0,0,800,500").split(","),c=Number(b[0]),d=Number(b[1]),e=Number(b[2]);b=Number(b[3]);a.Ja=g;a.d=window.open("",M?a.i.replace(/[\s\-\.\,]/g,"_"):a.i,"width="+e+",height="+b+",toolbar=no,resizable=yes,scrollbars=yes,left="+c+",top="+d+",status=no,screenx="+c+",screeny="+d);if(!a.d&&!a.bc){alert("Logger popup was blocked");a.bc=g}a.Ja=j;a.d&&a.sa()}}l.ja=function(){return"*{font:normal 14px monospace;}.dbg-sev{color:#F00}.dbg-w{color:#E92}.dbg-sh{background-color:#fd4;font-weight:bold;color:#000}.dbg-i{color:#666}.dbg-f{color:#999}.dbg-ev{color:#0A0}.dbg-m{color:#990}"};
l.sa=function(){if(!Y(this)){this.d.document.open();Xc(this,"<style>"+this.ja()+'</style><hr><div class="dbg-ev" style="text-align:center">'+this.qb+"<br><small>Logger: "+this.i+"</small></div><hr>");Yc(this)}};l.qa=function(a,b){a+=this.i;document.cookie=a+"="+encodeURIComponent(b)+";path=/;expires="+(new Date(B()+2592E6)).toUTCString()};l.P=function(a,b){return Vc(this.i,a,b)};
function Vc(a,b,c){a=b+a;b=String(document.cookie);var d=b.indexOf(a+"=");if(d!=-1){c=b.indexOf(";",d);return decodeURIComponent(b.substring(d+a.length+1,c==-1?b.length:c))}else return c||""}l.Xb=function(){Y(this)&&this.qa("dbg",(this.d.screenX||this.d.screenLeft||0)+","+(this.d.screenY||this.d.screenTop||0)+","+(this.d.outerWidth||800)+","+(this.d.outerHeight||500))};function Zc(a,b){Tc.call(this,a,b)}C(Zc,Tc);l=Zc.prototype;l.Ka=function(){this.Aa=B();if(Y(this)){for(var a=this.l.h("log"),b=a.scrollHeight-(a.scrollTop+a.offsetHeight)<=100,c=0;c<this.R.length;c++){var d=this.l.C("div","logmsg");d.innerHTML=this.R[c];a.appendChild(d)}this.R.length=0;this.lb();if(b)a.scrollTop=a.scrollHeight}};
l.sa=function(){if(Y(this)){var a=this.d.document;a.open();a.write('<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd"><html><head><title>Logging: '+this.i+"</title><style>"+this.ja()+'</style></head><body><div id="log" style="overflow:auto"></div><div id="head"><p><b>Logging: '+this.i+"</b></p><p>"+this.qb+'</p><span id="clearbutton">clear</span><span id="openbutton">options</span></div><div id="options"><big><b>Options:</b></big><div id="optionsarea"></div><span id="closebutton">save and close</span></div></body></html>');
a.close();(M?a.body:this.d).onresize=A(this.lb,this);this.l=new Cb(a);this.l.h("openbutton").onclick=A(this.Sb,this);this.l.h("closebutton").onclick=A(this.Gb,this);this.l.h("clearbutton").onclick=A(this.Fb,this);Yc(this)}};l.Sb=function(){var a=this.l.h("optionsarea");a.innerHTML="";for(var b=$c(),c=this.l,d=0;d<b.length;d++){var e=Qc(b[d]);e=c.C("div",{},ad(this,"sel"+b[d],e.H?e.H.name:"INHERIT"),c.C("span",{},b[d]||"(root)"));a.appendChild(e)}this.l.h("options").style.display="block";return j};
function ad(a,b,c){a=a.l;b=a.C("select",{id:b});for(var d=0;d<Jc.length;d++){var e=Jc[d],f=a.C("option",{},e.name);if(c==e.name)f.selected=g;b.appendChild(f)}b.appendChild(a.C("option",{selected:c=="INHERIT"},"INHERIT"));return b}l.Gb=function(){this.l.h("options").style.display="none";for(var a=$c(),b=this.l,c=0;c<a.length;c++){var d=Qc(a[c]),e=b.h("sel"+a[c]);e=e.options[e.selectedIndex].text;e=="INHERIT"?d.ra(i):d.ra(Lc(e))}return j};
l.lb=function(){var a=this.l,b=a.h("log"),c=a.h("head");b.style.top=c.offsetHeight+"px";b.style.height=a.q.body.offsetHeight-c.offsetHeight-(M?4:0)+"px"};function $c(){var a=Ca(Nc);a.sort();return a}l.ja=function(){return Zc.Ga.ja.call(this)+"html,body{height:100%;width:100%;margin:0px;padding:0px;background-color:#FFF;overflow:hidden}*{}.logmsg{border-bottom:1px solid #CCC;padding:2px;font:medium monospace;}#head{position:absolute;width:100%;font:x-small arial;border-bottom:2px solid #999;background-color:#EEE;}#head p{margin:0px 5px;}#log{position:absolute;width:100%;background-color:#FFF;}#options{position:absolute;right:0px;width:50%;height:100%;border-left:1px solid #999;background-color:#DDD;display:none;padding-left: 5px;font:normal small arial;overflow:auto;}#openbutton,#closebutton{text-decoration:underline;color:#00F;cursor:pointer;position:absolute;top:0px;right:5px;font:x-small arial;}#clearbutton{text-decoration:underline;color:#00F;cursor:pointer;position:absolute;top:0px;right:50px;font:x-small arial;}select{font:x-small arial;margin-right:10px;}hr{border:0;height:5px;background-color:#8c8;color:#8c8;}"};function Z(){if(this.G=document.location.toString().indexOf(Z.La)>-1){var a=new Zc("tt.utils.debug");a.X=g;if(a.X){Wc(a);a.d&&a.sa()}a.qa("enabled","1");a.Q()}}(function(a){a.ia=function(){return a.Pb||(a.Pb=new a)}})(Z);Z.prototype.send=function(a){if(this.G)for(var b=Qc(a),c=1;c<arguments.length;c++)b.info(arguments[c])};Z.La="travelaudience_debug";function bd(a){var b=[];cd(new dd,a,b);return b.join("")}function dd(){}
function cd(a,b,c){switch(typeof b){case "string":ed(b,c);break;case "number":c.push(isFinite(b)&&!isNaN(b)?b:"null");break;case "boolean":c.push(b);break;case "undefined":c.push("null");break;case "object":if(b==i){c.push("null");break}if(w(b)){var d=b.length;c.push("[");for(var e="",f=0;f<d;f++){c.push(e);cd(a,b[f],c);e=","}c.push("]");break}c.push("{");d="";for(e in b)if(Object.prototype.hasOwnProperty.call(b,e)){f=b[e];if(typeof f!="function"){c.push(d);ed(e,c);c.push(":");cd(a,f,c);d=","}}c.push("}");
break;case "function":break;default:throw Error("Unknown type: "+typeof b);}}var fd={'"':'\\"',"\\":"\\\\","/":"\\/","\u0008":"\\b","\u000c":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\u000b":"\\u000b"},gd=/\uffff/.test("\uffff")?/[\\\"\x00-\x1f\x7f-\uffff]/g:/[\\\"\x00-\x1f\x7f-\xff]/g;function ed(a,b){b.push('"',a.replace(gd,function(c){if(c in fd)return fd[c];var d=c.charCodeAt(0),e="\\u";if(d<16)e+="000";else if(d<256)e+="00";else d<4096&&(e+="0");return fd[c]=e+d.toString(16)}),'"')};function hd(){this.nc=new vc(document)}var id=i;function qc(){id||(id=new hd);return id}hd.prototype.z={};
hd.prototype.send=function(a){if(Z.ia().G){var b="";switch(this.z.ev){case "ic":b="Invocation Call";break;case "ai":b="Ad Impression";break;case "ac":b="Ad Click";break;case "pi":b="Page Impression";break;case "tx":b="transaction";break;default:b="no Event"}Z.ia().send("tt.tracking.send","Event: "+b,bd(this.z)+(a?"":" globals"+bd(TravelAudienceTrack.global.getAll())))}if(!mc){s.TravelAudienceTrack.send(this.z,a,"//data.traveltainment.de/app_0/tracker/track0.js");this.z.ev=="ac"&&s.TravelAudienceTrack.send(this.z,
a,"//ads.travelaudience.com/el.ashx")}a=this.z;for(var c in a)delete a[c]};function jd(){this.oa=s.travelaudience_ad_client;this.i=s.travelaudience_url?s.travelaudience_url:window.parent.location.href;this.ka=s.travelaudience_keywords?s.travelaudience_keywords.toLowerCase():"";var a=this.i,b=Z.ia();if(b.G){var c=RegExp(String(Z.La).replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08"),"");a=a.replace(c,"")}a={format:"json",publisher:this.oa,u:a,k:this.ka,m:"id"};(new Db(kc)).send(a,A(this.Ob,this),A(this.Nb,this),"cb");if(b.G){var d=kc,e;for(e in a)if(!a.hasOwnProperty||
a.hasOwnProperty(e))d=d+e+"="+a[e]+"&"}b.send("tt.debug.jsonp","send Request",d);qc();TravelAudienceTrack.global.e("pb",this.oa);this.ka!=""&&TravelAudienceTrack.global.e("key",this.ka);TravelAudienceTrack.global.e("url",this.i)}l=jd.prototype;l.oa=i;l.aa=i;l.i=i;l.Fa=aa("v");l.v=i;l.va=[];function kd(a){a.va.length==0||va(a.va,function(b){b.Fa(this);pc(b,this)},a)}
l.Ob=function(a){this.ca=a.settings;this.v=a.offers;if(a.publisher)this.aa=a.publisher.tracking_id;a=qc();Ea(a.z,{ev:"pi"});this.aa&&Ea(a.z,{opb:this.aa});a.send();a=Z.ia();a.G&&a.send("tt.debug.jsonp","received data",bd(this.v));kd(this)};l.Nb=function(){};l.ca=i;s.tt_travelaudience=s.tt_travelaudience||new jd;var $=s.tt_travelaudience,ld=new oc($.oa,$.i,s.travelaudience_ad_position||"",$.ka);ld.Fa($);pc(ld,$);ld.kb||$.va.push(ld); })();

