var i1, i1a, i2, i2a, i3, i3a;
var ns = false;
ns = true;
if (ns)
  {
  i1  = new Image();  i1.src = "/graf/cz.gif";
  i1a = new Image(); i1a.src = "/graf/icz.gif";
  i2  = new Image();  i2.src = "/graf/en.gif";
  i2a = new Image(); i2a.src = "/graf/ien.gif";
  i3  = new Image();  i3.src = "/graf/ge.gif";
  i3a = new Image(); i3a.src = "/graf/ige.gif";
  }
function hilite(idi,ion)
  {
  if (ns) document.images[idi].src=eval(ion+".src");
  }


var dialogWindow = null;
var theField = null;

function ShowDialog( theInput ) {

        theField = eval( "document.main." + theInput );
        theField.value = "";
        dialogWindow=window.open("/jscripts/popcalendar.html","MyDialog", "dependent=yes,menubar=no,location=no,resizable=no,width=240,height=270,toolbar=no,screenX=250,screeny=150" );

}

function Transfer( theValue ) {
         if( theField != null ) theField.value = theValue;
}

function HideDialog() {
        if( dialogWindow != null ) {
                if (typeof(dialogWindow.document) == "object")
                        dialogWindow.close()
        }
}
