var copytoclip=1;



function CopyToClipboard(theField) 

{

	var tempval=eval("document."+theField);

	tempval.focus();

	tempval.select();

	if (document.all && copytoclip==1)

	{

		therange=tempval.createTextRange();

		therange.execCommand("Copy");

		window.status="Linking code copied to clipboard";

		setTimeout("window.status=''",3000);

	}

}


