        Cufon.replace('div#newslist ul li a, ul#menu li a, ul.gallerynav li',{hover:true,hoverables:{a:true}});

        $(document).ready(function(){

				$('div#newslist ul li a:first').addClass("current");

				$('div#newslist ul li a').click(function(){

					$('div#newslist ul li a').removeClass('current');
					$(this).addClass('current');

					Cufon.refresh();

					return false;

				});

			});

$(document).ready(function(){
zoombox.FLVPlayer = "style/js/zoombox/FLVplayer.swf",   // URL of the FLV Player
zoombox.MP3Player = "style/js/zoombox/MP3player.swf"  // URL of the MP3 Player
});

$(document).ready(function() {

    $("#ajax-contact-form").submit(function() {
        $('#load').append('<center><img src="ajax-loader.gif" alt="Currently Loading" id="loading" /></center>');

        var fem = $(this).serialize(),
			note = $('#note');

        $.ajax({
            type: "POST",
            url: "contact/contact.php",
            data: fem,
            success: function(msg) {
				if ( note.height() ) {
					note.slideUp(1000, function() { $(this).hide(); });
				}
				else note.hide();

				$('#loading').fadeOut(300, function() {
					$(this).remove();

					// Message Sent? Show the 'Thank You' message and hide the form
					result = (msg === 'OK') ? '<div class="success">Your message has been sent. Thank you!</div>' : msg;

					var i = setInterval(function() {
						if ( !note.is(':visible') ) {
							note.html(result).slideDown(1000);
							clearInterval(i);
						}
					}, 40);
				}); // end loading image fadeOut
            }
        });

        return false;
    });
});

//Time of day greeting
var now = new Date();
var hrs = now.getHours();
var msg = "";

if (hrs >  0) msg = "Good morning"; // REALLY early
if (hrs >  6) msg = "Good morning";      // After 6am
if (hrs >= 12) msg = "Good afternoon";    // After 12pm
if (hrs > 17) msg = "Good evening";      // After 5pm
if (hrs > 22) msg = "Good evening";        // After 10pm
