/*! ATOOnline 2023-10-31, Copyright (c) 2023 Australian Taxation Office */ !function(h){h.reject=function(e){var u=h.extend(!0,{reject:{all:!1,msie:6},display:[],browserShow:!0,browserInfo:{chrome:{text:"Google Chrome",url:"http://www.google.com/chrome/"},firefox:{text:"Mozilla Firefox",url:"http://www.mozilla.com/firefox/"},safari:{text:"Safari",url:"http://www.apple.com/safari/download/"},opera:{text:"Opera",url:"http://www.opera.com/download/"},msie:{text:"Internet Explorer",url:"http://www.microsoft.com/windows/Internet-explorer/"}},header:"Did you know that your Internet Browser is out of date?",paragraph1:"Your browser is out of date, and may not be compatible with our website. A list of the most popular web browsers can be found below.",paragraph2:"Just click on the icons to get to the download page",close:!0,closeMessage:"By closing this window you acknowledge that your experience on this website may be degraded",closeLink:"Close This Window",closeURL:"#",closeESC:!0,closeCookie:!1,cookieSettings:{path:"/",expires:0},imagePath:"./images/",overlayBgColor:"#000",overlayOpacity:.8,fadeInTime:"fast",fadeOutTime:"fast",analytics:!1},e);u.display.length<1&&(u.display=["chrome","firefox","safari","opera","msie"]),h.isFunction(u.beforeReject)&&u.beforeReject(),u.close||(u.closeESC=!1);function o(e){var o=e[h.layout.name],r=e[h.browser.name];return!!(e.all||r&&(!0===r||h.browser.versionNumber<=r)||e[h.browser.className]||o&&(!0===o||h.layout.versionNumber<=o)||e[h.os.name])}if(!o(u.reject))return h.isFunction(u.onFail)&&u.onFail(),!1;if(u.close&&u.closeCookie){var r="jreject-close",n=function(e,o){if(void 0!==o){var r="";if(0!==u.cookieSettings.expires){var n=new Date;n.setTime(n.getTime()+1e3*u.cookieSettings.expires),r="; expires="+n.toGMTString()}var t=u.cookieSettings.path||"/";return document.cookie=e+"="+encodeURIComponent(o||"")+r+"; path="+t,!0}var i,a=null;if(document.cookie&&""!==document.cookie)for(var s=document.cookie.split(";"),c=s.length,l=0;l"+(""===u.paragraph1?"":"

"+u.paragraph1+"

")+(""===u.paragraph2?"":"

"+u.paragraph2+"

"),i=0;if(u.browserShow){for(var a in t+=""}t+='
'+(u.close?''+u.closeLink+"

"+u.closeMessage+"

":"")+"
";var l=h("
"+t+"
"),d=w(),m=p();l.bind("closejr",function(){if(!u.close)return!1;h.isFunction(u.beforeClose)&&u.beforeClose(),h(this).unbind("closejr"),h("#jr_overlay,#jr_wrap").fadeOut(u.fadeOutTime,function(){h(this).remove(),h.isFunction(u.afterClose)&&u.afterClose()});return h("embed.jr_hidden, object.jr_hidden, select.jr_hidden, applet.jr_hidden").show().removeClass("jr_hidden"),u.closeCookie&&n(r,"true"),!0});function f(e){return function(o){if(!u.analytics)return;var r=o.split(/\/+/g)[1];try{ga("send","event","External","Click",r,o)}catch(e){try{_gaq.push(["_trackEvent","External Links",r,o])}catch(e){}}}(e),window.open(e,"jr_"+Math.round(11*Math.random())),!1}return l.find("#jr_overlay").css({width:d[0],height:d[1],background:u.overlayBgColor,opacity:u.overlayOpacity}),l.find("#jr_wrap").css({top:m[1]+d[3]/4,left:m[0]}),l.find("#jr_inner").css({minWidth:100*i,maxWidth:140*i,width:"trident"==h.layout.name?155*i:"auto"}),l.find("#jr_inner li").css({background:'transparent url("'+u.imagePath+'background_browser.gif") no-repeat scroll left top'}),l.find("#jr_inner li .jr_icon").each(function(){var e=h(this);e.css("background","transparent url("+u.imagePath+"browser_"+e.parent("li").attr("id").replace(/jr_/,"")+".gif) no-repeat scroll left top"),e.click(function(){var e=h(this).next("div").children("a").attr("href");f(e)})}),l.find("#jr_inner li a").click(function(){return f(h(this).attr("href")),!1}),l.find("#jr_close a").click(function(){if(h(this).trigger("closejr"),"#"===u.closeURL)return!1}),h("#jr_overlay").focus(),h("embed, object, select, applet").each(function(){h(this).is(":visible")&&h(this).hide().addClass("jr_hidden")}),h("body").append(l.hide().fadeIn(u.fadeInTime)),h(window).bind("resize scroll",function(){var e=w();h("#jr_overlay").css({width:e[0],height:e[1]});var o=p();h("#jr_wrap").css({top:o[1]+e[3]/4,left:o[0]})}),u.closeESC&&h(document).bind("keydown",function(e){27==e.keyCode&&l.trigger("closejr")}),h.isFunction(u.afterReject)&&u.afterReject(),!0};var w=function(){var e=window.innerWidth&&window.scrollMaxX?window.innerWidth+window.scrollMaxX:document.body.scrollWidth>document.body.offsetWidth?document.body.scrollWidth:document.body.offsetWidth,o=window.innerHeight&&window.scrollMaxY?window.innerHeight+window.scrollMaxY:document.body.scrollHeight>document.body.offsetHeight?document.body.scrollHeight:document.body.offsetHeight,r=window.innerWidth?window.innerWidth:document.documentElement&&document.documentElement.clientWidth?document.documentElement.clientWidth:document.body.clientWidth,n=window.innerHeight?window.innerHeight:document.documentElement&&document.documentElement.clientHeight?document.documentElement.clientHeight:document.body.clientHeight;return[e