Opening detail view using javascript function. Thanks Donna