/* Ganderson Law */
$(document).ready(function() {

	// flash
	$('#flash').flash({
		src: '/flash/slider.swf',
		wmode: 'transparent', 
		width: 628,
		height: 206
	});
	
	// Clear form field on focus
	$('.txt').focus( function() { if( $(this).val() == $(this).attr("defaultValue") ) { $(this).val(''); } });
	$('.txt').blur( function() { if( $(this).val() == "" ) { $(this).val( $(this).attr("defaultValue") ); } });
	
	// EXPANDIBLE BIO AREA
	//Hide (Collapse) on load
	$("#expand-section").hide(); 
	//Slide up and down on click
	$(".expandit a").click(function(){
		$("#expand-section").slideToggle("slow"); 
		$(".expandit").hide();
		$(".collapseit").show();		
		return false;
	});
	//Slide up and down on click
	$(".collapseit a").click(function(){
		$("#expand-section").slideToggle("slow");
		$(".collapseit").hide();
		$(".expandit").show();	
		return false;
	});
	
	// GOOGLE MAP POPUP
	$(".googlemap").colorbox({width:"80%", height:"80%", iframe:true});


});

