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

});
