Adding mouseover and onclick events