var confirmMessage			= "Please be advised that you are leaving First Citizens National Bank's website. This link is provided as a courtesy.  First Citizens National Bank does not endorse or control the content of third party websites.";
var alertMessage			= "As stated in the materials that you received, voting must be completed before 3:00 am eastern standard time on April 20, 2010 in order to be counted.";
function warn() {
	return(alert(message));
}

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


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

	alertLinks.each(function(element, i) {
		element.addEvent('click', function( event ){
    	event = new Event(event);
			if( confirm(alertMessage) ) {
				return true;
			} else {
				event.stop();
				return false;
			}

		});
	});

	confirmLinks.each(function(element, i) {
		element.addEvent('click', function( event ){
    	event = new Event(event);
			if( confirm(confirmMessage) ) {
				return true;
			} else {
				event.stop();
				return false;
			}

		});
	});
 	
 
});
