// JavaScript Document

window.addEvent('domready', function() {
    $$('a[href^=mailto:]').each(function(el) {
        var link = el.get('href');
        var matches = link.match(/(\w*)-at-dot(\w*)after(\w*)$/);
        //Flip the data around and change the href of the element.
        el.set('href', 'mailto:'+matches[1]+'@'+matches[3]+'.'+matches[2]);
    });
	
	$$('div#contactWrapper img').each(function(aha){
	aha.align = "absbottom";
	});
	
});
