function CheckIsLocationRefinement(){try{if(supports_storage()){var n=localStorage.getItem("runSearchFaceting");return n=="true"}}catch(t){return!1}}function supports_storage(){try{return"localStorage"in window&&window.localStorage!==null}catch(n){return!1}}function setSearchFacetingTrigger(n){try{supports_storage()&&(localStorage.setItem("runSearchFaceting",!0),window.location.href=n.href)}catch(t){return!1}return!1}function checkSearchFacetingTrigger(){try{if(supports_storage()){var n=localStorage.getItem("runSearchFaceting"),t=n=="true";t&&window.SSAService.SearchFaceting()}}catch(i){return!1}}function GetCommonSearchEvent(){var n={};return n.Event={},n.Event.listingId="js:window.Saon.SSACommonModel.ListingIds",n.Event.userHashId="js:window.Saon.SSACommonModel.UserHashId",n.Event.userIP="js:window.Saon.SSACommonModel.UserIP",n.Event.eventId="js:window.Saon.SSACommonModel.EventName",n.Event.originId="js:window.Saon.SSACommonModel.OriginId",n.Event.sessionId="js:window.Saon.SSACommonModel.SessionId",n.Event.ssaHash="js:window.Saon.SSACommonModel.Hash",n.Event.myStepStoneId="js:window.Saon.SSACommonModel.MyStepStoneId",n.Event.referer="js:window.Saon.SSACommonModel.referer",n.Event.userAgent=function(){return navigator.userAgent},n.Event.url=function(){return window.location.href},n.Event.algorithm="js:window.Saon.SSACommonModel.algorithm",n.Event.searchtype="js:window.Saon.SSASearch.SearchType",n.Event.orderBy="js:window.Saon.SSASearch.Orderby",n.Event.resultsPerPage="js:window.Saon.SSASearch.ResultsPerPage",n.Event.numberOfTotalResults="js:window.Saon.SSASearch.NumberOfTotalResults",n.Event.pageNumber="js:window.Saon.SSASearch.Page",n.Event.offset="js:window.Saon.SSASearch.Offset",n.Event.listingIds="js:window.Saon.SSASearch.ListingIds",n}function GetSearchEventTrigger(){var n=window.location.href,t=new RegExp("\\bJobs\\b||_jobs.aspx/");if(t.test(n))return"pathname:\\bJobs\\b||_jobs.aspx/"}function getTJGId(n){var t;return $.ajax({type:"get",url:"/TJGRecommender/GetTJGJobId",timeout:3e4,async:!1,data:{jobId:n},success:function(n){t=n},error:function(){return 0}}),t}function sendSSALoggerTJG(n){var t=new SSALogger(n);t.processAsync()}function hasTjgValues(tjgJobIdeVal,tjgJobSeekerIdeVal){var tjgJobId=eval(tjgJobIdeVal),tjgJobSeekerId;return validateValue(tjgJobId)?(tjgJobSeekerId=eval(tjgJobSeekerIdeVal),validateValue(tjgJobSeekerId)):!1}function validateValue(n){return n==null||n==undefined||n===""?!1:!0}function cloneSSAConfig(n){return JSON.parse(JSON.stringify(n))}function GetUrl(){return window.Saon.SSACommonModel.ssImageUrl==undefined?"https://ssa.stepstone.com/ssa":window.Saon.SSACommonModel.ssImageUrl}function isRecommenderJobDescriptionPage(){return window.location.href.match("r=([0-9]+)-.*$")}function IsJobDescriptionPage(){return window.location.href.match("\\bApplyForJob.aspx\\b")}function GetUrl(){var n="https://ssa.stepstone.com/ssa";return window.Saon.SSACommonModel!=undefined&&(n=window.Saon.SSACommonModel.ssImageUrl==undefined?"https://ssa.stepstone.com/ssa":window.Saon.SSACommonModel.ssImageUrl),n}function IsPostApplicationPage(){return window.location.href.match("\\bPostApplication/Index/\\b")}var ssaVersion="0.0.2",SSALogger=function(n){var i,t,r,u;this.eventDefinition={};this.version=ssaVersion;this.useBulk=!1;this.debug=!1;this.defaultEvent="DefaultEvent";this.serviceUrl=null;this.sessionTimeout=30;this.mouseTrackingEnabled=!1;this.useStorage=!0;this.pixelTrackStyle="width:0;height:0;margin:0;padding:0;border:0;position:relative;left:-99999px";this.useGET=!0;for(i in n)this[i]=n[i];this.helper=new SSAHelper({useStorage:this.useStorage,debug:this.debug});this.helper.storage&&(t=this.helper.storage.getItem("ssa-lastEvent-timestamp"),r=(new Date).getTime(),t&&(r-t)/6e4>this.sessionTimeout&&(this.debug&&console.info("session expired. "+Math.floor((r-t)/6e4)+"min old. (timeout: "+this.sessionTimeout+"min.)"),this.clear()));this.mouseTrackingEnabled&&(this.mouse||(this.mouse={}),this.mouse.traceStart=(new Date).getTime(),this.mouse.timer=100,this.mouse.moveThreshold=75,this.mouse.stopLoggingAfter=18e4,this.mouse.lastTrace=0,this.mouse.y=0,this.mouse.y=0,this.mouse.trace=[],u=this,window.addEventListener("beforeunload",function(){u.logEvent("MouseTrace")}),document.onmousemove=function(n){u.logMouse(n)})},SSAHelper;SSALogger.prototype.logEventAsync=function(n){setTimeout(this.logEventAsyncTrick(n,this),0)};SSALogger.prototype.logEventAsyncTrick=function(n,t){t.logEvent(n)};SSALogger.prototype.logEvent=function(n){var t=this.createEvent(n);t&&(this.postEvent(t),this.recordAsLastEvent(t))};SSALogger.prototype.processAsync=function(){setTimeout(this.processAsyncTrick(this),0)};SSALogger.prototype.processAsyncTrick=function(n){n.process()};SSALogger.prototype.process=function(){var n=this.getEventNameFromTrigger();n&&this.logEvent(n)};SSALogger.prototype.logMouse=function(n){var i=n.pageX,r=n.pageY,t=(new Date).getTime(),u;t-this.mouse.traceStart<this.mouse.stopLoggingAfter&&(Math.abs(this.mouse.x-i)>this.mouse.moveThreshold||Math.abs(this.mouse.y-r)>this.mouse.moveThreshold)&&t-this.mouse.lastTrace>this.mouse.timer&&(this.mouse.x=i,this.mouse.y=r,this.mouse.lastTrace=t,u={x:i,y:r,t:t-this.mouse.traceStart},this.mouse.trace.push(u),this.debug&&console.info(JSON.stringify(u)))};SSALogger.prototype.clear=function(){this.helper.clearStorage();window.name=""};SSALogger.prototype.recordAsLastEvent=function(n){n&&!this.currentEvent&&(this.currentEvent=n,window.name="ssa#"+(n.searchUUID?n.searchUUID:"")+"#"+(n.eventId?n.eventId:""),this.helper.storage&&(n.eventId&&this.helper.storage.setItem("ssa-lastEvent-"+window.location.href,n.eventId),n.searchUUID&&this.helper.storage.setItem("ssa-searchUUID-"+window.location.href,n.searchUUID)))};SSALogger.prototype.getLastEvent=function(){var n;return this.currentEvent&&this.currentEvent.eventId&&(n=this.currentEvent.eventId,n&&this.debug&&console.debug("got previous event id from currentEvent "+JSON.stringify(this.currentEvent))),!n&&window.name&&window.name.lastIndexOf("ssa#")===0&&(n=window.name.substring(4).split("#")[1],n&&this.debug&&console.debug("got previous event id  from window.name "+n)),!n&&this.helper.storage&&(n=this.helper.storage.getItem("ssa-lastEvent-"+document.referrer),n&&this.debug&&console.debug("got previous event id  from by referer "+n)),n};SSALogger.prototype.getAndSetSearchUUID=function(n){return n&&n.eventId?n.eventId:this.helper.guid()};SSALogger.prototype.getSearchUUID=function(){var n;return window.name&&window.name.lastIndexOf("ssa#")===0?(n=window.name.substring(4).split("#")[0],n&&this.debug&&console.debug("got searchUUID from window.name "+n)):!n&&this.helper.storage&&(n=this.helper.storage.getItem("ssa-searchUUID-"+document.referrer),n&&this.debug&&console.debug("got searchUUID from by referer "+n)),n};SSALogger.prototype.getSessionId=function(){var n=this.helper.storage?this.helper.storage.getItem("ssa-sessionId"):this.helper.getCookie("ssa-sessionId");return n||(this.debug&&console.info("creating new session"),n=this.helper.guid(),this.helper.storage?(this.clear(),this.helper.storage.setItem("ssa-sessionId",n)):this.helper.setCookie("ssa-sessionId",n)),n};SSALogger.prototype.getEventNameFromTrigger=function(){var i,n,u,t,r;for(i in this.eventDefinition)if(this.eventDefinition[i]._trigger&&(n=this.eventDefinition[i]._trigger,u=this.eventDefinition[i]._ignore,n&&!u&&(t=!1,typeof n=="function"?n()&&(t=!0):t||typeof n!="string"?console.error("unsupported trigger type: "+n):n.lastIndexOf("url:",0)===0?(r=new RegExp(n.substring(4)),t=r.test(window.location.href)):n.lastIndexOf("pathname:",0)===0?(r=new RegExp(n.substring(9)),t=r.test(window.location.pathname)):console.error("unsupported trigger type: "+n),t)))return i;if(this.defaultEvent)return this.defaultEvent};SSALogger.prototype.createEvent=function(n,t,i){var r,f,u,e;if(this.eventDefinition[n]){r=this.eventDefinition[n];f=t?t:{};f.eventName||(f.eventName=n);r._pre&&typeof r._pre=="function"&&r._pre(f);r._parent&&this.createEvent(r._parent,f,!0);for(u in r)u.lastIndexOf("_",0)!==0&&r[u]&&(typeof r[u]=="function"?e=r[u](f):typeof r[u]=="number"?e=r[u]:typeof r[u]=="boolean"?e=r[u]:typeof r[u]=="string"?e=this.createEventGetStringValue(r[u],u,n):console.error("SSALogger: unsupported type for "+n+"."+u+": "+r[u]),e!=null&&(f[u]=e));return i||this.createEventDoPostFunction(n,f),f}console.error("SSALogger: unknown event type: "+n)};SSALogger.prototype.createEventDoPostFunction=function(n,t){if(this.eventDefinition[n]){var i=this.eventDefinition[n];i._parent&&this.createEventDoPostFunction(i._parent,t);i._post&&typeof i._post=="function"&&i._post(t)}};SSALogger.prototype.createEventGetStringValue=function(value,key,eventName){var eventValue=null,matches;if(value==="css")eventValue=this.helper.getCSS("#ssa-"+key);else if(value==="cssInt")eventValue=parseInt(this.helper.getCSS("#ssa-"+key));else if(value==="cssBool")eventValue="true"===this.helper.getCSS("#ssa-"+key);else if(value.lastIndexOf("css:",0)===0)eventValue=this.helper.getCSS(value.substring(4));else if(value.lastIndexOf("cssInt:",0)===0)eventValue=parseInt(this.helper.getCSS(value.substring(7)));else if(value.lastIndexOf("cssBool:",0)===0)eventValue="true"===this.helper.getCSS(value.substring(8));else if(value==="cookie")eventValue=this.helper.getCookie("ssa-"+key);else if(value==="cookieInt")eventValue=parseInt(this.helper.getCookie("ssa-"+key));else if(value==="cookieBool")eventValue="true"===this.helper.getCookie("ssa-"+key);else if(value.lastIndexOf("cookie:",0)===0)eventValue=this.helper.getCookie(value.substring(7));else if(value.lastIndexOf("cookieInt:",0)===0)eventValue=parseInt(this.helper.getCookie(value.substring(10)));else if(value.lastIndexOf("cookieBool:",0)===0)eventValue="true"===this.helper.getCookie(value.substring(11));else if(value==="urlParameter")eventValue=this.helper.getUrlParameter("ssa-"+key);else if(value==="urlParameterInt")eventValue=parseInt(this.helper.getUrlParameter("ssa-"+key));else if(value=="urlParameterBool")eventValue="true"===this.helper.getUrlParameter("ssa-"+key);else if(value.lastIndexOf("urlParameter:",0)===0)eventValue=this.helper.getUrlParameter(value.substring(13));else if(value.lastIndexOf("urlParameterInt:",0)===0)eventValue=parseInt(this.helper.getUrlParameter(value.substring(16)));else if(value.lastIndexOf("urlParameterBool:",0)===0)eventValue="true"===this.helper.getUrlParameter(value.substring(17));else if(value==="js")try{eventValue=eval(key)}catch(e){console.error("SSALogger: '"+key+"' does not exists as js variable")}else if(value.lastIndexOf("js:",0)===0)try{eventValue=eval(value.substring(3))}catch(e){console.error("SSALogger: '"+value.substring(3)+"' does not exists as js variable")}else value.lastIndexOf("const:",0)===0?eventValue=value.substring(6):value.lastIndexOf("url:",0)===0?(matches=window.location.href.match(value.substring(4)),matches&&(eventValue=matches[1])):value.lastIndexOf("urlInt:",0)===0?(matches=window.location.href.match(value.substring(7)),matches&&(eventValue=parseInt(matches[1]))):value.lastIndexOf("pathname:",0)===0?(matches=window.location.pathname.match(value.substring(9)),matches&&(eventValue=matches[1])):value.lastIndexOf("pathnameInt:",0)===0?(matches=window.location.pathname.match(value.substring(12)),matches&&(eventValue=parseInt(matches[1]))):console.error("SSALogger: unsupported type for "+eventName+"."+key+": "+value);return eventValue!==eventValue&&(eventValue=null),eventValue===""&&(eventValue=null),eventValue!=null?eventValue:void 0};SSALogger.prototype.postEvent=function(n){var f,u,i,s,e,r,t,o;if(this.helper.storage&&this.helper.storage.setItem("ssa-lastEvent-timestamp",(new Date).getTime()),n){for(f in n)n[f]===null&&delete n[f];this.useBulk?(i={},i.type="ssa",i.version=1,i.eventname=n.eventName,i.sessionid=n.sessionId,i.timestamp=Math.floor((new Date).getTime()),i.originid=n.originId,i.data=JSON.stringify(n),s=[i],u=JSON.stringify(s,null,2)):u=JSON.stringify(n,null,2);this.useGET?(e=this.serviceUrl+"?d="+encodeURIComponent(u)+"&r="+Math.random(),this.serviceUrl?(r=document.createElement("img"),r.src=e,r.style=this.pixelTrackStyle,r.width=0,r.height=0,document.body!=null&&document.body.appendChild(r)):console.info("SSALogger: no url set. skipping pixel tracker : "+e)):(t=window.XMLHttpRequest?new XMLHttpRequest:new ActiveXObject("Microsoft.XMLHTTP"),o=this,t.onreadystatechange=function(){t.readyState==XMLHttpRequest.DONE&&(t.status==200||t.status==204?o.debug&&console.info("SSALogger: posted event "+n.eventName+" to  "+o.serviceUrl+"\nresponse: ["+t.status+"] "+t.responseText+"\njson:"+JSON.stringify(n,null,2)):console.error("SSALogger: could not post event : "+n.eventName+" ["+t.status+"] "+t.responseText+"\njson posted:\n"+u))},this.serviceUrl?(t.open("POST",this.serviceUrl,!0),t.setRequestHeader("Content-Type","application/json"),t.send(u)):console.info("SSALogger: no url set. skipping posting of "+n.eventName+"\n"+JSON.stringify(n,null,2)))}};SSAHelper=function(n){if(this.debug=n.debug,n.useStorage)try{localStorage.setItem("abc","abc");localStorage.removeItem("abc");this.storage=localStorage;this.sessionStorage=sessionStorage}catch(t){}};SSAHelper.prototype.getUrlParameter=function(n){n=n.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var i=new RegExp("[\\?&]"+n+"=([^&#]*)"),t=i.exec(location.search);return t===null?"":decodeURIComponent(t[1].replace(/\+/g," "))};SSAHelper.prototype.getCSS=function(n){var t=document.querySelector(n);if(t)return t.nodeName==="INPUT"?t.value:t.innerHTML;this.debug&&console.warn("SSALogger: missing HTML element: "+n)};SSAHelper.prototype.guid=function(){var n=(new Date).getTime();return window.performance&&typeof window.performance.now=="function"&&(n+=performance.now()),"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,function(t){var i=(n+Math.random()*16)%16|0;return n=Math.floor(n/16),(t=="x"?i:i&3|8).toString(16)})};SSAHelper.prototype.getCookie=function(n){var t=decodeURIComponent(document.cookie.replace(new RegExp("(?:(?:^|.*;)\\s*"+encodeURIComponent(n).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*([^;]*).*$)|^.*$"),"$1"))||null;if(t)return t;this.debug&&console.warn("SSALogger: missing cookie: "+n)};SSAHelper.prototype.setCookie=function(n,t,i,r,u,f){if(r||(r="/"),!n||/^(?:expires|max\-age|path|domain|secure)$/i.test(n))return!1;var e="";if(i)switch(i.constructor){case Number:e=i===Infinity?"; expires=Fri, 31 Dec 9999 23:59:59 GMT":"; max-age="+i;break;case String:e="; expires="+i;break;case Date:e="; expires="+i.toUTCString()}return document.cookie=encodeURIComponent(n)+"="+encodeURIComponent(t)+e+(u?"; domain="+u:"")+(r?"; path="+r:"")+(f?"; secure":""),!0};SSAHelper.prototype.removeCookie=function(n,t,i){return!n||!this.hasItem(n)?!1:(document.cookie=encodeURIComponent(n)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT"+(i?"; domain="+i:"")+(t?"; path="+t:""),!0)};SSAHelper.prototype.cookieExists=function(n){return new RegExp("(?:^|;\\s*)"+encodeURIComponent(n).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(document.cookie)};SSAHelper.prototype.cookieNames=function(){for(var t=document.cookie.replace(/((?:^|\s*;)[^\=]+)(?=;|$)|^\s*|\s*(?:\=[^;]*)?(?:\1|$)/g,"").split(/\s*(?:\=[^;]*)?;\s*/),n=0;n<t.length;n++)t[n]=decodeURIComponent(t[n]);return t};SSAHelper.prototype.clearStorage=function(){var t=[],n;if(this.storage){for(n=0;n<this.storage.length;n++)this.storage.key(n).substring(0,4)=="ssa-"&&t.push(this.storage.key(n));for(n=0;n<t.length;n++)this.storage.removeItem(t[n])}if(this.sessionStorage){for(n=0;n<this.sessionStorage.length;n++)this.sessionStorage.key(n).substring(0,4)=="ssa-"&&t.push(this.sessionStorage.key(n));for(n=0;n<t.length;n++)this.sessionStorage.removeItem(t[n])}};window.SSAService={};window.SSAService.LogViewedJob=function(){var n={},t;n.Event={};n.Event.userHashId="js:window.Saon.SSACommonModel.UserHashId";n.Event.eventId="js:window.Saon.SSACommonModel.EventName";n.Event.userIP="js:window.Saon.SSACommonModel.UserIP";n.Event.originId="js:window.Saon.SSACommonModel.OriginId";n.Event.sessionId="js:window.Saon.SSACommonModel.SessionId";n.Event.ssaHash="js:window.Saon.SSACommonModel.Hash";n.Event.myStepStoneId="js:window.Saon.SSACommonModel.MyStepStoneId";n.Event.referer=function(){return document.referrer};n.Event.userAgent=function(){return navigator.userAgent};n.Event.url=function(){return window.location.href};n.Event.algorithm="js:window.Saon.SSACommonModel.algorithm";n.ListingView={};n.ListingView.listingId="urlParameterInt:Id";n.ListingView._trigger="url:/.*ApplyForJob\\.aspx\\?(Id=([0-9]+)|Id=([0-9]+)&r=[0-9]-([a-z-]+)|Id=([0-9]+)&r=[0-9]-([a-z-]+)&jst=[0-9a-f]+-[0-9a-f]+-[1-5][0-9a-f]+-[89ab][0-9a-f]+-[0-9a-f]+|Id=([0-9]+)|Id=([0-9]+)&r=[0-9]-([a-z-]+)&jst=[0-9a-f]+-[0-9a-f]+-[1-5][0-9a-f]+-[89ab][0-9a-f]+-[0-9a-f]+&cid=[a-z]+\\|s:rec_[0-9]+)$";n.ListingView._parent="Event";n.ListingView.searchUUID=function(){return i.getSearchUUID()};var u=GetUrl(),r={defaultEvent:null,serviceUrl:u,eventDefinition:n,debug:!0},i=new SSALogger(r);return i.processAsync(),hasTjgValues("window.Saon.SSACommonModel.TJGJobId","window.Saon.SSACommonModel.TJGJsId")&&(t=cloneSSAConfig(r),t.eventDefinition.ListingView.listingId="js:window.Saon.SSACommonModel.TJGJobId",t.eventDefinition.Event.myStepStoneId="js:window.Saon.SSACommonModel.TJGJsId",t.eventDefinition.Event.originId="js:window.Saon.SSACommonModel.TJGOriginId",t.eventDefinition.Event.ssaHash="js:window.Saon.SSACommonModel.TJGHash",t.eventDefinition.Event.userAgent=function(){return navigator.userAgent},t.eventDefinition.Event.url=function(){return window.location.href},t.eventDefinition.Event.referer=function(){return document.referrer},t.eventDefinition.ListingView.searchUUID=function(){return i.getSearchUUID()},sendSSALoggerTJG(t)),!1};window.SSAService.SaveJob=function(n){var t={},r,u,i,o;t.eventName="ListingSave";t.userHashId=window.Saon.SSACommonModel.UserHashId;t.userIP=window.Saon.SSACommonModel.UserIP;t.originId=window.Saon.SSACommonModel.OriginId;t.sessionId=window.Saon.SSACommonModel.SessionId;t.ssaHash=window.Saon.SSACommonModel.Hash;t.myStepStoneId=window.Saon.SSACommonModel.MyStepStoneId;t.referer=window.Saon.SSACommonModel.referer;t.userAgent=navigator.userAgent;t.url=window.location.href;t.listingId=parseInt(n);t.algorithm=window.Saon.SSACommonModel.algorithm;var s=GetUrl(),f={defaultEvent:null,serviceUrl:s,eventDefinition:t,debug:!0},e=new SSALogger(f);return t.searchUUID=e.getSearchUUID(),setTimeout(e.postEvent(t),1e3),r=getTJGId(n),r!==null&&r!==undefined&&validateValue(window.Saon.SSACommonModel.TJGJobId)&&(u=cloneSSAConfig(f),i=cloneSSAConfig(t),i.listingId=r?r:"",i.myStepStoneId=window.Saon.SSACommonModel.TJGJsId,i.originId=window.Saon.SSACommonModel.TJGOriginId,i.ssaHash=window.Saon.SSACommonModel.TJGHash,i.userAgent=navigator.userAgent,i.url=window.location.href,u.eventDefinition=i,o=new SSALogger(u),setTimeout(o.postEvent(i),1e3)),!1};window.SSAService.ApplyJobClick=function(){var ssaED={},url,ssaLoggerConfig,ssaLogger,tjgJobId,ssaLoggerConfigTj;return(ssaED.Event={},ssaED.Event.userHashId="js:window.Saon.SSACommonModel.UserHashId",ssaED.Event.eventId="js:window.Saon.SSACommonModel.EventName",ssaED.Event.userIP="js:window.Saon.SSACommonModel.UserIP",ssaED.Event.originId="js:window.Saon.SSACommonModel.OriginId",ssaED.Event.sessionId="js:window.Saon.SSACommonModel.SessionId",ssaED.Event.ssaHash="js:window.Saon.SSACommonModel.Hash",ssaED.Event.myStepStoneId="js:window.Saon.SSACommonModel.MyStepStoneId",ssaED.Event.referer="js:window.Saon.SSACommonModel.referer",ssaED.Event.algorithm="js:window.Saon.SSACommonModel.algorithm",ssaED.Event.userAgent=function(){return navigator.userAgent},ssaED.Event.url=function(){return window.location.href},url=GetUrl(),IsPostApplicationPage())?(ssaED.ListingOAFClicked={},ssaED.ListingOAFClicked.listingId=function(){return $("#JobId").val()},ssaED.ListingOAFClicked._trigger="url:\\bPostApplication\\b",ssaED.ListingOAFClicked._parent="Event",ssaED.ListingOAFClicked.searchUUID=function(){return ssaLogger.getSearchUUID()},ssaLoggerConfig={defaultEvent:null,serviceUrl:url,eventDefinition:ssaED,debug:!0},ssaLogger=new SSALogger(ssaLoggerConfig),ssaLogger.processAsync(),tjgJobId=window.Saon.SSACommonModel.TJGJobId,tjgJobId!==null&&tjgJobId!==undefined&&validateValue(eval("window.Saon.SSACommonModel.TJGJsId"))&&(ssaLoggerConfigTj=cloneSSAConfig(ssaLoggerConfig),ssaLoggerConfigTj.eventDefinition.ListingOAFClicked.listingId=parseInt(tjgJobId),ssaLoggerConfigTj.eventDefinition.Event.myStepStoneId="js:window.Saon.SSACommonModel.TJGJsId",ssaLoggerConfigTj.eventDefinition.Event.originId="js:window.Saon.SSACommonModel.TJGOriginId",ssaLoggerConfigTj.eventDefinition.Event.ssaHash="js:window.Saon.SSACommonModel.TJGHash",ssaLoggerConfigTj.eventDefinition.Event.userAgent=function(){return navigator.userAgent},ssaLoggerConfigTj.eventDefinition.Event.url=function(){return window.location.href},sendSSALoggerTJG(ssaLoggerConfigTj)),!1):(ssaED.ListingOAFClicked={},ssaED.ListingOAFClicked.listingId="urlInt:.*ApplyForJob\\.aspx\\?Id=([0-9]+)$",ssaED.ListingOAFClicked._trigger="url:/.*ApplyForJob\\.aspx\\?Id=([0-9]+)$",ssaED.ListingOAFClicked._parent="Event",ssaED.ListingOAFClicked.searchUUID=function(){return ssaLogger.getSearchUUID()},ssaLoggerConfig={defaultEvent:null,serviceUrl:url,eventDefinition:ssaED,debug:!0},ssaLogger=new SSALogger(ssaLoggerConfig),ssaLogger.processAsync(),tjgJobId=window.Saon.SSACommonModel.TJGJobId,tjgJobId!==null&&tjgJobId!==undefined&&validateValue(eval("window.Saon.SSACommonModel.TJGJsId"))&&(ssaLoggerConfigTj=cloneSSAConfig(ssaLoggerConfig),ssaLoggerConfigTj.eventDefinition.ListingOAFClicked.listingId=parseInt(tjgJobId),ssaLoggerConfigTj.eventDefinition.Event.myStepStoneId="js:window.Saon.SSACommonModel.TJGJsId",ssaLoggerConfigTj.eventDefinition.Event.originId="js:window.Saon.SSACommonModel.TJGOriginId",ssaLoggerConfigTj.eventDefinition.Event.ssaHash="js:window.Saon.SSACommonModel.TJGHash",ssaLoggerConfigTj.eventDefinition.Event.userAgent=function(){return navigator.userAgent},ssaLoggerConfigTj.eventDefinition.Event.url=function(){return window.location.href},sendSSALoggerTJG(ssaLoggerConfigTj)),!1)};window.SSAService.ApplyJobSent=function(){var ssaED={},tjgJobId,ssaLoggerConfigTj;ssaED.Event={};ssaED.Event.listingId=function(){return $("#JobId").val()};ssaED.Event.userHashId="js:window.Saon.SSACommonModel.UserHashId";ssaED.Event.userIP="js:window.Saon.SSACommonModel.UserIP";ssaED.Event.eventId="js:window.Saon.SSACommonModel.EventName";ssaED.Event.originId="js:window.Saon.SSACommonModel.OriginId";ssaED.Event.sessionId="js:window.Saon.SSACommonModel.SessionId";ssaED.Event.ssaHash="js:window.Saon.SSACommonModel.Hash";ssaED.Event.myStepStoneId="js:window.Saon.SSACommonModel.MyStepStoneId";ssaED.Event.referer="js:window.Saon.SSACommonModel.referer";ssaED.Event.userAgent=function(){return navigator.userAgent};ssaED.Event.url=function(){return window.location.href};ssaED.Event.algorithm="js:window.Saon.SSACommonModel.algorithm";ssaED.ListingOAFSent={};ssaED.ListingOAFSent._trigger="url:\\bPostApplication\\b";ssaED.ListingOAFSent._parent="Event";ssaED.ListingOAFSent.searchUUID=function(){return ssaLogger.getSearchUUID()};var url=GetUrl(),ssaLoggerConfig={defaultEvent:null,serviceUrl:url,eventDefinition:ssaED,debug:!0},ssaLogger=new SSALogger(ssaLoggerConfig);return ssaLogger.processAsync(),tjgJobId=window.Saon.SSACommonModel.TJGJobId,tjgJobId!==null&&tjgJobId!==undefined&&validateValue(eval("window.Saon.SSACommonModel.TJGJsId"))&&(ssaLoggerConfigTj=cloneSSAConfig(ssaLoggerConfig),ssaLoggerConfigTj.eventDefinition.Event.listingId=parseInt(tjgJobId),ssaLoggerConfigTj.eventDefinition.Event.myStepStoneId="js:window.Saon.SSACommonModel.TJGJsId",ssaLoggerConfigTj.eventDefinition.Event.originId="js:window.Saon.SSACommonModel.TJGOriginId",ssaLoggerConfigTj.eventDefinition.Event.ssaHash="js:window.Saon.SSACommonModel.TJGHash",ssaLoggerConfigTj.eventDefinition.Event.userAgent=function(){return navigator.userAgent},ssaLoggerConfigTj.eventDefinition.Event.url=function(){return window.location.href},ssaLoggerConfigTj.eventDefinition.ListingOAFSent.searchUUID=function(){return ssaLogger.getSearchUUID()},sendSSALoggerTJG(ssaLoggerConfigTj)),!1};window.SSAService.Search=function(pageNumber){var ssaED,newSearchUUID,tjgJobIds,ssaLoggerConfigTj,ssaLoggerTJ;if(CheckIsLocationRefinement())return!1;ssaED=GetCommonSearchEvent();getSsaSearchData(pageNumber);ssaED.Event.widget="js:window.Saon.SSASearch.Widget";ssaED.Event.whatSearch="js:window.Saon.SSASearch.WhatSearch";ssaED.Event.whereSearch="js:window.Saon.SSASearch.WhereSearch";ssaED.eventName="Search";ssaED.Event.offset="js:window.Saon.SSASearch.Offset";ssaED.Search={};newSearchUUID=$("#hd_newSearchUUID").val();ssaED.Search.searchUUID=newSearchUUID=="1"?function(n){return ssaLogger.getAndSetSearchUUID(n)}:function(){return ssaLogger.getSearchUUID()};ssaED.Search._trigger=GetSearchEventTrigger();ssaED.Search._parent="Event";var url=GetUrl(),ssaLoggerConfig={defaultEvent:null,serviceUrl:url,eventDefinition:ssaED,debug:!0},ssaLogger=new SSALogger(ssaLoggerConfig);return ssaLogger.processAsync(),tjgJobIds=eval("window.Saon.SSASearch.TJGListingIds"),tjgJobIds.length>0&&validateValue(eval("window.Saon.SSACommonModel.TJGJsId"))&&(ssaLoggerConfigTj=cloneSSAConfig(ssaLoggerConfig),ssaLoggerConfigTj.eventDefinition.Event.userAgent=function(){return navigator.userAgent},ssaLoggerConfigTj.eventDefinition.Event.url=function(){return window.location.href},ssaLoggerConfigTj.eventDefinition.Event.myStepStoneId="js:window.Saon.SSACommonModel.TJGJsId",ssaLoggerConfigTj.eventDefinition.Event.listingIds="js:window.Saon.SSASearch.TJGListingIds",ssaLoggerConfigTj.eventDefinition.Event.originId="js:window.Saon.SSACommonModel.TJGOriginId",ssaLoggerConfigTj.eventDefinition.Event.ssaHash="js:window.Saon.SSACommonModel.TJGHash",ssaLoggerTJ=new SSALogger(ssaLoggerConfigTj),ssaLoggerTJ.processAsync()),!1};window.SSAService.SearchFaceting=function(){var n={},i,r,u,t,l;n.userHashId=window.Saon.SSACommonModel.UserHashId;n.userIP=window.Saon.SSACommonModel.UserIP;n.eventName="SearchFaceting";n.originId=window.Saon.SSACommonModel.OriginId;n.sessionId=window.Saon.SSACommonModel.SessionId;n.ssaHash=window.Saon.SSACommonModel.Hash;n.myStepStoneId=window.Saon.SSACommonModel.MyStepStoneId;n.referer=document.referrer;n.userAgent=function(){return navigator.userAgent};n.url=window.location.href;n.algorithm=window.Saon.SSACommonModel.algorithm;n.searchtype="freetext";$("#Keywords").val()!=""&&(n.whatSearch=$("#Keywords").val());n.orderBy=$("#ssa-order-by").val();n.resultsPerPage=75;n.numberOfTotalResults=$("#ssa-total-results").val();n.pageNumber=$("#ssa-current-page").val();n.offset=n.pageNumber===1?1:(n.pageNumber-1)*n.numberOfTotalResults+1;n.listingIds=getJSONValueOrDefault($("#ssa-listingIds-page"),[]);n.Widget={};var f=getJSONValueOrDefault($("#SSARefinementModel_JsonCategories"),[]),e=getJSONValueOrDefault($("#SSARefinementModel_JsonLocations"),[]),o=getJSONValueOrDefault($("#SSARefinementModel_JsonRecruiterType"),[]),s=getJSONValueOrDefault($("#SSARefinementModel_JsonEmploymentType"),[]);f!=undefined&&(n.Widget.Categories=f);e!=undefined&&(n.Widget.Location=e);o!=undefined&&(n.Widget.RecruiterType=o);s!=undefined&&(n.Widget.EmploymentType=s);i=$("#Regions option:selected").val();i!="0"&&(i=$("#Regions option:selected").text(),n.whereSearch=i);var a=GetUrl(),h={defaultEvent:null,serviceUrl:a,eventDefinition:n,debug:!0},c=new SSALogger(h);return n.searchUUID=c.getSearchUUID(),setTimeout(c.postEvent(n),1e3),r=getJSONValueOrDefault($("#ssa-tjgListingIds-page"),[]),r.length>0&&validateValue(window.Saon.SSACommonModel.TJGJsId)&&(u=cloneSSAConfig(h),t=cloneSSAConfig(n),t.myStepStoneId=window.Saon.SSACommonModel.TJGJsId,t.listingIds=r,t.originId=window.Saon.SSACommonModel.TJGOriginId,t.ssaHash=window.Saon.SSACommonModel.TJGHash,t.userAgent=function(){return navigator.userAgent},u.eventDefinition=t,l=new SSALogger(u),setTimeout(l.postEvent(t),1e3)),supports_storage()&&localStorage.setItem("runSearchFaceting",!1),!1};window.SSAService.SearchPaging=function(n){var t={},r,u,i,o;t.userHashId=window.Saon.SSACommonModel.UserHashId;t.userIP=window.Saon.SSACommonModel.UserIP;t.eventName="SearchPaging";t.originId=window.Saon.SSACommonModel.OriginId;t.sessionId=window.Saon.SSACommonModel.SessionId;t.ssaHash=window.Saon.SSACommonModel.Hash;t.myStepStoneId=window.Saon.SSACommonModel.MyStepStoneId;t.referer=document.referrer;t.userAgent=function(){return navigator.userAgent};t.url=window.location.href;t.algorithm=window.Saon.SSACommonModel.algorithm;t.searchtype="freetext";t.orderBy=n.OrderBy;t.resultsPerPage=n.ResultsPerPage;t.numberOfTotalResults=n.NoTotalResults;t.pageNumber=n.PageNumber;t.offset=n.PageNumber===1?1:(n.PageNumber-1)*n.ResultsPerPage+1;t.listingIds=n.ListingIds;var s=GetUrl(),f={defaultEvent:null,serviceUrl:s,eventDefinition:t,debug:!0},e=new SSALogger(f);return t.searchUUID=e.getSearchUUID(),setTimeout(e.postEvent(t),1e3),r=n.TJGListingIds,r.length>0&&validateValue(window.Saon.SSACommonModel.TJGJsId)&&(u=cloneSSAConfig(f),i=cloneSSAConfig(t),i.myStepStoneId=window.Saon.SSACommonModel.TJGJsId,i.listingIds=r,i.originId=window.Saon.SSACommonModel.TJGOriginId,i.ssaHash=window.Saon.SSACommonModel.TJGHash,u.eventDefinition=i,o=new SSALogger(u),setTimeout(o.postEvent(i),1e3)),!1};window.SSAService.RecommenderListingsDisplayed=function(){var n={},i,t,f;n.eventName="RecommenderListingsDisplayed";n.userHashId=window.Saon.SSACommonModel.UserHashId;n.userIP=window.Saon.SSACommonModel.UserIP;n.originId=window.Saon.SSACommonModel.OriginId;n.sessionId=window.Saon.SSACommonModel.SessionId;n.ssaHash=window.Saon.SSACommonModel.Hash;n.myStepStoneId=window.Saon.SSACommonModel.MyStepStoneId;n.referer=document.referrer;n.userAgent=navigator.userAgent;n.url=window.location.href;n.algorithm=window.Saon.SSACommonModel.algorithm;n.similarListings=window.Saon.SSACommonModel.listingIds;var e=GetUrl(),r={defaultEvent:null,serviceUrl:e,eventDefinition:n,debug:!0},u=new SSALogger(r);return n.searchUUID=u.getSearchUUID(),setTimeout(u.postEvent(n),1e3),window.Saon.SSACommonModel.tjgListingIds.length!==0&&validateValue(window.Saon.SSACommonModel.TJGJsId)&&(i=cloneSSAConfig(r),t=cloneSSAConfig(n),t.similarListings=window.Saon.SSACommonModel.tjgListingIds,t.myStepStoneId=window.Saon.SSACommonModel.TJGJsId,t.originId=window.Saon.SSACommonModel.TJGOriginId,t.ssaHash=window.Saon.SSACommonModel.TJGHash,i.eventDefinition=t,f=new SSALogger(i),setTimeout(f.postEvent(t),1e3)),!1};window.SSAService.RecommenderListingClicked=function(){var n={},t;n.Event={};n.Event.userHashId="js:window.Saon.SSACommonModel.UserHashId";n.Event.eventId="js:window.Saon.SSACommonModel.EventName";n.Event.userIP="js:window.Saon.SSACommonModel.UserIP";n.Event.originId="js:window.Saon.SSACommonModel.OriginId";n.Event.sessionId="js:window.Saon.SSACommonModel.SessionId";n.Event.ssaHash="js:window.Saon.SSACommonModel.Hash";n.Event.myStepStoneId="js:window.Saon.SSACommonModel.MyStepStoneId";n.Event.referer=function(){return document.referrer};n.Event.userAgent=function(){return navigator.userAgent};n.Event.url=function(){return window.location.href};n.Event.algorithm="js:window.Saon.SSACommonModel.algorithm";n.RecommenderListingClicked={};n.RecommenderListingClicked.listingId="urlParameterInt:Id";n.RecommenderListingClicked._trigger="url:/.*ApplyForJob\\.aspx\\?(Id=([0-9]+)|Id=([0-9]+)&r=[0-9]-([a-z-]+)|Id=([0-9]+)&r=[0-9]-([a-z-]+)&jst=[0-9a-f]+-[0-9a-f]+-[1-5][0-9a-f]+-[89ab][0-9a-f]+-[0-9a-f]+|Id=([0-9]+)|Id=([0-9]+)&r=[0-9]-([a-z-]+)&jst=[0-9a-f]+-[0-9a-f]+-[1-5][0-9a-f]+-[89ab][0-9a-f]+-[0-9a-f]+&cid=[a-z]+\\|s:rec_[0-9]+)$";n.RecommenderListingClicked._parent="Event";n.RecommenderListingClicked.searchUUID=function(){return r.getSearchUUID()};var u=GetUrl(),i={defaultEvent:null,serviceUrl:u,eventDefinition:n,debug:!0},r=new SSALogger(i);return r.processAsync(),hasTjgValues("window.Saon.SSACommonModel.TJGJobId","window.Saon.SSACommonModel.TJGJsId")&&(t=cloneSSAConfig(i),t.eventDefinition.RecommenderListingClicked.listingId="js:window.Saon.SSACommonModel.TJGJobId",t.eventDefinition.Event.myStepStoneId="js:window.Saon.SSACommonModel.TJGJsId",t.eventDefinition.Event.originId="js:window.Saon.SSACommonModel.TJGOriginId",t.eventDefinition.Event.ssaHash="js:window.Saon.SSACommonModel.TJGHash",t.eventDefinition.Event.referer=function(){return document.referrer},t.eventDefinition.Event.userAgent=function(){return navigator.userAgent},t.eventDefinition.Event.url=function(){return window.location.href},sendSSALoggerTJG(t)),!1};IsJobDescriptionPage()&&window.Saon!=undefined&&(window.SSAService.LogViewedJob(),isRecommenderJobDescriptionPage()&&window.SSAService.RecommenderListingClicked())