$(document).ready(function(){
    $("tr:even").addClass("even");
    $("tr:odd").addClass("odd");

    function dom(shortName) {
	switch (shortName) {
	case "g" : return "gmail.com";
	case "o" : return "o2.pl";
	case "on" : return "onet.pl";
	case "w" : return "wp.pl";
	default: return "mises.pl";
	}
    }
    $('a.contact').html("kliknij, aby zobaczyć email");
    $('a.contact').click(function()	{
	return unhideEmail(this, (this.rel) ? this.rel : 'mises',
			   (this.rev) ? dom(this.rev) : 'mises.pl');
    });
    
    // dodaje brakujace atrybuty alt w img, ale validator tego nie uznaje...
    $('img:not([alt])').attr("alt", "");
});
