Thanks for your comments Eric!
Found the problem anyway, at first I thought it might have been dodgy RAM because I replaced it and it turned on and worked fine, for 2 hours anyway, I turned on and off the computer a few times and it was fine, and then was able to install OS X! then before I...