I have tried the following script:
function saveFile (fname)
This is ALMOST working, it gives me two problems:
1) It opens the "Save" dialog box - but for "Save HTML document" (I need it to save an image)
2) Then it gives me the following error:
"An error has occured in the script on this page.
Error: Unterminated string constant