removed alert and used jquery effects