//---------------------------------+
//  Developed by Roshan Bhattarai 
//  Visit http://roshanbh.com.np for this script and more.
//  This notice MUST stay intact for legal use
// --------------------------------->
// $(document).ready(function()
// {
// 	//slides the element with class "menu_body" when paragraph with class "menu_head" is clicked 
// 	$("#firstpane p.menu_head").click(function()
//     {
// 		$(this).css({backgroundImage:"url(./images/plus.jpg)"}).next("div.menu_body").slideToggle(300).siblings("div.menu_body").slideUp("slow");
//        	$(this).css({backgroundImage:"url(./images/minus.jpg)"});
//         $(this).siblings().css({backgroundImage:"url(./images/plus.jpg)"});
//     $("#firstpane p.menu_head2").css({backgroundImage:"url(./images/ctverec.jpg)"});
// 	});
// 	//slides the element with class "menu_body" when mouse is over the paragraph
// 	$("#secondpane p.menu_head").mouseover(function()
//     {
// 	     $(this).css({backgroundImage:"url(./images/plus.jpg)"}).next("div.menu_body").slideDown(500).siblings("div.menu_body").slideUp("slow");
//          $(this).siblings().css({backgroundImage:"url(./images/plus.jpg)"});
// 	});
// });

$(document).ready(function() {
  $(function () {
    var tabContainers = $('div#top-vyber > div');
    
    //tabContainers.hide().filter(':first').show();
                        
      $('div#top-vyber a').click(function () {
        tabContainers.hide();
        tabContainers.filter(this.hash).show();
        $('div#top-vyber a').removeClass('active');
        $(this).addClass('active');
        return false;
      });
      //.filter(':first').click();
  });
  
  
  $('#obr-select').click(function () {
    $('div#obr-seznam').show();
  });
  
  $('.radio-select').click(function () {
    var temp = $(this).val();
    $('#obr-select-send').val(temp); 
  });
  
  $('#close-select').click(function () {
    $('div#obr-seznam').hide();
  });
  
});
