<!--
function open_popup(file)
{
	file = file + "&action=popup";
	var win = window.open (file, 'popup', 'scrollbars=yes,toolbar=no,location=no,directories=no,status=yes,menubar=0,resizable=no,width=610,height=500');
	win.focus();
}

function openPopUp( strFile, intWidth, intHeight ) {
	
	//strFile = strFile + "&action=popup";
	var win = window.open( strFile, 'popup', 'scrollbars=yes,toolbar=no,location=no,directories=no,status=yes,menubar=0,resizable=no,width=' + intWidth + ',height=' + intHeight );
	win.focus();
	
}

var winOpenImg;

function openImg( strFile, intWidth, intHeight ) {

	if( winOpenImg )
		winOpenImg.close();
		
	winOpenImg = window.open( strFile, 'popup', 'scrollbars=no,toolbar=no,location=no,directories=no,status=no,menubar=0,resizable=yes,width=' + intWidth + ',height=' + intHeight );
	winOpenImg.focus();
	
}

function openHistory( strFile, intWidth, intHeight ) {

	if( winOpenImg )
		winOpenImg.close();
		
	winOpenImg = window.open( strFile, 'popup', 'scrollbars=yes,toolbar=no,location=no,directories=no,status=no,menubar=0,resizable=yes,width=' + intWidth + ',height=' + intHeight );
	winOpenImg.focus();
	
}

function open_taf(file)
{
	file = file + "&action=popup";
	var win = window.open (file, 'popup', 'scrollbars=yes,toolbar=no,location=no,directories=no,status=no,menubar=0,resizable=no,width=610,height=600');
	win.focus();
}

function open_rod(file)
{
	file = file + "&action=popup";
	var win = window.open (file, 'popup', 'scrollbars=yes,toolbar=no,location=no,directories=no,status=no,menubar=0,resizable=no,width=580,height=250');
	win.focus();
}


function open_haendler(file)
{
	file = file + "&action=popup";
	var win = window.open (file, 'popup', 'scrollbars=yes,toolbar=no,location=no,directories=no,status=no,menubar=0,resizable=no,width=610,height=500');
	win.focus();
}

function bolDel(quest, destination ) {
	if( confirm( quest ) )
		self.location.href = destination;
}

function checkStr( area, laenge ) {
	// als area im Textfeld einfach checkStr( this, 130 )
	// onChange="checkStr(this, 200)" onFocus="checkStr(this, 200)" onBlur="checkStr(this, 200)" onKeyDown="checkStr(this, 200)" onKeyUp="checkStr(this, 200)"
	StrLen = area.value.length;
	if ( StrLen > laenge )
		area.value = area.value.substring( 0, laenge );
}
//-->
