
function notice(url,action)
{
	if (confirm("Are you sure you want to " + action))
	{
		document.location.href = url ;
	}
	else
	{
		return false
	}
}

function checkUncheckAll(item)
{
	var myform = item.form, z = 0;
	
	for(z=0; z<myform.length;z++)
	{
		if(myform[z].type == 'checkbox' && myform[z].name != 'checkall') { myform[z].checked = item.checked; }
	}
}