window.onload=function(){slideMenu.build("sm",500,10,10,3)};var slideMenu=function(){var a,b,c,d,e,f,g,h,i;return{build:function(h,j,k,n,o,p){a=n;b=j;c=k;d=document.getElementById(h);e=d.getElementsByTagName("li");f=e.length;g=d.offsetWidth;j=g/f;i=Math.floor((g-b)/(f-1));var q=0;for(q;q<f;q++){n=e[q];n.style.width=j+"px";this.timer(n)}if(o!=null){d.timer=setInterval(function(){slideMenu.slide(e[o-1])},c)}},timer:function(a){a.onmouseover=function(){clearInterval(d.timer);d.timer=setInterval(function(){slideMenu.slide(a)},c)}},slide:function(c){var h=parseInt(c.style.width,"10");if(h<b){var j=0;var k=0;for(k;k<f;k++){if(e[k]!=c){var n,o;var p=0;n=e[k];o=parseInt(n.style.width,"10");if(o>i){p=Math.floor((o-i)/a);p=p>0?p:1;n.style.width=o-p+"px"}j=j+(o-p)}}c.style.width=g-j+"px"}else{clearInterval(d.timer)}}}}();jQuery(document).ready(function(){jQuery(".heading").click(function(){jQuery(this).next(".content").slideToggle(400)})});$().ready(function(){$("#coda-slider-1").codaSlider({autoSlide:true,autoSlideInterval:6e3,autoSlideStopWhenClicked:true,dynamicArrows:false,dynamicTabsPosition:"bottom"})})
