// Place your application-specific JavaScript functions and classes here
// This file is automatically included by javascript_include_tag :defaults
document.observe("dom:loaded", function() {
	var text = $('text');
	var links = $$('a[rel=external]');
	
	Event.observe(text, 'click', function(e) { Event.element(e).setStyle({ background: 'none' }) });
	links.each(function(link) { link.target = "_blank"; });
});
