// JavaScript Document
var dialogWindow = null;
var theField = null;
	
function ShowDialog( formular, theInput ){	
	theField = eval( "document." + formular + "." + theInput );	
	dialogWindow=window.open("kalendar.php","MyDialog","dependent=yes,menubar=no,location=no,resizable=no,width=220,height=160,toolbar=no,screenX=100,screeny=100");
	dialogWindow.focus();
}

function Transfer( theValue ) {if( theField != null ) theField.value = theValue;}

function HideDialog() {if( dialogWindow != null ) {if (typeof(dialogWindow.document) == "object")dialogWindow.close()}}
