	// JavaScript Document
/**
 * Auto make height for DIV LAYOUT
 * Solution base on Vu Van Hien  
 * Development by Dang Ngoc Giao
 * Version 1.0 - using www.prototypejs.org function
 * Create: 21/02/08
 *
 */
	var f = document.forms['loginForm'];
	function autoheight(con_id, arr) {
		$(con_id).style.height = max_in_array(arr) + 'px';
	}	
	function max_in_array(arr) {
		var max_height = Element.getHeight($(arr[0]));
		for(var i = 1; i < arr.length; i++) {
			if(Element.getHeight($(arr[i])) > max_height) {
				max_height = Element.getHeight($(arr[i]));
			}
		}
		return max_height;
	}
function autoheightdev(con_id, arr) {
		$(con_id).style.height = max_in_array(arr)+10+ 'px';
	}	
	