//将 00:00:00 格式时间转化为 秒数
//time 00:32:23
//输出 1000秒
function makeDurationToSeconds(time){
var str = time;
var arr = str.split(':');
var hs = parseInt(arr[0]*3600);
var ms = parseInt(arr[1]*60);
var ss = parseInt(arr[2]);
var seconds = hs + ms + ss;
return seconds;
}
var str=time;
var arr=str.split(':');
var seconds=arr[0]*3600+arr[1]*60+arr[2];