A JavaScript question

How can I give this command to a button in Flash?


href="javascript:document.getElementById('divContent1').innerHTML=document.getElementById('aak').innerHTML;void(0);"

I have tried


on (release) {
  getURL("javascript:document.getElementById('divContent1').innerHTML=document.getElementById('aak').innerHTML;void(0);", _self);
    }

What do you suggets?