/* win_loc_chgs.js
	Created on:	02/10/2009-KO
Used when onClick applies vs normal <a href for a link.
The newLocation function with ('/path/page.html','_blank') is used to
display page in a new window but not full sized [is on Firefox]

The topLocation function is to force replacing page from which invoked
with the page being called.  Use when onClick applies to calling a new
Home-Master page or to a page created and updated interactively by a
CGI Script where we need a Home Button vs normal ICommander Logo that
will now use the closeWin function.  The In/Out Board is example of
that due to it not being unusual that it is accessed directly and then
Home Button used to access Main Intranet Page.

The reloadPage function is the equivalent of the Refresh function on
Toolbar.  Originally for redisplaying controlling page when iframes are
involved but likely will not be used much as we will not be using the
iframe approach on Home-Master pages.
*/

<!-- Begin
function newLocation(url)
{
window.open(url);
}
function topLocation(url)
{
window.top.location=(url);
}
function reloadPage()
  {
  window.location.reload()
  }
function replaceWin(url)
{
window.location.replace(url);
}
function closeWin()
        {
        window.close()
        }
//  End -->


