﻿function quoting(){}$(document).ready(function(){var c=$("#subNav ul  > li ");if(c.length<1){$("#subNav").css({display:"none"})}$(".widgetCTA").corner("8px");$("#headerImg").corner("8px");$("#mainNav ul li.hover").corner("top");$("#mainNav ul li.current").corner("top");$(".widgetCTA .jquery-corner:first-child").addClass("topCorners");$(".widgetCTA .jquery-corner:last-child").addClass("bottomCorners");$("body:not(.homepage) #side").appendTo("#contentShell article");if($("#side2 blockquote").length!=0){var e=110;$("#side2 .textWidget").append("<div class=sideContent></div>");$("#side2 blockquote").clone().appendTo(".sideContent");Cufon.replace("#side2 blockquote",{hover:true,fontFamily:"myriad-light-condensed"});var a=$("#side2 blockquote").height();$("#side2 .textWidget > blockquote").html(" ");a-=e;$("#side2 .textWidget > blockquote").height(a);$("#side2 > div").prepend("<div class=bgSideTop></div>");$("#side2 > div").append("<div class=bgSideBottom></div>")}else{if($("#subNavDownLinks").length!=0){if($("#mainNav li.current").length!=0){var b=$("#footerNavLinks>li.current>a").html();$("#subNavDownLinks").prepend("<li class=sectionName>"+b+"</li>");var e=145;$("#side2 #subNav").append("<div class=sideContent></div>");$("#side2  ul#subNavDownLinks").clone().appendTo(".sideContent");Cufon.replace("#side2 li",{hover:true,fontFamily:"myriad-light-condensed"});var d=$("#side2 ul#subNavDownLinks").height();$("#side2 .#subNav > ul").html(" ");d-=e;$("#side2 .#subNav > ul").height(d);$("#side2 > #subNav").prepend("<div class=bgSideTop></div>");$("#side2 > #subNav").append("<div class=bgSideBottom></div>")}}}});(function(a){var j=document.createElement("div").style,g=j.MozBorderRadius!==undefined,l=j.WebkitBorderRadius!==undefined,i=j.borderRadius!==undefined||j.BorderRadius!==undefined,f=document.documentMode||0,h=a.browser.msie&&((a.browser.version<8&&!f)||f<8),b=a.browser.msie&&(function(){var m=document.createElement("div");try{m.style.setExpression("width","0+0");m.style.removeExpression("width")}catch(n){return false}return true})();a.support=a.support||{};a.support.borderRadius=g||l||i;function k(m,n){return parseInt(a.css(m,n))||0}function e(m){var m=parseInt(m).toString(16);return(m.length<2)?"0"+m:m}function d(m){while(m){var o=a.css(m,"backgroundColor"),n;if(o&&o!="transparent"&&o!="rgba(0, 0, 0, 0)"){if(o.indexOf("rgb")>=0){n=o.match(/\d+/g);return"#"+e(n[0])+e(n[1])+e(n[2])}return o}if(m.nodeName.toLowerCase()=="html"){break}m=m.parentNode}return"#ffffff"}function c(m,n,o){switch(m){case"round":return Math.round(o*(1-Math.cos(Math.asin(n/o))));case"cool":return Math.round(o*(1+Math.cos(Math.asin(n/o))));case"sharp":return Math.round(o*(1-Math.cos(Math.acos(n/o))));case"bite":return Math.round(o*(Math.cos(Math.asin((o-n-1)/o))));case"slide":return Math.round(o*(Math.atan2(n,o/n)));case"jut":return Math.round(o*(Math.atan2(o,(o-n-1))));case"curl":return Math.round(o*(Math.atan(n)));case"tear":return Math.round(o*(Math.cos(n)));case"wicked":return Math.round(o*(Math.tan(n)));case"long":return Math.round(o*(Math.sqrt(n)));case"sculpt":return Math.round(o*(Math.log((o-n-1),o)));case"dogfold":case"dog":return(n&1)?(n+1):o;case"dog2":return(n&2)?(n+1):o;case"dog3":return(n&3)?(n+1):o;case"fray":return(n%2)*o;case"notch":return o;case"bevelfold":case"bevel":return n+1}}a.fn.corner=function(n){if(this.length==0){if(!a.isReady&&this.selector){var o=this.selector,m=this.context;a(function(){a(o,m).corner(n)})}return this}return this.each(function(G){var q=a(this),J=[q.attr(a.fn.corner.defaults.metaAttr)||"",n||""].join(" ").toLowerCase(),I=/keep/.test(J),v=((J.match(/cc:(#[0-9a-f]+)/)||[])[1]),N=((J.match(/sc:(#[0-9a-f]+)/)||[])[1]),Q=parseInt((J.match(/(\d+)px/)||[])[1])||10,M=/round|bevelfold|bevel|notch|bite|cool|sharp|slide|jut|curl|tear|fray|wicked|sculpt|long|dog3|dog2|dogfold|dog/,E=((J.match(M)||["round"])[0]),D=/dogfold|bevelfold/.test(J),C={T:0,B:1},K={TL:/top|tl|left/.test(J),TR:/top|tr|right/.test(J),BL:/bottom|bl|left/.test(J),BR:/bottom|br|right/.test(J)},O,L,y,H,s,z,A,t,F,P,B,u,x,p;if(!K.TL&&!K.TR&&!K.BL&&!K.BR){K={TL:1,TR:1,BL:1,BR:1}}if(a.fn.corner.defaults.useNative&&E=="round"&&(i||g||l)&&!v&&!N){if(K.TL){q.css(i?"border-top-left-radius":g?"-moz-border-radius-topleft":"-webkit-border-top-left-radius",Q+"px")}if(K.TR){q.css(i?"border-top-right-radius":g?"-moz-border-radius-topright":"-webkit-border-top-right-radius",Q+"px")}if(K.BL){q.css(i?"border-bottom-left-radius":g?"-moz-border-radius-bottomleft":"-webkit-border-bottom-left-radius",Q+"px")}if(K.BR){q.css(i?"border-bottom-right-radius":g?"-moz-border-radius-bottomright":"-webkit-border-bottom-right-radius",Q+"px")}return}O=document.createElement("div");a(O).css({overflow:"hidden",height:"1px",minHeight:"1px",fontSize:"1px",backgroundColor:N||"transparent",borderStyle:"solid"});L={T:parseInt(a.css(this,"paddingTop"))||0,R:parseInt(a.css(this,"paddingRight"))||0,B:parseInt(a.css(this,"paddingBottom"))||0,L:parseInt(a.css(this,"paddingLeft"))||0};if(typeof this.style.zoom!=undefined){this.style.zoom=1}if(!I){this.style.border="none"}O.style.borderColor=v||d(this.parentNode);y=a(this).outerHeight();for(H in C){s=C[H];if((s&&(K.BL||K.BR))||(!s&&(K.TL||K.TR))){O.style.borderStyle="none "+(K[H+"R"]?"solid":"none")+" none "+(K[H+"L"]?"solid":"none");z=document.createElement("div");a(z).addClass("jquery-corner");A=z.style;s?this.appendChild(z):this.insertBefore(z,this.firstChild);if(s&&y!="auto"){if(a.css(this,"position")=="static"){this.style.position="relative"}A.position="absolute";A.bottom=A.left=A.padding=A.margin="0";if(b){A.setExpression("width","this.parentNode.offsetWidth")}else{A.width="100%"}}else{if(!s&&a.browser.msie){if(a.css(this,"position")=="static"){this.style.position="relative"}A.position="absolute";A.top=A.left=A.right=A.padding=A.margin="0";if(b){t=k(this,"borderLeftWidth")+k(this,"borderRightWidth");A.setExpression("width","this.parentNode.offsetWidth - "+t+'+ "px"')}else{A.width="100%"}}else{A.position="relative";A.margin=!s?"-"+L.T+"px -"+L.R+"px "+(L.T-Q)+"px -"+L.L+"px":(L.B-Q)+"px -"+L.R+"px -"+L.B+"px -"+L.L+"px"}}for(F=0;F<Q;F++){P=Math.max(0,c(E,F,Q));B=O.cloneNode(false);B.style.borderWidth="0 "+(K[H+"R"]?P:0)+"px 0 "+(K[H+"L"]?P:0)+"px";s?z.appendChild(B):z.insertBefore(B,z.firstChild)}if(D&&a.support.boxModel){if(s&&h){continue}for(u in K){if(!K[u]){continue}if(s&&(u=="TL"||u=="TR")){continue}if(!s&&(u=="BL"||u=="BR")){continue}x={position:"absolute",border:"none",margin:0,padding:0,overflow:"hidden",backgroundColor:O.style.borderColor};p=a("<div/>").css(x).css({width:Q+"px",height:"1px"});switch(u){case"TL":p.css({bottom:0,left:0});break;case"TR":p.css({bottom:0,right:0});break;case"BL":p.css({top:0,left:0});break;case"BR":p.css({top:0,right:0});break}z.appendChild(p[0]);var r=a("<div/>").css(x).css({top:0,bottom:0,width:"1px",height:Q+"px"});switch(u){case"TL":r.css({left:Q});break;case"TR":r.css({right:Q});break;case"BL":r.css({left:Q});break;case"BR":r.css({right:Q});break}z.appendChild(r[0])}}}}})};a.fn.uncorner=function(){if(i||g||l){this.css(i?"border-radius":g?"-moz-border-radius":"-webkit-border-radius",0)}a("div.jquery-corner",this).remove();return this};a.fn.corner.defaults={useNative:true,metaAttr:"data-corner"}})(jQuery);var DD_roundies={ns:"DD_roundies",IE6:false,IE7:false,IE8:false,IEversion:function(){if(document.documentMode!=8&&document.namespaces&&!document.namespaces[this.ns]){this.IE6=true;this.IE7=true}else{if(document.documentMode==8){this.IE8=true}}},querySelector:document.querySelectorAll,selectorsToProcess:[],imgSize:{},createVmlNameSpace:function(){if(this.IE6||this.IE7){document.namespaces.add(this.ns,"urn:schemas-microsoft-com:vml")}if(this.IE8){document.writeln('<?import namespace="'+this.ns+'" implementation="#default#VML" ?>')}},createVmlStyleSheet:function(){var b=document.createElement("style");document.documentElement.firstChild.insertBefore(b,document.documentElement.firstChild.firstChild);if(b.styleSheet){try{var c=b.styleSheet;c.addRule(this.ns+"\\:*","{behavior:url(#default#VML)}");this.styleSheet=c}catch(a){}}else{this.styleSheet=b}},addRule:function(d,c,f){if(typeof c=="undefined"||c===null){c=0}if(c.constructor.toString().search("Array")==-1){c=c.toString().replace(/[^0-9 ]/g,"").split(" ")}for(var a=0;a<4;a++){c[a]=(!c[a]&&c[a]!==0)?c[Math.max((a-2),0)]:c[a]}if(this.styleSheet){if(this.styleSheet.addRule){var e=d.split(",");for(var a=0;a<e.length;a++){this.styleSheet.addRule(e[a],"behavior:expression(DD_roundies.roundify.call(this, ["+c.join(",")+"]))")}}else{if(f){var b=c.join("px ")+"px";this.styleSheet.appendChild(document.createTextNode(d+" {border-radius:"+b+"; -moz-border-radius:"+b+";}"));this.styleSheet.appendChild(document.createTextNode(d+" {-webkit-border-top-left-radius:"+c[0]+"px "+c[0]+"px; -webkit-border-top-right-radius:"+c[1]+"px "+c[1]+"px; -webkit-border-bottom-right-radius:"+c[2]+"px "+c[2]+"px; -webkit-border-bottom-left-radius:"+c[3]+"px "+c[3]+"px;}"))}}}else{if(this.IE8){this.selectorsToProcess.push({selector:d,radii:c})}}},readPropertyChanges:function(a){switch(event.propertyName){case"style.border":case"style.borderWidth":case"style.padding":this.applyVML(a);break;case"style.borderColor":this.vmlStrokeColor(a);break;case"style.backgroundColor":case"style.backgroundPosition":case"style.backgroundRepeat":this.applyVML(a);break;case"style.display":a.vmlBox.style.display=(a.style.display=="none")?"none":"block";break;case"style.filter":this.vmlOpacity(a);break;case"style.zIndex":a.vmlBox.style.zIndex=a.style.zIndex;break}},applyVML:function(a){a.runtimeStyle.cssText="";this.vmlFill(a);this.vmlStrokeColor(a);this.vmlStrokeWeight(a);this.vmlOffsets(a);this.vmlPath(a);this.nixBorder(a);this.vmlOpacity(a)},vmlOpacity:function(a){if(a.currentStyle.filter.search("lpha")!=-1){var b=a.currentStyle.filter;b=parseInt(b.substring(b.lastIndexOf("=")+1,b.lastIndexOf(")")),10)/100;for(var c in a.vml){a.vml[c].filler.opacity=b}}},vmlFill:function(a){if(!a.currentStyle){return}else{var b=a.currentStyle}a.runtimeStyle.backgroundColor="";a.runtimeStyle.backgroundImage="";var e=(b.backgroundColor=="transparent");var f=true;if(b.backgroundImage!="none"||a.isImg){if(!a.isImg){a.vmlBg=b.backgroundImage;a.vmlBg=a.vmlBg.substr(5,a.vmlBg.lastIndexOf('")')-5)}else{a.vmlBg=a.src}var d=this;if(!d.imgSize[a.vmlBg]){var c=document.createElement("img");c.attachEvent("onload",function(){this.width=this.offsetWidth;this.height=this.offsetHeight;d.vmlOffsets(a)});c.className=d.ns+"_sizeFinder";c.runtimeStyle.cssText="behavior:none; position:absolute; top:-10000px; left:-10000px; border:none;";c.src=a.vmlBg;c.removeAttribute("width");c.removeAttribute("height");document.body.insertBefore(c,document.body.firstChild);d.imgSize[a.vmlBg]=c}a.vml.image.filler.src=a.vmlBg;f=false}a.vml.image.filled=!f;a.vml.image.fillcolor="none";a.vml.color.filled=!e;a.vml.color.fillcolor=b.backgroundColor;a.runtimeStyle.backgroundImage="none";a.runtimeStyle.backgroundColor="transparent"},vmlStrokeColor:function(a){a.vml.stroke.fillcolor=a.currentStyle.borderColor},vmlStrokeWeight:function(d){var c=["Top","Right","Bottom","Left"];d.bW={};for(var a=0;a<4;a++){d.bW[c[a]]=parseInt(d.currentStyle["border"+c[a]+"Width"],10)||0}},vmlOffsets:function(e){var c=["Left","Top","Width","Height"];for(var b=0;b<4;b++){e.dim[c[b]]=e["offset"+c[b]]}var a=function(d,h){d.style.left=(h?0:e.dim.Left)+"px";d.style.top=(h?0:e.dim.Top)+"px";d.style.width=e.dim.Width+"px";d.style.height=e.dim.Height+"px"};for(var g in e.vml){var f=(g=="image")?1:2;e.vml[g].coordsize=(e.dim.Width*f)+", "+(e.dim.Height*f);a(e.vml[g],true)}a(e.vmlBox,false);if(DD_roundies.IE8){e.vml.stroke.style.margin="-1px";if(typeof e.bW=="undefined"){this.vmlStrokeWeight(e)}e.vml.color.style.margin=(e.bW.Top-1)+"px "+(e.bW.Left-1)+"px"}},vmlPath:function(c){var b=function(n,v,o,t,j,k,q){var l=n?["m","qy","l","qx","l","qy","l","qx","l"]:["qx","l","qy","l","qx","l","qy","l","m"];j*=q;k*=q;v*=q;o*=q;var u=t.slice();for(var p=0;p<4;p++){u[p]*=q;u[p]=Math.min(v/2,o/2,u[p])}var m=[l[0]+Math.floor(0+j)+","+Math.floor(u[0]+k),l[1]+Math.floor(u[0]+j)+","+Math.floor(0+k),l[2]+Math.ceil(v-u[1]+j)+","+Math.floor(0+k),l[3]+Math.ceil(v+j)+","+Math.floor(u[1]+k),l[4]+Math.ceil(v+j)+","+Math.ceil(o-u[2]+k),l[5]+Math.ceil(v-u[2]+j)+","+Math.ceil(o+k),l[6]+Math.floor(u[3]+j)+","+Math.ceil(o+k),l[7]+Math.floor(0+j)+","+Math.ceil(o-u[3]+k),l[8]+Math.floor(0+j)+","+Math.floor(u[0]+k)];if(!n){m.reverse()}var s=m.join("");return s};if(typeof c.bW=="undefined"){this.vmlStrokeWeight(c)}var a=c.bW;var h=c.DD_radii.slice();var g=b(true,c.dim.Width,c.dim.Height,h,0,0,2);h[0]-=Math.max(a.Left,a.Top);h[1]-=Math.max(a.Top,a.Right);h[2]-=Math.max(a.Right,a.Bottom);h[3]-=Math.max(a.Bottom,a.Left);for(var d=0;d<4;d++){h[d]=Math.max(h[d],0)}var f=b(false,c.dim.Width-a.Left-a.Right,c.dim.Height-a.Top-a.Bottom,h,a.Left,a.Top,2);var e=b(true,c.dim.Width-a.Left-a.Right+1,c.dim.Height-a.Top-a.Bottom+1,h,a.Left,a.Top,1);c.vml.color.path=f;c.vml.image.path=e;c.vml.stroke.path=g+f;this.clipImage(c)},nixBorder:function(a){var c=a.currentStyle;var d=["Top","Left","Right","Bottom"];for(var b=0;b<4;b++){a.runtimeStyle["padding"+d[b]]=(parseInt(c["padding"+d[b]],10)||0)+(parseInt(c["border"+d[b]+"Width"],10)||0)+"px"}a.runtimeStyle.border="none"},clipImage:function(h){var j=DD_roundies;if(!h.vmlBg||!j.imgSize[h.vmlBg]){return}var k=h.currentStyle;var e={X:0,Y:0};var i=function(b,n){var c=true;switch(n){case"left":case"top":e[b]=0;break;case"center":e[b]=0.5;break;case"right":case"bottom":e[b]=1;break;default:if(n.search("%")!=-1){e[b]=parseInt(n,10)*0.01}else{c=false}}var m=(b=="X");e[b]=Math.ceil(c?((h.dim[m?"Width":"Height"]-(h.bW[m?"Left":"Top"]+h.bW[m?"Right":"Bottom"]))*e[b])-(j.imgSize[h.vmlBg][m?"width":"height"]*e[b]):parseInt(n,10));e[b]+=1};for(var d in e){i(d,k["backgroundPosition"+d])}h.vml.image.filler.position=(e.X/(h.dim.Width-h.bW.Left-h.bW.Right+1))+","+(e.Y/(h.dim.Height-h.bW.Top-h.bW.Bottom+1));var f=k.backgroundRepeat;var g={T:1,R:h.dim.Width+1,B:h.dim.Height+1,L:1};var a={X:{b1:"L",b2:"R",d:"Width"},Y:{b1:"T",b2:"B",d:"Height"}};if(f!="repeat"){g={T:(e.Y),R:(e.X+j.imgSize[h.vmlBg].width),B:(e.Y+j.imgSize[h.vmlBg].height),L:(e.X)};if(f.search("repeat-")!=-1){var l=f.split("repeat-")[1].toUpperCase();g[a[l].b1]=1;g[a[l].b2]=h.dim[a[l].d]+1}if(g.B>h.dim.Height){g.B=h.dim.Height+1}}h.vml.image.style.clip="rect("+g.T+"px "+g.R+"px "+g.B+"px "+g.L+"px)"},pseudoClass:function(a){var b=this;setTimeout(function(){b.applyVML(a)},1)},reposition:function(a){this.vmlOffsets(a);this.vmlPath(a)},roundify:function(j){this.style.behavior="none";if(!this.currentStyle){return}else{var l=this.currentStyle}var c={BODY:false,TABLE:false,TR:false,TD:false,SELECT:false,OPTION:false,TEXTAREA:false};if(c[this.nodeName]===false){return}var k=this;var g=DD_roundies;this.DD_radii=j;this.dim={};var f={resize:"reposition",move:"reposition"};if(this.nodeName=="A"){var i={mouseleave:"pseudoClass",mouseenter:"pseudoClass",focus:"pseudoClass",blur:"pseudoClass"};for(var b in i){f[b]=i[b]}}for(var e in f){this.attachEvent("on"+e,function(){g[f[e]](k)})}this.attachEvent("onpropertychange",function(){g.readPropertyChanges(k)});var d=function(a){a.style.zoom=1;if(a.currentStyle.position=="static"){a.style.position="relative"}};d(this.offsetParent);d(this);this.vmlBox=document.createElement("ignore");this.vmlBox.runtimeStyle.cssText="behavior:none; position:absolute; margin:0; padding:0; border:0; background:none;";this.vmlBox.style.zIndex=l.zIndex;this.vml={color:true,image:true,stroke:true};for(var m in this.vml){this.vml[m]=document.createElement(g.ns+":shape");this.vml[m].filler=document.createElement(g.ns+":fill");this.vml[m].appendChild(this.vml[m].filler);this.vml[m].stroked=false;this.vml[m].style.position="absolute";this.vml[m].style.zIndex=l.zIndex;this.vml[m].coordorigin="1,1";this.vmlBox.appendChild(this.vml[m])}this.vml.image.fillcolor="none";this.vml.image.filler.type="tile";this.parentNode.insertBefore(this.vmlBox,this);this.isImg=false;if(this.nodeName=="IMG"){this.isImg=true;this.style.visibility="hidden"}setTimeout(function(){g.applyVML(k)},1)}};try{document.execCommand("BackgroundImageCache",false,true)}catch(err){}DD_roundies.IEversion();DD_roundies.createVmlNameSpace();DD_roundies.createVmlStyleSheet();if(DD_roundies.IE8&&document.attachEvent&&DD_roundies.querySelector){document.attachEvent("onreadystatechange",function(){if(document.readyState=="complete"){var g=DD_roundies.selectorsToProcess;var c=g.length;var a=function(i,j,h){setTimeout(function(){DD_roundies.roundify.call(i,j)},h*100)};for(var b=0;b<c;b++){var e=document.querySelectorAll(g[b].selector);var f=e.length;for(var d=0;d<f;d++){if(e[d].nodeName!="INPUT"){a(e[d],g[b].radii,d)}}}}})};
