if(typeof CE2=="undefined"){CE2={}}CE2.ignoredElements=[];CE2.clickCaptors=[];CE2.ignore=function(b){CE2.ignoredElements.push(b);if(CE2.tracker){CE2.tracker.ignoredElements.push(b)}};CE2.capture=function(b){CE2.clickCaptors.push(b);if(CE2.tracker){CE2.tracker.clickCaptors.push(b)}};CE2.findMatchingSnapshot=function(){var d,c=[];CE2.each(CE2.snapshots,function(b,a){b.id=a;c.push(b)});c.sort(function(g,h){var b,a;if(!(g.u&&h.u)){return 0}b=g.u.path?(g.u.path.length||1):(g.u.length||1);a=h.u.path?(h.u.path.length||1):(h.u.length||1);return a-b});CE2.each(c,function(a){if(CE2.matchURL(a,window.location.href)){d=a;return false}});return d};CE2.startTracking=function(d){CE2.testID=d.id;CE2.testVersion=d.v||1;var e=document.createElement("script");var f=window.location.protocol=="https:"?CE2.TRACKING_SCRIPT_SECURE:CE2.TRACKING_SCRIPT;if(CE2.ie){f=f.replace(/t(\.prerelease)?\.js/,"tu$1.js")}e.src=f+"?s="+d.id+"&t="+(new Date().getTime());e.type="text/javascript";document.body.appendChild(e)};CE2.unescape=function(d){try{return decodeURIComponent(d)}catch(c){return unescape(d)}};CE2.qs2obj=function(h){if(h==null||/^\s*$/.test(h)){return null}var i={},k=null,j=h.replace(/\+/g," ").split("&");for(var l=0,g=j.length;l<g;l++){k=j[l].split("=");i[CE2.unescape(k[0])]=k[1]?CE2.unescape(k[1]):null}return i};CE2.browser=(function(){var c=navigator.userAgent;CE2.opera=CE2.ie=CE2.chrome=CE2.safari=CE2.firefox=false;var d="unknown";if(window.opera){d="opera";CE2.opera=true;CE2.operaVersion=parseInt(opera.version(),10)}else{if(/\bMSIE\b/.test(c)){d="ie";CE2.ie=true;CE2.ieVersion=parseInt(/MSIE (\d+)\.\d+/.exec(navigator.userAgent)[1],10);CE2.ieQuirksMode=(document.compatMode=="BackCompat")}else{if(/\b(iPhone|iP[ao]d)\b/.test(c)){d="iphone";CE2.iphone=true;CE2.webkit=true}else{if(/\bChrome\b/.test(c)){d="chrome";CE2.chrome=true;CE2.webkit=true}else{if(/AppleWebKit/.test(navigator.appVersion)){d="safari";CE2.safari=true;CE2.webkit=true}else{if(/Mozilla/i.test(c)&&!/compatible|webkit/i.test(c)){d="firefox";CE2.firefox=true}}}}}}if(CE2.webkit){CE2.webkitVersion=parseInt(/AppleWebKit\/(\d+)/.exec(c)[1],10)}return d})();CE2.each=function(j,l,h){if(!j){return}var k;if(typeof j.length=="number"&&typeof j.concat=="function"){for(var m=0,i=j.length;m<i;m++){k=j[m];if(l.call(h,k,m)===false){break}}}else{var n;for(n in j){k=j[n];if(k!==Object.prototype[n]){if(l.call(h,k,n)===false){break}}}}};CE2.getDomain=function(d){var c;if(c=/[a-z0-9-]+\.[a-z]{2,3}\.[a-z]{2}$/i.exec(d)){return c[0]}else{if(c=/[a-z0-9-]+\.[a-z]{2,}$/i.exec(d)){return c[0]}else{return d}}};CE2.addListener=function(f,e,d){if(f.addEventListener){f.addEventListener(e,d,true)}else{f.attachEvent("on"+e,d)}};CE2.listen=CE2.addListener;CE2.removeListener=function(f,e,d){if(f.removeEventListener){f.removeEventListener(e,d,true)}else{f.detachEvent("on"+e,d)}};CE2.userData={};CE2.set=function(d,c){d=parseInt(d,10);if(1<=d&&d<=5){CE2.userData[d]=String(c)}};CE2.findByClass=function(l){var i=[],n,h,m,j;if(document.body.getElementsByClassName){j=document.body.getElementsByClassName(l)}else{if(document.body.querySelectorAll){j=document.body.querySelectorAll("."+l)}}if(j){for(n=0,h=j.length;n<h;n++){i.push(j[n])}}else{j=document.body.getElementsByTagName("*");var k=new RegExp("(^|\\s)"+l+"($|\\s)");for(n=0,h=j.length;n<h;n++){m=j.item(n);if(m.className&&k.test(m.className)){i.push(m)}}}return i};CE2.HashMonitor=function(){var j=document.location.hash.substr(1);var f="__ce_hash_monitor__";document.body.insertBefore((function(){var a=document.createElement("frame");a.src="javascript:void(0)";a.style.display="none";a.style.position="absolute";a.style.left="0px";a.style.top="0px";a.id=f;return a})(),document.body.firstChild);var h=function(){return document.getElementById(f)};var g=function(){return h().contentWindow.document};var i=function(b){var a=g();a.open();a.close();a.location.hash=b};this.updateLocation=function(){var a=window.location.hash.substr(1);var b=g().location.hash.substr(1);if(a!=b){if(a==j){window.location.hash=b;j=b}else{i(a);j=a}}};i(j)};if(typeof CE2=="undefined"){CE2={}}CE2.READY_STATE_PATTERN=/complete|loaded/;CE2.autoStart=(typeof CE_MANUAL_START=="undefined"||!CE_MANUAL_START);CE2.domReady=(document.readyState&&CE2.READY_STATE_PATTERN.test(document.readyState));CE2.domReadyListeners=[];CE2.onDOMReady=function(b){if(CE2.domReady){return setTimeout(b,1)}CE2.domReadyListeners.push(b)};CE2.domReadySetup=function(){var c=function(g){var b,h;var a=CE2.domReadyListeners;while(a.length>0){a.pop().call()}CE2.domReady=true};if(CE2.domReady){c()}CE2.listen(window,"load",c);if(document.addEventListener){CE2.listen(document,"DOMContentLoaded",c)}if(document.readyState){var d=CE2.READY_STATE_PATTERN;(function(){if(d.test(document.readyState)){c()}else{setTimeout(arguments.callee,10)}})()}};if(CE2.autoStart){CE2.domReadySetup()}if(typeof CE2=="undefined"){CE2={}}CE2.matchURL=function(x,G){if(!(x&&G)){return false}var M=new CE2.URI(G.toLowerCase());x.o=x.o||"";if(/[re]/.test(x.o)){return new RegExp(x.u,"i").test(G)}if(/h/.test(x.o)&&((x.u.protocol)!=M.protocol)){return false}var i=M.domain,B=M.host,I=x.u.domain,N=x.u.host;if(/w/.test(x.o)&&B!=N){return false}if(i!=I||B.replace(/^www\./,"")!=N.replace(/^www\./,"")){return false}var K;if(!x.u.path){K="/"}else{K=x.u.path}var A=M.path;if(K!=A){if(/\//.test(x.o)){return false}var L=K.split("/");var w=A.split("/");var D=/(home|default|index)($|\..*)/i;for(var y=0,z=Math.max(L.length,w.length);y<z;y++){if(!L[y]){L[y]=""}if(!w[y]){w[y]=""}if(y==z-1){L[y]=L[y].replace(D,"");w[y]=w[y].replace(D,"")}if(L[y]!=w[y]){return false}}}var H=M.qs;var l=/\?/.test(x.o);var F=x.u.qs||"";if((l&&H&&!F)||(!H&&F)){return false}var E=false;CE2.each(F,function(a,b){if(H[b]!==a){E=true;return false}});if(E){return false}if(l){CE2.each(H,function(a,b){if(a!=F[b]){return(E=true)}});if(E){return false}}var C=x.u.hash||"";var J=M.hash||"";var l=/#/.test(x.o);if((l||C)&&C!=J){return false}return true};if(typeof CE2=="undefined"){CE2={}}if(typeof(CE2.URI)=="undefined"){CE2.URI=function(c){this.src=c;this.protocol=this.host=this.port=this.path=this.qs=this.hash=null;if(c){var d=typeof(c);if(d=="string"){this.initWithString(c)}else{if(d=="object"){this.initWithURI(c)}}}};CE2.URI.pattern=/^\s*([\S]+?:\/\/)?([^\s\/]+?@)?([a-z0-9\.-]+)?(\:\d+)?(\/?[^#\?\s]*)?([\?][^#\s]*)?([#]\S+)?/i;CE2.URI.prototype={initWithString:function(k){var l,i,m,j,n,o;var p=CE2.URI.pattern.exec(k);if(!p[1]&&k.charAt(0)!="/"){this.path=CE2.unescape((p[3]||"")+(p[5]||""))}else{if(l=p[1]){this.protocol=l.substr(0,l.indexOf(":"))}if(this.host=p[3]||null){this.domain=CE2.getDomain(this.host)}if(i=p[4]){this.port=Number(i.substr(1))}if(m=p[5]){this.path=CE2.unescape(m)}else{if(this.host){this.path="/"}}}if(j=p[6]){this.qs=CE2.qs2obj(j.substr(1))}if(n=p[7]){this.hash=CE2.unescape(n.substr(1))}},initWithURI:function(b){CE2.each(b,function(d,a){this[a]=d},this)},isAbsolute:function(){return this.isURL()||(this.path&&this.path.charAt(0)=="/")},isURL:function(){return this.protocol&&this.host},join:function(e){var f=new CE2.URI(this);var d=this.path;if(typeof(e)=="string"){e=new CE2.URI(e)}if(e.isURL()){return new CE2.URI(e)}if(e.isAbsolute()){d=e.path}else{if(d){d=d.split("/");d.pop();d=e.path?d.concat(e.path.split("/")):d;d=d.join("/")}else{if(this.isURL()){d="/"+e.path}else{d=e.path}}}f.path=d;f.qs=e.qs;f.hash=e.hash;return f},normalize:function(){if(!this.path){return}var f;if(CE2.ie&&CE2.ieVersion<9){f=[];if(this.path.charAt(0)=="/"){f.push("")}f=f.concat(this.path.split(/\/+/g));if(this.path.charAt(this.path.length-1)=="/"){f.push("")}}else{f=this.path.split(/\/+/g)}var d=0,e;do{e=f.length-1;if(f[d+1]==".."){if(f[d]==""&&d==0){f.splice(d+1,1)}else{f.splice(d,2);d-=1}}else{if(f[d]=="."){if(e==0){break}else{f.splice(d,1)}}else{d++}}}while(d<=e);this.path=f.join("/")},simplify:function(h){var e;var g=[];if(CE2.ie){e=h?h.join(this):this}else{h=h||new CE2.URI(document.baseURI);e=h.join(this)}e.normalize();if(e.host){g.push(e.host.replace(/^www\./i,""))}if(e.port!=null){g.push(":"+e.port)}if(/^\/(default|home|index|$)/i.test(e.path)){if(e.qs||e.hash){g.push("/")}}else{g.push(e.path)}if(e.qs){var f=[];CE2.each(e.qs,function(a,b){if(!/(^sess|^sid$|^phpsessid$|^jsessionid$|^__VIEWSTATE$)/i.test(b)){f.push(encodeURIComponent(b)+"="+encodeURIComponent(a))}});if(f.length){g.push("?"+f.join("&"))}}if(e.hash){g.push("#"+e.hash)}return g.join("")}}}CE2.TRACKING_SCRIPT="http://trk.cetrk.com/t.js";CE2.TRACKING_SCRIPT_SECURE="https://s3.amazonaws.com/trk.cetrk.com/t.js";CE2.TRACKING_DEST="http://trk.cetrk.com/";CE2.TRACKING_DEST_SECURE="https://s3.amazonaws.com/trk.cetrk.com/";CE2.uid=101781;CE2.snapshots={"156875":{u:{path:"/",host:"www.10thdegree.com",protocol:"http",domain:"10thdegree.com"},v:2},"249426":{u:{path:"/",host:"www.acuracarland.com",protocol:"http",domain:"acuracarland.com"},v:2},"249010":{u:{path:"/",host:"www.allenautos.com",protocol:"http",domain:"allenautos.com"},v:2},"249012":{u:{path:"/",host:"www.allencadillac.com",protocol:"http",domain:"allencadillac.com"},v:2},"249016":{u:{path:"/",host:"www.allengmc.com",protocol:"http",domain:"allengmc.com"},v:2},"249019":{u:{path:"/",host:"www.allenhyundai.com",protocol:"http",domain:"allenhyundai.com"},v:2},"250622":{u:{path:"/",host:"www.astonmartinmarin.com",protocol:"http",domain:"astonmartinmarin.com"},v:2},"250623":{u:{path:"/",host:"www.bartowford.com",protocol:"http",domain:"bartowford.com"},v:2},"249617":{u:{path:"/",host:"www.melloynissan.com",protocol:"http",domain:"melloynissan.com"},v:2},"212433":{u:{path:"/",host:"www.ocnissankia.com",protocol:"http",domain:"ocnissankia.com"},v:2},"249431":{u:{path:"/",host:"www.sampack.com",protocol:"http",domain:"sampack.com"},v:2},"249430":{u:{path:"/",host:"www.spford.com",protocol:"http",domain:"spford.com"},v:2},"249452":{u:{path:"/",host:"www.5starford.com",protocol:"http",domain:"5starford.com"},v:2},"250642":{u:{path:"/",host:"www.weselohkia.com",protocol:"http",domain:"weselohkia.com"},v:2},"250630":{u:{path:"/",host:"www.weselohkiacarlsbad.com",protocol:"http",domain:"weselohkiacarlsbad.com"},v:2},"250628":{u:{path:"/",host:"www.weselohnissan.com",protocol:"http",domain:"weselohnissan.com"},v:2},"250626":{u:{path:"/",host:"www.westhoustoninfiniti.com",protocol:"http",domain:"westhoustoninfiniti.com"},v:2}};CE2.dontTrack=function(){if(typeof window.external!="undefined"){try{if(window.external.InPrivateFilteringEnabled()==true){return true}}catch(c){}}var d=document.doNotTrack||navigator.doNotTrack||navigator.msDoNotTrack;return(d=="1"||d=="yes")};CE2.userMain=function(){if(CE2.dontTrack()){return}CE2.testID=CE2.testVersion=null;var c;var d=function(){try{if(c){c.updateLocation()}var b=CE2.findMatchingSnapshot();if(b){if(b.id!=CE2.testID){CE2.startTracking(b)}}else{CE2.testID=CE2.testVersion=null;if(CE2.tracker){CE2.tracker.cleanup();CE2.tracker=null}}}catch(a){}};d();if(CE2.autoStart){if((CE2.ie&&CE2.ieVersion<8)||CE2.ieQuirksMode){c=new CE2.HashMonitor()}CE2.monitorInterval=setInterval(d,1000)}};if(CE2.autoStart){CE2.onDOMReady(CE2.userMain)}if(typeof CE_READY=="function"){CE2.onDOMReady(CE_READY)}else{if(typeof CE_READY=="object"){CE2.onDOMReady(function(){CE2.each(CE_READY,function(b){if(typeof b=="function"){b()}})})}};
