you also ned to call the function itself from your portal box.. just declaring a function doesn't cause it to execute.

somewhere you should do 'randomads();' wink