//$(document).pngFix();  /* PNG FIX FOR IE6 *//* BEGIN HOME PAGE ACTIONS */$(".slide:first").css({"left" : "0px"});$(".arrow:first").fadeIn();	$("#slideNav a").click(function() {	var slide = $(this).attr("href");	var current = $(slide).css("left");		if(current == "0px"){			}else{				if(slide == "#slide1"){			$("#slideNav a").removeClass();			$(this).addClass("active1");			$(".colorBar").fadeOut(1000);			$("#colorBar1").fadeIn(1000);		}else if(slide == "#slide2"){			$("#slideNav a").removeClass();			$(this).addClass("active2");			$(".colorBar").fadeOut(1000);			$("#colorBar2").fadeIn(1000);		}else{			$("#slideNav a").removeClass();			$(this).addClass("active3");			$(".colorBar").fadeOut(1000);			$("#colorBar3").fadeIn(1000);		}				$(".slide .textContent").fadeOut("fast");		$(".arrow").fadeOut("fast");				$(".slide").animate({left: '-720px'}, 500, function() {			$(slide).animate({left: '0px'}, 500, function() {				$(".textContent").fadeIn("slow");			});		});				$(this).find(".arrow").fadeIn("slow");					}		return false;	});/* END HOME PAGE ACTIONS *//* SERVICES PAGE ACTIONS */var section = window.location.hash;$(".servicesTable tr:odd td").css({"background-color" : "#FFFFFF"});function resize(){	var leftColumnHeight = $("#services .leftColumn").height();	var rightColumnHeight = $("#services .rightColumn").height();	var contentColumnHeight = $("#services .rightColumnContent").height();		var contentWrapHeight = $("#services .contentWrap").height();	//	$("#services .rightColumn").css({"height" : contentColumnHeight + 40});//	$("#services .leftColumn").css({"height" : contentColumnHeight + 40});	$("#services .leftColumn").css({"height" : contentColumnHeight + 60});};$("#servicesNav a:last").css({"font-size":"14px"});$("#servicesNav a").click(function() {	var content = $(this).attr("href");	$(".servicesContent").hide();	$(content).show();	$("#servicesNav a").removeClass("active");	$(this).addClass("active");		resize();	return false;});$(".findLink").click(function() {	var content = $(this).attr("href");	$(".servicesContent").hide();	$(content).show();	$("#servicesNav a").removeClass("active");	$(this).addClass("active");		resize();	return false;});if(section == ""){		$(".servicesContent:first").show();	$("#servicesNav a:first").addClass("active");	resize();}else{	$("#servicesNav").find("a[href = "+section+"]").triggerHandler("click");}/* END SERVICES PAGE ACTIONS *//* BEGIN GALLERY PAGE ACTIONS */var imageHeight;var imageWidth;var tallImage;var wideImage;$.getJSON("http://api.flickr.com/services/feeds/photoset.gne?set=72157626127626055&nsid=60526815@N05&lang=en-us&format=json&jsoncallback=?", function(data){	$.each(data.items, function(i,item){										$("<img>").attr("src", item.media.m.replace(/_m/i, "_b")).appendTo(".galleryFrame").wrap("<div/>");				function gallerySize(){			imageHeight = $(".galleryFrame div:first").height();			imageWidth = $(".galleryFrame div:first").width();				if(imageHeight > 480){				$(".galleryFrame div:first img").css({"width":"auto"});				$(".galleryFrame div:first img").css({"height": "480px"})			}else if(imageWidth > 720){				$(".galleryFrame div:first img").css({"width":"720px"});				$(".galleryFrame div:first img").css({"height": "auto"});			};		};				$(".galleryFrame div").hide();				$(".galleryFrame div:first").fadeIn("fast", function(){ gallerySize();}).addClass("current");			});	});	$('.galleryContainer a').fadeTo(0, 0.5);$('.galleryContainer a').hover(function () {   	$(this).fadeTo(250, 1);}, function () {   	$(this).fadeTo(250, 0.5);});		$('.next').click(function() {	var next = $(".galleryFrame .current").next("div");	imageHeight = $(next).height();	imageWidth = $(next).width();	if(imageHeight > 480){		$(".galleryFrame div img").css({"height" : "480px"});		$(".galleryFrame div img").css({"width":"auto"});	}else if(imageWidth > 720){		$(".galleryFrame div img").css({"width":"720px"});		$(".galleryFrame div img").css({"height": "auto"});	}		if(next.length == 0){		$(".galleryFrame div").fadeOut("slow").removeClass("current");		$(".galleryFrame div:first").fadeIn("slow").addClass("current");	}else{		$(".galleryFrame div").fadeOut("slow").removeClass("current");		$(next).fadeIn("slow").addClass("current");	}	return false;});	$('.prev').click(function() {	var prev = $(".galleryFrame .current").prev("div");	imageHeight = $(prev).height();	imageWidth = $(prev).width();	if(imageHeight > 480){		$(".galleryFrame div img").css({"height" : "480px"});		$(".galleryFrame div img").css({"width":"auto"});	}else if(imageWidth > 720){		$(".galleryFrame div img").css({"width":"720px"});		$(".galleryFrame div img").css({"height": "auto"});	}		if(prev.length == 0){		$(".galleryFrame div").fadeOut("slow").removeClass("current");		$(".galleryFrame div:last").fadeIn("slow").addClass("current");	}else{		$(".galleryFrame div").fadeOut("slow").removeClass("current");		$(prev).fadeIn("slow").addClass("current");	}	return false;});/* END GALLERY PAGE ACTIONS *//* CONTACT PAGE ACTIONS */	$(".error").hide();		function verify_form() {	    var formGood = true;	    $("#contactForm input, #contactForm textarea").each(function() {        if ($(this).val() == "") {            $("div.error").text("All form fields are required");            $("div.error").fadeIn("slow");            formGood = false;        }		    });    return formGood;}
