var mboxCopyright="&copy; 1996-2008. Omniture, Inc. All rights reserved.";mboxUrlBuilder=function(B,A){this.a=B;this.b=A;this.c=new Array();this.d=function(C){return C};this.f=null};mboxUrlBuilder.prototype.addParameter=function(F,E){var D=new RegExp("('|\")");if(D.exec(F)){throw"Parameter '"+F+"' contains invalid characters"}for(var C=0;C<this.c.length;C++){var B=this.c[C];if(B.name==F){B.value=E;return this}}var A=new Object();A.name=F;A.value=E;this.c[this.c.length]=A;return this};mboxUrlBuilder.prototype.addParameters=function(C){if(!C){return this}for(var B=0;B<C.length;B++){var A=C[B].indexOf("=");if(A==-1||A==0){continue}this.addParameter(C[B].substring(0,A),C[B].substring(A+1,C[B].length))}return this};mboxUrlBuilder.prototype.setServerType=function(A){this.o=A};mboxUrlBuilder.prototype.setBasePath=function(A){this.f=A};mboxUrlBuilder.prototype.setUrlProcessAction=function(A){this.d=A};mboxUrlBuilder.prototype.buildUrl=function(){var E=this.f?this.f:"/m2/"+this.b+"/mbox/"+this.o;var D=document.location.protocol=="file:"?"http:":document.location.protocol;var F=D+"//"+this.a+E;var C=F.indexOf("?")!=-1?"&":"?";for(var B=0;B<this.c.length;B++){var A=this.c[B];F+=C+A.name+"="+encodeURIComponent(A.value);C="&"}return this.t(this.d(F))};mboxUrlBuilder.prototype.getParameters=function(){return this.c};mboxUrlBuilder.prototype.setParameters=function(A){this.c=A};mboxUrlBuilder.prototype.clone=function(){var B=new mboxUrlBuilder(this.a,this.b);B.setServerType(this.o);B.setBasePath(this.f);B.setUrlProcessAction(this.d);for(var A=0;A<this.c.length;A++){B.addParameter(this.c[A].name,this.c[A].value)}return B};mboxUrlBuilder.prototype.t=function(A){return A.replace(/\"/g,"&quot;").replace(/>/g,"&gt;")};mboxStandardFetcher=function(){};mboxStandardFetcher.prototype.getType=function(){return"standard"};mboxStandardFetcher.prototype.fetch=function(A){A.setServerType(this.getType());document.write('<script src="'+A.buildUrl()+'" language="JavaScript"><\/script>')};mboxStandardFetcher.prototype.cancel=function(){};mboxAjaxFetcher=function(){};mboxAjaxFetcher.prototype.getType=function(){return"ajax"};mboxAjaxFetcher.prototype.fetch=function(A){A.setServerType(this.getType());var B=A.buildUrl();this.x=document.createElement("script");this.x.src=B;document.body.appendChild(this.x)};mboxAjaxFetcher.prototype.cancel=function(){};mboxMap=function(){this.y=new Object();this.z=new Array()};mboxMap.prototype.put=function(B,C){if(!this.y[B]){this.z[this.z.length]=B}this.y[B]=C};mboxMap.prototype.get=function(B){return this.y[B]};mboxMap.prototype.remove=function(B){this.y[B]=undefined};mboxMap.prototype.each=function(E){for(var C=0;C<this.z.length;C++){var B=this.z[C];var D=this.y[B];if(D){E(B,D)}}};mboxFactory=function(G,A,F){this.D=false;this.B=G;this.C=F;this.E=new mboxList();mboxFactories.put(F,this);this.F=typeof document.createElement("div").replaceChild!="undefined"&&(function(){return true})()&&typeof document.getElementById!="undefined"&&typeof (window.attachEvent||document.addEventListener||window.addEventListener)!="undefined"&&typeof encodeURIComponent!="undefined";this.G=this.F&&mboxGetPageParameter("mboxDisable")==null;var D=F=="default";this.I=new mboxCookieManager("mbox"+(D?"":("-"+F)),(function(){return mboxCookiePageDomain()})());this.G=this.G&&this.I.isEnabled()&&(this.I.getCookie("disable")==null);if(this.isAdmin()){this.enable()}this.J=mboxGenerateId();this.K=new mboxSession(this.J,"mboxSession","session",31*60,this.I);this.L=new mboxPC("PC",1209600,this.I);this.w=new mboxUrlBuilder(G,A);this.M(this.w,D);this.N=new Date().getTime();this.O=this.N;var E=this;this.addOnLoad(function(){E.O=new Date().getTime()});if(this.F){this.addOnLoad(function(){E.D=true;E.getMboxes().each(function(B){B.setFetcher(new mboxAjaxFetcher()),B.finalize()})});this.limitTraffic(100,10368000);if(this.G){this.R();this.S=new mboxSignaler(function(B,C){return E.create(B,C)},this.I)}}};mboxFactory.prototype.isEnabled=function(){return this.G};mboxFactory.prototype.getDisableReason=function(){return this.I.getCookie("disable")};mboxFactory.prototype.isSupported=function(){return this.F};mboxFactory.prototype.disable=function(B,A){if(typeof B=="undefined"){B=60*60}if(typeof A=="undefined"){A="unspecified"}if(!this.isAdmin()){this.G=false;this.I.setCookie("disable",A,B)}};mboxFactory.prototype.enable=function(){this.G=true;this.I.deleteCookie("disable")};mboxFactory.prototype.isAdmin=function(){return document.location.href.indexOf("mboxEnv")!=-1};mboxFactory.prototype.limitTraffic=function(A,B){};mboxFactory.prototype.addOnLoad=function(A){if(window.addEventListener){window.addEventListener("load",A,false)}else{if(document.addEventListener){document.addEventListener("load",A,false)}else{if(document.attachEvent){window.attachEvent("onload",A)}}}};mboxFactory.prototype.getEllapsedTime=function(){return this.O-this.N};mboxFactory.prototype.getEllapsedTimeUntil=function(A){return A-this.N};mboxFactory.prototype.getMboxes=function(){return this.E};mboxFactory.prototype.get=function(A,B){return this.E.get(A).getById(B||0)};mboxFactory.prototype.update=function(A,B){if(!this.isEnabled()){return }if(this.E.get(A).length()==0){throw"Mbox "+A+" is not defined"}this.E.get(A).each(function(C){C.getUrlBuilder().addParameter("mboxPage",mboxGenerateId());C.load(B)})};mboxFactory.prototype.create=function(C,H,A){if(!this.isSupported()){return null}var F=this.w.clone();F.addParameter("mboxCount",this.E.length()+1);F.addParameters(H);var B=this.E.get(C).length();var I=this.C+"-"+C+"-"+B;var K;if(A){K=new mboxLocatorNode(A)}else{if(this.D){throw"The page has already been loaded, can't write marker"}K=new mboxLocatorDefault(I)}try{var E=this;var G="mboxImported-"+I;var D=new mbox(C,B,F,K,G);if(this.G){D.setFetcher(this.D?new mboxAjaxFetcher():new mboxStandardFetcher())}D.setOnError(function(L,M){D.setMessage(L);if(M=="standard"){D.activate();if(!D.isActivated()){E.disable(60*60,"browser timeout");window.location.reload(false)}}else{throw L}});this.E.add(D)}catch(J){this.disable();throw'Failed creating mbox "'+C+'", the error was: '+J}return D};mboxFactory.prototype.getCookieManager=function(){return this.I};mboxFactory.prototype.getPageId=function(){return this.J};mboxFactory.prototype.getPCId=function(){return this.L};mboxFactory.prototype.getSessionId=function(){return this.K};mboxFactory.prototype.getSignaler=function(){return this.S};mboxFactory.prototype.getUrlBuilder=function(){return this.w};mboxFactory.prototype.M=function(C,B){C.addParameter("mboxHost",document.location.hostname).addParameter("mboxSession",this.K.getId());if(!B){C.addParameter("mboxFactoryId",this.C)}if(this.L.getId()!=null){C.addParameter("mboxPC",this.L.getId())}C.addParameter("mboxPage",this.J);var A=this.I.getCookie("edge");if(A!=null){C.addParameter("edge",A)}C.setUrlProcessAction(function(E){E+="&mboxURL="+encodeURIComponent(document.location);var D=encodeURIComponent(document.referrer);if(E.length+D.length<2000){E+="&mboxReferrer="+D}E+="&mboxVersion="+mboxVersion;return E})};mboxFactory.prototype.gb=function(){return""};mboxFactory.prototype.R=function(){document.write("<style>.mboxDefault { visibility:hidden; }</style>")};mboxSignaler=function(G,D){this.I=D;var A=D.getCookieNames("signal-");for(var C=0;C<A.length;C++){var B=A[C];var E=D.getCookie(B).split("&");var F=G(E[0],E);F.load();D.deleteCookie(B)}};mboxSignaler.prototype.signal=function(B,A){this.I.setCookie("signal-"+B,mboxShiftArray(arguments).join("&"),45*60)};mboxList=function(){this.E=new Array()};mboxList.prototype.add=function(A){if(A!=null){this.E[this.E.length]=A}};mboxList.prototype.get=function(B){var D=new mboxList();for(var A=0;A<this.E.length;A++){var C=this.E[A];if(C.getName()==B){D.add(C)}}return D};mboxList.prototype.getById=function(A){return this.E[A]};mboxList.prototype.length=function(){return this.E.length};mboxList.prototype.each=function(B){if(typeof B!="function"){throw"Action must be a function, was: "+typeof (B)}for(var A=0;A<this.E.length;A++){B(this.E[A])}};mboxLocatorDefault=function(A){this.g="mboxMarker-"+A;document.write('<div id="'+this.g+'" style="visibility:hidden;display:none"></div>')};mboxLocatorDefault.prototype.locate=function(){var A=document.getElementById(this.g);while(A!=null){if(A.nodeType==1){if(A.className=="mboxDefault"){return A}}A=A.previousSibling}return null};mboxLocatorDefault.prototype.force=function(){var A=document.createElement("div");A.className="mboxDefault";var B=document.getElementById(this.g);B.parentNode.insertBefore(A,B);return A};mboxLocatorNode=function(A){this.ob=A};mboxLocatorNode.prototype.locate=function(){return typeof this.ob=="string"?document.getElementById(this.ob):this.ob};mboxLocatorNode.prototype.force=function(){return null};mboxCreate=function(A){var B=mboxFactoryDefault.create(A,mboxShiftArray(arguments));if(B){B.load()}return B};mboxDefine=function(C,A){var B=mboxFactoryDefault.create(A,mboxShiftArray(mboxShiftArray(arguments)),C);return B};mboxUpdate=function(A){mboxFactoryDefault.update(A,mboxShiftArray(arguments))};mbox=function(C,E,B,A,D){this.ub=null;this.vb=0;this.ab=A;this.bb=D;this.wb=null;this.xb=new mboxOfferContent();this.pb=null;this.w=B;this.message="";this.yb=new Object();this.zb=0;this.sb=E;this.g=C;this.Ab();B.addParameter("mbox",C).addParameter("mboxId",E);this.Bb=function(){};this.Cb=function(){}};mbox.prototype.getId=function(){return this.sb};mbox.prototype.Ab=function(){if(this.g.length>250){throw"Mbox Name "+this.g+" exceeds max length of 250 characters."}else{if(this.g.match(/^\s+|\s+$/g)){throw"Mbox Name "+this.g+" has leading/trailing whitespace(s)."}}};mbox.prototype.getName=function(){return this.g};mbox.prototype.getParameters=function(){var C=this.w.getParameters();var B=new Array();for(var A=0;A<C.length;A++){if(C[A].name.indexOf("mbox")!=0){B[B.length]=C[A].name+"="+C[A].value}}return B};mbox.prototype.setOnLoad=function(A){this.Cb=A;return this};mbox.prototype.setMessage=function(A){this.message=A;return this};mbox.prototype.setOnError=function(A){this.Bb=A;return this};mbox.prototype.setFetcher=function(A){if(this.wb){this.wb.cancel()}this.wb=A;return this};mbox.prototype.getFetcher=function(){return this.wb};mbox.prototype.load=function(C){if(this.wb==null){return this}this.setEventTime("load.start");this.cancelTimeout();this.vb=0;var A=(C&&C.length>0)?this.w.clone().addParameters(C):this.w;this.wb.fetch(A);var B=this;this.Eb=setTimeout(function(){B.Bb("Fetch of mbox timed out",B.wb.getType())},15000);this.setEventTime("load.end");return this};mbox.prototype.loaded=function(){this.cancelTimeout();if(!this.activate()){var A=this;setTimeout(function(){A.loaded()},100)}};mbox.prototype.activate=function(){if(this.vb){return this.vb}this.setEventTime("activate"+ ++this.zb+".start");if(this.show()){this.cancelTimeout();this.vb=1}this.setEventTime("activate"+this.zb+".end");return this.vb};mbox.prototype.isActivated=function(){return this.vb};mbox.prototype.setOffer=function(A){if(A&&A.show&&A.setOnLoad){this.xb=A}else{throw"Invalid offer"}return this};mbox.prototype.getOffer=function(){return this.xb};mbox.prototype.show=function(){this.setEventTime("show.start");var A=this.xb.show(this);this.setEventTime(A==1?"show.end.ok":"show.end");return A};mbox.prototype.showContent=function(A){if(A==null){return 0}if(this.pb==null||!this.pb.parentNode){this.pb=this.getDefaultDiv(true);if(this.pb==null){return 0}}if(this.pb!=A){this.Gb(this.pb);this.pb.parentNode.replaceChild(A,this.pb);this.pb=A}this.Hb(A);this.Cb();return 1};mbox.prototype.hide=function(){this.setEventTime("hide.start");var A=this.showContent(this.getDefaultDiv());this.setEventTime(A==1?"hide.end.ok":"hide.end.fail");return A};mbox.prototype.finalize=function(){this.setEventTime("finalize.start");this.cancelTimeout();if(this.getDefaultDiv()==null){if(this.ab.force()!=null){this.setMessage("No default content, an empty one has been added")}else{this.setMessage("Unable to locate mbox")}}if(!this.activate()){this.hide();this.setEventTime("finalize.end.hide")}this.setEventTime("finalize.end.ok")};mbox.prototype.cancelTimeout=function(){if(this.Eb){clearTimeout(this.Eb)}if(this.wb!=null){this.wb.cancel()}};mbox.prototype.getDiv=function(){return this.pb};mbox.prototype.getDefaultDiv=function(A){var B=this.ab.locate();if(B!=null){this.Jb=B}return A?B:this.Jb};mbox.prototype.setEventTime=function(A){this.yb[A]=(new Date()).getTime()};mbox.prototype.getEventTimes=function(){return this.yb};mbox.prototype.getImportName=function(){return this.bb};mbox.prototype.getURL=function(){return this.w.buildUrl()};mbox.prototype.getUrlBuilder=function(){return this.w};mbox.prototype.Lb=function(A){return A.style.display!="none"};mbox.prototype.Hb=function(A){this.Mb(A,true)};mbox.prototype.Gb=function(A){this.Mb(A,false)};mbox.prototype.Mb=function(B,A){B.style.visibility=A?"visible":"hidden";B.style.display=A?"block":"none"};mboxOfferContent=function(){this.Cb=function(){}};mboxOfferContent.prototype.show=function(A){var B=A.showContent(document.getElementById(A.getImportName()));if(B==1){this.Cb()}return B};mboxOfferContent.prototype.setOnLoad=function(A){this.Cb=A};mboxOfferAjax=function(A){this.Fb=A;this.Cb=function(){}};mboxOfferAjax.prototype.setOnLoad=function(A){this.Cb=A};mboxOfferAjax.prototype.show=function(B){var A=document.createElement("div");A.id=B.getImportName();A.innerHTML=this.Fb;var C=B.showContent(A);if(C==1){this.Cb()}return C};mboxOfferDefault=function(){this.Cb=function(){}};mboxOfferDefault.prototype.setOnLoad=function(A){this.Cb=A};mboxOfferDefault.prototype.show=function(A){var B=A.hide();if(B==1){this.Cb()}return B};mboxCookieManager=function mboxCookieManager(B,A){this.g=B;this.Pb=A==""||A.indexOf(".")==-1?"":"; domain="+A;this.Qb=new mboxMap();this.loadCookies()};mboxCookieManager.prototype.isEnabled=function(){this.setCookie("check","true",60);this.loadCookies();return this.getCookie("check")=="true"};mboxCookieManager.prototype.setCookie=function(C,B,A){if(typeof C!="undefined"&&typeof B!="undefined"&&typeof A!="undefined"){var D=new Object();D.name=C;D.value=escape(B);D.expireOn=Math.ceil(A+new Date().getTime()/1000);this.Qb.put(C,D);this.saveCookies()}};mboxCookieManager.prototype.getCookie=function(A){var B=this.Qb.get(A);return B?unescape(B.value):null};mboxCookieManager.prototype.deleteCookie=function(A){this.Qb.remove(A);this.saveCookies()};mboxCookieManager.prototype.getCookieNames=function(A){var B=new Array();this.Qb.each(function(C,D){if(C.indexOf(A)==0){B[B.length]=C}});return B};mboxCookieManager.prototype.saveCookies=function(){var A=new Array();var B=0;this.Qb.each(function(D,E){A[A.length]=D+"#"+E.value+"#"+E.expireOn;if(B<E.expireOn){B=E.expireOn}});var C=new Date(B*1000);document.cookie=this.g+"="+A.join("|")+"; expires="+C.toGMTString()+"; path=/"+this.Pb};mboxCookieManager.prototype.loadCookies=function(){this.Qb=new mboxMap();var A=document.cookie.indexOf(this.g+"=");if(A!=-1){var B=document.cookie.indexOf(";",A);if(B==-1){B=document.cookie.indexOf(",",A);if(B==-1){B=document.cookie.length}}var E=document.cookie.substring(A+this.g.length+1,B).split("|");var D=Math.ceil(new Date().getTime()/1000);for(var C=0;C<E.length;C++){var G=E[C].split("#");if(D<=G[2]){var F=new Object();F.name=G[0];F.value=G[1];F.expireOn=G[2];this.Qb.put(F.name,F)}}}};mboxSession=function(D,E,C,A,B){this.cc=E;this.jb=C;this.dc=A;this.I=B;this.ec=false;this.sb=typeof mboxForceSessionId!="undefined"?mboxForceSessionId:mboxGetPageParameter(this.cc);if(this.sb==null||this.sb.length==0){this.sb=B.getCookie(C);if(this.sb==null||this.sb.length==0){this.sb=D;this.ec=true}}B.setCookie(C,this.sb,A)};mboxSession.prototype.getId=function(){return this.sb};mboxSession.prototype.forceId=function(A){this.sb=A;this.I.setCookie(this.jb,this.sb,this.dc)};mboxPC=function(C,A,B){this.jb=C;this.dc=A;this.I=B;this.sb=typeof mboxForcePCId!="undefined"?mboxForcePCId:B.getCookie(C);if(this.sb!=null){B.setCookie(C,this.sb,A)}};mboxPC.prototype.getId=function(){return this.sb};mboxPC.prototype.forceId=function(A){if(this.sb!=A){this.sb=A;this.I.setCookie(this.jb,this.sb,this.dc);return true}return false};mboxGetPageParameter=function(A){var D=null;var B=new RegExp(A+"=([^&]*)");var C=B.exec(document.location);if(C!=null&&C.length>=2){D=C[1]}return D};mboxSetCookie=function(C,B,A){return mboxFactoryDefault.getCookieManager().setCookie(C,B,A)};mboxGetCookie=function(A){return mboxFactoryDefault.getCookieManager().getCookie(A)};mboxCookiePageDomain=function(){var C=(/([^:]*)(:[0-9]{0,5})?/).exec(document.location.host)[1];var A=/[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}/;if(!A.exec(C)){var B=(/([^\.]+\.[^\.]{3}|[^\.]+\.[^\.]+\.[^\.]{2})$/).exec(C);if(B){C=B[0]}}return C?C:""};mboxShiftArray=function(B){var C=new Array();for(var A=1;A<B.length;A++){C[C.length]=B[A]}return C};mboxGenerateId=function(){return(new Date()).getTime()+"-"+Math.floor(Math.random()*999999)};if(typeof mboxVersion=="undefined"){var mboxVersion=35;var mboxFactories=new mboxMap();var mboxFactoryDefault=new mboxFactory("mbox9e.offermatica.com","twsskyscanner","default")}mboxDebugActionsProto=function(){this.lc=new Object();this.mc=new function(){this.show=function(){}}};mboxDebugActionsProto.prototype.register=function(A,B){this.lc[A]=B};mboxDebugActionsProto.prototype.registerDefault=function(A){this.mc=A};mboxDebugActionsProto.prototype.show=function(A){var B=this.lc[A]?this.lc[A]:this.mc;(new B()).show()};if(typeof mboxDebugActions=="undefined"){mboxDebugActions=new mboxDebugActionsProto()}mboxDebugActionDefault=function(){};mboxDebugActionDefault.prototype.show=function(){var B=new mboxDebugWindow("Debug");B.putPageStart();B.put("  <b>Mbox Debug Window (version: "+mboxVersion+")</b><br/>");B.put("<p/>");B.put("<b>Page</b>: "+document.location);B.put("<br/><b>Referrer</b>: "+document.referrer);B.put(" <ul>");var A=mboxFactoryDefault.isEnabled();B.put('  <li>Enabled: <span style="color:'+(A?"green":"red")+'"><b>'+A+"</b></span></li>");B.put("  <li>Cookies: '"+document.cookie+"'</li></ul>");mboxFactories.each(function(D,E){var C=1;B.put("<hr/><ul><li><b>Factory</b>: <i>'"+D+"'</i></li><ul>");B.put("<li><i>pageId</i>: "+E.getPageId()+"</li>");B.put("<li><i>mboxPC</i>: "+E.getPCId().getId()+"</li>");B.put("<li><i>sessionId</i>: "+E.getSessionId().getId()+"</li>");B.put("<hr/>");E.getMboxes().each(function(F){B.put("  <li>"+C+++". '<a href=\""+F.getURL()+'">'+F.getName()+"</a>'");B.put("   <ul>");if(F.getId()!=0){B.put("<li> <b>id</b>: "+F.getId()+"</li>")}if(F.getParameters().length>0){B.put(" <li><b>parameters</b>: '"+F.getParameters().join(", ")+"'</li>")}B.put("<li><i>"+F.getURL()+"</i></li>");if(F.message!=""){B.put('   <li><span style="color: red"><b>Error: '+F.message+"</b></span></li>")}if(F.getDefaultDiv()==null){B.put('    <li><span style="color: red"><b>Error: cannot find mbox in dom</b></span></li>')}B.put("   </ul>");B.put("  </li>")});B.put(" </ul>");B.put(" </ul>")});B.put(" <hr/>");B.putCloseButton();B.putPageEnd()};mboxDebugActions.registerDefault(mboxDebugActionDefault);mboxDebug=function(A,B,D){this.rc=A;this.p=null;this.I=D.getCookieManager();var C=mboxGetPageParameter(B);if(C==null){C=this.I.getCookie(this.rc)}if(C!=null){if(C.indexOf("x")==0){document.write('<script language="Javascript1.2" src="http://admin9.offermatica.com/admin/mbox/mbox_debug_'+C+'.jsp?clientCode=twsskyscanner&mboxServerHost=mbox9e.offermatica.com"><\/script>')}if(!D.isSupported()){alert("mbox functionality is not supported on this browser");this.disable()}D.addOnLoad(function(){mboxDebugActions.show(C)});this.I.setCookie(this.rc,C,45*60)}else{this.disable()}};mboxDebug.prototype.disable=function(){this.I.deleteCookie(this.rc)};mboxDebugWindow=function(C){this.g=C+" "+document.location.hostname;var A=/\W/g;var B=this.g.replace(A,"_");this.wc=window.open("","mboxDebugWindow"+B,"width=600,height=300,resizable,scrollbars=yes,toolbar=yes");if(this.wc==null){alert("Unable to open debug window.\nAre you blocking popups?\n")}};mboxDebugWindow.prototype.put=function(B){if(this.wc==null){return }try{this.wc.document.writeln(B);this.wc.scrollBy(0,1000)}catch(A){alert("Unable to write to the current mboxDebug window.\nPlease close any open debug window");this.wc=null}};mboxDebugWindow.prototype.putCloseButton=function(){this.put('<a href="javascript:mboxDebugWindowClose()">click here to close debug window</a>')};mboxDebugWindow.prototype.putPageStart=function(){this.put("<html><head> <title>"+this.g+"</title>  <script>   function mboxDebugWindowClose() {     try {       window.opener.mboxDebugger.disable();     } catch(e) {       alert('Could not disable debug mode.\\n'         + 'Browse to a page containing an mbox and\\n'         + 'click on close link.');     }     window.close();   }  <\/script> </head> <body>")};mboxDebugWindow.prototype.putPageEnd=function(){this.put("</body></html>");if(this.wc!=null){this.wc.document.close()}};if(typeof mboxDebugger=="undefined"){mboxDebugger=new mboxDebug("debug","mboxDebug",mboxFactoryDefault)};