Labour Law Re Indemnity and Resignation

I want to know details regarding Indemnity and Resignation as per Qatari Labour Law. If some one could direct me to websites in this regard, I would be grateful.
My question precisely is- What is the law regarding Indemnity and how is the calculation based on.
What if a person resigns, then what are the options available with him.
Is there any recourse for expats in case of dispute.
Any assistance in this regards will be appreciated.
Resign & get banned for 2 years :(
here's a link to the english version of the "State of Qatar Law No. 14 of 2004 - Qatar Labor Law"
http://www.qatarembassy.net/Qatar_Labour_Law.asp
hope this helps :)