
	// Hide email links from spiders

	function SBContact(pIndex) {
	
		document.write('<a href="About.htm" onmouseover="this.href=SBContactLink(' + pIndex + ')">');
	
		var x = '';
		var xH = '';
				 if (pIndex ==  1) {x = 'EMsb.gif'; xH = 'EMsbH.gif'};
		document.write('<img border=0 align="top" src="images/' + x + '" align="top" ');
		document.write('onMouseOver="this.src=\'images/' + xH + '\'" ');
		document.write('onMouseOut="this.src=\'images/' + x + '\'">');
	
		document.write('</a>');
	
	};
	
	function SBContactLink(pIndex) {
	
		var x = '';
				 if (pIndex ==  1) {x = 'mai#csb#astephenblackwelder#dnet'};
	
		x = x.replace('#c', 'lto:');
		x = x.replace('#a', '@');
		x = x.replace('#d', '.');
	
		return(x);
	
	}
	

	// Fix PNG Transparency in Win IE 5.5 & 6 -- http://homepage.ntlworld.com/bobosola. Updated 18-Jan-2006. //
	// <img src="../../xyz.png" alt="foo" width="10" height="20" onload="fixPNG(this)">                            //
	
	var arVersion = navigator.appVersion.split("MSIE")
	var version = parseFloat(arVersion[1])
	
	function fixPNG(myImage) 
	{
			if ((version >= 5.5) && (version < 7) && (document.body.filters)) 
			{
				 var imgID = (myImage.id) ? "id='" + myImage.id + "' " : ""
			 var imgClass = (myImage.className) ? "class='" + myImage.className + "' " : ""
			 var imgTitle = (myImage.title) ? 
									 "title='" + myImage.title  + "' " : "title='" + myImage.alt + "' "
			 var imgStyle = "display:inline-block;" + myImage.style.cssText
			 var strNewHTML = "<span " + imgID + imgClass + imgTitle
										+ " style=\"" + "width:" + myImage.width 
										+ "px; height:" + myImage.height 
										+ "px;" + imgStyle + ";"
										+ "filter:progid:DXImageTransform.Microsoft.AlphaImageLoader"
										+ "(src=\'" + myImage.src + "\', sizingMethod='scale');\"></span>"
			 myImage.outerHTML = strNewHTML	  
			}
	}
