added onrowclick event