I found a script on this site, which was what I have been searching for , for a long time. it's posted here: http://www.osnn.net/articles.php?action=show&showarticle=47#programlaunch the href of the code is: <a onClick="exec('sol.vbs'); return false;" href="java script:void(0)">Launch Solitare</a> I would like another JS file to call that line of code. so am wondering how to define that line as a JS function. I am stuck on this one, anyone willing to help? Thanks ion advance to all who reply. Tin.