#!/bin/sh
#set -x

#########################################################################
###
### File: getXWinID.sh
###
### Description: runs /usr/openwin/bin/xlswins to gather all
###              the X-id's for Netscape windows at the launch
###              of the CD0 Kiosk to handle re-targeting the
###              content window when renamed by an outside site.
###
#########################################################################

### Check for xlswins
if [ -x /usr/openwin/bin/xlswins ]; then
	if [ -f /tmp/.netscapeID ]; then
		/bin/rm -f /tmp/.netscapeID
	fi
	/usr/openwin/bin/xlswins | grep Content_Window > /tmp/.netscapeID
fi

### Exit - return code.....
exit 0

