window.ATMA_APP=function(){var xa=false;function T(a){return document.getElementById(a)}function P(a){return document.getElementsByTagName(a)}function M(a){return encodeURIComponent(a)}function i(a){return document.createElement(a)}function Z(a){return document.createTextNode(a)}function bb(a,b){return function(){cb(a);var c=db(a),d=typeof a!=="undefined"?a:1,f=M(window.location),g=escape(eb()),h=fb(a),l=false;if(f&&f.indexOf("translate.google")!==-1){f=window.location.href;var k=f.indexOf("u="),
n=k===-1?-1:f.indexOf("&",k);if(k!==-1&&n!==-1)f=f.substring(k+2,n);f=M(f)}else if(f&&f.indexOf("webcache.google")!==-1){k=document.body;for(n=0;n<2;n++)if(k)k=k.firstChild;if(k)k=k.childNodes[1];if(k&&k.href)f=M(k.href)}function r(){var s="http://js.atmalinks.com/linker/"+c+"&p="+d+"&u="+f;if(g&&g!=""&&!ya(g))s+="&t="+g;if(h)s+="&atma_action="+h;return s}function j(s){var p=document.getElementsByTagName("head"),m;if(p)p=p[0];if(!p)if(document.body)p=document.body;else{SetTimeout(function(){return function(){j(s)}}(),
20);return}m=i("script");m.type="text/javascript";m.src=s;p.appendChild(m)}function q(){if(!l){l=true;j("http://m.atmalinks.com/"+a+"-atma_settings.js");if(b){gb(1);za(1)}else j(r())}}if(document.readyState==="complete")return q();if(document.addEventListener)window.addEventListener("load",q,false);else document.attachEvent&&window.attachEvent("onload",q);return{write_script_src:function(){return"http://m.atmalinks.com/atma_default.js"}}}()}function aa(a,b){var c=false,d="",f,g;try{if(a){d=this.getAttribute("target");
try{if(a.ctrlKey)c=true}catch(h){}try{if(a.metaKey)c=true}catch(l){}try{if(a.button)c=true}catch(k){}}else c=true;g=b(this);if(c){window.open(g);window.focus()}else if(d){f=window.open(g,d);f.focus()}else window.location=g;return false}catch(n){return true}}function Aa(a){if(a.a("id")==="0")return"http://a.atmalinks.com/";return"http://a.atmalinks.com/transfer/"+("?c="+a.a("id")+"&p="+M(a.a("pattern"))+"&D="+a.a("dataset")+"&i="+U()+"&g="+a.ga)}function Q(a,b){return b.replace(new RegExp("&?"+a+"=.*?(?:&|$)",
"ig"),"",b)}function Ba(a){var b=P("a"),c,d,f,g,h,l,k,n=false;g=false;var r,j,q;r=hb();c=0;for(d=b.length;c<d;c++){n=false;if((q=b[c])&&q.href){j=q.href;if(j.indexOf("http")==0){f=j.lastIndexOf("#nr");if(f!=-1)q.href=j.slice(0,f);else{f=0;for(l=r.length;f<l;f++){k=r[f][0];g=r[f][1];h=r[f][2];k=j.indexOf(k);if(k!=-1&&(j[k-1]==="."||j[k-1]==="/")){f=l;if(g)n=true;else{g=la(h);g=g.i;if((k=ma(g))&&j.indexOf(k)==-1){switch(g){case 1:case 5:case 6:j=Q("t",j);j=Q("tag",j);break;case 2:j=Q("AID",j);j=Q("PID",
j);j=Q("nm_mc",j);j=Q("cm_mmc",j);break;case 3:j=Q("cm_mmc_o",j);j=Q("AffiliateID",j);break;default:break}q.href=j}}}}if(n){q.G=q.onclick;q.onclick=function(){var s={ja:a};function p(m){var t=s.ja;m.G&&m.G(e);return"http://a.atmalinks.com/redir/?i="+t+"&u="+M(m.href)}return function(m){return aa.apply(this,[m,p])}}();na("rimp",0,h)}}}}}}function fb(a){var b=window.location;if(b){if(/atma_action=switch/.test(b))return"switch";if(/atma_action=force/.test(b))return"force";/atma_action=rewrite/.test(b)&&
Ba(a);if(/atma_action=doca/.test(b))return"doca";if(/atma_action=douk/.test(b))return"douk";if(/atma_action=demo/.test(b))return"demo"}return""}function ib(){var a=ba(),b=jb(),c,d,f;U();for(c in a){d=a[c];if(f=b[c]){d.r=d.r&&f.r;f.s||(d.s=0);if(f.p){d.p-=100;if(d.s)d.s-=100}}}}function hb(){var a=ba(),b,c,d=[];for(c in a)if(c)(b=a[c])&&b.d&&d.push([b.d,b.r,c]);return d}function Ca(a){var b;if(a){b=a.a("pattern");b=M(b);a=fa(a);K().t();return Da(b,a,false)}}function kb(){var a=R().f(K().e);return Ca(a)}
function Da(a,b,c){var d="http://a.atmalinks.com/search/";a=M(a);d+="?p="+U();d+="&m="+b;d+="&t="+a;if(c)d+="&h=1";return aa(null,function(){return d})}function lb(a){var b="",c,d;c="";var f=["a","b","c","d","e","f"];for(d=0;d<a;d++){c=Math.round(Math.random()*14);c=c>9?f[c-9]:""+c;b+=c}return b}function Ea(a,b,c,d){var f=lb(8),g=new Image,h=mb();g.src="http://imp.atmalinks.com:8100/imp?type="+a+"&imp_id="+h+"&rem_id="+b+"&group_id="+c+"&count="+d+"&pub_id="+U()+"&rand="+f}function nb(){Ea("himp",
0,0,1);oa("hover")}function na(a,b,c){var d=window.ATMA_APP.R,f;if(!d)d=window.ATMA_APP.R={};if(a==="imp"||a==="rimp"||a==="himp"||a==="simp"||a==="limp"){(f=d[a])||(f=d[a]={});(a=f[b])||(a=f[b]={});(b=a[c])||(b=a[c]=0);a[c]=b+1}}function oa(a){var b=window.ATMA_APP.R,c,d,f,g,h,l;if(a==="hover")if(window.ATMA_APP.va)return;else window.ATMA_APP.va=true;if(b)for(h in b){c=b[h];if(a==="hover"&&h==="simp"||a==="hilite"&&h==="limp"||h!=="simp"&&h!=="limp"&&h!=="himp"&&a!=="hover"&&a!=="hilite")for(l in c){d=
c[l];for(f in d){g=d[f];Ea(h,f,l,g)}}}}function ob(){var a,b,c=Fa(),d,f=ga(),g;for(d in c)if(d){g=c[d];for(defset in f)g[defset]=f[defset];for(a=0;a<19;a++){b=g[""+a];if(typeof b!=="undefined")switch(a){case 0:g.na=b;break;case 1:g.J=b;break;case 2:g.qa=b;break;case 3:g.w=b;break;case 4:g.ka=b;break;case 6:g.P=b;break;case 7:g.ta=b;break;case 8:g.S=b;break;case 9:g.T=b;break;case 10:g.M=b;break;case 11:g.N=b;break;case 12:g.O=b;break;case 13:g.z=b;break;case 14:g.D=b;break;case 15:g.h=b;break;case 16:g.l=
b;break;case 17:g.u=b;break;case 18:g.id=b;break;default:}}g.name=d}ib();return f}function Ga(a,b,c,d){a.className+=" atma_o_"+b+"_"+c+"_"+d}function X(a){a=a.className;if(!a)return[-1,-1,""];a=/atma_o_([\d]+)_(\d+)_(\w*)\b/i.exec(a);if(!a)return[-1,-1,""];return[parseInt(a[1],10),parseInt(a[2],10),a[3]]}function pb(a,b){switch(a){case "content":case "logo":b=this.a("dataset",b);return this.aa(a,b);default:return this.a(a,b)}}function qb(a,b){switch(a){case "id":return this.data[b][0];case "pattern":return this.data[b][1];
case "dataset":return this.data[b][2];case "img":return this.data[b][3];case "title":return this.data[b][4];case "customs":return this.data[b][5];case "score":return this.data[b][6];case "merc_id":return this.data[b][7];default:return this.data[b]}}function rb(a,b){var c,d,f=0;c=0;for(d=this.k.length;c<d;c++)if(this.k[c][0]===b){f=c;break}switch(a){case "content":return this.k[f][1];case "logo":return this.k[f][2]}}function sb(a){var b,c,d,f,g,h,l=this,k;b=0;for(c=this.C.length;b<c;b++){d=this.C[b];
g=d.sa;h=a.search(g);k=g.exec(a);if(h!=-1&&k){if(!d.match){f=function(){var n=b;return{a:function(r){return pb.apply(l,[r,n])},K:0}}();d.match=f}f=d.match;return function(){return{id:b,index:h,text:k[0],g:f}}()}}return null}function tb(){var a=ub(),b,c=[],d,f;if(b=R())return b;function g(h){var l=["\\","/","{","}","*","+","?","(",")","|","^","$",".","[","]"],k,n,r;k=0;for(n=l.length;k<n;k++){r=l[k];h=h.replace(r,"\\"+r)}h=h.replace(/&/g,"(?:&|&amp;)");h=h.replace(/ /g,"(?:\\s|(?:&nbsp;))+");return h=
"\\b"+h+"\\b"}a.sort(function(h,l){var k=ha(l[7]),n=ha(h[7]),r;if(!k)return-1;if(!n)return 1;r=l[1].length-h[1].length;if(r==0)r=k.p-n.p;if(r==0)r=h[6]-l[6];return r});d={data:a,k:vb(),a:qb,aa:rb,search:sb,C:c,ya:a.length,f:function(h){if(h>=0)return this.C[h].match;return null}};b=0;for(a=a.length;b<a;b++){f=d.a("pattern",b).toLowerCase();c.push({Aa:f,sa:new RegExp(g(f)),match:null})}return wb(d)}function xb(){var a=i("div"),b=i("img"),c=i("img"),d=i("div"),f=i("div"),g=i("div"),h=i("div"),l=i("div"),
k=i("div"),n=i("div"),r=Ha(function(){var m=R().f(K().e);if(m)return M(m.a("pattern"));return""}),j=r[0];r=r[1];var q=j.firstChild,s=R(),p=ca();f.id="atma_ad_content";b.id="atma_ad_bg_img";a.id="atma_ad_box";l.id="atma_ad_inner";d.id="atma_ad_title";d.className="atma_ad_title atma_ad_color_main";j.id="atma_ad_search_field";g.id="atma_ad_linkbar";g.innerHTML="Linked&nbsp;By&nbsp;Atma";g.style.color=p.l;g.className="atma_ad_footer_text";n.id="atma_ad_merc_footer";n.appendChild(i("span"));n.className=
q.className="atma_footer_left";n.className+=" atma_ad_footer_text";if(r===0)q.style.visibility="hidden";h.id="atma_outer";k.id="atma_top";j.style.color=p.h;g.onclick=function(){aa(null,function(){return"http://www.atmalinks.com"})};k.onmouseover=Ia;k.onmouseout=Ja;k.onclick=pa;a.appendChild(b);h.appendChild(c);k.appendChild(d);k.appendChild(f);l.appendChild(k);j.appendChild(n);j.appendChild(g);h.appendChild(l);h.appendChild(j);a.appendChild(h);a.style.visibility="hidden";a.style.position="absolute";
a.style.top="0";a.style.left="0";l.onclick=pa;n.onclick=Ka;n.onmouseover=function(){this.style.textDecoration="underline"};n.onmouseout=function(){this.style.textDecoration="none"};T("atma_ad_box")||P("body")[0].appendChild(a);this.empty=function(){var m;if(m=T("atma_ad_box")){var t=m.parent;if(!t)t=m.offsetParent;t&&t.removeChild(m)}};this.ua=function(m,t){a.style.visibility="visible";this.e=m;this.I=t};this.B=function(){if(this.j&&this.j!=-1){clearTimeout(this.j);this.j=-1}};this.t=function(){this.e=
this.I=this.j=-1;if(a){a.style.visibility="hidden";a.style.top=0;a.style.left=0}};this.Q=function(){var m=this;if(!ga().ca){this.B();this.j=setTimeout(function(){m.t()},600)}};a.onmouseover=function(){K().B()};a.onmouseout=function(){K().Q()};this.display=function(m,t,z,w,u,v,H){La();z=ca();if(this.I!=t){function S(I,G,D){var E=Ma(G),C=K().e;if(!(C!==-1&&C!==G)){D||(D=1);if(E===Na()&&D<15)setTimeout(function(){var ia=D;return function(){S(I,G,ia+1)}}(),200);else{if(D===15){yb(G);E=qa()}I.replaceChild(E,
I.childNodes[0])}}}a.style.left=a.style.top="";a.style.left=w+"px";a.style.top=u+"px";b.src=ra(H,v).src;d.style.color=z.l?z.l:"";f.style.color=z.h?z.h:"";s=R();u=s.f(m);w=u.a("content");v=u.a("customs");this.e=m;S(h,m,0);h.replaceChild(Ma(m),h.childNodes[0]);d.innerHTML="<span>"+Oa(d,u.a("title"),true)+"</span>";if(v){H=0;for(z=v.length;H<z;H++)if((custom=v[H])&&custom!="None")w=w.replace("#"+(H+1)+"#",custom)}if(sa(u)||Pa(u)){function ja(I){I=I.split(" ");var G="",D,E,C;D=0;for(E=I.length;D<E;D++){C=
I[D];G+=C.charAt(0).toUpperCase();G+=C.substring(1);if(D!==E-1)G+=" "}return G}v=fa(u);v=la(v).n;v=Qa(v);H=i("div");z=i("div");z.id="atma_ad_search_content";v.className="atma_ad_content_favicon";H.className="atma_ad_search_text";n.style.display="";q.style.display="none";f.style.fontSize="11px";f.innerHTML="";H.innerHTML="Search for it on "+ja(zb(u));z.appendChild(v);z.appendChild(H);f.appendChild(z);if(Pa(u))n.firstChild.style.display="none";else{u=i("span");u.innerHTML="Also at "+w;n.replaceChild(u,
n.firstChild);if(u.offsetHeight>17)u.innerHTML=w}}else{g.style.marginTop="";n.style.display="none";q.style.display="";f.style.lineHeight="";f.style.fontSize="";f.innerHTML=Oa(f,w,false)}nb();this.ua(m,t)}};this.ha=function(){this.Q()};this.ea=function(){return b.clientHeight};this.fa=function(){return b.clientWidth};this.da=function(){if(typeof this.e!=="undefined"&&this.e!=-1){var m=s.f(this.e);if(m)return Aa(m)}return null}}function Ra(a){var b=T("atma_ad_title"),c=T("atma_ad_content");if(a=="off"){b.style.textDecoration=
"none";c.style.textDecoration="none"}else{b.style.textDecoration="underline";c.style.textDecoration="underline"}}function Ia(){Ra("on")}function Ja(){Ra("off")}function pa(){var a=K();if(a=R().f(a.e)){if(sa(a))return kb();return Ka()}}function Ka(){var a=K(),b=a.da();a.t();if(b)return aa(null,function(){return b})}function Ab(){return window.getSelection?window.getSelection():document.selection?document.selection.createRange().text:false}function Bb(a){var b={x:0,y:0};a=a||window.event;if(a.pageX||
a.pageY){b.x=a.pageX;b.y=a.pageY}else{var c,d;c=document.documentElement;d=document.body;b.x=a.clientX+(c.scrollLeft||d.scrollLeft)-(c.clientLeft||0);b.y=a.clientY+(c.scrollTop||d.scrollTop)-(c.clientTop||0)}return b}function Cb(){if(!window.scrollbars)return false;return window.scrollMaxX===0}function Db(){return Eb()+Fb()}function Eb(){if(window.innerWidth){if(Cb())return window.innerWidth-16;return window.innerWidth}if(document.documentElement&&document.documentElement.clientWidth!=0)return document.documentElement.clientWidth;
else if(document.body)return document.body.clientWidth;return 0}function Fb(){return document.documentElement.scrollLeft?document.documentElement.scrollLeft:document.body.scrollLeft}function Gb(){return document.documentElement.scrollTop?document.documentElement.scrollTop:document.body.scrollTop}function da(a){var b=0,c=0;if(a.offsetParent){do{b+=a.offsetLeft;c+=a.offsetTop}while(a=a.offsetParent)}return[b,c]}function Oa(a,b,c){c=c?34:19;for(a.innerHTML=b;a.offsetHeight>c;){b=b.substr(0,b.length-
4)+"...";a.innerHTML=b}return b}function ya(a){if(!a)return true;return/^[\s]*$/.test(a)}function Sa(a,b){var c=/\batma-link\b/i,d;if(!a.parentNode)return false;d=a.parentNode;if(d.nodeName&&a.nodeValue&&d.className&&d.nodeName==b){a=d.className.search(c);if(a!=-1)return true}}function eb(){var a=i("span").nodeName,b="";callback=function(c){if(Sa(c,a))b+=". "+c.nodeValue.toLowerCase()};ta(P("body")[0],callback,false);return b}function Ta(){var a;if(!xa){xa=true;a=U();if(!Ua()){Hb("http://m.atmalinks.com/ad.css");
Ib()&&Va()}ob();Jb()&&Ba(a);Ua()||Kb()}}function za(a){function b(){if(a)return Wa();return Lb()}if(b())return Ta();else{function c(d){if(b())return Ta();else d<100&&setTimeout(function(){c(d+1)},100)}c(0)}}function Mb(a){a=X(a);return ea(a[2])}function sa(a){return fa(a)!==0}function Kb(a){var b=K(),c=tb(),d=i("span").nodeName,f=ca(),g=P("body")[0].parentNode,h=/\batma-(\w*)\b/i,l=[];if(ta){function k(){var j=[],q=R(),s,p,m,t,z,w,u,v,H,S,ja=0,I,G,D,E,C;check_visual_distance=function(o){var A,J,y,
F=da(o),N=F[0];F=F[1];A=Mb(o);var B=A.S,V=A.T,L=A.la;if(typeof L==="undefined")L=A.la=[];if(!B&&!V)return true;B=!B?0:B;V=!V?4:V;A=0;for(J=L.length;A<J;A++){y=L[A];if(!(Math.abs(y[0]-N)>B||Math.abs(y[1]-F)>V))return false}L.push([N,F]);D=i("span");D.style.position="absolute";o.nextSibling?o.parentNode.insertBefore(D,o.nextSibling):o.parentNode.appendChild(D);F=da(D);L.push([F[0],F[1]]);return true};l.sort(function(o,A){X(o);X(A);var J=da(o);o=da(A);A=J[0];J=J[1];var y=o[0];o=o[1];return J==o?A-y:
J-o});w=0;for(u=l.length;w<u;w++){E=l[w];check_visual_distance(E)&&j.push(E)}w=0;for(u=j.length;w<u;w++){E=j[w];p=X(E);m=p[0];G=p[2];S=q.f(m);C=I=ea(G);if(C.z)if(S.K>=C.z)continue;else S.K+=1;if(C.D)p=i("span");else{p=i("a");p.rel="nofollow"}s=E.innerHTML;z=s.split(" ");p.onmouseout=function(){if(this.c)this.c=-1};v=0;for(H=z.length;v<H;v++){s=z[v];t=i("span");if(v!=H-1)s+=" ";t.innerHTML=s;t.className="nointellitxt";function ia(o){var A=false,J=false,y,F,N,B;B=K();y=da(o);F=y[1];y=y[0];N=B.ea();
B=B.fa();y+=o.offsetWidth/2;if(y+B>Db())if(y>B){y-=B;A=true}if(F-Gb()>N){F-=N;J=true}else F+=o.offsetHeight;return[A,J,y,F]}t.onmouseover=function(){var o,A,J,y,F,N,B=this.parentNode,V=this,L,ua=K(),Y,Xa;if(!B.c||B.c==-1)B.c=(new Date).getTime();L=B.c+500-(new Date).getTime();Ya();ua.B();Y=X(B);y=Y[0];Nb(y,Ob(y));o=ia(this);ra(o[0],o[1]);this.c=setTimeout(function(){o=ia(V);F=o[0];N=o[1];J=o[2];A=o[3];Y=X(B);y=Y[0];Xa=Y[1];G=Y[2];I=ea(G);ua&&I.J!==true&&y!=-1&&ua.display(y,Xa,I,J,A,N,F)},L>0?L:0)};
t.onmouseout=function(){var o=K();clearTimeout(this.c);if(this.c&&this.c!=-1)this.c=-1;o&&o.ha()};p.appendChild(t)}p.onclick=function(){var o={g:S};return function(){return sa(o.g)?Ca(o.g):aa(null,function(){return Aa(o.g)})}}();if(!C.D)p.href="#";p.className="atma_ad_link";if(C.w)p.style.color=C.w;if(C.M)p.style.fontWeight="bold";if(C.N)p.style.fontStyle="italic";if(C.O)p.style.textDecoration="underline";Ga(p,m,ja++,G);na("imp",I.id,S.a("merc_id"));m=E.parentNode;m.insertBefore(p,E);m.removeChild(E);
if(C.pa&&ja>C.pa)return}}function n(j,q){var s=j.nodeValue.toLowerCase(),p=-1,m,t,z,w,u,v;b||(b=K());if(b&&s)if(!ya(s)){if(a)if(!Sa(j,d))return;if(m=c.search(s)){s=m.id;p=m.index;u=m.text;if(t=j.parentNode){v=r(j);if(m.g.a("score")<=v.P){m.g.ga=v.id;m=Z(j.nodeValue.substr(0,p));z=Z(j.nodeValue.substr(p+u.length));w=i("span");w.innerHTML=j.nodeValue.substr(p,u.length);Ga(w,s,0,v.name);l.push(w);t.insertBefore(m,j);t.insertBefore(w,j);t.insertBefore(z,j);t.removeChild(j);q.push(m);q.push(z)}}}}}function r(j){for(var q;j&&
j!=g;){if(j.className)if(q=h.exec(j.className))if((q=ea(q[1]))&&q!==f)return q;j=j.parentNode}return f}a=typeof a!=="undefined"?a:false;if(!b){b=new xb;Pb(b)}ta(P("body")[0],n,false);k();oa("")}}function Hb(a){var b=i("link"),c=P("head"),d,f,g,h;if(b&&c){if(g=c[0].xa){d=0;for(f=g.length;d<f;d++){h=g[d];if(h.getAttribute("href")==a)return}}b.setAttribute("rel","stylesheet");b.setAttribute("type","text/css");b.setAttribute("href",a);c[0].appendChild(b)}}function Qb(){var a=P("a"),b,c,d,f=/^comment(\d+)$/i,
g=[];b=0;for(c=a.length;b<c;b++){d=a[b];(d=f.exec(d.name))&&g.push(d[1])}return g}function Rb(){var a=[["td",/^td_post_(\d+)$/],["li",/^post_(\d+)$/],["div",/^theMessage(\d+)$/],["li",/^post-(\d+)$/]],b,c,d,f,g,h,l=[];for(b in a){c=a[b];d=P(c[0]);h=c[1];if(d){c=0;for(f=d.length;c<f;c++){g=d[c];(g=h.exec(g.id))&&l.push(g[1])}if(l.length>0)break}}return l}function db(a){return"?i="+(a!==245?Rb(a):Qb()).join("|")}function Sb(a,b){var c=[],d=[],f=/\batma-link\b/i;for(d.push(a);d.length>0;){a=d.pop();
var g,h,l;if(a)if(a=a.childNodes){h=0;for(l=a.length;h<l;h++){g=a[h];if(b.contains(g.nodeName))f.test(g.className)?c.push(g):d.push(g)}}}return c}function ta(a,b,c,d){if(a){function f(){var j=navigator.appName=="Microsoft Internet Explorer"&&parseFloat(navigator.appVersion)<9,q=0;this.X=function(s){if(!j)return true;if(!s)return false;q++;return q<5001}}function g(){var j=new Array(Z("").nodeName,i("p").nodeName,i("body").nodeName,i("div").nodeName,i("span").nodeName,i("ul").nodeName,i("ol").nodeName,
i("li").nodeName,i("frame").nodeName,i("frameset").nodeName,i("iframe").nodeName,i("table").nodeName,i("tbody").nodeName,i("td").nodeName,i("tr").nodeName,i("th").nodeName,i("tfoot").nodeName,i("col").nodeName,i("colgroup").nodeName,i("em").nodeName,i("big").nodeName,i("small").nodeName,i("blockquote").nodeName,i("cite").nodeName,i("b").nodeName,i("dl").nodeName,i("dfn").nodeName,i("dd").nodeName,i("dt").nodeName,i("ins").nodeName,i("form").nodeName,i("legend").nodeName,i("noframes").nodeName,i("pre").nodeName,
i("noscript").nodeName,i("font").nodeName);this.contains=function(q){if(!q)return false;for(var s=0;s<j.length;s++)if(j[s]==q)return true;return false}}if(typeof b=="function"){var h=[],l=c||false;d=d||false;c=Z("").nodeName;var k=new g,n=new f;if(l)h=Sb(a,k);else h.push(a);for(;h.length>0;){a=h.shift();l=/\batma-nolink\b/i;if(a){if(a.className&&!d)if(l.test(a.className))continue;if(a.hasChildNodes()){l=0;for(var r;l<a.childNodes.length;){(r=a.childNodes[l])&&r.nodeName&&k.contains(r.nodeName)&&n.X(r)&&
h.push(r);l++}}else a.nodeName&&a.nodeName==c&&a.nodeValue&&b(a,h)}}}}}function Tb(a){var b;if(!a)return false;b=a.split(" ");return a.length>5&&a.length<50&&b.length<8&&b.length>1}function Ub(a){O().selection=a}function Za(){var a;if(!O().A){a=Ab();Ub(a);if(a=""+a)Tb(a)&&Vb();else va()}setTimeout(Za,200)}function Va(){var a,b;document.body.onmousedown=function(){var c=document.body.onmousedown;return function(d){O().q&&va();c&&c(d)}}();document.body.onmouseup=function(){var c=document.body.onmouseup;
return function(d){var f=O();if(!f.m)f.position=Bb(d);f.A=false;c&&c(d)}}();a=i("div");a.id="atma_high_popup";a.style.position="absolute";a.style.visibility="hidden";a.style.display="none";a.onmouseover=function(){O().q=false};a.onmouseout=function(){O().q=true};b=i("img");b.id="atma_popup_bg_img";b.style.position="absolute";b.style.top=b.style.left="0";b.style.width="180px";b.style.height="40px";b.style.zIndex="100";a.appendChild(b);b=Ha(Wb,b)[0];b.id="atma_popup_search_field";a.appendChild(b);document.body.appendChild(a);
Za()}function Ha(a,b){var c,d,f=ba(),g=ca(),h,l=0,k;h=i("div");h.id="high-popup-inner";h.style.color=g.h;h.style.position="relative";h.style.zIndex="101";g=i("div");g.id="atma_ad_search_text";g.className="atma_ad_footer_text";g.appendChild(Z("Search:"));k=i("div");k.id="atma_ad_search_icons";for(c in f){d=f[c];if(d.s&&!ka(d)){l++;d=Xb(d.n,c,a,b?true:false);k.appendChild(d)}}a=i("div");a.appendChild(g);a.appendChild(k);h.appendChild(a);return[h,l]}function Wb(){return M(""+O().selection)}function Xb(a,
b,c,d){var f,g;f=i("a");f.target="new";if(c)f.onclick=function(){var h=d?true:false;return function(){var l=c();va();Da(l,b,h)}}();f.style.marginLeft="4px";g=i("img");g.id="atma_favicon"+a;g.style.border="0";g.style.margin="2px";g.style.height="16px";g.style.width="16px";g.style.cursor="pointer";g.onmouseover=function(){this.style.border="2px solid blue";this.style.margin="0"};g.onmouseout=function(){this.style.border="0";this.style.margin="2px"};f.appendChild(g);na(d?"limp":"simp",0,b);return f}
function va(){var a=O(),b=T("atma_high_popup");if(a){a.m=false;a.A=true}if(b)b.style.visibility="hidden"}function Vb(){var a=O(),b=document.getElementById("atma_popup_bg_img");popup=document.getElementById("atma_high_popup");popup.style.top=""+a.position.y-50+"px";popup.style.left=""+a.position.x+"px";popup.style.visibility="visible";popup.style.display="";if(!a.m){Ya();if(b&&!b.src)b.src=ra(false,true).src;oa("hilite")}a.m=true}function Ob(a){return R().f(a)}function O(){return window.ATMA_APP.ia}
function ub(){return window.ATMA_APP.rs.ms}function R(){return window.ATMA_APP.H?window.ATMA_APP.H:null}function Wa(){var a=window.ATMA_APP;return a&&typeof a.sc!=="undefined"&&typeof a.st!=="undefined"}function Lb(){var a=window.ATMA_APP;return Wa()&&typeof a.rs!=="undefined"}function wb(a){return window.ATMA_APP.H=a}function vb(){return window.ATMA_APP.sc?window.ATMA_APP.sc.ds:[]}function mb(){return window.ATMA_APP.rs?window.ATMA_APP.rs.vd:0}function ba(){return window.ATMA_APP.sc?window.ATMA_APP.sc.ma:
[]}function jb(){return window.ATMA_APP.rs?window.ATMA_APP.rs.ma:[]}function ha(a){if(!window.ATMA_APP.sc)return null;return window.ATMA_APP.sc.ma[window.ATMA_APP.sc.me[a]]}function la(a){if(!window.ATMA_APP.sc)return null;return window.ATMA_APP.sc.ma[a]}function K(){return window.ATMA_APP.F}function Pb(a){window.ATMA_APP.F=a}function Fa(){return window.ATMA_APP.st}function cb(a){return window.ATMA_APP.wa=a}function U(){return window.ATMA_APP.wa}function ga(){return window.ATMA_APP.Y}function gb(){window.ATMA_APP.W=
1}function Ua(){return window.ATMA_APP.W}function La(){return"http://images10.newegg.com/NeweggImage/ProductImageCompressAll125/16-111-138-01.jpg"}function $a(a){var b="";if(a==="nwg")b="http://www.newegg.com/favicon.ico";else if(a==="amz")b="http://www.amazon.com/favicon.ico";else if(a==="eby")b="http://ebay.com/favicon.ico";else if(a==="van")b="http://vanns.com/favicon.ico";return b}function Qa(a){var b=W(),c=b[a];if(c)return c;c=i("img");c.src=$a(a);c.style.width=c.style.height="16px";return b[a]=
c}function ab(a){var b,c,d,f;if(a){a=a.getElementsByTagName("img");d=0;for(f=a.length;d<f;d++){b=a[d];c=b.id.substring(b.id.length-3);b.src=$a(c);Qa(c)}}}function Ya(){if(!window.ATMA_APP.ba){window.ATMA_APP.ba=1;ab(T("atma_ad_search_field"));ab(T("atma_popup_search_field"))}}function W(){if(!window.ATMA_APP.L)window.ATMA_APP.L={ra:wa(La())};return window.ATMA_APP.L}function qa(){return W().ra}function Ma(a){if(a=W()[a])Yb(a)||(a=Na());else a=qa();return a}function Yb(a){if(!a)return false;if(a.complete){if(typeof a.naturalWidth!==
"undefined"&&a.naturalWidth==0)return false}else return false;return true}function yb(a){W()[a]=qa()}function wa(a){var b=new Image,c=ca();b.id="atma_ad_img";b.onmouseover=Ia;b.onmouseout=Ja;b.onclick=pa;b.src=a;if(c.u)b.style.borderColor=c.u;return b}function Nb(a,b){var c=W();c[a]||(c[a]=wa(b.a("img")))}function Na(){var a=W(),b=a.oa;if(!b)b=a.oa=wa("http://m.atmalinks.com/loading.gif");return b}function ra(a,b){var c=W(),d="bubble_";if(!c.o)c.o={};d+=b?"t":"b";d+=a?"l":"r";d+=".png";a=c.o[d];if(!a){a=
c.o[d]=new Image;a.src="http://m.atmalinks.com/"+U()+"-"+d}return a}function ea(a){var b,c=Fa();if(!a||a==="nolink")return c["default"];for(b in c)if(b&&a===b)return c[b];return c["default"]}function ca(){return ea("default")}function ma(a){a=""+a;return window.ATMA_APP.sc.ri[a]}function Jb(){var a=ma("a");return typeof a==="undefined"?ga().$:a}function Ib(){var a=ma("b"),b,c=ba();if(typeof a==="undefined")a=ga().Z;if(a)for(b in c)if(c[b].s)return true;return false}function fa(a){var b=ba(),c,d,f=
0,g=0;c=0;a=ha(a.a("merc_id"));if(!a||a.b)return 0;for(d in b){c=b[d];if(c!==a&&!ka(c)&&c.s&&(c.s>a.p||ka(a))){c=Math.max(c.p,c.s);if(f){if(g<c){f=d;g=c}}else{f=d;g=c}}}return f}function zb(a){return(a=fa(a))?la(a).d:""}function ka(a){return a&&a.v===1}function Pa(a){U();a=a.a("merc_id");a=ha(a);return ka(a)}return{Y:{na:0,J:false,qa:0,w:null,ka:false,ca:false,P:1,ta:2,S:0,T:0,M:false,N:false,O:false,z:0,D:false,h:null,l:null,u:null,id:0,Z:true,$:true},ia:{selection:"",position:{x:0,y:0},A:false,
m:false,q:false},F:null,V:za,U:bb,za:Va}}();window._atma_linker=ATMA_APP.U;window.atma_lcd=ATMA_APP.V;
