﻿$(document).ready(function() {

	// set opacity to null on page load  
	$("#location-finder-link a span").css("opacity","0"); 
	 
	$("#location-finder-link a span").hover(
		function () {
			// animate opacity to full
			$(this).stop().animate({
				opacity: 1 }, 500);
		},
		// on mouse out
		function () {
			// animate opacity to nill
			$(this).stop().animate({
				opacity: 0 }, 500);
		}
	);

	// set opacity to null on page load 
	$("#btn_rofessional span").css("opacity","0");
	$("#btn_homeowner span").css("opacity","0");  
	$(".btn-search span").css("opacity","0"); 
	
	// on mouse over
	$("#btn_rofessional span").hover(
		function () {
			// animate opacity to fullw
			$(this).stop().animate({
				opacity: 1 }, 500);
		},
		// on mouse out
		function () {
			// animate opacity to nill
			$(this).stop().animate({
				opacity: 0 }, 500);
		}
	);

	$("#btn_homeowner span").hover(
		function () {
			// animate opacity to full
			$(this).stop().animate({
				opacity: 1 }, 500);
		},
		// on mouse out
		function () {
			// animate opacity to nill
			$(this).stop().animate({
				opacity: 0 }, 500);
		}
	); 

	$(".btn-search span").hover(
		function () {
			// animate opacity to full
			$(this).stop().animate({
				opacity: 1 }, 500);
		},
		// on mouse out
		function () {
			// animate opacity to nill
			$(this).stop().animate({
				opacity: 0 }, 500);
		}
	);
}); 

