window['A00']='https://analytics.avanser.com.au/';if(typeof console=='undefined')console={};(function(options){var A01={A02:0,A05:0,A03:1,A11:null,A12:null,A10:parseInt('7050'),A0F:console,A31:'AVANSERnumber',A19:null,A23:document,A24:200,A25:50,ready:false,A30:null,A34:null,track:function(tracker){A01.A0E(tracker);if(A01.A02>=A01.A25) return null;if(!A01.A0A(tracker)||(typeof tracker).toLowerCase()!='object'){A01.A02++;setTimeout(function(){A01.track(tracker);},A01.A24);return;} A01.A34=(A01.A0A(tracker.get('cookieDomain')))?tracker.get('cookieDomain'):location.hostname;A01.A30=tracker.get('clientId').split('.')[0];A01._sessionCode=tracker.get('clientId').split('.')[1];var t=A01.A13(tracker);if(t==null) t=A01.A14(tracker);A01.A19=t;A01.ready=true;},A14:function(tracker) {try{var A2A=(!A01.A0A(tracker.get('referrer')))?{}:A01.A08(tracker.get('referrer').split('?')[1]);var A2B=A01.A08(tracker.get('location').split('?')[1]);var A2C=A01.A09(decodeURI(tracker.get('referrer')));var t={};t.k=(!A01.A0A(A2A.q))?'':A2A.q;t.uc=tracker.get('clientId').split('.')[0];t.sc=tracker.get('clientId').split('.')[1];t.s=(!A01.A0A(A2A.q))?'direct':'google';t.r=A01.A23.referrer;t.c='';t.cc='';t.ci=A01.A10;t.tc=options.trackingCode;t.p=encodeURI(A01.A23.location);if(A01.A0A(A2B.gclid)){t.m='cpc';t.s='google';}else if(A01.A0A(A2A.q)||(A01.A0A(A2C.host)&&A2C.host.match(/google/))){t.m='organic';t.s='google';}else if(!A01.A0A(A2A.q)&&A01.A0A(A2C.host)){t.m='referral';t.s=A2C.host;}else{t.m='none';t.s='direct';} if(A01.A0A(A2B.keyword)&&A2B.keyword!='')t.k=decodeURI(A2B.keyword);if(A01.A0A(A2B.utm_medium)&&A2B.utm_medium!='')t.m=decodeURI(A2B.utm_medium);if(A01.A0A(A2B.utm_source)&&A2B.utm_source!='')t.s=decodeURI(A2B.utm_source);if(A01.A0A(A2B.utm_term)&&A2B.utm_term!='')t.k=decodeURI(A2B.utm_term);if(A01.A0A(A2B.utm_content)&&A2B.utm_content!='')t.cc=decodeURI(A2B.utm_content);if(A01.A0A(A2B.utm_campaign)&&A2B.utm_campaign!='')t.c=decodeURI(A2B.utm_campaign);if(A01.A0A(options.s)&&options.s!='')t.s=options.s;if(A01.A0A(options.m)&&options.m!='')t.m=options.m;if(A01.A0A(options.k)&&options.k!='')t.k=options.k;if(A01.A0A(options.c)&&options.c!='')t.c=options.c;if(A01.A0B(t.tc))t.tc=t.tc.join();return t;}catch(e){A01.A0E(e);} return null;},A13:function(tracker) {try{var A15=A01.A0C('AUA'+A01.A30+A01._sessionCode);if(A15==null||A15=='')return null;var t=A01.A08(A15);t.r=A01.A23.referrer;var uc=tracker.get('clientId').split('.')[0];var sc=tracker.get('clientId').split('.')[1];if(t.uc!=uc||t.sc!=sc) return null;if(t.m.match(/organic/)&&t.r=='') return null;if(t.s.match(/undefined/)||t.s=='') return null;if(A01.A0A(t['ao'])){delete t['ao'];} t.p=encodeURI(A01.A23.location);t=A01.A35.clean(t);return t;}catch(e){A01.A0E(e);} return null;},keepalive:function(A0EId) {A01.A2E(window['A00']+'v2/k.php?logId='+A0EId+'&t='+A01.A2F());setTimeout(function(){A01.keepalive(A0EId);},60000);},push:function(t){try{if(A01.ready==false) A01.A18(A01.push);if(t==null||!A01.A0A(t)) t=A01.A19;var A15=new Array();try{var plugins=A01.A35;var pluginList=plugins.getPlugins();for(var plugin in pluginList){if(!pluginList[plugin]) continue;var pOut=null;plugin=plugins[plugin];try{pOut=plugin(A15);}catch(e){A01.A0E(e);}} A01.A35.clean(options);A01.A35.clean(t);}catch(e){A01.A0E(e);} for(var k in t) if(typeof t[k]!='function'&&typeof t[k]!='object'&&typeof t[k]!='array') A15.push(k+'='+escape(t[k]));var ao=options;for(var k in ao) if(typeof ao[k]!='function'&&typeof ao[k]!='object'&&typeof ao[k]!='array') A15.push('ao['+k+']='+escape(options[k])) A15=A15.join('&');var url=window['A00']+'v2/t.php?'+A15;A01.A07(url);A01.A0E(t);A01.A0E(A15);A01.A0D('AUA'+A01.A30+A01._sessionCode,A15);}catch(e){A01.A0E(e);} return;},A35:{clean:function(t) {if(A01.A0A(t['optz'])){delete t['optz'];} if(A01.A0A(t['dtl'])){delete t['dtl'];} return t;},getPlugins:function() {var out={};out['datalicious']=false;out['optimizely']=false;if(typeof window['optimizely']!='undefined'&&typeof window['optimizely']=='object'&&typeof window['optimizely'].data.visitor!='undefined') {out['optimizely']=true;} if(A01.A0A(options['dtl'])&&typeof window['superT']!='undefined'&&typeof window['superT']=='object'&&typeof window['superT'].getCookie=='function') {out['datalicious']=true;} return out;},optimizely:function(A15){var A39=window['optimizely'];if(typeof A39.getAccountId!='function') return false;if(typeof A39.getProjectId!='function') return false;var A38=A01.A0C('optimizelyEndUserId',false);if(A38==null||A38==''||A38==false){return false;} var A37=A01.A0C('optimizelyBuckets',false);if(A37==null||A37==''||A37==false||A37=='%7B%7D'||A37=='{}'){return false;} var A36=A01.A0C('optimizelySegments',false);if(A36==null||A36==''||A36==false||A36=='%7B%7D'||A36=='{}'){A36=null;} A15.push('optz[a]='+escape(A39.getAccountId()));A15.push('optz[p]='+escape(A39.getProjectId()));A15.push('optz[u]='+escape(A38));A15.push('optz[x]='+escape(A37));if(A36) A15.push('optz[s]='+escape(A36));return A15;},datalicious:function(A15){if(A01.A0A(options['dtl']['pic.s1'])){A15.push('dtl[pics1]='+escape(options['dtl']['pic.s1']));} return A15;},},A33:function() {var ua=navigator.userAgent,N=navigator.appName,tem,M=ua.match(/(opera|chrome|safari|firefox|msie|trident)\/?\s*([\d\.]+)/i)||[];M=M[2]?[M[1],M[2]]:[N,navigator.appVersion,'-?'];if(M&&(tem=ua.match(/version\/([\.\d]+)/i))!=null)M[2]=tem[1];return M.join(' ');},A07:function(url,id) {id=A01.A0A(id)?id:'AUAScript';var d=A01.A23;var s=d.createElement('script');s.id=id;s.type='text/javascript';if(url.match(/http\:/)||url.match(/https\:/)) s.src=url;else s.src=d.location.protocol+url;var h=d.getElementsByTagName('head')[0];var b=d.getElementById(id);if(b!=null){h.replaceChild(s,b);}else{h.appendChild(s);}},A2E:function(url,id) {id=A01.A0A(id)?id:'AUAImage';var d=A01.A23;var s=d.createElement('img');s.id=id;var br=this.A33();if(br.indexOf('MSIE 8')!=-1){s.style.cssText='visibility:none;display:none;position:absolute;top:-1;left:-1;z-index:0;';}else{s.style='visibility:none;display:none;position:absolute;top:-1;left:-1;z-index:0;';} if(url.match(/http\:/)||url.match(/https\:/)) s.src=url;else s.src=d.location.protocol+url;var h=d.getElementsByTagName('body')[0];if(h==null) return;var b=d.getElementById(id);if(b!=null){h.replaceChild(s,b);}else{h.appendChild(s);}},A08:function(e){var t=new Array;var n=String(e).replace(/^&/,"").replace(/&$/,"").split("&"),r=n.length,i,s,o,u,a,f,l,c,h,p,d,v,m,g,y,b=function(e){return decodeURIComponent(e.replace(/\+/g,"%20"))};if(!t){t=this.window}for(i=0;i-1){d=d.slice(0,d.indexOf("\0"))} if(d&&d.charAt(0)!=="["){g=[];m=0;for(s=0;so&&u.match(/^\d+$/g)){o=+u}}}d=o+1}}a[d]=v}}return t},A09:function(g){var h,j=["source","scheme","authority","userInfo","user","pass","host","port","relative","path","directory","file","query","fragment"],k=(this.php_js&&this.php_js.ini)||{},f=(k["phpjs.parse_url.mode"]&&k["phpjs.parse_url.mode"].local_value)||"php",b={php:/^(?:([^:\/?#]+):)?(?:\/\/()(?:(?:()(?:([^:@]*):?([^:@]*))?@)?([^:\/?#]*)(?::(\d*))?))?()(?:(()(?:(?:[^?#\/]*\/)*)()(?:[^?#]*))(?:\?([^#]*))?(?:#(.*))?)/,strict:/^(?:([^:\/?#]+):)?(?:\/\/((?:(([^:@]*):?([^:@]*))?@)?([^:\/?#]*)(?::(\d*))?))?((((?:[^?#\/]*\/)*)([^?#]*))(?:\?([^#]*))?(?:#(.*))?)/,loose:/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/\/?)?((?:(([^:@]*):?([^:@]*))?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/};var d=b[f].exec(g),c={},e=14;while(e--){if(d[e]){c[j[e]]=d[e]}}if(f!=="php"){var a=(k["phpjs.parse_url.queryKey"]&&k["phpjs.parse_url.queryKey"].local_value)||"queryKey";b=/(?:^|&)([^&=]*)=?([^&]*)/g;c[a]={};h=c[j[12]]||"";h.replace(b,function(l,i,m){if(i){c[a][i]=m}})}delete c.source;return c},A0A:function(v){return(typeof v!='undefined');},A0B:function(o){if(o!=null&&typeof o=='object'){return(!A01.A0A(o.push))?false:true;}else{return false;}},A0C:function(c_name,lowercase){if(A01.A23.cookie.length>0){c_start=A01.A23.cookie.indexOf(c_name+"=");if(c_start!=-1){c_start=c_start+c_name.length+1;c_end=A01.A23.cookie.indexOf(";",c_start);if(c_end==-1)c_end=A01.A23.cookie.length;var cookie_to_use=unescape(A01.A23.cookie.substring(c_start,c_end));if(lowercase){return cookie_to_use.toLowerCase();} return cookie_to_use;}} return'';},A0D:function(c_name,c_value){var exdate=new Date();exdate.setDate(exdate.getDate()+A01.A03);c_value=escape(c_value)+((A01.A03==null)?"":"; expires="+exdate.toUTCString())+";domain="+A01.A34+";path=/";;A01.A23.cookie=c_name+"="+c_value;},A0E:function(o){if(A01.A04&&A01.A0F&&A01.A0F.trace) A01.A0F.trace();if(A01.A04&&A01.A0F&&A01.A0F.log) A01.A0F.log(o);},A16:function(className){if(typeof A01.A23.getElementsByClassName=='function') return A01.A23.getElementsByClassName(className);var hasClassName=new RegExp("(?:^|\\s)"+className+"(?:$|\\s)");var allElements=A01.A23.getElementsByTagName("*");var A17=[];var element;for(var i=0;(element=allElements[i])!=null;i++){var elementClass=element.className;if(elementClass&&elementClass.indexOf(className)!=-1&&hasClassName.test(elementClass)) A17.push(element);} return A17;},A18:function(A29) {if(A01.A19!=null){if(A01.A0A(A29)&&typeof A29=='function') A29();return true;} if(A01.A11==null) A01.A11=A01.A09(window.location);if(A01.A12==null) A01.A12=A01.A08(A01.A11.query);if(A01.A0A(A01.A12.AUAd)&&A01.A12.AUAd==1) A01.A04=true;if(A01.A10<=0){A01.A0E('AA_ci variable not provided');return false;} if(A01.A05>A01.A25||A01.A02>A01.A25){A01.A0E('Universal Analytics script not available');return false;} var ga=window['ga'];if(!A01.A0A(ga)&&A01.A0A(window['GoogleAnalyticsObject'])&&typeof window[GoogleAnalyticsObject]=='function'){ga=window[GoogleAnalyticsObject];} if(A01.A0A(ga)&&typeof ga=='function'&&A01.A0A(ga['getAll'])){ga(function(tracker){if(typeof tracker=='undefined') var tracker=ga.getAll()[0];A01.track(tracker);if(A01.A0A(A29)&&typeof A29=='function') A29(A01.A19);});}else{A01.A05++;setTimeout(function(){A01.A18(A29);},A01.A24);}},replace:function(t,c,s,i,r) {var cn=((s==true)?A01.A31:A01.A31+'-'+t);var el=A01.A16(cn);for(var kk in el){try{el[kk].innerHTML=c;}catch(e){A01.A0E({error:e,element:el[kk]});}} A01.keepalive(i);if(!r){A01.A22(function(){A01.replace(t,c,s,i,true);});}},A2F:function() {return Math.round(new Date().getTime()/1000);},A06:function() {if(A01.A19==null) return false;var A1D=A01.A19.m;if(A1D==null)return null;if(A1D==false)return false;var A1A=false;var A1B=false;var A32=false;var A1C=false;switch(A1D) {case'cpc':A1A=true;break;case'organic':A1B=true;break;case'referral':A32=true;break;default:A1C=true;break;} var A1E=A01.A23.getElementsByClassName('avanser-cpc');var A1F=A01.A23.getElementsByClassName('avanser-organic');var A20=A01.A23.getElementsByClassName('avanser-direct');var _referralList=A01.A23.getElementsByClassName('avanser-referral');for(i=0;i