function thisLocation()
{
	var strLocationTmp = new String(window.location);
	var strLocation = strLocationTmp.toLowerCase();
	var str1 = new String(window.location.protocol + "//" + window.location.host + "/");
	var str2 = new String(strLocation.substring(str1.length, (strLocation.indexOf("nsf")+3)) + "/");
//	return str1 + str2;
return "/home/lo/home.nsf/";
}
function show_cal()
{
datum = document.getElementById("cal_date").options[document.getElementById("cal_date").selectedIndex].value;
medv = document.getElementById("cal_pers").options[document.getElementById("cal_pers").selectedIndex].value;
cat = document.getElementById("cal_cat").options[document.getElementById("cal_cat").selectedIndex].value;
	var cLocation=new String(thisLocation() + "unidview/" + document.forms.cal.unid.value);
		cLocation = cLocation + "?opendocument&date=" + datum;
		cLocation = cLocation + "&pers=" + medv;
		cLocation = cLocation + "&cat=" + cat;
		top.location=cLocation;
//	}
	
}

