<human>: Can you provide a brief overview of the text?

I've been job hunting and recently took a position that was temp-to-hire through a staffing agency at a small but growing company.  AFTER taking this position I found out that a better position (much better pay, benefits, etc.) was being offered to me from another company, but the process will take about a month.  It's all pending my ability to get certain documents, which I don't see as a problem but like I said it's about a month down the road and I don't see anything as 100% until I'm actually working there.

So... long story short I want to keep the place I'm at while I get the new job.  I know it will make me look like a giant jerk when I leave because I just started and they are spending time and resources training me.  If I quit now I lose out on several weeks of pay and if something happens that I don't get the better job, then I'll be out of work again altogether and I can't afford that.   My main problem is how am I going to get time off for all of the things I need to do (a few interviews that I know of related to the documentation I need) without getting fired from what I have now?  I also have a completely unrelated appointment next week that was scheduled long ago, so that adds to the time off that I am needing.
<bot>: I have to take time off to get a better job without losing the one I have and I am not sure how to go about doing that.