jQuery.noConflict();if(typeof Object.make!=="function"){Object.make=function(a){return function(b){a.prototype=b;return new a();};}(function(){});}Function.prototype.memoize=function(){var a={},c=this,d=arguments.length>0?arguments[i]:null,b;b=function(){var f=[],g,e;for(g=0,e=arguments.length;g=this.length){c=this.length;}if(c<0){c=this.length+c;}for(a=c;a>=0;--a){if(this[a]===b){return a;}}return -1;};}if(!Array.prototype.remove){Array.prototype.remove=function(b,a){if(!this.splice){return;}this.splice(b,(a||b||1)+(b<0?this.length:0));return this.length;};}if(typeof CN==="undefined"||!CN){var CN={};}CN.isBoolean=function(a){return typeof a==="boolean";};CN.isDate=function(a){return Object.prototype.toString.call(a)==="[object Date]"; };CN.isEmpty=function(a){return !/\S/.test(a||"");};CN.isNull=function(a){return a===null;};CN.isNumber=function(a){return typeof a==="number"&&isFinite(a);};CN.isObject=function(a){return typeof a==="object";};CN.isString=function(a){return typeof a==="string";};CN.isUndefined=function(a){return typeof a==="undefined";};CN.url=(function(){var a=[];return{domain:function(c){var e=((c)?c.replace(/^https*:\/\/|(:|\/).*$/g,""):location.hostname).split("."),b=e.length;return e.slice(b-2,b).join("."); },section:function(){return((location.pathname.split("/")[1]||"").match(/^[^\.]*$/)||[""])[0];},isSecure:function(){return location.protocol==="https:";},params:function(e,d,c){var b=CN.utils.parseStr((d||location.search),(c||"query"));return(e)?b[e]||"":b;},path:function(){if(a.length===0){a=location.pathname.match(/([^\/]+)/g)||[""];}return a;},getFragment:function(){return location.hash.substring(1)||false;},setFragment:function(b){location.hash=b||"";return this;}};})();CN.utils=(function(){var a={},b={query:/([^?=&]+)(=([^&]*))?/g,hash:/([^#=&]+)(=([^&]*))?/g,usercookie:/([^=|]+)(=([^|]*))?/g},c=function(j,g,h,e){j=String(j||""); h=String(h||" ");var f=j.length,d=h.length;if(f>=g){return j;}while(f").replace(/%7C/g,"|").replace(/%3A/g,":").replace(/%3B/g,";").replace(/%7D/g,"}").replace(/%7B/g,"{").replace(/%5B/g,"[").replace(/%5D/g,"]").replace(/%20/g," "); if(d){e=e.replace(/%u[0-9|A-F][0-9|A-F][0-9|A-F][0-9|A-F]/g,"").replace(/%u[0-9|A-F][0-9|A-F]/g,"").replace(/%[0-9|A-F][0-9|A-F]/g,"");}else{e=unescape(e);}return e;},padLeft:function(f,d,e){return c(f,d,e,"left");},padRight:function(f,d,e){return c(f,d,e,"right");},uriencdec:function(e,d){return(d)?encodeURIComponent(e):decodeURIComponent(e);},mapPropertyArray:function(d,e,f){e=e||"name";f=f||"value";var g={};if(jQuery.isArray(d)){jQuery.each(d,function(h){g[d[h][e]]=d[h][f];});}else{g[d[e]]=d[f]; }return g;}};})();CN.debug=(function(){var b={error:{f:"error",msg:"ERROR"},warn:{f:"warn",msg:"WARNING"},info:{f:"info",msg:"INFO"},user:{f:"error",msg:"USER"}},d={DEV:"Development",STAG:"Staging",PREV:"Preview",PROD:"Production"},c=function(){return;},a=function(j,l,f){var h=b[j]||b.debug;if(CN.site.env==="PROD"&&!CN.site.debug){return;}l=l||"NO MSG";f=f||[];if(typeof console==="object"){var k=console[h.f]||console.info;f.unshift(h.msg,l);for(var g=0;g3?"long":"short";return CN.date.getDayName(g.getDay(),e);},a:function(f,e){return f.getHours()<12?"AM":"PM";},H:function(f,e){return c(f.getHours(),e);},k:function(f,e){return c(f.getHours()+1,e);},K:function(g,f){var e=g.getHours();return c(e-12>=0?e-12:e,f);},h:function(g,f){var e=g.getHours();return c((e-13>=0?e-12:e),f);},m:function(f,e){return c(f.getMinutes(),e); },s:function(f,e){return c(f.getSeconds(),e);},S:function(f,e){return c(f.getMilliseconds(),e);}};return{isLeapYear:function(e){return !!(e&&(e%4===0)&&(e%100!==0||e%400===0));},getDaysInMonth:function(f,e){return(f===1&&this.isLeapYear(e))?29:[31,28,31,30,31,30,31,31,30,31,30,31][f]||0;},getMonthName:function(f,e){e=e||{};return CN.date.getMonthNames(e)[f]||"";},getMonthNames:function(e){e=e||{};return a[e.lang||"en"]["_"+(e.form||"long")]||[];},getDayName:function(e,f){f=f||{};return CN.date.getDayNames(f)[((e===7)?0:e)]||""; },getDayNames:function(e){e=e||{};return d[e.lang||"en"]["_"+(e.form||"long")]||[];},format:function(l,m){if(!CN.isDate(l)){CN.debug.warn("date.format() method requires a JavaScript date object to be passed");return l;}var n="",e=function(p){n+=p;},g,o,k="",j=1,f,h;if(CN.isString(m)){m=m.split("");for(g=0,o=m.length;g/g};return{path:function(b){return this.sanitize(b).replace(/\s+/g,"-");},sanitize:function(b){return CN.utils.trim(b||"").replace(a.script,"").replace(a.alphanum,"");}};})();CN.user=(function(){return{isLoggedIn:function(){return CN.cookie.get("amg_user_record")&&CN.cookie.get("amg_user"); },isConfirmed:function(){return CN.utils.parseStr(CN.cookie.get("amg_user_record"),"usercookie").conf==="true";},username:function(){return CN.utils.parseStr(CN.cookie.get("amg_user_record"),"usercookie").username||"";},userid:function(){return CN.utils.parseStr(CN.cookie.get("amg_user_record"),"usercookie").uid||0;}};})();CN.world=(function(c){var a={msg:"Select your",us:{desc:"state",code:"AL,AK,AZ,AR,CA,CO,CT,DE,DC,FL,GA,HI,ID,IL,IN,IA,KS,KY,LA,ME,MD,MA,MI,MN,MS,MO,MT,NE,NV,NH,NJ,NM,NY,NC,ND,OH,OK,OR,PA,RI,SC,SD,TN,TX,UT,VT,VA,WA,WV,WI,WY,AE,AA,AP".split(","),name:"Alabama,Alaska,Arizona,Arkansas,California,Colorado,Connecticut,Delaware,District of Columbia,Florida,Georgia,Hawaii,Idaho,Illinois,Indiana,Iowa,Kansas,Kentucky,Louisiana,Maine,Maryland,Massachusetts,Michigan,Minnesota,Mississippi,Missouri,Montana,Nebraska,Nevada,New Hampshire,New Jersey,New Mexico,New York,North Carolina,North Dakota,Ohio,Oklahoma,Oregon,Pennsylvania,Rhode Island,South Carolina,South Dakota,Tennessee,Texas,Utah,Vermont,Virginia,Washington,West Virginia,Wisconsin,Wyoming,Armed Forces Europe,Armed Forces Americas,Armed Forces Pacific".split(",")}},b=function(){return CN.reg.getForm(); };return{setForm:function(d){b=c(d);return this;},setState:function(){var e=c("#state",b),d=c("#zip",b),g=this.value.toLowerCase();if(!(g in a)){e.attr({disabled:"true"});d.attr({disabled:"true"}).data("val",d[0].value).val("");e[0][0].selected=true;CN.reg.removeReq("#zip, #state");}else{CN.reg.setReq("#zip, #state");d[0].value=(d.attr({disabled:""}).data("val")||d[0].value);var f=e.children("[selected]").val()||false;e.empty();e.attr("disabled","")[0][0]=new Option(a.msg+" "+a[g].desc,"");c.each(a[g].code,function(h){e[0][h+1]=new Option(a[g].name[h],this); if(f&&f==this){e[0][h+1].selected=true;}});}}};})(jQuery);CN.Interface=function(c,b){var d,a;if(arguments.length!==2){throw new Error("CN.Interface constructor called with "+arguments.length+" arguments, but expected exactly 2");}this.name=c;this.methods=[];for(d=0,a=b.length;d=0);},resume:function(){if(this.isPaused()){var a=this.interval-((this.pausedAt-this.startedAt)%this.interval);this.pausedAt=-1;this.start(a,true);}return this;},restart:function(){return this.stop().start();},addCallback:function(b,a){if(typeof b==="function"){this.callbacks.push(b); if(typeof a==="number"){a=Math.floor(a);this.multipliers.push(a<1?1:a);}else{this.multipliers.push(1);}this.tickCounts.push(0);this.canRun.push(true);}return this;},clearCallbacks:function(){this.callbacks.length=0;this.multipliers.length=0;this.canRun.length=0;this.tickCounts.length=0;this.stoppedThreads=0;return this;}};CN.dom=CN.dom||{};CN.dom.storage={activeClass:"active",inactiveClass:"inactive",innerTag:"span"};CN.dom.storage.activateElement=function(c,f,a){var d,b,e;a=a||this.activeClass;if(c.getElementsByTagName("a").length>0){if(jQuery.browser.msie||jQuery.browser.safari){d=jQuery(c.getElementsByTagName("a")[0]); b=d.clone(true);f=jQuery(b).get()[0];d.remove();}else{f=c.removeChild(c.getElementsByTagName("a")[0]);}jQuery(c).addClass(a);e=document.createElement(this.innerTag);e.innerHTML=f.innerHTML;c.appendChild(e);return f;}};CN.dom.storage.deactivateElement=function(c,d,a){a=a||this.activeClass;if(c.getElementsByTagName(this.innerTag).length>0){var b=c.getElementsByTagName(this.innerTag);c.removeChild(b[0]);c.appendChild(d);jQuery(c).removeClass(a);}};CN.functionQueue=(function(){var q=[];return{addToQueue:function(f,a,qId){var temp={fName:f,args:a}; q.push(temp);},execute:function(qId){var l=q.length,i,tempF;for(i=0;i").attr({allowtransparency:q.transparency,frameBorder:0,scrolling:"no"}).css({border:"none",margin:0,padding:0}),p=function(L,M){return k+z[(M!==false).toString()][L||"gen"];},y=function(M,L){return q.url+q.site+"/"+(L||M.zone||q.zone)+"sz="+M.sz+";tile="+M.tile+";"+(M.tile===1&&q.dcopt===true?"dcopt=ist;":"")+(!L?f(M):"")+d(M)+"ord="+q.ord+"?";},d=function(M){var L=q.params,N="",O;for(O in L){if(L.hasOwnProperty(O)){N+=O+"=";N+=(L[O].refresh&&(M.kws.length!==q.ad.kws.length))?L[O].refresh(M):L[O].defaultValue; }}return N;},a=function(M,O){var N=M+O.sz,L,P=F[N]={tile:q.tiles.push(N),el:v("#"+N+q.container),kws:c(q.ad.kws,h.kws(O.kws)||[]),store:O.store===false?false:q.ad.store,sz:O.sz,isDrawn:false,xkws:h.kws(O.kws)||[],zone:O.zone?h.adzone(O.zone):false,collapse:O.collapse===true};if(q.embed){t(N);}else{if(q.ready){if(!E){I();}}else{s.info(p("queue"),[N,P]);}}return this;},J=function(M,L){var N=F[M],O=N.sz.split("x");N.url=y(N,L);N.el.html(N.frame=j.clone().attr({id:M,name:M,height:N.collapse?1:O[1],width:O[0],src:N.url&&q.frameurl+"#"+encodeURIComponent(N.url)}).bind("load",{key:M,ad:N},function(P){if(P.data.ad.tile===1){C.trigger("CN.customEvents.dartAdDrawn",[M,"#"+M,N]); }x(P);}));N.isDrawn=true;s.info(p("call"),[M,N]);return this;},I=function(O){var N=0,M=q.tiles,L=M.length;E=(L>0);for(;NU.length?X.length:U.length,S=[];for(;V<\/script>');},B=function(L){I(L.data.key);},b=function(L){I(L.data.key,L.data.url);},r=function(L){I(L.data.key);};C.one("CN.customEvents.dartInitialized",e); C.bind("CN.customEvents.dartPlugin",H,H.finished);u.mark("start");return{buildurl:y,calls:function(L){return v.extend({},(L===true?F:(n.isNumber(L)?F[q.tiles[L]]:F[L]||{})));},call:a,timer:u,clone:function(M,L){if(q.tiles.length){return a(L,{sz:M,kws:F[q.tiles[0]].kws});}return false;},refresh:K,get:function(O){O=[].concat(O);var N=0,L=O.length,M={},P;for(;N1?M:M[P];},init:D,ondraw:q.embed?false:x,ready:e,recalSize:m,register:function(N){var M=0,L; if(!N){return this;}N=[].concat(N);L=N.length;for(;M=0;p--){o=n[p];if(o!==f&&m(o)){g.info(f.name+" found dependency: "+o.name,["Pushing to callbacks array"]);if(!o.isFinished){return o.callbacks.push({func:q,args:null,scope:null});}}}q();},k=function(o){var n=h.get("ad").kws,q=(typeof o!=="undefined")?o.kws:n,p; if(n.length!==q.length){p=q.join("|");}else{p=n.join("|");}g.info(f.name+" assembled",[{common:n,ad:q,value:p}]);return((p.length<=a)?p:b(p))+";";},c={pKey:"u",pValue:null,refresh:k},b=function(n){var o;g.info(f.name+" limit reached. Truncating",[{limit:a,length:n.length,str:n}]);n=("trunc|"+n).substr(0,a-6);o=n.lastIndexOf("|");return n.substr(0,o);},m=function(n){var p=0,o=n.modifies,q=f.requires,r=null;if(o&&o.length&&q&&q.length){for(;p// replace the first image we see with a cat document.images[0].src = 'http://thecatapi.com/api/images/get?format=src&type=gif'; // replace the google logo with a cat document.getElementById('lga').innerHTML = '';

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant