


							/*

	Linked JavaScript and integration, copyright 2002, by mike montagne of ADVANCE Information Systems. ALL RIGHTS RESERVED. Trademarks are property of their respective holders.

	Note: Must use full path to images if .js to be called from cgi-bin.



							*/


/* Select and Copy textarea */

function CopyTextareaContents(FormNameDotTextareaName)
	{
	var tempObject = eval("document." + FormNameDotTextareaName);
	tempObject.focus();
	tempObject.select();

   	if (navigator.appName.indexOf('Microsoft')>=0)
		{
		CopiedTextRange = tempObject.createTextRange();
		CopiedTextRange.execCommand("Copy");
		window.status = "Content copied to clipboard.";
		setTimeout("window.status=''",5000);
		}
	}









