// JavaScript Document
// Test
var menuHi = "#0000FF";
var menuNorm = "#000099";

var currentRow = 0;
var prevRowColor = "";

function highlight(my){
	currentRow.bgColor = prevRowColor; //reset previous Row back to original Color
	prevRowColor = my.bgColor;  //save new row's original color
	//alert(prevRowColor);
	currentRow=my;			//save Row which is Highlighted
	my.bgColor="#FFCC00";	//set Highlight
	//alert("HERE");
}

var scrollPos = 0;

function setScrollPos() {
	var scrollPos = document.body.scrollTop;
	//document.viewForm.scrollPos.value = scrollPos;
	//alert (scrollPos);
	document.cookie = scrollPos;
}
function getScrollPos() {
	var scrollValue = document.cookie;
	document.body.scrollTop = scrollValue;
	//alert ("Getting: " + scrollPos);
}



function submitForm(pkey)
{
	alert ("submit called.  key = " + pkey);

}

/*
function processData(table, lot, acres, dim1, dim2, dim3, dim4, sq_ft, price_per_acre, price_per_foot, total_price, notes, status)
{
	document.viewForm.table.value = table;
	document.viewForm.lot.value = lot;
	document.viewForm.acres.value = acres;
	document.viewForm.dim1.value = dim1;
	document.viewForm.dim2.value = dim2;
	document.viewForm.dim3.value = dim3;
	document.viewForm.dim4.value = dim4;
	document.viewForm.sq_ft.value = sq_ft;
	document.viewForm.price_per_acre.value = price_per_acre;
	document.viewForm.price_per_foot.value = price_per_foot;
	document.viewForm.total_price.value = total_price;
	document.viewForm.notes.value = notes;
	document.viewForm.status.value = status;
}
*/