Sound.prototype.hoursPlay = function(id) { myDate = new Date(); theHour = myDate.getHours(); this.attachSound(id); this.start(0, theHour); };
snd=new Sound(); snd.hoursPlay("hello");