Sounds like a problem known to HP. The beep code with one long and two short beeps is a graphics problem. The graphics are integrated in the main board. Should be a free fix but not everywhere (not here in the UK at least)
Go here http://h10025.www1.hp.com/ewfrf/wc/document?lc=en&dlc=en&cc=us&docname=c01087277 to check if yours is eligable for a free fix.
If yours isn't there then it's bad news alas.
George, June 2009