/*function testing (myArray) {
		for (var i = 0; i < myArray.length; i++) {
			document.write(myArray[i]);
		}
}

var testArray = new Array ('foo', 'bert', 'now');
testing (testArray);
*/  

function getElement(idName) {
	var main = document.getElementById(idName);
	var feedback = document.createElement("p");
	var text = document.createTextNode(main.tagName);
	feedback.appendChild(text);
	main.appendChild(feedback);
}

function setTall(myArray) {
	if (myArray.length != 0) {
		if (document.getElementById) {
			var maxHeight = 0;
			for (var i = 0; i < myArray.length; i++) {
				// Let's determine the maximum height out of all columns specified
				var col = document.getElementById(myArray[i]);
				if (col.offsetHeight > maxHeight) maxHeight = col.offsetHeight;
			}
			for (var i = 0; i < myArray.length; i++) {
				var col = document.getElementById(myArray[i]);
				col.style.height = maxHeight + 'px';
				// Now, if the browser's in standards-compliant mode, the height property
				// sets the height excluding padding, so we figure the padding out by subtracting the
				// old maxHeight from the new offsetHeight, and compensate!  So it works in Safari AND in IE 5.x
				if (col.offsetHeight > maxHeight) {
					col.style.height = (maxHeight - (col.offsetHeight - maxHeight)) + 'px';
				}
			}
		}
	}
}
