Forum .LRN Q&A: One more problem with scorm cources developming

Hello.
We are developing system for creating SCORM courses.
I have a question: how we can get total time for each sco?
We need get it by java script in html-file of our sco.