function estaLogeado() {
	if (getCookie('MAYA_SSO_SGUP_ALL')) {
		return true;
	}
	return false;
}

if (estaLogeado()) {

var login = getValue(getCookie('SGUP_LOGIN'),0);
if (login.length > 15) { login=login.substring(0,14); }



strLogin = 'Welcome <a href="http://www.terra.com/SGUP/LoginOptOut.htm" target="_top">'+login+'</a>';

document.write (strLogin);
}