<!-- start of JavaScript code, hide code for old browsers
// display a HTML page in a new window
// Usage: <A href="javascript:void(0)" onClick="fOpenHTML('fritz.htm', '', 445, "target", "", "true")">my page</A>
//
// Parameters:
//		required:	fname: HML file to load
//		optional:	width, height
//					target, may be the name of a frame in another window
//					toolbar, locationbar: true if visible, otherwise not visible
function fOpenHTML(fname, width, height, target, toolbar, locationbar){
	var sParameters = "";
	sParameters = sParameters + "scrollbars=yes,resizable=yes,status=yes";
	if (width != undefined)	{
		if (width != "")
			sParameters = sParameters + ",width=" + width;
	}
	if (height != undefined) {
		if (height != "")
			sParameters = sParameters + ",height=" + height;
	}
	if (toolbar != undefined)
		if (toolbar == "true")
			sParameters = sParameters + ",toolbar";
	if (locationbar != undefined)
		if (locationbar == "true")
			sParameters = sParameters + ",location";
	newWindow = window.open("",target,sParameters);
	newWindow.location.href = fname;
	// newWindow.focus();
//	newWindow.document.write("<html><head></head>");
//	newWindow.document.write('<body onLoad="location.href='+"'"+fname+"'"+'">');
//	newWindow.document.write('</body></html>');
//	newWindow.document.close();
}
// -->
