	# This script is used by the application handler to
	# switch application project windows. It does
	# this by creating a link lib/ac/ac to
	# lib/ac/? where ? is the required project window.
rm -f ${IFE_HOME}lib/ac/ac

	# pw1 is the default project window
	# and is used if the requested one does not exist.
if [ -d ${IFE_HOME}lib/ac/$1 ]
then
	ln -s ${IFE_HOME}lib/ac/$1 ${IFE_HOME}lib/ac/ac
	echo "linked ${IFE_HOME}lib/ac/$1 to ${IFE_HOME}lib/ac/ac"
else
	ln -s ${IFE_HOME}lib/ac/pw1 ${IFE_HOME}lib/ac/ac
	echo "linked ${IFE_HOME}lib/ac/pw1 to ${IFE_HOME}lib/ac/ac"
fi
