// JFlow Slider
            $(document).ready(function(){
                $("#slider").jFlow({
                    slides: "#slider_img",
                    controller: ".jFlowControl", // must be class, use . sign
                    slideWrapper : "#jFlowSlide", // must be id, use # sign
                    selectedWrapper: "jFlowSelected",  // just pure text, no sign
                    width: "730px",
                    height: "404px",
                    easing: "easeInOutElastic",
                    duration: 300,
                    prev: ".jFlowPrev", // must be class, use . sign
                    next: ".jFlowNext" // must be class, use . sign
                });
            });
	
	// 
	$(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);
			});
	});
	
	// Fade loading images
	$(document).ready(function(){
		$(".fade").fadeTo(1, 0);
	});
	
	$(window).load(function(){
		$(".fade").fadeTo("slow", 1);
	});
	
	
	
	// Smoothscroll
	$('a[href*=#]').click(function() {
	
	   // duration in ms
	   var duration=1000;
	
	   // easing values: swing | linear
	   var easing='swing';
	
	   // get / set parameters
	   var newHash=this.hash;
	   var target=$(this.hash).offset().top;
	   var oldLocation=window.location.href.replace(window.location.hash, '');
	   var newLocation=this;
	
	   // make sure it's the same location      
	   if(oldLocation+newHash==newLocation)
	   {
		  // animate to target and set the hash to the window.location after the animation
		  $('html:not(:animated),body:not(:animated)').animate({ scrollTop: target }, duration, easing, function() {
	
			 // add new hash to the browser location
			 window.location.href=newLocation;
		  });
	
		  // cancel default click action
		  return false;
	   }
	
	});
	
	
	// VALIDATION REPLY FORM //
    $(document).ready(function() {
        $("#reply-form").validate();
        $("#contact-form").validate();
    });
	
	$(document).ready(function() { 
			$('#map_canvas').googleMaps({
					  latitude: 	45.545491,
					  longitude: -73.621926,
				  markers: {
					  latitude: 	45.545491,
					  longitude: -73.621926
				  }
			  }); 
		  });
	
	//Jquery PrettyPhoto Plugin

