jQuery.url=function(){var e={};var b={};var d={url:window.location,strictMode:false,key:["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"],q:{name:"queryKey",parser:/(?:^|&)([^&=]*)=?([^&]*)/g},parser:{strict:/^(?:([^:\/?#]+):)?(?:\/\/((?:(([^:@]*):?([^:@]*))?@)?([^:\/?#]*)(?::(\d*))?))?((((?:[^?#\/]*\/)*)([^?#]*))(?:\?([^#]*))?(?:#(.*))?)/,loose:/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@]*):?([^:@]*))?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/}};var c=function(){str=decodeURI(d.url);var j=d.parser[d.strictMode?"strict":"loose"].exec(str);var l={};var k=14;while(k--){l[d.key[k]]=j[k]||""}l[d.q.name]={};l[d.key[12]].replace(d.q.parser,function(m,i,n){if(i){l[d.q.name][i]=n}});return l};var f=function(i){if(jQuery.isEmptyObject(b)){a()}if(i=="base"){if(b.port!==null&&b.port!==""){return b.protocol+"://"+b.host+":"+b.port+"/"}else{return b.protocol+"://"+b.host+"/"}}return(b[i]==="")?null:b[i]};var h=function(i){if(jQuery.isEmptyObject(b)){a()}return(b.queryKey[i]===null)?null:b.queryKey[i]};var a=function(){b=c();g()};var g=function(){var i=b.path;e=[];e=b.path.length==1?{}:(i.charAt(i.length-1)=="/"?i.substring(1,i.length-1):path=i.substring(1)).split("/")};return{setMode:function(i){d.strictMode=i=="strict"?true:false;return this},setUrl:function(i){d.url=i===undefined?window.location:i;a();return this},segment:function(i){if(jQuery.isEmptyObject(b)){a()}if(i===undefined){return e.length}return(e[i]===""||e[i]===undefined)?null:e[i]},attr:f,param:h,segments:function(){return e}}}();jQuery.fn.equalHeight=function(){var a=0;var b=0;this.each(function(){a=jQuery(this).outerHeight();b=(a>b)?a:b});return this.each(function(){var c=jQuery(this);var e=b-(c.outerHeight()-c.height());var d=jQuery.browser.msie&&jQuery.browser.version<7?"height":"min-height";c.css(d,e+"px")})};(function(){var x=this;var t=x._;var b={};var j=Array.prototype,D=Object.prototype,G=Function.prototype;var v=j.slice,z=j.unshift,y=D.toString,p=D.hasOwnProperty;var n=j.forEach,i=j.map,B=j.reduce,e=j.reduceRight,m=j.filter,a=j.every,A=j.some,w=j.indexOf,f=j.lastIndexOf,c=Array.isArray,C=Object.keys,k=G.bind;var F=function(I){return new g(I)};if(typeof exports!=="undefined"){if(typeof module!=="undefined"&&module.exports){exports=module.exports=F}exports._=F}else{x._=F}F.VERSION="1.3.1";var d=F.each=F.forEach=function(N,M,L){if(N==null){return}if(n&&N.forEach===n){N.forEach(M,L)}else{if(N.length===+N.length){for(var K=0,I=N.length;K<I;K++){if(K in N&&M.call(L,N[K],K,N)===b){return}}}else{for(var J in N){if(F.has(N,J)){if(M.call(L,N[J],J,N)===b){return}}}}}};F.map=F.collect=function(L,K,J){var I=[];if(L==null){return I}if(i&&L.map===i){return L.map(K,J)}d(L,function(O,M,N){I[I.length]=K.call(J,O,M,N)});if(L.length===+L.length){I.length=L.length}return I};F.reduce=F.foldl=F.inject=function(M,L,I,K){var J=arguments.length>2;if(M==null){M=[]}if(B&&M.reduce===B){if(K){L=F.bind(L,K)}return J?M.reduce(L,I):M.reduce(L)}d(M,function(P,N,O){if(!J){I=P;J=true}else{I=L.call(K,I,P,N,O)}});if(!J){throw new TypeError("Reduce of empty array with no initial value")}return I};F.reduceRight=F.foldr=function(M,L,I,K){var J=arguments.length>2;if(M==null){M=[]}if(e&&M.reduceRight===e){if(K){L=F.bind(L,K)}return J?M.reduceRight(L,I):M.reduceRight(L)}var N=F.toArray(M).reverse();if(K&&!J){L=F.bind(L,K)}return J?F.reduce(N,L,I,K):F.reduce(N,L)};F.find=F.detect=function(L,K,J){var I;r(L,function(O,M,N){if(K.call(J,O,M,N)){I=O;return true}});return I};F.filter=F.select=function(L,K,J){var I=[];if(L==null){return I}if(m&&L.filter===m){return L.filter(K,J)}d(L,function(O,M,N){if(K.call(J,O,M,N)){I[I.length]=O}});return I};F.reject=function(L,K,J){var I=[];if(L==null){return I}d(L,function(O,M,N){if(!K.call(J,O,M,N)){I[I.length]=O}});return I};F.every=F.all=function(L,K,J){var I=true;if(L==null){return I}if(a&&L.every===a){return L.every(K,J)}d(L,function(O,M,N){if(!(I=I&&K.call(J,O,M,N))){return b}});return I};var r=F.some=F.any=function(L,K,J){K||(K=F.identity);var I=false;if(L==null){return I}if(A&&L.some===A){return L.some(K,J)}d(L,function(O,M,N){if(I||(I=K.call(J,O,M,N))){return b}});return !!I};F.include=F.contains=function(K,J){var I=false;if(K==null){return I}if(w&&K.indexOf===w){return K.indexOf(J)!=-1}I=r(K,function(L){return L===J});return I};F.invoke=function(J,K){var I=v.call(arguments,2);return F.map(J,function(L){return(F.isFunction(K)?K||L:L[K]).apply(L,I)})};F.pluck=function(J,I){return F.map(J,function(K){return K[I]})};F.max=function(L,K,J){if(!K&&F.isArray(L)&&L[0]===+L[0]){return Math.max.apply(Math,L)}if(!K&&F.isEmpty(L)){return -Infinity}var I={computed:-Infinity};d(L,function(P,M,O){var N=K?K.call(J,P,M,O):P;N>=I.computed&&(I={value:P,computed:N})});return I.value};F.min=function(L,K,J){if(!K&&F.isArray(L)&&L[0]===+L[0]){return Math.min.apply(Math,L)}if(!K&&F.isEmpty(L)){return Infinity}var I={computed:Infinity};d(L,function(P,M,O){var N=K?K.call(J,P,M,O):P;N<I.computed&&(I={value:P,computed:N})});return I.value};F.shuffle=function(K){var I=[],J;d(K,function(N,L,M){if(L==0){I[0]=N}else{J=Math.floor(Math.random()*(L+1));I[L]=I[J];I[J]=N}});return I};F.sortBy=function(K,J,I){return F.pluck(F.map(K,function(N,L,M){return{value:N,criteria:J.call(I,N,L,M)}}).sort(function(O,N){var M=O.criteria,L=N.criteria;return M<L?-1:M>L?1:0}),"value")};F.groupBy=function(K,L){var I={};var J=F.isFunction(L)?L:function(M){return M[L]};d(K,function(O,M){var N=J(O,M);(I[N]||(I[N]=[])).push(O)});return I};F.sortedIndex=function(N,M,K){K||(K=F.identity);var I=0,L=N.length;while(I<L){var J=(I+L)>>1;K(N[J])<K(M)?I=J+1:L=J}return I};F.toArray=function(I){if(!I){return[]}if(I.toArray){return I.toArray()}if(F.isArray(I)){return v.call(I)}if(F.isArguments(I)){return v.call(I)}return F.values(I)};F.size=function(I){return F.toArray(I).length};F.first=F.head=function(K,J,I){return(J!=null)&&!I?v.call(K,0,J):K[0]};F.initial=function(K,J,I){return v.call(K,0,K.length-((J==null)||I?1:J))};F.last=function(K,J,I){if((J!=null)&&!I){return v.call(K,Math.max(K.length-J,0))}else{return K[K.length-1]}};F.rest=F.tail=function(K,I,J){return v.call(K,(I==null)||J?1:I)};F.compact=function(I){return F.filter(I,function(J){return !!J})};F.flatten=function(J,I){return F.reduce(J,function(K,L){if(F.isArray(L)){return K.concat(I?L:F.flatten(L))}K[K.length]=L;return K},[])};F.without=function(I){return F.difference(I,v.call(arguments,1))};F.uniq=F.unique=function(M,L,K){var J=K?F.map(M,K):M;var I=[];F.reduce(J,function(N,P,O){if(0==O||(L===true?F.last(N)!=P:!F.include(N,P))){N[N.length]=P;I[I.length]=M[O]}return N},[]);return I};F.union=function(){return F.uniq(F.flatten(arguments,true))};F.intersection=F.intersect=function(J){var I=v.call(arguments,1);return F.filter(F.uniq(J),function(K){return F.every(I,function(L){return F.indexOf(L,K)>=0})})};F.difference=function(J){var I=F.flatten(v.call(arguments,1));return F.filter(J,function(K){return !F.include(I,K)})};F.zip=function(){var I=v.call(arguments);var L=F.max(F.pluck(I,"length"));var K=new Array(L);for(var J=0;J<L;J++){K[J]=F.pluck(I,""+J)}return K};F.indexOf=function(M,K,L){if(M==null){return -1}var J,I;if(L){J=F.sortedIndex(M,K);return M[J]===K?J:-1}if(w&&M.indexOf===w){return M.indexOf(K)}for(J=0,I=M.length;J<I;J++){if(J in M&&M[J]===K){return J}}return -1};F.lastIndexOf=function(K,J){if(K==null){return -1}if(f&&K.lastIndexOf===f){return K.lastIndexOf(J)}var I=K.length;while(I--){if(I in K&&K[I]===J){return I}}return -1};F.range=function(N,L,M){if(arguments.length<=1){L=N||0;N=0}M=arguments[2]||1;var J=Math.max(Math.ceil((L-N)/M),0);var I=0;var K=new Array(J);while(I<J){K[I++]=N;N+=M}return K};var h=function(){};F.bind=function H(L,J){var K,I;if(L.bind===k&&k){return k.apply(L,v.call(arguments,1))}if(!F.isFunction(L)){throw new TypeError}I=v.call(arguments,2);return K=function(){if(!(this instanceof K)){return L.apply(J,I.concat(v.call(arguments)))}h.prototype=L.prototype;var N=new h;var M=L.apply(N,I.concat(v.call(arguments)));if(Object(M)===M){return M}return N}};F.bindAll=function(J){var I=v.call(arguments,1);if(I.length==0){I=F.functions(J)}d(I,function(K){J[K]=F.bind(J[K],J)});return J};F.memoize=function(K,J){var I={};J||(J=F.identity);return function(){var L=J.apply(this,arguments);return F.has(I,L)?I[L]:(I[L]=K.apply(this,arguments))}};F.delay=function(J,K){var I=v.call(arguments,2);return setTimeout(function(){return J.apply(J,I)},K)};F.defer=function(I){return F.delay.apply(F,[I,1].concat(v.call(arguments,1)))};F.throttle=function(N,P){var L,I,O,M,K;var J=F.debounce(function(){K=M=false},P);return function(){L=this;I=arguments;var Q=function(){O=null;if(K){N.apply(L,I)}J()};if(!O){O=setTimeout(Q,P)}if(M){K=true}else{N.apply(L,I)}J();M=true}};F.debounce=function(J,L,I){var K;return function(){var O=this,N=arguments;var M=function(){K=null;if(!I){J.apply(O,N)}};if(I&&!K){J.apply(O,N)}clearTimeout(K);K=setTimeout(M,L)}};F.once=function(K){var I=false,J;return function(){if(I){return J}I=true;return J=K.apply(this,arguments)}};F.wrap=function(I,J){return function(){var K=[I].concat(v.call(arguments,0));return J.apply(this,K)}};F.compose=function(){var I=arguments;return function(){var J=arguments;for(var K=I.length-1;K>=0;K--){J=[I[K].apply(this,J)]}return J[0]}};F.after=function(J,I){if(J<=0){return I()}return function(){if(--J<1){return I.apply(this,arguments)}}};F.keys=C||function(K){if(K!==Object(K)){throw new TypeError("Invalid object")}var J=[];for(var I in K){if(F.has(K,I)){J[J.length]=I}}return J};F.values=function(I){return F.map(I,F.identity)};F.functions=F.methods=function(K){var J=[];for(var I in K){if(F.isFunction(K[I])){J.push(I)}}return J.sort()};F.extend=function(I){d(v.call(arguments,1),function(J){for(var K in J){I[K]=J[K]}});return I};F.defaults=function(I){d(v.call(arguments,1),function(J){for(var K in J){if(I[K]==null){I[K]=J[K]}}});return I};F.clone=function(I){if(!F.isObject(I)){return I}return F.isArray(I)?I.slice():F.extend({},I)};F.tap=function(J,I){I(J);return J};function E(L,K,J){if(L===K){return L!==0||1/L==1/K}if(L==null||K==null){return L===K}if(L._chain){L=L._wrapped}if(K._chain){K=K._wrapped}if(L.isEqual&&F.isFunction(L.isEqual)){return L.isEqual(K)}if(K.isEqual&&F.isFunction(K.isEqual)){return K.isEqual(L)}var O=y.call(L);if(O!=y.call(K)){return false}switch(O){case"[object String]":return L==String(K);case"[object Number]":return L!=+L?K!=+K:(L==0?1/L==1/K:L==+K);case"[object Date]":case"[object Boolean]":return +L==+K;case"[object RegExp]":return L.source==K.source&&L.global==K.global&&L.multiline==K.multiline&&L.ignoreCase==K.ignoreCase}if(typeof L!="object"||typeof K!="object"){return false}var P=J.length;while(P--){if(J[P]==L){return true}}J.push(L);var N=0,I=true;if(O=="[object Array]"){N=L.length;I=N==K.length;if(I){while(N--){if(!(I=N in L==N in K&&E(L[N],K[N],J))){break}}}}else{if("constructor" in L!="constructor" in K||L.constructor!=K.constructor){return false}for(var M in L){if(F.has(L,M)){N++;if(!(I=F.has(K,M)&&E(L[M],K[M],J))){break}}}if(I){for(M in K){if(F.has(K,M)&&!(N--)){break}}I=!N}}J.pop();return I}F.isEqual=function(J,I){return E(J,I,[])};F.isEmpty=function(J){if(J==null){return true}if(F.isArray(J)||F.isString(J)){return J.length===0}for(var I in J){if(F.has(J,I)){return false}}return true};F.isElement=function(I){return !!(I&&I.nodeType==1)};F.isArray=c||function(I){return y.call(I)=="[object Array]"};F.isObject=function(I){return I===Object(I)};F.isArguments=function(I){return y.call(I)=="[object Arguments]"};if(!F.isArguments(arguments)){F.isArguments=function(I){return !!(I&&F.has(I,"callee"))}}F.isFunction=function(I){return y.call(I)=="[object Function]"};F.isString=function(I){return y.call(I)=="[object String]"};F.isNumber=function(I){return y.call(I)=="[object Number]"};F.isNaN=function(I){return I!==I};F.isBoolean=function(I){return I===true||I===false||y.call(I)=="[object Boolean]"};F.isDate=function(I){return y.call(I)=="[object Date]"};F.isRegExp=function(I){return y.call(I)=="[object RegExp]"};F.isNull=function(I){return I===null};F.isUndefined=function(I){return I===void 0};F.has=function(J,I){return p.call(J,I)};F.noConflict=function(){x._=t;return this};F.identity=function(I){return I};F.times=function(L,K,J){for(var I=0;I<L;I++){K.call(J,I)}};F.escape=function(I){return(""+I).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;").replace(/\//g,"&#x2F;")};F.mixin=function(I){d(F.functions(I),function(J){s(J,F[J]=I[J])})};var l=0;F.uniqueId=function(I){var J=l++;return I?I+J:J};F.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var u=/.^/;var q=function(I){return I.replace(/\\\\/g,"\\").replace(/\\'/g,"'")};F.template=function(L,K){var M=F.templateSettings;var I="var __p=[],print=function(){__p.push.apply(__p,arguments);};with(obj||{}){__p.push('"+L.replace(/\\/g,"\\\\").replace(/'/g,"\\'").replace(M.escape||u,function(N,O){return"',_.escape("+q(O)+"),'"}).replace(M.interpolate||u,function(N,O){return"',"+q(O)+",'"}).replace(M.evaluate||u,function(N,O){return"');"+q(O).replace(/[\r\n\t]/g," ")+";__p.push('"}).replace(/\r/g,"\\r").replace(/\n/g,"\\n").replace(/\t/g,"\\t")+"');}return __p.join('');";var J=new Function("obj","_",I);if(K){return J(K,F)}return function(N){return J.call(this,N,F)}};F.chain=function(I){return F(I).chain()};var g=function(I){this._wrapped=I};F.prototype=g.prototype;var o=function(J,I){return I?F(J).chain():J};var s=function(I,J){g.prototype[I]=function(){var K=v.call(arguments);z.call(K,this._wrapped);return o(J.apply(F,K),this._chain)}};F.mixin(F);d(["pop","push","reverse","shift","sort","splice","unshift"],function(I){var J=j[I];g.prototype[I]=function(){var K=this._wrapped;J.apply(K,arguments);var L=K.length;if((I=="shift"||I=="splice")&&L===0){delete K[0]}return o(K,this._chain)}});d(["concat","join","slice"],function(I){var J=j[I];g.prototype[I]=function(){return o(J.apply(this._wrapped,arguments),this._chain)}});g.prototype.chain=function(){this._chain=true;return this};g.prototype.value=function(){return this._wrapped}}).call(this);_.extend(_.templateSettings={interpolate:/\{\{(.+?)\}\}/g});_.mixin({prune:function(d,b){if(jQuery.isPlainObject(b)){b=_.keys(b)}var a=_.intersect(b,_.keys(d)),c={};_.map(a,function(e){c[e]=d[e]});return c}});$.getScript=function(b,c,a){$.ajax({type:"GET",url:b,success:c,dataType:"script",cache:a})};if(!window.console){console={log:function(){},warn:function(){},info:function(){},dir:function(){}}}$.mcm={site:{lastUpdate:"February 19, 2012",rootPath:"/",pageRootRelativePath:"html/",pdfRootRelativePath:"pdf/",imagesRootRelativePath:"images/",videoRootRelativePath:"Video/",testimonialRootRelativePath:"testimonials/",jsRootRelativePath:"js/",iconRootRelativePath:"",flickrPhotoRoot:"http://www.flickr.com/photos/metalcraftmarine/",host:"",cdn:{images:{subfolders:["75/","250/","269/","407/","500/","821/"],original:"http://mcmphotos.s3.amazonaws.com/",thumb:"http://mcmphotos.s3.amazonaws.com/75/",medium:"http://mcmphotos.s3.amazonaws.com/500/"}}},assertions:[{id:1000,text:"High Speed Patrol Boats, Fire Boats, Rescue Boats, and Work Boats",categories:["*"]},{id:1005,text:"Building quality vessels for 25-years",categories:["*"]},{id:1010,text:"When Quality Matters; Competitive Pricing, Superior Design and Engineering",categories:["*"]},{id:1020,text:"We Stand Behind Our 10-Year Hull Seam Warranty",categories:["fire","patrol","cbrn"]},{id:1030,text:"Builders of High Speed, Fire/Rescue, Patrol and Work Boats",categories:["*"]},{id:1040,text:"With the Right Input From You, We Can Build Your 'Perfect Boat'",categories:["*"]},{id:1050,text:"Builders of Fine Quality Aluminum Sport and Work Boats",categories:["work","barge","tow"]},{id:1060,text:"Maintainable and Repairable Fire Systems; the Same as in Your Fire Trucks",categories:["fire","cbrn"]},{id:1070,text:"Builders of High Speed, Maneuverable, Shallow Draft, Jet-Driven Patrol Boats",categories:["patrol"]},{id:1080,text:"Custom High Speed, Shallow-Draft, High Pump-Capacity, Jet-Driven Fire Boats",categories:["fire","cbrn"]},{id:1090,text:"Builders of a Broad Line of Custom, Rugged, High Speed Barges",categories:["barge"]},{id:1100,text:"Timely Fire and Emergency Response, on Target, Every Time, in All Conditions",categories:["fire","rescue","cbrn"]}],apiKeys:{gmaps:{localhost:"ABQIAAAA1p3H4HjgFRGggryYDUwteBT2yXp_ZAY8_ufC3CFXhHIE1NvwkxRKJ9lPafzRFCzaRsPQSUSKAe2tww","metalcraftmarine.com":"ABQIAAAA9UjYEZNshce6n1Gi1oDOZRQsiKOBAhOD056jN53HNOJgYZui5BS7HunNisg3uZ2ZV9HKwFFqe7cgvQ","www.metalcraftmarine.com":"ABQIAAAA9UjYEZNshce6n1Gi1oDOZRSR4AeH10pbVymtLhX2MIfPp25IbRRGkQXuk6CuEDmdHPaWhIwKW0i9Sw","metalcraft.site":"ABQIAAAA9UjYEZNshce6n1Gi1oDOZRTWXAAhD9GDJrq5F_itVBYRt__OfRR1vHVANcY0JbSTLyfb3nC1fM860w"},analytics:"UA-212713-5"},getGmapApiKey:function(){return $.mcm.apiKeys.gmaps[$.mcm.site.host]},prodData:{},templates:{underscore:{},tmpl:{preCompileTemplates:function(){$("script[id]").each(function(){$("#"+this.id).template(this.id)})}}},currentPage:{line:"",model:"",scratch:{}},locale:"can",localize:function(){$(".localizable").hide();var b=$.mcm.site.host,a=b.substring(0,6),c=b.split(".")[0];c=c.substring(0,2);if(c==="us"||c==="am"||a==="www.us"||a==="www.am"){$.mcm.locale="us";$(".us").show()}else{$(".can").show()}$("body div.container").show()},isSetup:false,setup:function(d){if(this.isSetup){return false}var f=($.url.attr("host")||"").toLowerCase(),c=this.site,a=$.url.segments(),e=_.indexOf(a,"metalcraft"),b;if(e>-1){b=_.first(a,_.indexOf(a,"metalcraft")+1).join("/")+"/"}else{b=""}c.host=f;if(f){this.site.rootPath=$.url.attr("protocol")+"://"+f+"/"+b}else{c.rootPath="file://"+b}if(!$.mcm.site.host){var g=$.mcm.site.rootPath+$.mcm.site.pageRootRelativePath;$("#newslinks").before('<li id="showvids"><a href="'+g+'videotable.html">Videos</a></li>')}this.siteUpdated();this.isSetup=true},siteUpdated:function(){$("#lastupdated").html("Site last updated: "+$.mcm.site.lastUpdate)},isIPad:function(){return !_.isNull(navigator.userAgent.match(/iPad/i))},isTouch:function(){return"ontouchstart" in window||$(window).width()<=980},cycleBuilder:function(a){this.defaults={autoRun:true,selector:"#cycle",fx:"fade",speed:3500,slideExpr:"img",elements:[],maxCount:-1};this.cycleNativeOptions=_.keys($.fn.cycle.defaults);var b=_.keys(this.defaults);b=b.concat(this.cycleNativeOptions);var d=_.uniq(b);this.settings=$.extend(true,{},this.defaults,_.prune(a,d));this.elementKeys=["src","alt","height","width","title"];this.elementDefaults={src:"",alt:"",height:200,width:200,active:true,title:""};this.elementSettings=$.extend(true,{},this.elementDefaults,_.prune(a,this.elementKeys));var c=this,e;_.each(a.elements,function(f){e=$.extend({},c.elementDefaults,c.elementSettings,f);if(e.active){c.settings.elements.push(e)}});this.load=function(){var f=this.settings,h=$(f.selector);if(h.length===0){return}var g=_.select(f.elements,function(i){return i.active});_.each(f.maxCount>-1?_.first(g,f.maxCount):g,function(i){h.append($("<"+f.slideExpr+"/>",i))});h.cycle(f)};if(this.settings.autoRun){this.load()}},valueStmt:function(){if($.mcm&&$.mcm.currentPage){var b=$.mcm.currentPage.category,a=[];if(b){_.each($.mcm.assertions,function(c){if(c.categories[0]==="*"){a.push(c.text)}else{if(_.indexOf(c.categories,b)>-1){a.push(c.text)}}});if(a.length){a.sort($.mcm.randomize);$("#assertion").text(a[0])}}}},siblingNavigation:function(d){var h=$("#content"),e=arguments.callee;if(h.length===0){return}var c=function(){h.html('<p class="large">Loading...</p>')};var f=$.mcm.getLinkables({categories:[$.mcm.currentPage.category],types:[],keys:["id","modelShort","landingPage","nominalLength","model"],extractFn:extractSiblings});f.siblings=_.reject(f.siblings,function(i){return(!i.landingPage)});f.siblings=_.sortBy(f.siblings,function(i){return i.nominalLength});var g=JSONSelect.match('."id"',f.siblings),a=_.indexOf(g,$.mcm.currentPage.model),b=$.extend({},e.settings,d);if(!(a===g.length-1)){b.next=f.siblings[a+1]}if(!(a===0)){b.prev=f.siblings[(a===0)?g.length-1:a-1]}if(b.next||b.prev){h.find(".span-12").eq(0).prepend($.mcm.templates.siblingNavigation,b).find(".siblingNav").click(function(){c()});$.getScript("/js/jquery.jkey.min.js",function(){var i=$(document);if(b.prev){i.jkey("left",function(){c();window.location.href=b.prev.landingPage})}if(b.next){i.jkey("right",function(){c();window.location.href=b.next.landingPage})}})}}};var sibNav=$.mcm.siblingNavigation;sibNav.defaults={spanClass:"span-4"};sibNav.settings={};sibNav.config=function(a){sibNav.settings=$.extend({},$.mcm.siblingNavigation.settings,$.mcm.siblingNavigation.defaults,a)};$.mcm.setup();$(function(){$.mcm.localize();var a=$(".boxlink").hover(function(){$(this).addClass("boxlinkhover")},function(){$(this).removeClass("boxlinkhover")}).find("a[href]");if(a.length===1){$(".boxlink").click(function(){window.location=a.attr("href")})}$("#cbrnlink").click(function(){window.location="cbrn.html"});$("#homelink").find("a").attr("href",$.mcm.site.rootPath+"index.html")});function loadjscssfile(a,b){if(b==="js"){var c=document.createElement("script");c.setAttribute("type","text/javascript");c.setAttribute("src",a);document.getElementsByTagName("body")[0].appendChild(c)}else{if(b==="css"){var c=document.createElement("link");c.setAttribute("rel","stylesheet");c.setAttribute("type","text/css");c.setAttribute("href",a);document.getElementsByTagName("head")[0].appendChild(c)}}};
