This script can be called from within a web page only

Sorry