jQuery(document).ready(function()
    {        
    jQuery('.thumbs img').hover(function()
        {
        var currentBigImage = jQuery('img#bigimage').attr('src');
        var newBigImage = jQuery(this).attr('rel');
        var currentThumbSrc = jQuery(this).attr('src');
        switchImage(newBigImage, currentBigImage, currentThumbSrc);
        },                 function()
        {
        });

    function switchImage(imageHref, currentBigImage, currentThumbSrc)
        {
        var theBigImage = jQuery('img#bigimage');

        if (imageHref != currentBigImage)
            {
            theBigImage.attr("src", imageHref).load(function()
                {
                theBigImage.fadeOut(150, function()
                    {
                    theBigImage.fadeIn(150);
                    });
                });
            }
        }

    jQuery('#contact-more').click(function()
        {
        jQuery('.contact').slideDown("slow");
        });
    });

