


/*

Linked JavaScript and integration, (C) Copyright 2002, by mike montagne of ADVANCE Information Systems. ALL RIGHTS RESERVED.

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);
		}
	}
