/*************************************************************************************************
function:       fncOpenDlgWnd
description:    öffnet ein Dialogfenster
								fncOpenDlgWnd(event Konstante,url as STRING,name as STRING,height as STRING,
								width as STRING,	Top int, Left int, [Position String])
								event->Konstante casesensitive
								Position->'relative' für relative (x,y)-Koordinaten abhängig vom eventObjekt
								Position->'center' für zentriert
								st->1 für Statusbar 0 keine Statusbar
								sc->1 Scrollbar
date:           2001-05-11 (c) webconsulting-hoppe
Browser:				IE4,IE5,IE5.5,NS4
***************************************************************************************************/

function fncOpenDlgWnd(event, url, name, height, width, x, y, pos, st, sc)
{	if(pos=="relative")
	{	x=(event.screenX)+(x);
		y=(event.screenY)+(y);
	}
	else if (pos=="center")
	{	x = (screen.width/2)-(width/2);
		y = (screen.height/2)-(height/2);
	}
	return window.open(url, name,
	"top="+y+
	",screenY="+y+
	",left="+x+
	",screenX="+x+
	",width="+ width+
	",height="+height+
	",toolbar=0,location=0,directories=0,status="+ st +",menuBar=0,scrollBars="+ sc +",resizable=no,directories=no,dependent=yes,hotkeys=no");
}

