// ===================================================================
// 2008/01/23: 
// This function was created for the tags process.
//
// The function is called from a tags link.
//
//	---- example ----
//
//	<p align="right">
//		<a
//  	id="tagLink" 
//  	href="http://dshsutlcy4000e/paul/tags/tags.asp" 
//  	target="_blank"
//  	onmousedown="getSelText()">Tags</a>
//	</p>
// ------------------------------------------------------------------
function getSelText()
{
		var txt = '';
		 if (window.getSelection)
		{
				txt = window.getSelection();
						 }
		else if (document.getSelection)
		{
				txt = document.getSelection();
						}
		else if (document.selection)
		{
				txt = document.selection.createRange().text;
						}
		else return;
document.getElementById("tagLink").href = "http://dshsutlcy4000e/paul/tags/tags.asp?title=" + document.title + "&notes=" + txt;
}