window.addEvent('domready', function() {


	var alertLinks 		= $$( ".warn" );
	var confirmLinks 	= $$( ".confirm" );
	var emailLinks 		= $$( ".email" );

	alertLinks.each(function(element, i) {
		element.addEvent('click', function(){

			return(alert("Please be advised that you are leaving Fisher National Bank's website. This link is provided as a courtesy.  Fisher National Bank does not endorse or control the content of third party websites."));

		});
	});

	confirmLinks.each(function(element, i) {
		element.addEvent('click', function( event ){
    	event = new Event(event);
			if( confirm("Please be advised that you are leaving Fisher National Bank's website. This link is provided as a courtesy.  Fisher National Bank does not endorse or control the content of third party websites.") ) {
				return true;
			} else {
				event.stop();
				return false;
			}

		});
	});
	
	emailLinks.each(function(element, i) {
		element.addEvent('click', function(){

			return(alert("Please do not send confidential information via non-secure internet correspondence."));

		});
	});
 	
 
});
