"use strict";
/* LAB.js (LABjs :: Loading And Blocking JavaScript)
    v2.0.3 (c) Kyle Simpson
    MIT License
*/
(function(X){var g=X.$LAB,k="UseLocalXHR",h="AlwaysPreserveOrder",v="AllowDuplicates",W="CacheBust",U="BasePath",S=/^[^?#]*\//.exec(location.href)[0],R=/^\w+\:\/\/\/?[^\/]+/.exec(S)[0],Y=document.head||document.getElementsByTagName("head"),f=(X.opera&&Object.prototype.toString.call(X.opera)=="[object Opera]")||("MozAppearance" in document.documentElement.style),V=document.createElement("script"),x=typeof V.preload=="boolean",T=x||(V.readyState&&V.readyState=="uninitialized"),p=!T&&V.async===true,e=!T&&!p&&!f;function n(i){return Object.prototype.toString.call(i)=="[object Function]"}function m(i){return Object.prototype.toString.call(i)=="[object Array]"}function c(o,q){var i=/^\w+\:\/\//;if(/^\/\/\/?/.test(o)){o=location.protocol+o}else{if(!i.test(o)&&o.charAt(0)!="/"){o=(q||"")+o}}return i.test(o)?o:((o.charAt(0)=="/"?R:S)+o)}function Q(o,q){for(var i in o){if(o.hasOwnProperty(i)){q[i]=o[i]}}return q}function b(o){var q=false;for(var i=0;i<o.scripts.length;i++){if(o.scripts[i].ready&&o.scripts[i].exec_trigger){q=true;o.scripts[i].exec_trigger();o.scripts[i].exec_trigger=null}}return q}function w(o,r,i,q){o.onload=o.onreadystatechange=function(){if((o.readyState&&o.readyState!="complete"&&o.readyState!="loaded")||r[i]){return}o.onload=o.onreadystatechange=null;q()}}function l(i){i.ready=i.finished=true;for(var o=0;o<i.finished_listeners.length;o++){i.finished_listeners[o]()}i.ready_listeners=[];i.finished_listeners=[]}function a(s,q,r,o,i){setTimeout(function(){var u,y=q.real_src,t;if("item" in Y){if(!Y[0]){setTimeout(arguments.callee,25);return}Y=Y[0]}u=document.createElement("script");if(q.type){u.type=q.type}if(q.charset){u.charset=q.charset}if(i){if(T){r.elem=u;if(x){u.preload=true;u.onpreload=o}else{u.onreadystatechange=function(){if(u.readyState=="loaded"){o()}}}u.src=y}else{if(i&&y.indexOf(R)==0&&s[k]){t=new XMLHttpRequest();t.onreadystatechange=function(){if(t.readyState==4){t.onreadystatechange=function(){};r.text=t.responseText+"\n//@ sourceURL="+y;o()}};t.open("GET",y);t.send()}else{u.type="text/cache-script";w(u,r,"ready",function(){Y.removeChild(u);o()});u.src=y;Y.insertBefore(u,Y.firstChild)}}}else{if(p){u.async=false;w(u,r,"finished",o);u.src=y;Y.insertBefore(u,Y.firstChild)}else{w(u,r,"finished",o);u.src=y;Y.insertBefore(u,Y.firstChild)}}},0)}function j(){var o={},t=T||e,y=[],u={},i;o[k]=true;o[h]=false;o[v]=false;o[W]=false;o[U]="";function s(A,D,z){var C;function B(){if(C!=null){C=null;l(z)}}if(u[D.src].finished){return}if(!A[v]){u[D.src].finished=true}C=z.elem||document.createElement("script");if(D.type){C.type=D.type}if(D.charset){C.charset=D.charset}w(C,z,"finished",B);if(z.elem){z.elem=null}else{if(z.text){C.onload=C.onreadystatechange=null;C.text=z.text}else{C.src=D.real_src}}Y.insertBefore(C,Y.firstChild);if(z.text){B()}}function r(G,z,F,D){var E,C,B=function(){z.ready_cb(z,function(){s(G,z,E)})},A=function(){z.finished_cb(z,F)};z.src=c(z.src,G[U]);z.real_src=z.src+(G[W]?((/\?.*$/.test(z.src)?"&_":"?_")+~~(Math.random()*1000000000)+"="):"");if(!u[z.src]){u[z.src]={items:[],finished:false}}C=u[z.src].items;if(G[v]||C.length==0){E=C[C.length]={ready:false,finished:false,ready_listeners:[B],finished_listeners:[A]};a(G,z,E,((D)?function(){E.ready=true;for(var H=0;H<E.ready_listeners.length;H++){E.ready_listeners[H]()}E.ready_listeners=[]}:function(){l(E)}),D)}else{E=C[0];if(E.finished){A()}else{E.finished_listeners.push(A)}}}function q(){var G,F=Q(o,{}),E=[],D=0,I=false,C;function B(J,K){J.ready=true;J.exec_trigger=K;H()}function A(K,L){K.ready=K.finished=true;K.exec_trigger=null;for(var J=0;J<L.scripts.length;J++){if(!L.scripts[J].finished){return}}L.finished=true;H()}function H(){while(D<E.length){if(n(E[D])){try{E[D++]()}catch(J){}continue}else{if(!E[D].finished){if(b(E[D])){continue}break}}D++}if(D==E.length){I=false;C=false}}function z(){if(!C||!C.scripts){E.push(C={scripts:[],finished:true})}}G={script:function(){for(var J=0;J<arguments.length;J++){(function(L,N){var K;if(!m(L)){N=[L]}for(var M=0;M<N.length;M++){z();L=N[M];if(n(L)){L=L()}if(!L){continue}if(m(L)){K=[].slice.call(L);K.unshift(M,1);[].splice.apply(N,K);M--;continue}if(typeof L=="string"){L={src:L}}L=Q(L,{ready:false,ready_cb:B,finished:false,finished_cb:A});C.finished=false;C.scripts.push(L);r(F,L,C,(t&&I));I=true;if(F[h]){G.wait()}}})(arguments[J],arguments[J])}return G},wait:function(){if(arguments.length>0){for(var J=0;J<arguments.length;J++){E.push(arguments[J])}C=E[E.length-1]}else{C=false}H();return G}};return{script:G.script,wait:G.wait,setOptions:function(J){Q(J,F);return G}}}i={setGlobalDefaults:function(z){Q(z,o);return i},setOptions:function(){return q().setOptions.apply(null,arguments)},script:function(){return q().script.apply(null,arguments)},wait:function(){return q().wait.apply(null,arguments)},queueScript:function(){y[y.length]={type:"script",args:[].slice.call(arguments)};return i},queueWait:function(){y[y.length]={type:"wait",args:[].slice.call(arguments)};return i},runQueue:function(){var A=i,C=y.length,z=C,B;for(;--z>=0;){B=y.shift();A=A[B.type].apply(null,B.args)}return A},noConflict:function(){X.$LAB=g;return i},sandbox:function(){return j()}};return i}X.$LAB=j();(function(o,q,i){if(document.readyState==null&&document[o]){document.readyState="loading";document[o](q,i=function(){document.removeEventListener(q,i,false);document.readyState="complete"},false)}})("addEventListener","DOMContentLoaded")})(this);
/* IE detection */
(function(e,a){var b,c,f=(function(j){var i,g=3,k=document.createElement("div"),h=k.getElementsByTagName("i");while(k.innerHTML="<!--[if gt IE "+(++g)+"]><i></i><![endif]-->",h[0]){}return g>4?g:i}());b={ver:f?f:0,ie:!!f};for(c=5;c<a;c++){b["ie"+c]=f===c;b["iegt"+c]=f>c;b["ielt"+c]=f<c}if(e.$TWR===undefined){e.$TWR={}}e.$TWR.isIE=b})(window,11);
/* CSS insertion */
(function(c,b){var a=function(g){var h,f,e;g=Object.prototype.toString.call(g)==="[object Array]"?g:[g];e=g.length;for(f=0;f<e;f++){h=document.createElement("link");h.setAttribute("rel","stylesheet");h.setAttribute("type","text/css");h.setAttribute("href",g[f]);d.getElementsByTagName("head")[0].appendChild(h)}};window.$TWR.insertCSS=a})(window,document);
/* define scripts to be loaded with typekit provision */
(function(g){var q="UA-27488182-1",a=false,h=true,f=true,l="$TWR_VRO",i={},j={linkedInProfile:"http://www.linkedin.com/pub/tony-vetrano/24/641/16a"},e="//use.typekit.com/mui3ehu.js",c=["//ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"],p=[],o=["_js/VRO_scripts-min.js"],b=["//platform.linkedin.com/in.js"];if(h&&!/.+:\/\/(?:www\.|dev\.)/.test(location)){var s=String(location).split("://");g.location.href=s.join("://www.")}function k(){$(document).ready(function(){var t=g[l].init;if($.isFunction(t)){t.call(this,i)}})}function m(){$(document).ready(function(){var t=g[l].initPlugins;if($.isFunction(t)){t.call(this,j)}})}function n(){if(f){$("html").addClass("twr-ready")}if(o.length>0){g.$LAB.queueScript(o).queueWait(function(){k()});if(b.length>0){g.$LAB.queueScript(b).queueWait(function(){m()})}g.$LAB.runQueue()}}if(q!==""){var r=("https:"==document.location.protocol?"https://ssl":"http://www")+".google-analytics.com/ga.js";g._gaq=g._gaq||[];g._gaq.push(["_setAccount",q]);g._gaq.push(["_trackPageview"]);b.push(r)}if(e!==""){c.unshift(e)}$LAB.setGlobalDefaults({CacheBust:a});$LAB.queueScript(c);if(p.length>0){$LAB.queueWait();$LAB.queueScript(p)}$LAB.queueWait(function(){if(e!==""){try{Typekit.load({active:function(){n()},inactive:function(){n()}})}catch(t){document.getElementsByTagName("html")[0].className+="wf-error";n()}}else{n()}});$LAB.runQueue()})(window);
