// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
//
// Latest $Revision: 1 $
//          $Author: doleary $
//            $Date: 2005-08-25 11:55:00-05:00 $
//         $Logfile: /Customers/Medo/Websites/www.medousa.com/zylib/client/window_funcs.js $
//
//  Original Author: Edwin Voskamp
//
//      Description: functions to manage popup windows
//                   to use include this file int head of webpage,
//                   preferably with a SCRIPT tag with SRC set to this file
//                   and call from a button event handler or anchor tag
//
// (c) Copyright 2001-2005 Z Y Solutions Corporation
//
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *



function openWindow( strURL, strWindowName, strParameters ) {
	var winPopup;



	winPopup = window.open( strURL, strWindowName, strParameters );
}



function openWindowWithMenuBar( strURL, strWindowName )
{
	var winPopup;



	winPopup = window.open( strURL, strWindowName, 'toolbar=0,location=0,directories=0,status=0,menubar=1,scrollbars=1,resizeable=1,width=600,height=480,top=0,left=0' );
}



function openWindowWithOutMenuBar( strURL, strWindowName )
{
	var winPopup;



	winPopup = window.open( strURL, strWindowName, 'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizeable=1,width=480,height=240,top=0,left=0' );
}



function closeWindow()
{
	window.close( this );
}



