#! /bin/sh

path=$1
echo "Connecting to netscape" 1>&2
netscape -remote "openURL( $path )" 2> /dev/null
ret=$?

if test "$ret" != "0"; then
	echo "Launching netscape" 1>&2
	netscape $path 2> /dev/null &
fi
