function init(){
	var x;
	var element;
	var topheight;
	var botheight;
	if (parseInt(navigator.appVersion)>3) {
		if (navigator.appName=="Netscape") {
			x = window.innerHeight;
		}
		if (navigator.appName.indexOf("Microsoft")!=-1) {
			x = document.body.offsetHeight;
		}
	}
	if(x>0){
		document.getElementById('topdiv').style.height="auto";
		topheight = document.getElementById('topdiv').offsetHeight;
		element = document.getElementById('maindiv');
		element.style.height = x-topheight + 'px';

	}
}
function editSearch(original){
	if(document.minisearch.searchfor.value == original){
		document.minisearch.searchfor.value = '';
	}
}