function showValues() {
    }
    
$(document).ready(function(){
   $('.egg').click(function(){
      $('#eggShow').toggle('slow');
      var datum = new Date();
      var text = $('#contactMsg').val();
      text = text + '\n\n| desetprocent ' + datum.getTime();
      $('#contactMsg').val(text);
      $('#formEgg').val(datum.getTime());
      var fields = $("#contactForm :input").serializeArray();
      $.post('form.php',fields,function (data, textStatus) {
        // data could be xmlDoc, jsonObj, html, text, etc...
        //console.debug('data: ',data); // the options for this ajax request
        //console.debug('status: ',textStatus); // the options for this ajax request
        //console.debug('this: ',this); // the options for this ajax request
      });
      return false;
   });

   $('.thickbox').click(function() {
      tb_resize();
   });
   
});            

$(window).resize(function(){
   tb_resize();
});

function tb_resize() {
   var c = $(window).height();
   TB_WIDTH = 960; //defaults to 630 if no paramaters were added to URL
   TB_HEIGHT = c - 30; //defaults to 440 if no paramaters were added to URL
   ajaxContentW = TB_WIDTH - 30;
   ajaxContentH = TB_HEIGHT - 45;

   document.getElementById('TB_iframeContent').style.width=(ajaxContentW + 29)+'px';
   document.getElementById('TB_iframeContent').style.height=(ajaxContentH + 17)+'px';
   tb_position();
}

