var ttsc=!1,ttap=!0,ttlnk=!0,expr=/__/,tvar="ttr",appear_css={position:"relative",outline:"#888 dotted 2"},x='class="id_tr" style="position: absolute; top: -5px; left: -5px;color:#e8e8e8; padding: 4px 10px; cursor:pointer;background-color: #333;opacity: 0.9;filter:alpha(opacity=90);border-radius: 3px;"';
(function(a){a.fn.appear=function(b,c){var f=a.extend({one:!0},c);return this.each(function(){var d=a(this);d.appeared=!1;if(b){var c=a(window),e=function(){if(d.is(":visible")){var a=c.scrollLeft(),b=c.scrollTop(),e=d.offset(),g=e.left,e=e.top;e+d.height()>=b&&e<=b+c.height()&&g+d.width()>=a&&g<=a+c.width()?d.appeared||d.trigger("appear",f.data):d.appeared=!1}else d.appeared=!1},g=function(){d.appeared=!0;if(f.one){c.unbind("scroll",e);var g=a.inArray(e,a.fn.appear.checks);0<=g&&a.fn.appear.checks.splice(g,
1)}b.apply(this,arguments)};if(f.one)d.one("appear",f.data,g);else d.bind("appear",f.data,g);c.scroll(e);a.fn.appear.checks.push(e);e()}else d.trigger("appear",f.data)})};a.extend(a.fn.appear,{checks:[],timeout:null,checkAll:function(){var b=a.fn.appear.checks.length;if(0<b)for(;b--;)a.fn.appear.checks[b]()},run:function(){a.fn.appear.timeout&&clearTimeout(a.fn.appear.timeout);a.fn.appear.timeout=setTimeout(a.fn.appear.checkAll,20)}});a.each("append,prepend,after,before,attr,removeAttr,addClass,removeClass,toggleClass,remove,css,show,hide".split(","),
function(b,c){var f=a.fn[c];f&&(a.fn[c]=function(){var b=f.apply(this,arguments);a.fn.appear.run();return b})})})(jQuery);
var appearevent=function(){var a=$(this).attr("id");if(0!=$(window).scrollTop()){var b=_dt();if(a&&!expr||a&&debug||a&&expr&&expr.test(a))debug?console.log("discover "+a+" "+b):HAS_GA&&_gaq.push(["_trackEvent","track","appear",a,b])}else a&&debug&&console.log("initial show for "+a)},clickevent=function(){var a=$(this).attr("id"),b=$(this).attr("href"),c=$(this).attr("title");if("undefined"==typeof b)return!0;debug?console.log("click "+a+" "+b+" "+c):HAS_GA&&_gaq.push(["_trackEvent","track","click",
b,_dt()]);return ignore_link},clicktest=function(a){var b=$(this).attr("id");"undefined"!=typeof b&&(debug&&console.log("clicked event:"+b),a.stopPropagation());return!0},_st=(new Date).getTime(),_dt=function(){return(new Date).getTime()-_st},params=function(){var a={},b=(window.location.search.split("?")[1]||"").split("&"),c;for(c in b)b.hasOwnProperty(c)&&(paramParts=b[c].split("="),a[paramParts[0]]=decodeURIComponent(paramParts[1]||""));return a}(),HAS_GA="undefined"!=typeof _gaq,debug=""==params[tvar];
debug?(console.log("JS GA:"+HAS_GA+" debug:"+debug),$.each($("div"),function(){var a=$(this).attr("id");expr.test(a)&&($("#"+a).css("outline","#888 dotted 2"),$("<div "+x+">"+a+"</div>").prependTo($("#"+a)))})):HAS_GA?_gaq.push(["_trackEvent","track","appear","start",_dt()]):alert("Technical Error #3284. Contact your provider");ttap&&$("div").appear(appearevent);ttlnk&&$("a").click(clickevent);debug&&$("div").click(clicktest);

