

function txFooter(textColor) {

		/// Validate
		if (textColor == '') {
			textColor = '#000';
		}
		
		/// Draw
		document.write('<style>');
		document.write('#txFooter A         {text-decoration:none; color:' + textColor + '; font-family:Arial, Helvetica, Sans-Serif; font-weight:normal; padding-right:3px; }');
		document.write('.transOff 					{filter: alpha(opacity=50); -moz-opacity: 0.5; opacity: 0.5;}');
		document.write('</style>');
		document.write('<span id="txFooter" class="transOff">');
		document.write('  <a href="http://www.techxpert.co.uk/">');
		document.write('  	<img src="http://www.techxpert.co.uk/client_footer/txLogo.jpg" border="0" />');
		document.write('  	Designed and Hosted by Techxpert Ltd');
		document.write('  </a>');
		document.write('</span>');
		
		/// Mouse Event Handlers
		document.getElementById('txFooter').onmouseover = function(){
			///document.getElementById('txFooter').className='transOn'
			changeOpacity(document.getElementById('txFooter'), 100);
		}
		document.getElementById('txFooter').onmouseout = function(){
			///document.getElementById('txFooter').className='transOff'
			changeOpacity(document.getElementById('txFooter'), 50);
		}
}


function changeOpacity(docobject, opacity){
	if (navigator.appName.indexOf("Netscape")!=-1&&parseInt(navigator.appVersion)>=5)
		docobject.style.MozOpacity=opacity/100
	else if (navigator.appName.indexOf("Microsoft")!=-1&&parseInt(navigator.appVersion)>=4)
		docobject.style.filter='progid:DXImageTransform.Microsoft.Alpha(' + opacity + ')'
}
