﻿// JScript File

var lastColorUsed;
function SearchControlChangeBackColor(row, highlight, RowHighlightColor)
{
    if (highlight)
    {
        // set the background colour
        lastColorUsed = row.style.backgroundColor;
        row.style.backgroundColor = RowHighlightColor;
    }
    else
    {
        // restore the colour
        row.style.backgroundColor = lastColorUsed;
    }
}


//Goes at the bottom!
if (typeof(Sys) !== "undefined") Sys.Application.notifyScriptLoaded();
