Asian markets close with gains for 3rd straight day