replaced parent name on id in links
Added rating calculations. Added rating update when rating field was changed. Fixed bug in CForm.