/*! springshare 1.11.0 */ var springSpace=springSpace||{},springStats=springStats||{};springStats.saConfig=springStats.saConfig||{},springSpace.stats={},springSpace.stats._construct=function(){var t=function(t){this.STATS_UUID_LENGTH=20,this.TRACKING_MODE_ONCLICK=1,this.TRACKING_TYPE_PAGE=1,this.TRACKING_TYPE_WIDGET=9,this.TRACKING_TYPE_API=10,this.TRACKING_TYPE_LINK=2,this.TRACKING_TYPE_BOOK=3,this.TRACKING_TYPE_EVENT=4,this.TRACKING_TYPE_FILE=5,this.TRACKING_TYPE_FORM_INPUT=6,this.TRACKING_TYPE_FORM_BUTTON=7,this.TRACKING_TYPE_FORM=8,this.TRACKING_TYPE_HOME_PAGE=11,this.TRACKING_TYPE_CUSTOM_LINK=12,this.TRACKING_TYPE_SEARCH=13,this.TRACKING_TYPE_HOME_PAGE_MOBILE=14,this.TRACKING_TYPE_PAGE_MOBILE=15,this.TRACKING_TYPE_SEARCH_AZ=27,this.TRACKING_ACTION_TRACK="track",this.COOKIE_SESSION_NAME="sts",this.COOKIE_REFERRER_NAME="str",this.site_id=t.site_id,this.is_cg=!0,this.st_prefix="_st_",this.tracking_parameters=t.tracking_parameters,this.tracking_server_host=t.tracking_server_host,this.tracking_script="log.php",this.st_tracking_parameters={},this.is_logout=document.location.search.indexOf("msg=logout")>-1,this.do_not_track=document.location.search.indexOf("tracking=off")>-1,this.is_preview=document.location.search.indexOf("preview=")>-1,this.page_params=document.location.search,this.opt_use_page_params=!0,this.imgs=new Array,this.img_idx=0,this.track_delay=600,this.sessionCookieTimeout=30,this.referrerCookieTimeout=259200,this.cookie_session={},this.new_session=!1,this.sessionCookieTimeout=30,this.referrerCookieTimeout=259200,this.unique_id=this.uuidv4(),this.tracking_fields={site_path:{key:"sp",val:document.location.pathname+(document.location.search.length>0?document.location.search:"")},resource_type:{key:"rt",val:""},resource_id:{key:"rid",val:""},search_terms:{key:"st",val:""},custom_data:{key:"cd",val:""},monitor_resolution:{key:"mr",val:screen.width+"x"+screen.height},cookie_session_start:{key:"sst",val:""},cookie_session_id:{key:"sid",val:""},cookie_referrer:{key:"rr",val:""},visitor_id:{key:"vid",val:""}},this.processCookies()};t.prototype.uuidv4=function(){var t=window.crypto||window.msCrypto,i=([1e7]+1e3+4e3+8e3+1e11).replace(/[018]/g,function(i){return(i^t.getRandomValues(new Uint8Array(1))[0]&15>>i/4).toString(16)}),e=Math.floor(Math.random()*(i.length-this.STATS_UUID_LENGTH));return i.substring(e,e+this.STATS_UUID_LENGTH)},t.prototype.processCookies=function(){var t=this.readCookie(this.COOKIE_SESSION_NAME);try{this.cookie_session=JSON.parse(t)}catch(t){this.cookie_session={}}var i=new Date;if(!this.cookie_session){var e={id:this.unique_id,start:i.getTime()};t=JSON.stringify(e),this.cookie_session=e,this.new_session=!0}this.createCookie(this.COOKIE_SESSION_NAME,t,this.sessionCookieTimeout)},t.prototype.createCookie=function(t,i,e){if(e){var s=new Date;s.setTime(s.getTime()+60*e*1e3);var r="; expires="+s.toGMTString()}else r="";document.cookie=t+"="+(i||"")+r+"; path=/"},t.prototype.readCookie=function(t){for(var i=t+"=",e=document.cookie.split(";"),s=0;s')}return!0},t.prototype.generateQSData=function(t){var i=new Array;if(this.generateCookieQSData(),null!=this.tracking_fields)for(field in this.tracking_fields){var e=this.tracking_fields[field];void 0!==e.val&&""!==e.val&&i.push(e.key+"="+encodeURIComponent(e.val))}var s=this.st_prefix+"site_id";if(null!=this.tracking_parameters){var r=!1;for(param in this.tracking_parameters)param==s&&(r=!0),i.push(param+"="+encodeURIComponent(this.tracking_parameters[param]));r||i.push(s+"="+this.site_id)}else i.push(s+"="+this.site_id);if(null!=t)if(void 0!==t._full_qs&&t._full_qs)i.push("_full_qs="+encodeURIComponent(document.location.search));else for(param in t)"link"!==param&&void 0===this.tracking_parameters[param]&&i.push(param+"="+encodeURIComponent(t[param]));var o=new Date;return i.length>0?"?action="+this.TRACKING_ACTION_TRACK+"&"+i.join("&")+"&_nocache="+o.getTime():"?action="+this.TRACKING_ACTION_TRACK+"&nocache="+o.getTime()},t.prototype.generateCookieQSData=function(){null!=this.cookie_session&&(this.new_session&&(this.tracking_fields.cookie_session_start.val=this.cookie_session.start),this.tracking_fields.cookie_session_id.val=this.cookie_session.id),this.is_cg&&(this.tracking_fields.cookie_referrer.val=document.referrer)},t.prototype.propExists=function(t,i){return void 0!==t[i]},t.prototype.getResourceType=function(t,i){var e=this.st_prefix+"type_id";return null!=i?this.propExists(i,e)?"r"==i[e]?this.TRACKING_TYPE_PAGE:"w"==i[e]?this.Widget():"a"==i[e]?this.TRACKING_TYPE_API:i[e]:this.propExists(i,"custom_type")?i.custom_type:this.TRACKING_TYPE_LINK:null!=t&&this.propExists(t,"tagName")?"A"==t.tagName.toUpperCase()?this.TRACKING_TYPE_LINK:"INPUT"==t.tagName.toUpperCase()?this.TRACKING_TYPE_FORM_INPUT:"BUTTON"==t.tagName.toUpperCase()?this.TRACKING_TYPE_FORM_BUTTON:"FORM"==t.tagName.toUpperCase()?this.TRACKING_TYPE_FORM:this.TRACKING_TYPE_PAGE:this.TRACKING_TYPE_PAGE},t.prototype.track=function(t,i){var e=void 0!==t?t:document;switch(this.propExists(e,"tagName")?e.tagName:""){case"A":this.trackLink(e,i);break;case"FORM":this.trackForm(e,i);break;case"DOCUMENT":default:this.trackPage(e,i)}},t.prototype.gaLinkTracking=function(t){try{if("undefined"!=typeof pageTracker&&void 0!==t){var i=t.link_obj.innerHTML.replace("&","&"),e="/"+t.guide_name+"/"+t.page_name+"/"+i+"/"+escape(t.link_obj.href);pageTracker._trackPageview(e)}}catch(t){}},t.prototype.trackLink=function(t){return this.tracking_fields.custom_data.val=void 0!==t.custom_data?t.custom_data:"",this.trackIt(t),!!t.link.target||(setTimeout("document.location.href = '"+t.link.href+"';",this.track_delay),!1)},t.prototype.trackPage=function(t){this.trackIt(t)},t.prototype.trackEr=function(t){this.trackIt(t)},t.prototype.trackDiscussion=function(t){this.trackIt(t)},t.prototype.trackBlog=function(t){this.trackIt(t)},t.prototype.trackPageRedirect=function(t){if(this.trackIt(t),this.propExists(t,"mode")&&t.mode==this.TRACKING_MODE_ONCLICK)return!!t.target||(setTimeout("document.location.href = '"+t.href+"';",this.track_delay),!1)},t.prototype.trackForm=function(t,i){return this.trackIt(i),setTimeout("form_obj.submit();",this.track_delay),!1},t.prototype.trackSearch=function(t){this.tracking_fields.search_terms.val=void 0!==t.search_terms?t.search_terms:"",this.trackIt(t)},this.Stats=t},springSpace.stats._construct(),springSpace.springTrack=new springSpace.stats.Stats(springStats.saConfig);