@intelosama:
No need to feel bad or get depressed, Beetles are old cars and require a lot of attention.
I had the same issue about 3 weeks ago...I had to replace the generator and MashALLAH my car is running just fine....I ended up spending about 1500 only.
By the way, i would recommend that you do a complete check on your car and replace obvious things like, Battery, Spark Plugs, Plug Cables, Fuel Pips, Engine oil, fuel filter, point etc etc, and get it properly tuned.
Once you are done with these things it doesnt mean your car will run for ever, you still need to be very carefull but after doing all this you should be in pretty good shape.
I hope this helps!
Thanks,
Salman