/* toggleVal plugin
   This will allow the user to see text inside of the search
   field, but when they place their cursor in that field
   the default text is removed so they can input their own text
   
******************************************************************/
$(function() {
	$("#input_search").toggleVal();
});

/* make rounded corners
   This will add additional div tags around certain boxes to create
   a rounded corner effect.
******************************************************************/
$(function() {	
	$('#content').each(function() {
		var pad_top = $(this).css('padding-top');
		var pad_bottom = $(this).css('padding-bottom');
		var pad_left = $(this).css('padding-left');
		$(this).css({'padding-top':'0px', 'padding-bottom':'0px'})
	 		.prepend('<div class="tl" style="height:' + pad_top + '; margin:0px -' + pad_left + ';"><div class="tr"></div></div>')
	 		.append('<div class="bl" style="height:' + pad_bottom + '; margin:0px -' + pad_left + ';"><div class="br" style="height:' + pad_bottom + ';"></div></div>');
	});
});

$(function() {	
	$('#secnav').before('<div id="secnav_top"></div>')
});