// DOM Ready$(function() {	$('#slides').slides({				preload: true,				preloadImage: 'img/loading.gif',				play: 4500,				fadeSpeed: 1500,				crossfade: true,				effect: 'fade'			});	$('a[href=#logo]').click(function(){	$('html, body').animate({scrollTop:0}, 'slow');    return false;    });			  //GALLERY  var galleryItems = $("#content .item a");  var rollImages = $("#content span.rollover");    if(galleryItems.length > 0){    //rollover items    rollImages.css({"display": "none"});    galleryItems.mouseover(function(){      var item = $(this).find(".rollover");      var n = item.queue("fx");      if(n==0){        item.fadeIn();       }    });    galleryItems.mouseleave(function(){      $(this).find(".rollover").fadeOut();    });    // FANCYBOX			$("a.gallery").fancybox({				'opacity'		: false,				'overlayShow'	: false,				'transitionIn'	: 'elastic',				'transitionOut'	: 'elastic',				'titlePosition' 	: 'over',				'hideOnContentClick' : true,				'titlePosition' : 'inside',				'cyclic'	: true	    });  }	 $( "#date1" ).datepicker({			showWeek: true,			firstDay: 1		});	$( "#date2" ).datepicker({			showWeek: true,			firstDay: 1		});    	    /* Kick IE into gear */    $(".current_page_item_two a").mouseenter();		// PRELOADER		$("#content .item").preloadify({        imagedelay: 100,        mode: 'sequency'    });	$( "input:submit, button").button();		$( ".button").button();	});		$('[#date1]').focus(function() {  var input = $(this);  if (input.val() == input.attr('placeholder')) {    input.val('');    input.removeClass('placeholder');  }}).blur(function() {  var input = $(this);  if (input.val() == '' || input.val() == input.attr('placeholder')) {    input.addClass('placeholder');    input.val(input.attr('placeholder'));  }}).blur();
