﻿
var mouseOutColor;
function WebGridView_MouseOver(source, mouseOverColor)
{
	mouseOutColor = source.style.backgroundColor;
	source.style.backgroundColor = mouseOverColor;
//	source.style.cursor='hand';
}

function WebGridView_MouseOut(source)
{
	source.style.backgroundColor = mouseOutColor;
}

function WebGridView_CheckAll(me)
{
    var index = me.name.indexOf('_');  
    var prefix = me.name.substr(0,index); 
    for(i=0; i<document.forms[0].length; i++) 
    { 
        var o = document.forms[0][i]; 
        if (o.type == 'checkbox') 
        { 
            if (me.name != o.name) 
            {
                if (o.name.substring(0, prefix.length) == prefix) 
                {
                    o.checked = !me.checked; 
                    o.click(); 
                }
            }
        } 
    } 
}
if(typeof(Sys)!=='undefined')Sys.Application.notifyScriptLoaded();