Piece of code from my current portfolio: http://michak.pl