// ===========================================================================
//  TEAMCAL.JS
//  --------------------------------------------------------------------------
//  Application: TeamCal
//  Purpose:     JavaScript Routines for TeamCal
//  Author:      George Lewe
//  Copyright:   (c) 2004 by Lewe dataVisual, Germany
//               All rights reserved.
//
// ===========================================================================
 

//  --------------------------------------------------------------------------
//  Opens a popup browser window
//

function openPopup(page,winname,param)
{
    myPopup = window.open(page,winname,param);
	myPopup.document.close();
	myPopup.focus();
}

//  --------------------------------------------------------------------------
//  Closes a popup browser window after reloading the opener window
//
function closeme()
{
    opener.location.reload(true);
    self.close();
}

//  --------------------------------------------------------------------------
//  Opens a confirmation dialog
//
function confirmSubmit(text)
{
var agree=confirm(text);
if (agree)
	return true ;
else
	return false ;
}

//  --------------------------------------------------------------------------
//  Opens an information dialog
//
function infoPopup(text)
{
    alert(text);
}

