function topMenuItemSelect(id)
{
  el = document.getElementById(id);
  el.style.color = '#ffc600';
}

function FormSubmit(formId)
{
    document.getElementById(formId).submit();
    return false;
}

function ForgotPasswordSubmit(formId, actionUrl)
{
    var el = document.getElementById(formId);
    el.action = actionUrl;
    el.submit();
    return false;
}

function MakeBlank(item)
{
    item.value = "";
}

function upMenuSetSpanValue(item, itemValue)
{
	
   obj = document.getElementById(item);
   obj.childNodes[0].nodeValue = itemValue;
}

function LoginClickEvent(formId)
{
    if(event.keyCode == 13)
    {
        FormSubmit(formId);
    }
}

function ForgotPasswordClickEvent(formId, actionUrl)
{
    if(event.keyCode == 13)
    {
        ForgotPasswordSubmit(formId, actionUrl)
    }
}