function showTextPopup( sType, color )
{
	window.open( '/cgi-bin/' + sType + '.pl?color=' + color, sType, 'toolbar=no,resizable=yes,height=400,width=400,scrollbars=yes' );
}

alfa = (   ((navigator.appName == "Netscape") 
            && (parseInt(navigator.appVersion) > 3 ))
        || ((navigator.appName == "Microsoft Internet Explorer")
            && (parseInt(navigator.appVersion) >= 4 )) );

function getEmptyPage()
{
	return '/html/empty.html';
}

function overBut( id )
{
	var result = false;
	
	if ( alfa )
	{
		var src  = document.images[id].src;
		var tail = "_blurz.gif";

		document.images[id].src = src.substring(0, src.length - 10) + "_hover.gif";

		result = true;
	}
	return(result);
}

function outBut( id )
{
	var result = false;

	if ( alfa )
	{
		var src  = document.images[id].src;
		var tail = "_hover.gif";
		document.images[id].src = src.substring(0, src.length - 10) + "_blurz.gif";
		result = true;
	}

	return false;
}

function doMaskedMail( adress, domain, tl_domain )
{
	window.location = 'mailto:' + adress + '@' + domain + '.' + tl_domain;
}