Cufon.replace('#HomeSlides h2', { fontFamily: 'Avenir Roman' }); Cufon.replace('#HomeSlides h3', { fontFamily: 'Avenir Roman' }); Cufon.replace('#BodyText .HomeBottom h3', { fontFamily: 'Avenir Roman' }); Cufon.replace('#BodyText #IncentivesRebatesHome h4', { fontFamily: 'Avenir Roman' }); Cufon.replace('#BodyText #IncentivesRebatesHome li', { fontFamily: 'Avenir Roman' }); //Cufon.replace('#navigation_new_dropdown li', { fontFamily: 'Avenir Roman' }); Cufon.replace('#BodyText .customerstories h3',{hover: false, fontFamily: 'Avenir Heavy'}); Cufon.replace('#BodyText .customerstories h4',{hover: true, fontFamily: 'Avenir Heavy'}); Cufon.replace('#BodyText .customerstories h4 span',{hover: false, fontFamily: 'Avenir Heavy'}); Cufon.replace('#BodyText .customerstories p',{hover: true, fontFamily: 'Avenir'}); Cufon.replace('#SubColSecondary .customerstories p',{hover: true, fontFamily: 'Avenir'}); $(function() { $('#s1').cycle({ fx: 'fade', speed: 500, timeout: 9000, random: 0, pager: '#nav', pagerAnchorBuilder: function(idx, slide) { return ''; } }); $('#goto1').click(function() { $('#s1').cycle(0); return false; }); $('#goto2').click(function() { $('#s1').cycle(1); return false; }); $('#goto3').click(function() { $('#s1').cycle(2); return false; }); $('#goto4').click(function() { $('#s1').cycle(3); return false; }); }); $.fn.cycle.updateActivePagerLink = function(pager, currSlideIndex) { $(pager).find('li').removeClass('activeLI') .filter('li:eq('+currSlideIndex+')').addClass('activeLI'); }; $(function() { $('#HomeSlides').cycle({ fx: 'fade', speed: 500, timeout: 9000, random: 0, pager: '#HomeSlidesNav', pagerAnchorBuilder: function(idx, slide) { return ''; } }); $('#homeslidesgoto1').click(function() { $('#HomeSlides').cycle(0); return false; }); $('#homeslidesgoto2').click(function() { $('#HomeSlides').cycle(1); return false; }); $('#homeslidesgoto3').click(function() { $('#HomeSlides').cycle(2); return false; }); $('#homeslidesgoto4').click(function() { $('#HomeSlides').cycle(3); return false; }); $('#InTheNewsHomeSlideshow').cycle({ fx: 'fade', speed: 1000, timeout: 4000, random: 0 }); $("#IncentivesRebatesHome .dropdown").mouseenter(function(){$('#dropdownmenu').show();}).mouseleave(function(){$('#dropdownmenu').fadeOut();}); }); $.fn.cycle.updateActivePagerLink = function(pager, currSlideIndex) { $(pager).find('li').removeClass('activeLI') .filter('li:eq('+currSlideIndex+')').addClass('activeLI'); }; $(document).ready(function() { $('#MainColSecondary .popup_box_link').fancyZoom({width:520}); $('a.zoom').fancyZoom({scaleImg: true, closeOnClick: true}); $('#OfferHome .popup_box_link').fancyZoom({width:670}); $('.popup_box_link').fancyZoom({width:690}); $("#20463936490").validate({ rules: { q3_Email: { required: true, email: true } } }); $("#2890206431").validate({ rules: { q7_yourEmail: { required: true, email: true }, q12_referralEmail: { required: true, email: true } } }); $("#1614349184").validate({ rules: { q9_emailAddress9: { required: true, email: true } } }); $("#23524967388973").validate({ rules: { q3_emailAddress: { required: true, email: true } } }); $("#save-form").validate({ rules: { email: { required: true, email: true } } }); });