function GetValue()
{
var v=document.forms[0];
for(var a=0;a<v.elements.length;a++)
{
if(v.elements[a].type=="checkbox")
{
if(v.elements[a].checked==true)
{
Cur=1;
}
}
}
if (document.getElementById("hid_selaccount").value != "")
Cur = 1;
if(Cur==1)
{
var row=document.getElementById("myGridView").rows;
var len=row.length;
if(len==17)
{
for(var i=2;i<len;i++)
{
var chk=row[i].cells[0].firstChild;
if(chk.checked==true)
{
UserName += "," + chk.getAttribute("p2").trim() + "(" + chk.getAttribute("p1") + ")";
UserAccount += "," + chk.getAttribute("p3").trim();
}
}
}}