$(document).ready(function(){

  //If browser is IE, disable BackgroundImageCache
  if (jQuery.browser.msie)
  {
    try
    {
      document.execCommand(
        "BackgroundImageCache",
        false, 
        true);
    } catch(err){}
  }

$("div#homepagefeatured p").addClass("pointerhand");
  
$('div#homepagefeatured h5').toggle(
	function(){
		$(this).find("../p").slideUp('fast');
	},
	function(){
		$(this).find("../p").slideDown('fast');
	}
);
      
$("div#homepagefeatured h5").addClass("pointerhand");


    $("#menuList li").hover(
        function(){ $("ul", this).show(); }, 
        function(){ } 
    );
    if (jQuery.browser.msie) {
        $("#menuList li").hoverClass ("sfHover");
    };



	

$(".ruled tr").mouseover(function() {$(this).addClass("over");}).mouseout(function() {$(this).removeClass("over");});
$(".ruled tr:even").addClass("alt");

$('input:text').hint();

});

$('#pagedtext').pager('div', {
      height: '40em'
    });
	


$.fn.hoverClass = function(c) {
    return this.each(function(){
        $(this).hover( 
            function() { $(this).addClass(c);  },
            function() { $(this).removeClass(c); }
        );
    });
}; 