i have 5 gridview controls in a page
user will select one at at time
how do i get the id of the active grid view

i hve used as
function ActiveGrid(GridName)
{
var GdView = document.getElementById(GridName).id;
}

i have called it as onclientClick="ActiveGrid(this)";