
// -----------------------------------------------------all fields are required 
function checkForm(form) {
for (var i=0; i < form.elements.length; i++) {
	if ((form.elements[i].value == "")||(form.elements[i].value == " "))  {
		alert("Fill out all fields please.")
		form.elements[i].focus()
		return false
	}
    }
   return true
  }


// -----------------------------------------------------
// movesoer 
function setPointer(theRow, thePointerColor) {
    if (typeof(theRow.style) == 'undefined' || typeof(theRow.cells) == 'undefined') {
        return false;
    }

    var row_cells_cnt           = theRow.cells.length;
    for (var c = 0; c < row_cells_cnt; c++) {
        theRow.cells[c].bgColor = thePointerColor;
    }

    return true;
 }















