JScript Button Does Not Work In iPhone

I created a simple JScript button that is embedded in HTML that will play and embed music. It works fine on all kinds of devices but not in iPhone. What do you think I'll do to solve this problem.
Here is my JScript:
function FFFFSound(soundobj) {
var thissound= eval("document."+soundobj);
thissound.Play();
}
