"use strict";var __admax_passback__=function(){if(void 0!==window.__admax_passback__)return window.__admax_passback__;var Advertisement=function(t,e,a){function i(t,e,a){this.text=t,this.beacon=e,this.frame=a}return i.prototype.render=function(){this.beacon&&((new Image).src=this.beacon),this.frame.render(this.text)},i}(),DataSet=function(){function t(){this._dataset={}}return t.prototype.add=function(t){var e=t.rid;return"undefined"==typeof e?null:"undefined"!=typeof this._dataset[e]?null:(t.frame=new Frame(e,t.w,t.h),this._dataset[e]=t,e)},t.prototype.get_ads=function(t){var e=this._dataset[t];if("undefined"==typeof e)return null;var a=e.tags;if("undefined"==typeof a)return null;var i=a.shift();return"undefined"==typeof i?null:new Advertisement(i.text,i.beacon,e.frame)},t}(),dataset=new DataSet,Frame=function(t,e,a){function i(t,e,a){this.request_id=t,this.width=e,this.height=a,this.frame=this.get_frame(this.request_id),this.last_iframe=null}return i.prototype.render=function(t){if(this.frame){this.last_iframe&&this.last_iframe.setAttribute("style","display: none;");var e=this.build_iframe(this.width,this.height),a="
";a+="