function OpenLink(strURL)
{
	window.open(strURL, '', 'toolbar=no, scrollbars=yes, resizable=yes, height=475, width=700, top=5, left=40');
}

function OpenLinkVarWidth(strURL, strWidth)
{
	window.open(strURL, '', 'toolbar=yes, scrollbars=yes, resizable=yes, height=475, width='+strWidth+', top=0, left=0');
}

function OpenLinkWithStatus(strURL)
{
	window.open(strURL, '', 'toolbar=yes, status=yes, scrollbars=yes, resizable=yes, height=475, width=700, top=5, left=40');
}

function OpenLinkWithBars(strURL)
{
	window.open(strURL, '', 'toolbar=yes, status=yes, location=yes, scrollbars=yes, resizable=yes, height=475, width=700, top=5, left=40');
}

function OpenLinkVarWidthWithBars(strURL, strWidth)
{
	window.open(strURL, '', 'toolbar=yes, status=yes, location=yes, scrollbars=yes, resizable=yes, height=475, width='+strWidth+', top=0, left=0');
}

function openWindowSearch()
 {  //popupWin = window.open('/Secured/EmpSearch/search.asp?logon=<%=m_strSMUser%>', 'search', 'menubar=no,scrollbars=yes,toolbar=yes,width=330,height=350,left=325,top=50')}
		popupWin = window.open('chainsaw.htm', '136', 'menubar=no,scrollbars=yes, resizable=yes,toolbar=no,status=yes, width=735,height=600, top=0, left=0')
 }

function OpenAuditModal(AID,TTID, ACID, RSID, TID, TVal)
{	//	This function is used to open the Audit Pop Up Window.  The following parameters can be passed in.
	//	The only one that is required is the AID.
	
	//	Parameter		Description					Database Table
	//  AID				Application ID				Application
	//	TTID				Transaction Type ID		TransactionTypeMaster
	//	ACID				Action Code ID				ActionCodeMaster
	//	RSID				Record Status ID			RecordStatusMaster
	//	TID				Tag Name ID					Tag 
	//	TVal				Tag Value String			N/A
	
	var url="ShowAudit.asp?App=" + AID + "&Tran=" + TTID + "&ActionID=" + ACID + "&RecStat=" + RSID + "&Tag=" + TID + "&TagVal=" + TVal;
	window.showModalDialog(url,"","dialogWidth:400px;dialogHeight:240px;center:1");
	return false;
}

function OpenLynxDocument(DocID, StorageID)
{	//	This function is used to open the Lynx Document Pop Up Window.  The following parameters Must be passed in.
	
	//	Parameter		Description					
	//  DocID			Lynx Document ID				
	//  StorageID		Lynx Database Storage ID
	
	var url="ShowDocumentAudit.asp?DocID=" + DocID + "&StorageID=" + StorageID;
	window.open(url, '', 'toolbar=no, status=yes, location=no, scrollbars=yes, resizable=no, height=500, width=760, top=0, left=0');

	return false;
}
-->