// ShinyAnt Global jQuery Functions - JavaScript Document
$(document).ready(function(){
	
	//Get the last LI in the Header Area and Navigation List and assign a class of 'last'
	$('ul#header-info li:first').addClass('first');
	$('#navigation li:last').addClass('last');
	$('#footer li:first').addClass('first');
	
	//Makes any link with a class of email a safe mailto link and prevents scraping
	if ($('.email').length > 0){
		$.getScript('js/mailto.js',function(){ 
		// Execute this function once the plugin is loaded
		$('.email').mailto();
		});
	}
	
	//Dynamically clears out any text in the input fields
	if ($('.focus-blur').length > 0){
			$.getScript('js/jquery.valueFx.js',function(){ 
				// Execute this function once the plugin is loaded
				$('.focus-blur').valueFx();
		});
	}

});
