Niall,That did it. Thank you. I knew there was more too it then just pasting the script in the click event. I just wasn't sure where too put the myscriptobject function that I saw in Paul's variables. Now I have a little better understanding of what the fragment library is for. Thanks again.