// PNG fix for IE 6
$(document).ready(function(){

	$(document).pngFix();

});

// preload images
jQuery.preloadImages = function()
{
	for(var i = 0; i<arguments.length; i++)
	{
		jQuery("<img>").attr("src", arguments[i]);
	}
}

// rollover images
$(document).ready(function(){

    $('.rollover').hover(function(){
        img = $(this);
        curImg = $(this).attr('src');
        rplImg = curImg.replace('-off','-on');
        $(this).attr('src',rplImg);
    },function(){
        $(img).attr('src',curImg);
    })

});

// main menu rollovers
$(document).ready(function() {
    $("#menu li").hover(function() {
        $(this).not(".active").addClass("over");
    },function(){
        $(this).not(".active").removeClass("over");
    });
});
