jQuery.easing.jswing=jQuery.easing.swing;jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(x,t,b,c,d){return jQuery.easing[jQuery.easing.def](x,t,b,c,d)},easeInQuad:function(x,t,b,c,d){return c*(t/=d)*t+b},easeOutQuad:function(x,t,b,c,d){return -c*(t/=d)*(t-2)+b},easeInOutQuad:function(x,t,b,c,d){if((t/=d/2)<1){return c/2*t*t+b}return -c/2*((--t)*(t-2)-1)+b},easeInCubic:function(x,t,b,c,d){return c*(t/=d)*t*t+b},easeOutCubic:function(x,t,b,c,d){return c*((t=t/d-1)*t*t+1)+b},easeInOutCubic:function(x,t,b,c,d){if((t/=d/2)<1){return c/2*t*t*t+b}return c/2*((t-=2)*t*t+2)+b},easeInQuart:function(x,t,b,c,d){return c*(t/=d)*t*t*t+b},easeOutQuart:function(x,t,b,c,d){return -c*((t=t/d-1)*t*t*t-1)+b},easeInOutQuart:function(x,t,b,c,d){if((t/=d/2)<1){return c/2*t*t*t*t+b}return -c/2*((t-=2)*t*t*t-2)+b},easeInQuint:function(x,t,b,c,d){return c*(t/=d)*t*t*t*t+b},easeOutQuint:function(x,t,b,c,d){return c*((t=t/d-1)*t*t*t*t+1)+b},easeInOutQuint:function(x,t,b,c,d){if((t/=d/2)<1){return c/2*t*t*t*t*t+b}return c/2*((t-=2)*t*t*t*t+2)+b},easeInSine:function(x,t,b,c,d){return -c*Math.cos(t/d*(Math.PI/2))+c+b},easeOutSine:function(x,t,b,c,d){return c*Math.sin(t/d*(Math.PI/2))+b},easeInOutSine:function(x,t,b,c,d){return -c/2*(Math.cos(Math.PI*t/d)-1)+b},easeInExpo:function(x,t,b,c,d){return(t==0)?b:c*Math.pow(2,10*(t/d-1))+b},easeOutExpo:function(x,t,b,c,d){return(t==d)?b+c:c*(-Math.pow(2,-10*t/d)+1)+b},easeInOutExpo:function(x,t,b,c,d){if(t==0){return b}if(t==d){return b+c}if((t/=d/2)<1){return c/2*Math.pow(2,10*(t-1))+b}return c/2*(-Math.pow(2,-10*--t)+2)+b},easeInCirc:function(x,t,b,c,d){return -c*(Math.sqrt(1-(t/=d)*t)-1)+b},easeOutCirc:function(x,t,b,c,d){return c*Math.sqrt(1-(t=t/d-1)*t)+b},easeInOutCirc:function(x,t,b,c,d){if((t/=d/2)<1){return -c/2*(Math.sqrt(1-t*t)-1)+b}return c/2*(Math.sqrt(1-(t-=2)*t)+1)+b},easeInElastic:function(x,t,b,c,d){var s=1.70158;var p=0;var a=c;if(t==0){return b}if((t/=d)==1){return b+c}if(!p){p=d*0.3}if(a<Math.abs(c)){a=c;var s=p/4}else{var s=p/(2*Math.PI)*Math.asin(c/a)}return -(a*Math.pow(2,10*(t-=1))*Math.sin((t*d-s)*(2*Math.PI)/p))+b},easeOutElastic:function(x,t,b,c,d){var s=1.70158;var p=0;var a=c;if(t==0){return b}if((t/=d)==1){return b+c}if(!p){p=d*0.3}if(a<Math.abs(c)){a=c;var s=p/4}else{var s=p/(2*Math.PI)*Math.asin(c/a)}return a*Math.pow(2,-10*t)*Math.sin((t*d-s)*(2*Math.PI)/p)+c+b},easeInOutElastic:function(x,t,b,c,d){var s=1.70158;var p=0;var a=c;if(t==0){return b}if((t/=d/2)==2){return b+c}if(!p){p=d*(0.3*1.5)}if(a<Math.abs(c)){a=c;var s=p/4}else{var s=p/(2*Math.PI)*Math.asin(c/a)}if(t<1){return -0.5*(a*Math.pow(2,10*(t-=1))*Math.sin((t*d-s)*(2*Math.PI)/p))+b}return a*Math.pow(2,-10*(t-=1))*Math.sin((t*d-s)*(2*Math.PI)/p)*0.5+c+b},easeInBack:function(x,t,b,c,d,s){if(s==undefined){s=1.70158}return c*(t/=d)*t*((s+1)*t-s)+b},easeOutBack:function(x,t,b,c,d,s){if(s==undefined){s=1.70158}return c*((t=t/d-1)*t*((s+1)*t+s)+1)+b},easeInOutBack:function(x,t,b,c,d,s){if(s==undefined){s=1.70158}if((t/=d/2)<1){return c/2*(t*t*(((s*=(1.525))+1)*t-s))+b}return c/2*((t-=2)*t*(((s*=(1.525))+1)*t+s)+2)+b},easeInBounce:function(x,t,b,c,d){return c-jQuery.easing.easeOutBounce(x,d-t,0,c,d)+b},easeOutBounce:function(x,t,b,c,d){if((t/=d)<(1/2.75)){return c*(7.5625*t*t)+b}else{if(t<(2/2.75)){return c*(7.5625*(t-=(1.5/2.75))*t+0.75)+b}else{if(t<(2.5/2.75)){return c*(7.5625*(t-=(2.25/2.75))*t+0.9375)+b}else{return c*(7.5625*(t-=(2.625/2.75))*t+0.984375)+b}}}},easeInOutBounce:function(x,t,b,c,d){if(t<d/2){return jQuery.easing.easeInBounce(x,t*2,0,c,d)*0.5+b}return jQuery.easing.easeOutBounce(x,t*2-d,0,c,d)*0.5+c*0.5+b}});jQuery.fn.extend({pageshift:function(options,channelId){return this.each(function(){new jQuery.PageShift(this,options,channelId)})}});jQuery.PageShift=function(listobj,options,channelId){var opt=options||{};opt.numitems=opt.numitems||5;var $list=$(listobj);var totalelements=$list.children().size();var $channel=$("#"+channelId);var index=0;$("dd:gt("+(opt.numitems-1)+")",$list).hide();var nextLink=$("<a/>").addClass("next").text("Next "+opt.numitems+" >");var prevLink=$("<a/>").addClass("prev").text("< Prev "+opt.numitems);if(opt.numitems<totalelements){var buttonContainer=$("<div/>").addClass("pager").insertAfter($list);$(buttonContainer).append(prevLink);$(buttonContainer).append(nextLink);redrawButtons()}function redrawButtons(){if(index==0){$(prevLink,buttonContainer).hide()}else{$(prevLink,buttonContainer).show()}if(index+opt.numitems>=totalelements){$(nextLink,buttonContainer).hide()}else{$(nextLink,buttonContainer).show()}}$(prevLink).click(function(){index=index-opt.numitems;$("dd",$list).hide();$("dd",$list).slice(index,index+opt.numitems).show();redrawButtons()});$(nextLink).click(function(){index=index+opt.numitems;$("dd",$list).hide();$("dd",$list).slice(index,index+opt.numitems).show();redrawButtons()})};function SlideOpen(){$("div.slide").click(function(){if($(this).prev().css("display")=="none"){$(this).prev().slideDown("slow");$(this).addClass("opened")}else{if($(this).prev().css("display")=="block"){$(this).prev().slideUp("slow");$(this).removeClass("opened")}}})}function SlideOpenPrev(){$("div.show-hide-slide").addClass("display-block");$("div.more-content").addClass("display-none");$("div.show-active-only:first").slideDown("normal").prev().addClass("opened");$("div.show-hide-slide").click(function(){if($(this).prev().css("display")=="none"){$("div.show-active-only").slideUp("normal",function(){if($.browser.msie&&$.browser.version=="8.0"){$(".show-hide-item").css("position","relative");$(".show-hide-item").css("position","static")}}).prev().removeClass("opened");$(this).prev().slideDown("normal");$(this).addClass("opened")}else{if($(this).prev().css("display")=="block"){$(this).prev().slideUp("normal",function(){if($.browser.msie&&$.browser.version=="8.0"){$(".show-hide-item").css("position","relative");$(".show-hide-item").css("position","static")}});$(this).removeClass("opened")}}})}function SlideOpenNext(){$("div.show-hide-slide").addClass("display-block");$("div.more-content").addClass("display-none");$("div.show-active-only:first").slideDown("normal").prev().addClass("opened");$("div.show-hide-next").click(function(){if($(this).next().css("display")=="none"){$("div.show-active-only").slideUp("normal",function(){if($.browser.msie&&$.browser.version=="8.0"){$(".show-hide-item").css("position","relative");$(".show-hide-item").css("position","static")}}).prev().removeClass("opened");$(this).next().slideDown("normal");$(this).addClass("opened")}else{if($(this).next().css("display")=="block"){$(this).next().slideUp("normal",function(){if($.browser.msie&&$.browser.version=="8.0"){$(".show-hide-item").css("position","relative");$(".show-hide-item").css("position","static")}});$(this).removeClass("opened")}}})}(function($){$.fn.bgIframe=$.fn.bgiframe=function(s){if($.browser.msie&&/6.0/.test(navigator.userAgent)){s=$.extend({top:"auto",left:"auto",width:"auto",height:"auto",opacity:true,src:"javascript:false;"},s||{});var prop=function(n){return n&&n.constructor==Number?n+"px":n},html='<iframe class="bgiframe"frameborder="0"tabindex="-1"src="'+s.src+'"style="display:block;position:absolute;z-index:-1;'+(s.opacity!==false?"filter:Alpha(Opacity='0');":"")+"top:"+(s.top=="auto"?"expression(((parseInt(this.parentNode.currentStyle.borderTopWidth)||0)*-1)+'px')":prop(s.top))+";left:"+(s.left=="auto"?"expression(((parseInt(this.parentNode.currentStyle.borderLeftWidth)||0)*-1)+'px')":prop(s.left))+";width:"+(s.width=="auto"?"expression(this.parentNode.offsetWidth+'px')":prop(s.width))+";height:"+(s.height=="auto"?"expression(this.parentNode.offsetHeight+'px')":prop(s.height))+';"/>';return this.each(function(){if($("> iframe.bgiframe",this).length==0){this.insertBefore(document.createElement(html),this.firstChild)}})}return this}})(jQuery);function SetPopup(){$(".popup-content").bgiframe();$("div.popup-hover").mouseover(function(){$(this).parents(".popup-wrapper-outer").css("position","relative");$(this).addClass("popup-hover-hovered")});$("div.popup-hover").mouseout(function(){$(this).removeClass("popup-hover-hovered");$(this).parents(".popup-wrapper-outer").css("position","static")})}function TabbedComponent(){$(".content-tabbed").not(".first-tabbed").addClass("display-none");$("#nav-content-tertiary-list > li").click(function(){var idCurrent=$(this).attr("id");$(".content-tabbed").addClass("display-none");$("#content-"+idCurrent).removeClass("display-none");$("#nav-content-tertiary-list > li").removeClass("active");$(this).addClass("active");return false})}function ShowPopup(popupMessageStyles,popupMessageContent){$("body").append('<div id="grey-screen">&nbsp;</div><div id="popup-container"><div id="popup-message"><div id="close-popup"><a id="close-popup-link" class="close-popup-link" href="#" ><span>Close</span></a></div></div></div>');$("#grey-screen").css({opacity:0.7,width:getPageSize()[0],height:getPageSize()[1]});$("embed, object, select").css({visibility:"hidden"});$("#popup-message").append($("#"+popupMessageContent+" > *")).css(popupMessageStyles);$("#popup-container").css({top:getPageScroll()[1]+(getPageSize()[3]/10)-50,left:getPageScroll()[0]}).show().animate({top:"+=50"},400);$(window).resize(function(){$("#grey-screen").css({width:getPageSize()[0],height:getPageSize()[1]});$("#popup-container").css({top:getPageScroll()[1]+(getPageSize()[3]/10),left:getPageScroll()[0]})});$(".close-popup-link").click(function(){ClearPopMsg(popupMessageContent);return false});document.getElementById("close-popup-link").focus()}function ClearPopMsg(whichContent){$("#"+whichContent).append($("#popup-message > *:not(#close-popup)"));$("#popup-container").remove();$("#grey-screen").fadeOut(function(){$("#grey-screen").remove()});$("embed, object, select").css({visibility:"visible"})}function getPageSize(){var xScroll,yScroll;if(window.innerHeight&&window.scrollMaxY){xScroll=window.innerWidth+window.scrollMaxX;yScroll=window.innerHeight+window.scrollMaxY}else{if(document.body.scrollHeight>document.body.offsetHeight){xScroll=document.body.scrollWidth;yScroll=document.body.scrollHeight}else{xScroll=document.body.offsetWidth;yScroll=document.body.offsetHeight}}var windowWidth,windowHeight;if(self.innerHeight){if(document.documentElement.clientWidth){windowWidth=document.documentElement.clientWidth}else{windowWidth=self.innerWidth}windowHeight=self.innerHeight}else{if(document.documentElement&&document.documentElement.clientHeight){windowWidth=document.documentElement.clientWidth;windowHeight=document.documentElement.clientHeight}else{if(document.body){windowWidth=document.body.clientWidth;windowHeight=document.body.clientHeight}}}if(yScroll<windowHeight){pageHeight=windowHeight}else{pageHeight=yScroll}if(xScroll<windowWidth){pageWidth=xScroll}else{pageWidth=windowWidth}arrayPageSize=new Array(pageWidth,pageHeight,windowWidth,windowHeight);return arrayPageSize}function getPageScroll(){var xScroll,yScroll;if(self.pageYOffset){yScroll=self.pageYOffset;xScroll=self.pageXOffset}else{if(document.documentElement&&document.documentElement.scrollTop){yScroll=document.documentElement.scrollTop;xScroll=document.documentElement.scrollLeft}else{if(document.body){yScroll=document.body.scrollTop;xScroll=document.body.scrollLeft}}}arrayPageScroll=new Array(xScroll,yScroll);return arrayPageScroll}var higanchor="";function LightBoxDisplay(lbCID,lbURL){$("body").append('<div id="grey-screen">&nbsp;</div><div id="popup-container"><div id="popup-message"><div id="close-popup"><a id="close-popup-link" class="close-popup-link" href="#" ><span>Close</span></a></div><div id="popup-message-content"><img src="/sites/hig_standard/build_3/imgs/ajax-loader.gif" height="32" width="32" /></div></div></div>');$("#grey-screen").css({opacity:0.7,width:getPageSize()[0],height:getPageSize()[1]});$("embed, object, select").css({visibility:"hidden"});$("#popup-container").css({top:getPageScroll()[1]+(getPageSize()[3]/10)-50,left:getPageScroll()[0]}).show().animate({top:"+=50"},400);$("#popup-message-content").load(lbURL,function(){document.getElementById("close-popup-link").focus();if(lbURL.indexOf("#")>=0){higanchor=lbURL.substring(lbURL.indexOf("#")+1);sethiganchorfocus()}if($("#popup-message-content h4.content-title").length>0){$("#close-popup").after($("h4.content-title"));$("#popup-message-content").css({position:"relative"})}});$(window).resize(function(){$("#grey-screen").css({width:getPageSize()[0],height:getPageSize()[1]});$("#popup-container").css({top:getPageScroll()[1]+(getPageSize()[3]/10),left:getPageScroll()[0]})});$(".close-popup-link").click(function(){ClearLightBox();return false})}function sethiganchorfocus(){if(document.getElementById(higanchor)!=null){popupContainerTopOffset=$("#popup-container").offset().top;$("#"+higanchor).parents(".TabContentContainer").animate({scrollTop:$("#"+higanchor).offset().top-popupContainerTopOffset-100},"slow")}}function ClearLightBox(){$("#popup-container").remove();$("#grey-screen").fadeOut(function(){$("#grey-screen").remove()});$("embed, object, select").css({visibility:"visible"})}function VideoLightBoxDisplay(lbURL,width){$("body").append('<div id="grey-screen">&nbsp;</div><div id="popup-container"><div id="popup-video"><div id="close-popup"><a id="close-popup-link" class="close-popup-link" href="#" ><span>Close</span></a></div><div id="popup-message-content"><img src="/sites/hig_standard/build_3/imgs/ajax-loader.gif" height="32" width="32" /></div></div></div>');$("#grey-screen").css({opacity:0.7,width:getPageSize()[0],height:getPageSize()[1]});if(ieVersion=="6"){$("embed, object, select").css({visibility:"hidden"})}if(ieVersion=="6"||ieVersion=="7"){$("#popup-video").css({width:width*1+2})}$("#popup-container").css({top:getPageScroll()[1]+(getPageSize()[3]/10)-50,left:getPageScroll()[0]}).show().animate({top:"+=50"},400);$("#popup-message-content").load(lbURL,function(){document.getElementById("close-popup-link").focus();if($("#popup-message-content h4.content-title").length>0){$("#close-popup").after($("h4.content-title"));$("#popup-message-content").css({position:"relative"})}});$(window).resize(function(){$("#grey-screen").css({width:getPageSize()[0],height:getPageSize()[1]});$("#popup-container").css({top:getPageScroll()[1]+(getPageSize()[3]/10),left:getPageScroll()[0]})});$(".close-popup-link").click(function(){ClearLightBox();return false})};$(function(){$('#nav-utility .has-mega-nav').attr('class','has-mega-nav-script');$('#nav-utility .has-mega-nav-script').hover(function(){$(this).children('.utility-mega-nav-wrapper').slideDown(300,'easeInQuint');},function(){$(this).children('.utility-mega-nav-wrapper').slideUp(200,'easeOutQuint');});});$(function(){$('a[target^="jpopup"]').click(function(){var href=$(this).attr('href');var arrTarget=$(this).attr('target').split("-");var theW="960";var theH="800";if(arrTarget[1]){theW=arrTarget[1];}if(arrTarget[2]){theH=arrTarget[2];}openBWindow(href,'New_Window','true',theW,theH,10,10);return false;});});
