

<script type="text/ecmascript">
function sall(status)
{
var objs = document.getElementsByTagName("input");
for(var i=0; i<objs.length; i++)
{
if(objs[i].type.toLowerCase() == "checkbox" )
{
if(objs[i].name.toLowerCase() == "commentid")
objs[i].checked = status;
}
}
}
function CheckSatus(sallid)
{
document.getElementById(sallid).checked = true;
var objs = document.getElementsByTagName("input");
for(var i=0; i<objs.length; i++)
{
if(objs[i].type.toLowerCase() == "checkbox" )
{
if(objs[i].name.toLowerCase() == "commentid")
{
if(!objs[i].checked)
{
document.getElementById(sallid).checked = false;
}
}
}
}
}
</script>
function sall(status)
{
var objs = document.getElementsByTagName("input");
for(var i=0; i<objs.length; i++)
{
if(objs[i].type.toLowerCase() == "checkbox" )
{
if(objs[i].name.toLowerCase() == "commentid")
objs[i].checked = status;
}
}
}
function CheckSatus(sallid)
{
document.getElementById(sallid).checked = true;
var objs = document.getElementsByTagName("input");
for(var i=0; i<objs.length; i++)
{
if(objs[i].type.toLowerCase() == "checkbox" )
{
if(objs[i].name.toLowerCase() == "commentid")
{
if(!objs[i].checked)
{
document.getElementById(sallid).checked = false;
}
}
}
}
}
</script>




