


win1 = null;

window.defaultStatus = top.location.href;

function popup(id,breite,hohe)

{

	//if (navigator.appVersion.indexOf('Mac') == -1) {alert("Win");}
	
	

	if (win1 != null && navigator.appVersion.indexOf('Mac') == -1){win1.close();};
	if (win1 == null || navigator.appName != "Netscape" || win1.closed)
	{
	 	opt  = "dependent=0,toolbar=0,location=0,directories=0,status=1,menubar=1,scrollbars=1,resizable=1,copyhistory=0,width="+breite+",height="+hohe;
		if (navigator.appVersion.substring(0, 1) >= 4)
		{
			xpos = 90;
		 	ypos = 60;
			opt += ",screenX="+xpos+",screenY="+ypos+",left="+xpos+",top="+ypos;
		}
		win1 = window.open(id + "&up=1","win1",opt);
		win1.focus();
	}
	else
	{
		win1.location = id;
		win1.focus();
	}
}

function ok()
{
	return true;
}
window.onerror = ok;





