var mwcstats={init:function(site_id){mwcstats.pageview_fired=0;if(document.location.protocol=="https:"){mwcstats.domain="https://stats.mckeewallworkcleveland.net";mwcstats.secure=1;}else{mwcstats.domain="http://stats.mckeewallworkcleveland.net";mwcstats.secure=0;}mwcstats.base=mwcstats.pingbase=mwcstats.domain+"/in.php?site_id="+site_id;mwcstats.base+="&res="+screen.width+"x"+screen.height+"&lang="+(navigator.language||navigator.browserLanguage||'en').substr(0,2)+"&secure="+mwcstats.secure;if(mwcstats_custom.session){for(var i in mwcstats_custom.session){mwcstats.base+="&custom["+mwcstats.enc(i)+"]="+mwcstats.enc(mwcstats_custom.session[i]);}}if(mwcstats_custom.goal){for(var i in mwcstats_custom.goal){mwcstats.base+="&goal["+mwcstats.enc(i)+"]="+mwcstats.enc(mwcstats_custom.goal[i]);}}if(mwcstats_custom.async){setTimeout(mwcstats.advanced,1000);}else mwcstats.add_event(window,'load',mwcstats.advanced);mwcstats.ref=RegExp("^https?://[^/]*"+location.host.replace(/^www\./i,"")+"/","i").test(document.referrer)?"":mwcstats.enc(document.referrer);if(!mwcstats_custom.pageview_disable)mwcstats.pageview();},pageview:function(){if(mwcstats.pageview_fired)return;mwcstats.pageview_fired=1;if(location.hash.match(/utm_/i)){var href=location.pathname+(location.search?location.search+'&':'?')+location.hash.substr(1);}else{var href=location.pathname+location.search;}mwcstats.beacon("&href="+mwcstats.enc(mwcstats_custom.href||href)+"&title="+mwcstats.enc(mwcstats_custom.title||document.title)+"&ref="+mwcstats.ref);},log:function(href,title,type){type=type||"click";if(type=="pageview")href=href.replace(/^https?:\/\/([^\/]+)/i,"");mwcstats.beacon("&type="+type+"&title="+mwcstats.enc(title)+"&href="+mwcstats.enc(href)+"&ref="+mwcstats.ref);if(type=="download"||type=="outbound")mwcstats.pause();},video:function(action,time,url,title){if(!url||(action!='play'&&action!='pause'&&action!='seek'&&action!='end'))return false;mwcstats.beacon('&type=video&video[action]='+action+'&video[time]='+(time||0)+(title?'&title='+mwcstats.enc(title):'')+(url?'&href='+mwcstats.enc(url):''));},beacon:function(x,ping){var jsuid='';if(!mwcstats_custom.no_cookies){jsuid=mwcstats.get_cookie('_jsuid');if(!jsuid){mwcstats.set_cookie('_jsuid',mwcstats.randy());jsuid=mwcstats.get_cookie('_jsuid');}}var s=document.createElement('script');s.type='text/javascript';s.async=true;s.src=(ping?mwcstats.pingbase:mwcstats.base)+x+'&jsuid='+jsuid+'&mime=js&x='+Math.random();(document.getElementsByTagName('head')[0]||document.getElementsByTagName('body')[0]).appendChild(s);mwcstats.ref="";mwcstats.ping_start();},ping:function(){mwcstats.beacon("&type=ping",1);},ping_set:function(interval,stop){if(!interval||!stop)return;var pingy=setInterval(mwcstats.ping,interval*1000);setTimeout("clearInterval("+pingy+")",stop*1000);mwcstats.ping();},ping_start:function(){if(mwcstats.pinging||mwcstats_custom.ping_disable)return;mwcstats.pinging=1;var last_timeout=(mwcstats_custom.timeout&&mwcstats_custom.timeout>=5&&mwcstats_custom.timeout<=240)?((mwcstats_custom.timeout-1)*60)+5:605;setTimeout("mwcstats.ping()",30*1000);setTimeout("mwcstats.ping_set(80,"+last_timeout+")",60*1000);},get_cookie:function(name){var ca=document.cookie.split(';');for(var i=0,l=ca.length;i<l;i++){if(eval("ca[i].match(/\\b"+name+"=/)"))return decodeURIComponent(ca[i].split('=')[1]);}return'';},set_cookie:function(name,value){var ex=new Date;ex.setTime(ex.getTime()+20*365*86400*1000);document.cookie=name+"="+value+";expires="+ex.toGMTString()+";path=/;domain=."+location.hostname.replace(/^www\./i,"")+";";},randy:function(){var r=0,s="",c="0123456789";for(var i=0,l=c.length;i<19;i++){r=Math.floor(Math.random()*l);s+=c.substring(r,r+1);}return s.replace(/^0+/,"");},pause:function(x){var now=new Date();var stop=now.getTime()+(x||mwcstats_custom.timer||500);while(now.getTime()<stop)var now=new Date();},isset:function(e){return(typeof(window[e])!="undefined");},enc:function(e){return window.encodeURIComponent?encodeURIComponent(e):escape(e);},goal:function(id,revenue){mwcstats.beacon("&type=goal&goal[id]="+id+"&goal[revenue]="+revenue);},add_event:function(e,type,func){if(e.addEventListener){e.addEventListener(type,func,false);}else if(e.attachEvent){e.attachEvent("on"+type,func);}},download:function(e){mwcstats.img_src(e,"download");},outbound:function(e){mwcstats.img_src(e,"outbound");},click:function(e){mwcstats.img_src(e,"click");},img_src:function(e,type){obj=mwcstats.get_target(e);mwcstats.log(mwcstats.get_href(obj),mwcstats.get_text(obj),type);},get_text:function(e){do{var txt=e.text?e.text:e.innerText;if(txt)return txt;if(e.alt)return e.alt;if(e.title)return e.title;if(e.src)return e.src;e=mwcstats.get_parent(e);}while(e);return"";},get_href:function(e){do{if(e.href&&!e.src)return e.href;e=mwcstats.get_parent(e);}while(e);return"";},get_parent:function(e){return e.parentElement||e.parentNode;},get_target:function(e){if(!e)var e=window.event;var t=e.target?e.target:e.srcElement;if(t.nodeType&&t.nodeType==3)t=t.parentNode;return t;},advanced:function(){if(mwcstats_custom.advanced_disable)return;var is_download=new RegExp("\\.(7z|aac|avi|cab|csv|dmg|doc(x|m|b)?|exe|flv|gif|gz|jpe?g|js|m4a|mp(3|4|e?g)|mov|msi|ods|pdf|phps|png|ppt(x|m|b)?|rar|rtf|sea|sit|tar|torrent|txt|wma|wmv|xls(x|m|b)?|xml|zip)$","i");var is_link=new RegExp("^(https?|ftp|telnet|mailto):","i");var is_link_internal=new RegExp("^https?:\/\/(.*)"+location.host.replace(/^www\./i,""),"i");var a=document.getElementsByTagName("a");for(var i=0;i<a.length;i++){if(a[i].className.match(/mwcstats_log/i)){if(a[i].className.match(/mwcstats_log_download/i)){mwcstats.add_event(a[i],"mousedown",mwcstats.download);}else if(a[i].className.match(/mwcstats_log_outbound/i)){mwcstats.add_event(a[i],"mousedown",mwcstats.outbound);}else{mwcstats.add_event(a[i],"mousedown",mwcstats.click);}}else{if(is_link.test(a[i].href)&&!a[i].className.match(/mwcstats_ignore/i)){if(is_download.test(a[i].href)){mwcstats.add_event(a[i],"mousedown",mwcstats.download);}else if(!is_link_internal.test(a[i].href)){mwcstats.add_event(a[i],"mousedown",mwcstats.outbound);}}}}}};if(!mwcstats.isset("mwcstats_custom"))mwcstats_custom={};if(mwcstats.isset("mwcstats_page_title"))mwcstats_custom.title=mwcstats_page_title;if(mwcstats.isset("mwcstats_advanced_disable"))mwcstats_custom.advanced_disable=1;if(mwcstats.isset("mwcstats_pause_timer"))mwcstats_custom.timer=mwcstats_pause_timer;if(mwcstats.isset("mwcstats_custom_session"))mwcstats_custom.session=mwcstats_custom_session;if(mwcstats.isset("mwcstats_goal"))mwcstats_custom.goal=mwcstats_goal;if(mwcstats.isset("async_site_id"))var mwcstats_site_id=async_site_id;if(mwcstats.isset("mwcstats_site_id")){mwcstats_custom.async=1;mwcstats.init(mwcstats_site_id);}function statsgoyes(site_id){mwcstats.init(site_id);}var videogoyes=mwcstats.video;statsgoyes(126317);