function formatSeconds(value) {
var theTime = parseInt(value );// seconds
var theTime1 = 0;// minutes
var theTime2 = 0;// hours
// alert(theTime);
if(theTime > 60) {
theTime1 = parseInt(theTime/60);
theTime = parseInt(theTime`);
// alert(theTime1 "-" theTime);
if(theTime1 > 60) {
theTime2 = parseInt(theTime1/60);
theTime1 = parseInt(theTime1`);
}
}
var result = "" parseInt(theTime) "seconds";
if(theTime1 > ; 0) {
result = "" parseInt(theTime1) "minutes" result;
}
if(theTime2 > 0) {
result = "" parseInt(theTime2) "hour" result ;
}
return result;
}