/* ------------------------------------------------------------
 * PROJECT        : 
 * FILENAME       : jqload.js
 * ------------------------------------------------------------
 * LAST UPDATED   : 30 Nov 2009
 * ------------------------------------------------------------
 * AUTHOR(S)      : Kevin Scholl (kevin@ksscholl.com)
 * ------------------------------------------------------------
 * NOTE(S)        : 
 * ------------------------------------------------------------ */

$(document).ready(function(){
 
	// adjust margin(s)
  $(""
		+ "div:last-child,"
		+ "fieldset:last-child,"
		+ "form:last-child,"
		+ "img:last-child,"
		+ "li:last-child,"
		+ "ol:last-child,"
		+ "p:last-child,"
		+ "table:last-child,"
		+ "ul:last-child,"
		+ "").css("margin-bottom","0");
	
  // open external links in new browser window
	// $("a[href^='http']").attr("target","_blank");
	
	// add corners to main nav hover state
	$("ul#mainNav li a").cornerz({background: "#900", radius: 3});

	// form field focus
 	$("input:file, input:password, input:text, select, textarea").not("[readonly]").toggleActive();
 	$("input#txtSearch").toggleActive({
		focusBG   : "#EBF5FF",
		toggleVal :  true
	  });
 	$("input#txtSearch").css("border","0");
		
	});

/* ------------------------------------------------------------
 * PLUGINS
/* ------------------------------------------------------------ *?



/* ------------------------------------------------------------
 * FUNCTIONS
 * ------------------------------------------------------------ */

