function divPosition(name,pixels) {	
	var st = getElementStyle(name)
	st.top = pixel(getWindowHeight() - pixels);
}
function divPositionFromTop(name,pixels) {	
	var st = getElementStyle(name)
	st.top = pixel(pixels);
}
function showlayers(which) {
	showElement(which, true);
}
function hidelayers(which) {
	showElement(which, false);
}
function divPositionAdress(param) {	
	var lastElement=document.getElementById(param).offsetTop;
	windowHeight=getWindowHeight() - 25;
	var divPosition=((windowHeight>lastElement)? windowHeight:lastElement+20);
	var st = getElementStyle("adress")
	st.top = pixel(divPosition);
}
function spring(formName,whereto) {
	if(document.forms[formName]) {
		el = document.forms[formName].elements[whereto];
		if(el)
			el.focus();
	}
}

function goback() {
    history.go(-1);
}



