<!--
//-----------------------------------------------------------------------------------------
// Java-Script:	lib.js
//
// Version    :	V1.22
// 
// Datum      :	20.07.2001
//
//-----------------------------------------------------------------------------------------

// Aenderungen:
//	- 5.7.2001 / DD
var fenster  = null;
var fenster1 = null;

function openwin(seite,w,h)
{
  if (fenster != null)
  	{
    	if (fenster.closed != true)
			{
         		fenster.focus();
			}
		else
			{
				fenster = window.open(seite,"xWin","left=10,top=10,width="+w+",height="+h+",scrollbars=yes,resizable=yes,menubar=no");
			}
	}
  else
    {
     fenster = window.open(seite,"xWin","left=10,top=10,width="+w+",height="+h+",scrollbars=yes,resizable=yes,menubar=no");
	}
}
//-->

<!--

// Aenderungen:
//	- 5.7.2001 / DD
function openwin1(seite,w,h,x)
{
  if (fenster1 != null)
  	{
    	if (fenster1.closed != true)
			{
         		fenster1.focus();
			}
		else
			{
				fenster1 = window.open(seite,x,"left=10,top=10,width="+w+",height="+h+",scrollbars=yes,resizable=yes,menubar=no");
			}	
	}
  else
    {
	 fenster1 = window.open(seite,x,"left=10,top=10,width="+w+",height="+h+",scrollbars=yes,resizable=yes,menubar=no");
	}
}
//-->

<!--

// Aenderungen:
//	- 5.7.2001 / DD
var fenster  = null;
var fenster1 = null;

function openwin2(seite,w,h)
{
  if (fenster != null)
  	{
    	if (fenster.closed != true)
			{
         		fenster.focus();
			}
		else
			{
				fenster = window.open(seite,"xWin","left=10,top=10,width="+w+",height="+h+",scrollbars=no,resizable=no,menubar=no");
			}
	}
  else
    {
     fenster = window.open(seite,"xWin","left=10,top=10,width="+w+",height="+h+",scrollbars=no,resizable=no,menubar=no");
	}
}
//-->

<!--
function formredirect(s)
{
	document.location.href = s ;
}
//-->

<!--
function checkrecord()
{
	return(confirm("Wollen Sie diesen Eintrag wirklich loeschen ?"));
}
//-->

<!--
// Aenderungen:
//	- 6.7.2001 / DD
function posCursor()
{
for(i=0;i<document.forms[0].length;++i)
 {
 	etype = document.forms[0].elements[i].type;
	if (etype =='submit' || etype =='reset' || etype =='hidden')
  		{
  		}
 	else
  		{
			document.forms[0].elements[i].focus();
			return;
  		}
 }
 }
//-->

<!--
	function f(form,field)
	{
		document.forms[form].elements[field].value = document.frm.eWebEditPro1.TextHTML;
		document.forms[form].submit();
	}
//--> 
<!--
function lib_bwcheck(){ // Browsercheck
	this.ver=navigator.appVersion
	this.agent=navigator.userAgent
	this.dom=document.getElementById?1:0
	this.opera5=(navigator.userAgent.indexOf("Opera")>-1 && document.getElementById)?1:0
	this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom && !this.opera5)?1:0; 
	this.ie6=(this.ver.indexOf("MSIE 6")>-1 && this.dom && !this.opera5)?1:0;
	this.ie4=(document.all && !this.dom && !this.opera5)?1:0;
	this.ie=this.ie4||this.ie5||this.ie6
	this.mac=this.agent.indexOf("Mac")>-1
	this.ns6=(this.dom && parseInt(this.ver) >= 5) ?1:0; 
	this.ns4=(document.layers && !this.dom)?1:0;
	this.bw=(this.ie6 || this.ie5 || this.ie4 || this.ns4 || this.ns6 || this.opera5)
	return this
}
//-->

