/**
 * This script sets the target '_blank' to all aliases which have the css class "external". 
 *
 * you have to insert prototype into your html header before this script.
 *
 * @requirements prototype 1.6
 *
 * @author Helmut Wandl <helmut@wandls.net>
 * @version 1.0
 *
 * @copy STERNWERK 2010
 *
 */
document.observe('dom:loaded', function() {
	$$('a.external,a.newwindow,a.samewindow').each(function(i) {
		if (!i.hasClassName('samewindow'))
         i.target='_blank';
	});
});

