The temple was built between c. 975 and 1100 A.D.
The temple is dedicated to Lord Vishnu. The main idol of the temple is broken and headless(see image)......Wikipedia