<script language="JavaScript" type="text/JavaScript">
function checkAll(form)
{
for (var i=0;i<form.elements.length;i++)
{
var em = form.elements[i];
if (em.Name != "chkAll")
em.checked = form.chkAll.checked;
}
}
function unCheckAll()
{
if(document.productList.chkAll.checked){
document.productList.chkAll.checked = document.productList.chkAll.checked&0;
}
}
</script>