jQuery.extend(jQuery.easing,{def:'easeOutQuad',swing:function(a,b,c,d,e){return jQuery.easing[jQuery.easing.def](a,b,c,d,e)}});$(document).ready(function(){ $(".datepicker").datepicker(); $('#carousel').css('overflow-y','hidden');$('.socialBar_hideToggle').click(function(){$('#socialBarWrapper').animate({height:'0px'},'fast',function(){$('.socialBar_showToggleWrapper').animate({height:'30px'},'fast')})}); $('.titleRSSfeed a').click(function(){ pageTracker._trackPageview('/tracking/news_rss'); }); $('.socialBar_showToggle').click(function(){$('.socialBar_showToggleWrapper').animate({height:'0px'},'fast',function(){$('#socialBarWrapper').animate({height:'30px'},'fast')})});$('.lightbox').lightBox();$('ul.categoryitems>li>a').click(function(){$.cookie("expandableMenu",'yes',{path:'/'})});$('.arrowlistmenu>ul>li>a').click(function(){$.cookie("expandableMenu",'no',{path:'/'})});$('#topNav>.topNavOption>a').click(function(){$.cookie("expandableMenu",'no',{path:'/'})});$('#footer>.footerOption>a').click(function(){$.cookie("expandableMenu",'no',{path:'/'})})});ddaccordion.init({headerclass:"expandable",contentclass:"categoryitems",revealtype:"click",collapseprev:true,defaultexpanded:[],animatedefault:false,persiststate:true,toggleclass:["","openheader"],togglehtml:["prefix","",""],animatespeed:"normal",oninit:function(a,b){},onopenclose:function(a,b,c,d){}})


//
//$.uicornerfix = function(r){
//  DD_roundies.addRule('.ui-corner-all', r);
//  DD_roundies.addRule('.ui-corner-top', r+' '+r+' 0 0');
//  DD_roundies.addRule('.ui-corner-bottom', '0 0 '+r+' '+r);
//  DD_roundies.addRule('.ui-corner-right', '0 '+r+' '+r+' 0');
//  DD_roundies.addRule('.ui-corner-left', r+' 0 0 '+r);
//  DD_roundies.addRule('.ui-corner-tl', r+' 0 0 0');
//  DD_roundies.addRule('.ui-corner-tr', '0 '+r+' 0 0');
//  DD_roundies.addRule('.ui-corner-br', '0 0 '+r+' 0');
//  DD_roundies.addRule('.ui-corner-bl', '0 0 0 '+r);
//};
//
//
//DD_roundies.addRule('#nav > li', '5px 5px 0px 0px');


//DD_roundies.addRule('.corner5', '5px 5px 5px 5px');
//DD_roundies.addRule('.corner10', '10px 10px 10px 10px');
//DD_roundies.addRule('.cornerBottom', '0px 0px 5px 5px');
//DD_roundies.addRule('.cornerTop', '5px 5px 0px 0px');


//DD_roundies.addRule('.contentHeader', '10px 0px 0px 0px');

