You got laid off on Friday the 13th? Man, sorry to hear that. Seems job security is a thing of the past. Where my wife works now is great, she loves here job, they think she's the best thing since sliced bread, but we still don't know how long she'll have that job. She knows her stuff better than a lot of the people who have been there much longer, but that doesn't seem to be a factor these days. It's all about numbers. Amt coming in must exceed amt going out where $ is concerned. If employee X happens to fall within the cut-off zone after the monthly accounting is done then that is the tough luck of employee X.
Keep a stiff upper lip. Life is a roller coaster. Sure, there are downs, but there are also ups!