@Mother Niki, legally a company is obligated to give you four months maternity leave (irrespective of the industry) and you have to take 6 weeks off as a absolute minimum should you decide to go back to work earlier - but then you need a note from your doctor stating that you are physically in a condition to work.
The four months is a guarantee, but unfortunately according to our BCEA it can be unpaid - so if a company decides to pay you while you are on maternity leave this is a bonus and absolutely to their own discretion. Maternity leave can be unpaid irrespective of how long you have been in to companies employment.
But if you do not receive 100% of your salary you can claim UIF - this will only cover between 35 - 57% depending on your current salary (the more you earn the less the % that you will receive will be).
I would however not suggest that you start looking for another job until after your pregnancy and maternity leave, its really not fair to the new company not to tell them you are pregnant, and lets be honest no one is going to hire someone that will only work for four months before taking a mandatory four months off.
The company I work for has two different policies, so this is legal - 1.) If you are in management you have a option of 3 months @ 100% of your salary or 2) 6 months at 33% salary, the second one is for the rest of the staff as well and then you can take a optional extra 2 months unpaid leave. So I will be taking the 3 months and then a further 5 weeks leave....
But we have a nice perk as well - I get 6 days leave pre and 6 days post maternity leave to be used at my discretion on days when I need to see my gynea or days when baby needs to go for their vacs which is rather nice I think.
My two cents worth

hahahaha...