function initializeExternalLinks() {
	
	$$('a.popped').each(function(link) {
		link.observe('click', function(e){
			var options = 'toolbars=0,directories=0,scrollbars=1,resizable=1,location=0,width=620,innerWidth=620,height=650,innerHeight=650'
			if (link.rev) {
				options = link.rev;
			}
			
			popped = window.open(link.href, 'popped', options);
			popped.focus();
			Event.stop(e);
		})
		
	})
	
}

document.observe('dom:loaded', initializeExternalLinks);


