ie4 = ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4 ))
ns4 = ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) >= 4 ))

geladen = false;


if (ns4)
{
    layerRef="document.layers";
    styleRef="";
    WidthRef=".clip.right";
    HeightRef=".clip.bottom";
}
if (ie4)
{
    layerRef="document.all";
    styleRef=".style";
    WidthRef=".posWidth";
    HeightRef=".posHeight";
}

function init()
{
	geladen = true;
}

if (document.images)
{
	img = true;
}
else
{
	img = false;
}

// Netscape Resize Fix
if (document.layers)
{
	widthCheck = window.innerWidth;
	heightCheck = window.innerHeight;
	window.onResize = resizeFix;
}
function resizeFix()
{
	if (widthCheck != window.innerWidth && heightCheck != window.innerHeight)
	document.location.href = document.location.href;
}

function mrollon(imgName)
{
	if (geladen)
	{
		if (ie4)
		{
			document[imgName].src = "./menue/" + imgName + "_on.gif";
		}
		else
		{
			eval('document.'+imgName+'.document[imgName].src = "./menue/'+imgName+'_on.gif"');
		}
	}
}

function mrolloff(imgName)
{
	if (geladen)
	{
		if (ie4)
		{
			document[imgName].src = "./menue/" + imgName + "_off.gif";
		}
		else
		{
			eval('document.'+imgName+'.document[imgName].src = "./menue/'+imgName+'_off.gif"');
		}
	}
}


function openbeitrag(url)
{
	now = new Date();
	var time = now.getTime();
	NeuesFenster = window.open(url, time, 'width=600,height=400,scrollbars,screenX=50,screenY=110');	
}
