jQuery.preloadImages = function()
    {
            for(var i = 0; i<arguments.length; i++)
            {
                    jQuery("<img>").attr("src", arguments[i]);
            }
    }
var j = jQuery.noConflict();

j(document).ready(function() {
   // preload images first (can run before page is fully loaded)
    j.preloadImages("themes/chamber/images/b-heard_on.gif", "themes/chamber/images/b-connected_on.gif", "themes/chamber/images/b-fit_on.gif", "themes/chamber/images/b-global_on.gif", "themes/chamber/images/b-ahead_on.gif");
    j(
            function()
            {
                    // set up rollover
                    j("img.rollover").hover(
                            function()
                            {
                                    this.src = this.src.replace("_off","_on");
                            },
                            function()
                            {
                                    this.src = this.src.replace("_on","_off");
                            }
                    );
            }
    )

});
