function Senden()
	{
	var agt = navigator.userAgent.toLowerCase();
	var is_ie = ((agt.indexOf("msie") != -1) && (agt.indexOf("opera") == -1));
	var is_aol = (agt.indexOf("aol") != -1);
	if (is_ie || is_aol) document.chatlogin.action = "index.php?client=ie";
	else document.chatlogin.action = "index.php";
	document.chatlogin.target = "_self";	// Open in a new window
	document.chatlogin.submit();			// Submit the page
	return true;
	}

function Extend()
	{
	var agt = navigator.userAgent.toLowerCase();
	var is_ie = ((agt.indexOf("msie") != -1) && (agt.indexOf("opera") == -1));
	var is_aol = (agt.indexOf("aol") != -1);
	if (is_ie || is_aol) 
		{
		document.all.extended.style.display = "inline";
		document.all.basic.style.display = "none";
		}
	else 
		{
		document.getElementById("extended").style.display = "inline";
		document.getElementById("basic").style.display = "none";
		}
	}

function Basic()
	{
	var agt = navigator.userAgent.toLowerCase();
	var is_ie = ((agt.indexOf("msie") != -1) && (agt.indexOf("opera") == -1));
	var is_aol = (agt.indexOf("aol") != -1);
	if (is_ie || is_aol) 
		{
		document.all.extended.style.display = "none";
		document.all.basic.style.display = "inline";
		}
	else 
		{
		document.getElementById("extended").style.display = "none";
		document.getElementById("basic").style.display = "inline";
		}
	}
