Przykład jest banalny, ale nie wiem czemu mi nie działa

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2" /> <title>Untitled</title> <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" /> <link rel="stylesheet" href="../css/colorbox.css" /> <script src="http://code.jquery.com/jquery-1.9.1.js"></script> <script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script> <script type="text/javascript" src="../lib/jquery-1.9.1.js"></script> <script type="text/javascript" src="../lib/jquery-ui-1.10.3.custom.min.js"></script> <script src="../lib/jquery.colorbox-min.js" type="text/javascript"></script> </head> <body> <a href="../grafika/DTM.jpg" rel="gal" title="DTM" >DTM</a> <a href="../grafika/Geodezyjna obsługa inwestycji.JPG" rel="gal" title="Obsługa">Obsługa</a> <a href="../grafika/Mapa_numeryczna.JPG" rel="gal" title="Mapa">Mapa</a> <script> $(document).ready(function() { $('a[rel="gal"]').colorbox(); }); </script> </body> </html>