javascript event

I try to jump to a certain website when I click on an image field. The javascript procedure generated by SC is:

function sc_logo_onclick()
{
window.location.href = ‘http://www.ouderkracht.nl/something’;
}

but, when I click the image nothing happens. Why?

(something is added to prevent google finding the cms site, in my code the correct url shows)

By the way, if you put a javascript alert into the onclick event it doesn’t work either