    <!-- <![CDATA[

    var myTWin = window.myTWin;

    

    function OpenMyWin(link,winName)

    {

      var retValue=true;

      if (myTWin!=null && !myTWin.closed)

      {

        myTWin.focus();

        myTWin.location.href=link.href;

      }

      else

      {

        myTWin=window.open(link.href,winName);

        if (myTWin==null || typeof(myTWin)=="undefined")

          retValue=false;

        else

        {

          link.target=winName;

          myTWin.focus();

        }

      }

      return retValue;

    }
    
    function doCalendarBrowser(input_prefix, lang, typ)

    {

    var width = 230;

    var height = 230;

    var _left = (screen.width - width) / 2;

    var _top = (screen.height - height) / 2 - 32;

    var _parameters = 'width=' + width + ',height=' + height + ',left=' + _left + ',top=' + _top + ', status=0, toolbar=0, location=0, scrollbars=0';



    document.c_input = document.getElementById(input_prefix);

    

    date = document.c_input.value;

    var win = window.open('/calendar.php?lang=' + lang + '&id=' + input_prefix + '&typ=' + typ + '&selected=' + date, 'calendar_browser', _parameters);

    win.focus();

    }

    

     function doSelect(date)

      {

      if (opener.document.c_input)

      {

      opener.document.c_input.value = date;

      window.close();

      }  

      }

      

    function doCheck() {

    var thebox=document.rollover;

    if(thebox.round_trip[0].checked==true) {

    document.getElementById('to_datum').style.display = 'block';

    promenna = new Date();

    mesic = promenna.getMonth() + 1;

    denVMesici = promenna.getDate() + 1;

    thebox.to_date.value = denVMesici + "." + mesic + "." + promenna.getFullYear();

    }

    if(thebox.round_trip[1].checked==true) {

    document.getElementById('to_datum').style.display = 'none';

    thebox.to_date.value = '';

    }

    }    

    //]]> -->
