On my page there is a code like this

************************************
<script type="text/javascript">
var pageViewerID = 11196489;
var pageOwnerID = 10000000;
var pageViewerFName = "Vkey";
var pageOwnerFName = "WHATEVER";
var pandoraRegFlag = '-1';
</script>
************************************

If i type this script to the Address bar

************************************
"javascript:alert (pageViewerID)"
************************************

A message alert will appear saying the pageViewerID wich is "11196489" right?

How should i put this on flash fscommand? is it like this

************************************
fscommand("alert", "Hello, "+pageViewerID+", welcome to our website!");
************************************

And is it possible that the pageViewerID will save to an text file on my ftp?