ie = ((document.all) && (window.offscreenBuffering)) ? true : false;
nn = ((document.captureEvents) && (!document.getElementById)) ? true : false;
mz = ((document.getElementById) && (!document.all) && (document.documentElement)) ? true : false;
op = ((document.getElementById) && (navigator.userAgent.indexOf('Opera') != -1)) ? true : false;
b_version = navigator.appVersion.substring(0,1);
javaok = (navigator.javaEnabled()) ? true : false;
name=(navigator.appName=="Konquerer") ? true : false;


function Browser() {
	if((mz && javaok) || (op && javaok) || (name)) {
		var hoehe;
		var weite;
		hoehe = window.innerHeight;
		weite = window.innerWidth;
		mzdeco = (document.getElementById('decobild')) ? true : false;
		if (mzdeco) {
			if ((hoehe<=650) || (weite<=1020)) {
				document.getElementById('decobild').style.display = "none";
			}
			else {
				document.getElementById('decobild').style.display = "block";
			}
		}		
		document.getElementById('twocols').style.height = hoehe-190;
		document.getElementById('twocols').style.width = weite-330;
		}		
	else if(ie && javaok)	{
		weite = document.body.clientWidth;
		hoehe = document.body.clientHeight;
		if (hoehe <= 520) {
			document.getElementById('decobild').style.display = "none";
			}
		else {
			document.getElementById('decobild').style.display = "block";
			}

		document.all['twocols'].style.setExpression("height","hoehe - 190");
		document.all['twocols'].style.setExpression("width","weite - 340");
	}
}



function reloadWin()
{
Browser('twocols');
}

