window.defaultStatus = '';

function mouseout()
{
	window.defaultStatus = '';
}

function mouseover(text)
{
	window.defaultStatus = text;	 
}

function back()
{
	history.go(-1)
}


function gologout()
{
	anslogout = confirm("Are you sure you want to log out of your portfolio?");
	if (anslogout)
	{
		window.location = 'home.asp?';
	}
}

function gologouthtm()
{
	anslogout = confirm("Are you sure you want to log out of your portfolio?");
	if (anslogout)
	{
		window.location = '../home.asp?';
	}
}


function goend()
{
	anslogout = confirm("Are you sure you want to abort creation of this portfolio?");
	if (anslogout)
	{
		window.location = 'run/delete.asp?';
	}
}

function onenter(e)
{
	if (navigator.appVersion.indexOf('Mac') == -1)
	{
		var key;
		if (window.event)
		{
			key = window.event.keyCode;
		}
		else if (e)
		{
			key = e.which;
		}
		else
		{
			return true;
		}

		if (key == 13)
		{
			return false;
		}
		else
		return true;
	}
}



