Colorbox

got rid of DOMWindow in favor of colorbox,
i had to upgrade jQuery to a newer version : from 1.4.1 to 1.5.2, but i didn't have to add this version of the lib because it was already included.
I probably forgot a few dozens of implications, tell me if it is the case.