Sound loop code?

So I’m working on my web page and I decided I wanted to add sound to it. I got a loop threw it in my library used some code and some buttons and stuff in a MC. Everything works great except for one thing, after it loops threw once my pause button stops but my play button does not play at all. Here is my code…

 s = new Sound();
s.attachSound("song1");
i=1;
function timeme (){
now = new Date();
var hours = now.getHours();
var minutes = now.getMinutes();
var seconds = now.getSeconds();
_root["nowtime"+i] = (Number(hours)*3600)+(Number(minutes)*60)+seconds;
_root.newstarttime = _root["nowtime"+i] - _root.nowtime1;
i++;
}
s.onSoundComplete = s.start
s.start();
timeme();

and on the buttons…

///pause button/// 
on(press){
s.stop();
timeme();
}
on(release){
gotoAndPlay(5)
}
///play button///
on(press){
s.stop();
s.start(_root.newstarttime);
}
on(release){
gotoAndPlay (2)
}