function servicesChildSlide(h3,child) {var div=$('#'+child);div.slideToggle();}
$(document).ready(function(){var square=$('#square_1, #square_2, #square_3, #square_4, #square_5, #square_6, #square_7, #square_8, #square_9');square.click(function(){var id=$(this).attr('id');var content='#'+id+'_content';if($(content).is(':hidden'))
{var title=$(content).attr('title');$('#subtitle h2').text(title);$('.sub_content:visible').fadeOut(350,function(){$(content).fadeIn(350);});}});var current=$('.current_page_item');var width=current.width();width=width-62;if(width<0){width=15}else if(width<6){width=20;}else if(width==10){width=25}else{width=30;}
current.append('<img style="left:'+width+'px" src="http://iambicinnovation.com/wp-content/themes/iambic/images/underscore.png" alt="underscore" width="62" height="8" />');
var val = ''; var formElements = 'input, textarea';
$(formElements).bind('focus', function() { val = $(this).val(); $(this).val(''); $(this).unbind('focus'); });
$(formElements).blur(function() { var new_val = $(this).val(); if(new_val == '') { $(this).val(val); } });
});
