function selectTableRow(objForm,obj,x)
{
/*	alert(objForm);
	alert(obj);
	alert("row_"+x);
*/
	var checkBoxObj = document.getElementById("row_" + x);
/*
	alert(checkBoxObj);
	alert(checkBoxObj.checked);
*/
	if (obj.style.backgroundColor == 'yellow'){
	    obj.style.backgroundColor='#ffffff'
		checkBoxObj.checked=false;
		}
	else{ /* select */
	    obj.style.backgroundColor='yellow'
		checkBoxObj.checked=true;
		}
}

function sub(x)
{
	document.forms[0].action = x;
	document.forms[0].submit();
}

function subForm(objForm,x)
{
	objForm.action = x;
	objForm.submit();
}

function submit()
{
	document.forms[0].submit();
}

function CheckboxChecked(objForm,check){
	var count;
	for(count = 0; count < objForm.elements.length; count++){
		objForm.elements[count].checked = check;
		}
}

