In this study, we formulated the activity of the lateral intraparietal (LIP) area neurons in the posterior parietal cortex, which controls the allocation of spatial attention. The LIP unit was integrated into the dorsal process of Hamker's model. We modified the dynamics of the frontal eye field (FEF) in the prefrontal cortex of the model in order to control the trigger for engaging or disengaging the focus of spatial attention; we assumed that the FEF is one of the pivotal areas for the inhibition of return (IOR) to the most recent fixation position. Our model reproduced the responses of the LIP neurons and oculomotor scanning behavior during the visual search tasks. The target detection rate of our model was 72%; the simulated scan paths obtained using our model closely resemble the experimental data obtained in monkeys.