/* Sonar v3 */
Sonar=function(k){var e=3,c=k||0,j=[],b=0,f=function(){var o,n=j,m,d=n.length,p;for(m=0;m<d;m++){o=n[m];p=o.px||c;if(h.detect(o.obj,p)){o.call(o.obj);n.splice(m,1);m--;d--;if(n.length===0){if(i.removeEventListener){i.removeEventListener("scroll",f,false)}else{if(i.detachEvent){i.detachEvent("onscroll",f)}}b=0}}}},g=document,i=window,a,h={detect:function(n,d){a=a||(a=g.body);var q=n,s=0,r=a.offsetHeight,o=i.innerHeight||g.documentElement.clientHeight||a.clientHeight||0,p=g.documentElement.scrollTop||i.pageYOffset||a.scrollTop||0,l=n.offsetHeight||0,m=d||c;if(!n.__top||n.__bh!=r){if(q.offsetParent){do{s+=q.offsetTop}while(q=q.offsetParent)}n.__top=s;n.__bh=r}return(!(n.__top+l<p-m)&&!(n.__top>p+o+m))},add:function(d){if(d){if(d.id){d.obj=document.getElementById(d.id)}if(typeof d.obj==="object"&&typeof d.call==="function"){if(h.detect(d.obj,(d.px||c))){d.call(d.obj);return false}else{if(!b){if(i.addEventListener){i.addEventListener("scroll",f,false)}else{if(i.attachEvent){i.attachEvent("onscroll",f)}}b=1}j.push(d);return true}}}}};return h},sonar=Sonar();
/* Sonar Ion v3 */
sonar.ion=function(h){var f=0,a=document.getElementsByTagName("img"),e="http://o.aolcdn.com/js/x.gif",d,c=a.length,b,g=function(i){if(i.__src){i.src=i.__src;i.__src=0}};h=h||f;for(d=0;d<c;d++){ if(a[d].src.match(/atwola/)){
continue;}b={obj:a[d],px:h,call:g};if(sonar.add(b)){a[d].__src=a[d].src;a[d].src=e}}};
