Cufon.replace('h2,#feature .title',{hover:true}); $(document).ready(function(){ $('.items.ccold ul li:odd').addClass('lastinline'); $('.items.ccolf ul').each(function(){ $('li',this).each(function(idx){ if (idx % 3 == 2) { $(this).addClass('lastinline'); } }); }); $('#contact').hide(); $('#contactlink').click(function(e){ e.preventDefault(); $('#contact').slideToggle(); }); $('ul').each(function(){ var maxh = 0; $('li a',this).each(function(){ if ($(this).height() > maxh) { maxh = $(this).height(); } }); $('li a',this).css({height:maxh}); }); if ($('#footer').css('display') == 'none') { $('#dyn').addClass('dynheight').css({overflow:'auto',height:$(window).height()-$('#dyn').offset().top-5}); } });