#!/bin/sh
if [ $# -eq 0 ]; then
        echo "Usage: $0 <javascript string or url>"
        exit
fi
t=`echo $1 | cut -c1-7`
case $t in
        http://)
        s=`wget -q -O - $1`;;
        *)
        s=$1;;
esac
/usr/bin/ICTApplication/ICTCliGateLite --call IctWebClient:cmd_inject_javascript --args "$s"

