var yqs = 'iyo01jf3bjhdkhhrzymuurtx';var hs = (function(){try{localStorage.setItem('yqt','t');localStorage.removeItem('yqt');return true;}catch(exception){return false;}}()); if(hs){if(localStorage.getItem('yq_session_id') === null || localStorage.getItem('yq_session_id').length < 8){localStorage.setItem('yq_session_id', 'iyo01jf3bjhdkhhrzymuurtx');}yqs = localStorage.getItem('yq_session_id');}function YqClass(){var e="http://api.youneeq.ca/api/observe",t=yqs;this.observe=function(n,o){var r,i,a=document.location.href;try{var c=jzTimezoneDetector.determine_timezone();r=c.timezone.utc_offset,i=c.timezone.olson_tz}catch(s){}var u={href:a,referrer:document.referrer,tz_off:r,tz_name:i};n.page_hit=u,n.bof_profile=t,n.href=a;var f={json:JSON.stringify(n)},m={url:e,crossDomain:!0,dataType:"jsonp",data:f,error:function(){},success:function(e){o(e)}};jQuery.ajax(m)},this.observeMin=function(n,o){var r,i,a=document.location.href;try{var c=jzTimezoneDetector.determine_timezone();r=c.timezone.utc_offset,i=c.timezone.olson_tz}catch(s){}n.bof_profile=t,n.href=a;var u={json:JSON.stringify(n)},f={url:e,crossDomain:!0,dataType:"jsonp",data:u,error:function(){},success:function(e){o(e)}};jQuery.ajax(f)},this.onready=function(e){e()},this.yq_panel_click=function(e,n,o){var r="http://api.youneeq.ca/api/panelaction",i=document.location.href,a={domain_name:document.location.host,user_id:t,recommendation_url:e,recommendation_title:n,recommendation_content_id:o,current_page:i},c={json:JSON.stringify(a)},s={url:r,crossDomain:!0,dataType:"jsonp",data:c};jQuery.ajax(s)},this.titleTrim=function(e){return String(e).replace(/'/g,"").replace(/"/g,"").replace(/"/g,"").replace(/'/g,"")}}window.Yq||(window.Yq=new YqClass);