﻿/*@cc_on(function(p,e){var q=e.createElement("div");q.innerHTML="<z>i</z>";q.childNodes.length!==1&&function(){function r(a,b){if(g[a])g[a].styleSheet.cssText+=b;else{var c=s[l],d=e[j]("style");d.media=a;c.insertBefore(d,c[l]);g[a]=d;r(a,b)}}function t(a,b){for(var c=new RegExp("\\b("+m+")\\b(?!.*[;}])","gi"),d=function(k){return".iepp_"+k},h=-1;++h<a.length;){b=a[h].media||b;t(a[h].imports,b);r(b,a[h].cssText.replace(c,d))}}for(var s=e.documentElement,i=e.createDocumentFragment(),g={},m="abbr article aside audio canvas details figcaption figure footer header hgroup mark meter nav output progress section summary time video".replace(/ /g, '|'),
n=m.split("|"),f=[],o=-1,l="firstChild",j="createElement";++o<n.length;){e[j](n[o]);i[j](n[o])}i=i.appendChild(e[j]("div"));p.attachEvent("onbeforeprint",function(){for(var a,b=e.getElementsByTagName("*"),c,d,h=new RegExp("^"+m+"$","i"),k=-1;++k<b.length;)if((a=b[k])&&(d=a.nodeName.match(h))){c=new RegExp("^\\s*<"+d+"(.*)\\/"+d+">\\s*$","i");i.innerHTML=a.outerHTML.replace(/\r|\n/g," ").replace(c,a.currentStyle.display=="block"?"<div$1/div>":"<span$1/span>");c=i.childNodes[0];c.className+=" iepp_"+
d;c=f[f.length]=[a,c];a.parentNode.replaceChild(c[1],c[0])}t(e.styleSheets,"all")});p.attachEvent("onafterprint",function(){for(var a=-1,b;++a<f.length;)f[a][1].parentNode.replaceChild(f[a][0],f[a][1]);for(b in g)s[l].removeChild(g[b]);g={};f=[]})}()})(this,document);@*/
Cufon.replace("article h1 div, .widgetCTA .widgetCTAHeaders , #mainNav>ul>li>a",{hover:true,fontFamily:"Century Old Style"});Cufon.replace(".widgetCTADescription",{hover:true,fontFamily:"Amano"});$(document).ready(function(){$("#side .widgetCTA:nth-child(1)").addClass("cta1");$("#side .widgetCTA:nth-child(2)").addClass("cta2");$("#side .widgetCTA:nth-child(3)").addClass("cta3");$("article ul:not(.sitemapWidget):not(.noFloat)").each(function(){var d=$(this).children().size();if(d>=6){var c=this;$(c).wrap("<div class='colContainer'><div class='twoCols'></div></div>");var b=$(c).parent().parent();$(b).append("<div class='twoCols next'><ul></ul></div>");var e=$(".twoCols:last ul",b);var f=$(c).children().slice(Math.ceil(d/2));$(e).append(f);$("div.colContainer").next().addClass("clear");if($(this).hasClass("noStyle")){$(this).parent().parent().find(".twoCols.next ul").addClass("noStyle")}}});var a=$("#subNav ul  > li ");if(a.length<1){$("#subNav").css({display:"none"})}$.expr[":"].external=function(b){return !b.href.match(/^mailto\:/)&&!b.href.match(/^javascript/)&&!b.href.match(/^http\:\/\/www.vizergy.com/)&&(b.hostname!=location.hostname)};$("article a:external, a[href*=.pdf], a[href*=.doc], a[href*=.docx]").addClass("external").click(function(){window.open(this.href);return false});$("article a[href*=.pdf]").addClass("pdf");$("article a[href*=.doc], a[href*=.docx]").addClass("doc");$("body").show()});
