// Hover moving effect
	$(document).ready(function() {
			$(".listing_col a").hover(function() {	//On hover...
				$(this).find("span").stop().animate({ 
					marginLeft: "10" //Find the span tag and move it up 40 pixels
				}, 250);
			} , function() { //On hover out...
				$(this).find("span").stop().animate({
					marginLeft: "0" //Move the span back to its original state (0px)
				}, 250);
			});
			
			$(".subNavContainer ul li a ").hover(function() {	//On hover...
				$(this).find("span").stop().animate({ 
					marginLeft: "10" //Find the span tag and move it up 40 pixels
				}, 250);
			} , function() { //On hover out...
				$(this).find("span").stop().animate({
					marginLeft: "0" //Move the span back to its original state (0px)
				}, 250);
			});
	});

	// Fade loading images
	$(document).ready(function(){
		$(".fade").fadeTo(1, 0);
	});
	
	$(window).load(function(){
		$(".fade").fadeTo("slow", 1);
	});
	

$(document).ready(function(){
	$('a[href=Top]').click(function(){
		$.scrollTo('a[name=Top]','slow');
		return false;
	});
	
	$('a[href=#]').click(function(){
		$.scrollTo('a[name=#]','slow');
		return false;
	});
  
	$(".booknow a:first-child, #buttons a:first-child").click(function(e)
	{
		e.preventDefault();
		window.open(this.href, "Availability").focus();
	});
	
	$("a.virtualtour").click(function(e)
	{
		e.preventDefault();
		window.open(this.href, "VirtualTour", "width=585,height=370").focus();
	});
});

function goToByScroll(id){
     	$('html,body').animate({scrollTop: $("#"+id).offset().top},'slow');
}


	
