$(document).ready(function () {
        $.each($('ul.pfaq'), function(){
          $('#' + this.id + '.expandfirst ul:first').show();
        });
        
        $('ul.pfaq > li').find('a:first').click(
          function() {
            var checkElement = $(this).next();
            if(checkElement.get(0).tagName == "BR")
              checkElement = $(this).next().next();
            
            var parent = this.parentNode.parentNode.id;
                
            if((!checkElement.is(':visible'))) {  
              $('#' + parent + ' ul:visible').prev().removeClass("showing");
              $('#' + parent + ' ul:visible').slideUp('normal');
              checkElement.find("ul").show();
              checkElement.find("ul ul").hide();
              checkElement.slideDown('normal');
              $(this).addClass("showing");
              return false;
            } else {
              $('#' + parent + ' ul:visible').prev().addClass("showing");
              $('#' + parent + ' ul:visible').slideDown('normal');
              checkElement.find("ul").hide();
              checkElement.find("ul ul").show();
              checkElement.slideUp('normal');
              $(this).removeClass("showing");
              return false;
            }

          }
        );
        
        $('.buttonFade').hover(function(){
          // grab the div's id
          var id = $(this).attr("id");
          
          // hide the caption
          $("#"+id+" .buttonOver").hide();
    
          // over
          $("#"+id+" .buttonOver").fadeIn("slow");
      
        },function(){
          //out
          var id = $(this).attr("id");
          $("#"+id+" .buttonOver").fadeOut("slow");
        });
        
        dw_fontSizerDX.setDefaults('px', 12, 12, 32, ['#sitecontent *', '#homeboxleft *', '#homeboxcenter *']);
        dw_fontSizerDX.set(12, 12, 32, ['#submenu *']);
		dw_fontSizerDX.set(12, 12, 32, ['#footer *']);
		dw_fontSizerDX.set(12, 12, 16, ['#menu ul', '#menu li', '#menu a']);
      });
