## Script (Python) "get_owl_popupscript"
##bind container=container
##bind context=context
##bind namespace=
##bind script=script
##bind subpath=traverse_subpath
##parameters=input_id
##title=
##
# get_owl_popupscript
#
# get_owl_popupscript - generate onclick javascript 
#
# (C) 2003-2004 by CC Open Computer Systems for the "Neuroinfo" project
# This is free software avaiable under the GPL license, see:
#   LICENSE.txt, README.txt for details.
# ==================================================================
return r"""

function returnkeyword(text)
{
  opener.document.getElementById('%s').value += text;
}
""" % input_id

