// JavaScript Document
 $(document).ready(function(){
		
		if ($(".content").height() < '550'){		
		$(".content").css({"min-height":"550px"});
		}
		//var cHeight = $(".content").height();
		//var hHeight = $(".header").height();
		//var lnHeight = $(".left-nav").height();
		//var rH = cHeight + hHeight +10;
		//if (cHeight > lnHeight){
		//	$(".left-menu").css({"min-height": rH + "px"});
		//} else if (lnHeight > cHeight){
		//	$(".content").css({"height": rH + "px"});
		//}
		//$('a').click(function(e){e.preventDefault()});
		
		$(".free-estimate").click(function() { window.location=$(this).find("a").attr("href"); return false; });
		//$(".ad").click(function() { window.location=$(this).find("a").attr("href"); return false; });
		
		//$('.header-top').css('top', $(this).scrollTop() + "px");
		$(window).scroll(function() {
			if($(this).scrollTop()>='154'){
				$('.navigation').css('top', '0px');
				$('.navigation').css('position', 'fixed');
			}
			else {
				$('.navigation').css('top', '');
				$('.navigation').css('position', '');
			}
		});
	});
