/////////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2000 Click2learn, Inc.
//
// The copyright to the computer software herein is proprietary and remains
// the property of Intelliprep Technologies Inc., USA. It may be used and/or
// copied only with the written consent of Intelliprep Technologies or in
// accordance with the terms and conditions stipulated in the agreement/
// contract under which this software has been supplied.
//
// $Id: TAX_LaunchKDoc.js,v 1.2 2002/07/13 01:44:13 jeffwe Exp $
// $Author: jeffwe $
// $Date: 2002/07/13 01:44:13 $
// $RCSfile: TAX_LaunchKDoc.js,v $
// $Revision: 1.2 $
//
// Abstract:
//
// Revision History:
//
//    2002-05-16   William K. Fry    created
//
/////////////////////////////////////////////////////////////////////////////

function TAX_LaunchKDoc(intEmpId, intKDocId, strUrl)
{

	var strFeatures = "alwaysLowered=yes,z-lock=yes,height=100,width=100";
	
	if (window.screen) 
	{
		strFeatures += ",left=" + (screen.availWidth + 100).toString();
		strFeatures += ",top=" + (screen.availHeight + 100).toString();
	}

	//	Record the launch history
	
	window.open("TAX_LaunchKDoc.asp?EmpID=" + intEmpId.toString() + "&KDocID=" + intKDocId.toString(), null, strFeatures);

	//	Open the real document
	
	window.open(strUrl);
	
}

