//<!--
function doClock(obj) {
	var clock = eval(document.getElementById('' + obj + ''));
	if (clock != null) {
		var now = new Date();
		clock.value = fixTime(now.getDate())
					+ '/' 
					+ fixTime(now.getMonth()+1)
					+ '/' 
					+ now.getFullYear() 
					+ ' ' 
					+ fixTime(now.getHours())
					+ ':' 
					+ fixTime(now.getMinutes())
					+ ':' 
					+ fixTime(now.getSeconds());
		clearTimeout(tick);
		var tick = setTimeout( 'doClock(\'' + obj + '\')', 1000 );
	}
}
function fixTime(value) {
	if(value < 10) {
		value = '0' + value;
	}
	return value;
}

function changeHeight(cont, obj) {
	var theCont = eval(document.getElementById(cont));
	var theObj = eval(document.getElementById(obj));
	if(theCont != null && theObj != null) {
		theObj.style.height = theCont.height;
	}
}

function changeHeightOfObject(obj, ydim) {
	var theObj = eval(document.getElementById(obj))
	if(theObj != null) {
		theObj.style.height = ydim;
	}
}

//--> end hide JavaScript