Using JavaScript in flash

hi
i want make popUp window after clicking to image
i have .swf, .html, .css, and .js files.
in .swf i want to see .html, .css and .js
but i dont know how to put .js in .swf
http://flash-templates-today.com/popUp.rar here all files.

can you help me please?
is it possible to do?