$(document).ready(function() {	
	
	/* IE6 PNG Fix */
	$('body, img, div').pngFix();
	
	//$('img#blurb').css('opacity', 0.5).animate({ left : "130px" }, 900).animate( {opacity:1.0}, 800);
	$('img#blurb').animate({left:"130px"}, 900);
	
	/* Smooth Anchor Point Scrolling */
	$('a[href*=#]').each(function() {
		if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') && location.hostname == this.hostname && this.hash.replace(/#/,'') ) {
			var $targetId = $(this.hash), $targetAnchor = $('[name=' + this.hash.slice(1) +']');
			var $target = $targetId.length ? $targetId : $targetAnchor.length ? $targetAnchor : false;
			
			if ($target) {
				var targetOffset = $target.offset().top;
				$(this).click(function() {
					$('html, body').animate({scrollTop: targetOffset}, 600);
					return false;
				});
			}
		}
	});
	/* End Smooth Scroller */
	
	
	/* Animate Top Header Menu On Hover */
	var slideMeAtSpeed = 150;
	$('div#header-menu ul li a').hover(
		function() { $(this).animate({ paddingLeft: '12px' }, slideMeAtSpeed); }, function() { $(this).animate({ paddingLeft: '0px' }, slideMeAtSpeed); }
	);
	
	$('img#servicestext').hide().slideDown(1200);
	
});
