Beware of popups, but if you go to
this site
, they have a snippet of javascript code for that.
I agree with Silvy, there is no way to completely safeguard the images (they could always just screen capture into mspaint...)
For trademark purposes, watermarking is your best option.