$(document).ready(subnav_init);function subnav_init(){$("a.print").click(function(){window.print();return false;});$("a.send").click(function(){window.open("/send/index.cfm?url="+$(this).attr("href")+"&title="+document.title,"sendToAFriend","scrollbars=1,width=400,height=500");return false;});$("a[rel~='popup']").click(function(){window.open($(this).attr("href"),"popup","scrollbars=1,width=300,height=300");return false;});$("form input[type~='hidden']").hide();$("#header form input").focus(function(){if($(this).attr("value")=="Search for:"){$(this).attr("value","");}}).blur(function(){if(!$(this).attr("value")){$(this).attr("value","Search for:");}});$("div.container>div:last-child").addClass("last");$("#overview>div.container:first-child").addClass("first");$("#header ul").superfish({hoverClass:"sfHover",delay:null,animation:null,speed:1});$("#nav ul.subnav li h4").next(">ul").addClass("group").hide();$("#nav ul.subnav>li>ul").each(function(){$(this).parent("li").append("<span>&nbsp;</span>");$(this).hide();});$("#nav ul.subnav li span").click(function(){$(this).parent().not(".active").toggleClass("highlight").find(">ul").toggle();});$("#nav ul.subnav li h4").click(function(){$(this).next("ul.group").toggle();});$("#nav ul.subnav a.active").parents("ul").addClass("active").show();$("#nav ul.subnav a.active").parents("ul.subnav>li").addClass("active");$("#nav ul.subnav li.active>ul").show();if(typeof gLoad=="function"){gLoad();}}jQuery.cookie=function(name,value,options){if(typeof value!="undefined"){options=options||{};if(value===null){value="";options.expires=-1;}var expires="";if(options.expires&&(typeof options.expires=="number"||options.expires.toUTCString)){var date;if(typeof options.expires=="number"){date=new Date();date.setTime(date.getTime()+(options.expires*24*60*60*1000));}else{date=options.expires;}expires="; expires="+date.toUTCString();}var path=options.path?"; path="+(options.path):"";var domain=options.domain?"; domain="+(options.domain):"";var secure=options.secure?"; secure":"";document.cookie=[name,"=",encodeURIComponent(value),expires,path,domain,secure].join("");}else{var cookieValue=null;if(document.cookie&&document.cookie!=""){var cookies=document.cookie.split(";");for(var i=0;i<cookies.length;i++){var cookie=jQuery.trim(cookies[i]);if(cookie.substring(0,name.length+1)==(name+"=")){cookieValue=decodeURIComponent(cookie.substring(name.length+1));break;}}}return cookieValue;}};$().ready(function(){function set_base_fontsize(){var $trigger=$(this);var selected=$trigger.attr("id");var sizes={normal:11,large:14,huge:17};$("p.utility span.text a").each(function(){if($(this).attr("id")==selected){$(".is_resizable").css("fontSize",sizes[selected]);$.cookie("fontSize",selected,{expires:7,path:"/"});$(this).addClass("on");}else{$(this).removeClass("on");}});return false;}$(".resizable").addClass("is_resizable").removeClass("resizable");$("p.utility span.text a").click(set_base_fontsize);if($.cookie("fontSize")){var id="#"+$.cookie("fontSize");$(id).click();}else{$("#normal").click();}});try{document.execCommand("BackgroundImageCache",false,true);}catch(err){}(function($){$.fn.superfish=function(o){var $sf=this,defaults={hoverClass:"sfHover",pathClass:"overideThisToUse",delay:800,animation:{opacity:"show"},speed:"normal",onshow:function(){}},over=function(){clearTimeout(this.sfTimer);$(this).showSuperfishUl(o).siblings().hideSuperfishUl(o);},out=function(){var $$=$(this);if(!$$.is("."+o.bcClass)){this.sfTimer=setTimeout(function(){$$.hideSuperfishUl(o);var sf=$$.parents("ul.superfish:first")[0];if(!$("."+o.hoverClass,sf).length){over.call(sf.o.$currents.hideSuperfishUl(o));}},o.delay);}};$.fn.extend({hideSuperfishUl:function(o){return this.removeClass(o.hoverClass).find("ul").hide().css("visibility","hidden").end();},showSuperfishUl:function(o){return this.addClass(o.hoverClass).find(">ul:hidden").css("visibility","visible").show(0,function(){o.onshow.call(this);}).end();},applySuperfishHovers:function(){return this[($.fn.hoverIntent)?"hoverIntent":"hover"](over,out);}});return this.addClass("superfish").each(function(){o=$.extend({bcClass:"sfbreadcrumb"},defaults,o||{});o=$.extend(o,{$currents:$("li."+o.pathClass+":has(ul)",this)});this.o=o;if(o.$currents.length){o.$currents.each(function(){$(this).removeClass(o.pathClass).addClass(o.hoverClass+" "+o.bcClass);});}var $sfHovAr=$("li:has(ul)",this).applySuperfishHovers(over,out).find("a").each(function(){var $a=$(this),$li=$a.parents("li");$a.focus(function(){over.call($li);return false;}).blur(function(){out.call(this);$li.removeClass(o.hoverClass);return false;});}).end().not("."+o.bcClass).hideSuperfishUl(o).end();});};})(jQuery);
/**
* hoverIntent r5 // 2007.03.27 // jQuery 1.1.2+
*/
(function($){$.fn.hoverIntent=function(f,g){var cfg={sensitivity:7,interval:100,timeout:0};cfg=$.extend(cfg,g?{over:f,out:g}:f);var cX,cY,pX,pY;var track=function(ev){cX=ev.pageX;cY=ev.pageY;};var compare=function(ev,ob){ob.hoverIntent_t=clearTimeout(ob.hoverIntent_t);if((Math.abs(pX-cX)+Math.abs(pY-cY))<cfg.sensitivity){$(ob).unbind("mousemove",track);ob.hoverIntent_s=1;return cfg.over.apply(ob,[ev]);}else{pX=cX;pY=cY;ob.hoverIntent_t=setTimeout(function(){compare(ev,ob);},cfg.interval);}};var delay=function(ev,ob){ob.hoverIntent_t=clearTimeout(ob.hoverIntent_t);ob.hoverIntent_s=0;return cfg.out.apply(ob,[ev]);};var handleHover=function(e){var p=(e.type=="mouseover"?e.fromElement:e.toElement)||e.relatedTarget;while(p&&p!=this){try{p=p.parentNode;}catch(e){p=this;}}if(p==this){return false;}var ev=jQuery.extend({},e);var ob=this;if(ob.hoverIntent_t){ob.hoverIntent_t=clearTimeout(ob.hoverIntent_t);}if(e.type=="mouseover"){pX=ev.pageX;pY=ev.pageY;$(ob).bind("mousemove",track);if(ob.hoverIntent_s!=1){ob.hoverIntent_t=setTimeout(function(){compare(ev,ob);},cfg.interval);}}else{$(ob).unbind("mousemove",track);if(ob.hoverIntent_s==1){ob.hoverIntent_t=setTimeout(function(){delay(ev,ob);},cfg.timeout);}}};return this.mouseover(handleHover).mouseout(handleHover);};})(jQuery);