function validate()
{
if (trim(document.SearchForm.TxtSearch.value).length < 1)
{
alert('Please enter a Keyword and try again');
return false;
}

document.SearchForm.submit();

}
function trim(string) 
{ 
return string.replace(/(^\s*)|(\s*$)/g,''); 
}

function lightUp1(name, varName) 
{
obj = document.getElementById(name);
obj.src = varName.src
}
// replaces the src of an image
function dimDown1(name, imageName) 
{
obj = document.getElementById(name);
obj.src = imageName
}
