// <![CDATA[
function openWin(windowURL, windowName, windowFeatures) {
	return window.open(windowURL, windowName, windowFeatures);
}

Event.observe(window,'load', function(){
	// Convert rel='external' to target blank
	$$('a[rel="external"]').each(function(link){
		if(link.readAttribute('href') != '' && link.readAttribute('href') != '#'){
			link.writeAttribute('target','_blank');
		}
	});
})

// ]]>
