function openpopup (myfile, myname, breite, hoehe) {
	params = "width=" + breite + ",height=" + hoehe + ",resizable=0,status=0,scrollbars=0,toolbar=0,location=0,directories=0,menubar=1";
	newwin = window.open( myfile , myname , params)
	if (window.focus){newwin.focus()} // popup nach vorne bringen, wenn es hinten ist
}

function openpopupscroll (myfile, myname, breite, hoehe) {
	params = "width=" + breite + ",height=" + hoehe + ",resizable=0,status=0,scrollbars=1,toolbar=0,location=0,directories=0,menubar=1";
	newwin = window.open( myfile , myname , params)
	if (window.focus){newwin.focus()} // popup nach vorne bringen, wenn es hinten ist
}

//extra Druckseite generieren

function druckSeitenAufruf(url)
{
	//alert(url);
	//window.location.href =  "http://tis.gdv.org/tis/test/ajax/druckseite.php?druckseite=" + url;
	DruckFenster = window.open("http://www.tis-gdv.de/tis_e/vorlagen/include/php/druckseite.php?druckseite=" + url, "Druckseite", "width=600, menubar=yes, location=no, resizable=yes, scrollbars=yes");
	DruckFenster.focus();
	
} 

function UrteilAufruf(urteil_url)
{
	var UrteilFenster = window.open( urteil_url, "TIS", "width=690, menubar=yes, location=no, resizable=yes, scrollbars=yes");
	UrteilFenster.focus();
}
function UrteilAufruf_taz(urteil_url,pos)
{
	var UrteilFenster;
	if (pos == 64)
		UrteilFenster = window.open("http://www.tis-gdv.de/tis/bedingungen/urteile/urteil_taz.php?urteil_id=" + urteil_url.substr(pos,urteil_url.length), "TIS", "width=690, menubar=yes, location=no, resizable=yes, scrollbars=yes");
		else
		UrteilFenster = window.open("http://www.tis-gdv.de/tis/bedingungen/urteile/urteil.php?urteil_id=" + urteil_url.substr(pos,urteil_url.length), "TIS", "width=690, menubar=yes, location=no, resizable=yes, scrollbars=yes");
	UrteilFenster.focus();
}
