added onclick event to checkbox..