    <!-- <![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 OpenMyWin2(link,winName)

    {

      var retValue=true;

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

      {

        myTWin.focus();

        myTWin.location.href=link.href;

      }

      else

      {

        myTWin=window.open(link.href,winName,"width=510,scrollbars=yes,resizable=yes");

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

          retValue=false;

        else

        {

          link.target=winName;

          myTWin.focus();

        }

      }

      return retValue;

    }

    

    function doCalendarBrowser(input_prefix)

    {

    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?id=' + input_prefix + '&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 = '';

    }

    }

    

    function view_childage(num) {

    value = eval("document.getElementById('uby4" + num + "').value");

    holder = eval("document.getElementById('room-holder" + num + "')");

    if (value == 'DBLCHD' || value == 'TWNCHD')

        holder.style.display = 'inline';

    else

        holder.style.display = 'none';

    }

    

    function doInfo(text) {

    var wins = window.open('/ruceni-info/?text='+text,'ruceniinfo',"width=510,scrollbars=yes,resizable=yes");

    wins.focus();

    }

    //]]> -->

