I disabled the mouse pad and handed out an external mouse. Bingo.
It's very frustrating and makes writing papers near impossible. I'll have a selected window such as a firefox window but after maybe a minute of it being selected it becomes unselected. This results in me typing something and then noticing that I hadn't typed the last few sentences. What's also weird is that it will go back into the same window resulting in fragments of sentences. I really have no idea what to do. I have windows xp on a dell dimension E510 computer.