﻿var oldgridSelectedColor;

function setMouseOverColor(element)
{
    oldgridSelectedColor = element.style.backgroundColor;
    element.style.backgroundColor='yellow';
    //element.style.cursor='hand';
    //element.style.textDecoration='underline';
}

function setMouseOutColor(element)
{
    element.style.backgroundColor=oldgridSelectedColor;
    element.style.textDecoration='none';
}



 function PleaseWaitButton(obj,message) 
       {

        if (typeof(Page_ClientValidate) == 'function') 
           {
            if ( Page_ClientValidate() )
            {
                obj.disabled = true;
                obj.value=message;
                return true;
            }
           }
           return false;
     }
  