if (typeof Driebit == 'undefined') Driebit = {};

Driebit.pseudolink = new Class({
	initialize: function(container) {
		var link = container.getElement('a');
		if (link) {
			container.addEvent('click', (function() { document.location.href = link.get('href'); }));
			container.setStyle('cursor', 'pointer');
		}
	}
});

window.addEvent('domready', function () {
	$$('.pseudolink').each(function (el) {
		new Driebit.pseudolink(el);
	});
});

