Is it possible to trigger for example flash uploading button via javascript?

For example I have made empty image wrappers and by clicking on them, they trigger flash button to open as select window.

Thanks!

Edit
Report