// ==================================================================
// - - - - - - - - - - - - D I S C L A I M E R - - - - - - - - - - -
// By accepting this software ("Software"), you ("Customer") agree that
// use of the Software is subject to the following terms and
// conditions:
//
// (i)  the Software is supplied on a strict "AS IS" basis, without
//      warranty of any kind or nature.  DCJ CONSULTING DISCLAIMS ANY
//      AND ALL EXPRESS OR IMPLIED WARRANTIES RELATIVE TO THE SOFTWARE,
//      INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTY OF
//      MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, and
//
// (ii) in no event shall DCJ Consulting be liable to Customer for
//      any damages, whether direct, indirect, special, incidental,
//      consequential or punitive, which in any way arise out of or
//      relate to the Software, and
//
// (iii)DCJ Consulting shall not provide support of any kind for the
//      Software. DCJ Consulting retains title to all portions of the
//      Software and any copies thereof.
//
// Assistance with tailoring/customizing this code can be purchased on
// a time and materials basis from DCJ Consulting.
//
// (c) Copyright DCJ Consulting 2004. All rights reserved.
// ==================================================================
// Written: 2004/05/25 by D.C. Jones, per DCJ Consulting
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// Modified: yyyy/mm/dd by ??
// Purpose: ??
// ==================================================================


//Name		:	forceFrame
//Programmer:	Dave Jones
//Company	:	DCJ Consulting
//Input		:	URL from browser command line
//Output	:	None
//Purpose	:	If page is not in frame, reads page name and passes it to main
//				frame page and loads requested page in frame

if (top.location.href == self.location.href)
{
	var url=self.location;
	parent.location.href = "/?" + url.pathname;
}