// JavaScript Document

function LmOverMenu(elem)
{
elem.style.backgroundColor = '#1B7FB9';
elem.style.cursor = 'hand'
elem.style.borderColor = '#DCDCDC';
//elem.children.tags('A')[0].style.textdecoration = 'underline';
}
function LmOver(elem)
{
elem.style.backgroundColor = '#1B7FB9';
elem.style.cursor = 'hand'
elem.children.tags('A')[0].style.color = '#FFFFFF';
}
function LmOut(elem)
{
elem.style.backgroundColor = '#FFFFFF';
elem.children.tags('A')[0].style.color = '#1B7FB9';
}
function LmOutMenu(elem)
{
elem.style.backgroundColor = '#1B7FB9';
elem.style.borderColor = '#1B7FB9';
}
function LmUp(path)
{location.href = path;}

function trim(string)
{
  var ch = string.substring(0,1);
  while(ch==" ")
  {
    string = string.substring(1,string.length);
    ch = string.substring(0,1);
  }
  
  ch = string.substring(string.length-1,string.length);
  while(ch==" ")
  {
    string = string.substring(0,string.length-1);
    ch = string.substring(string.length-1,string.length);
  }
  return string;
}

