$(document).ready(function(){
	/* This code is executed after the DOM has been completely loaded */

	/* Changing thedefault easing effect - will affect the slideUp/slideDown methods: */
	$.easing.def = "easeOutBounce";

	/* Binding a click event handler to the links: */
	$('li.button a').click(function(e){
	
		/* Finding the drop down list that corresponds to the current section: */
		var dropDown = $(this).parent().next();
		
		/* Closing all other drop down sections, except the current one */
		if (dropDown.hasClass('dropdown'))
    {
    
      //$('.dropdown').not(dropDown).slideUp('slow');
      dropDown.slideToggle('normal');
      /*if ($(this).hasClass('m_bottom'))
      {
        //alert('bott');
        var lt = dropDown.find('li:last a');
        alert(lt.attr('href'));
        lt.addClass('m_bottom');
      }*/
		
		/* Preventing the default event (which would be to navigate the browser to the link's address) */
		  e.preventDefault();
		}
	})
	
	
});

$(document).ready(function(){
$('#btn_download').mouseover(
        function()
        {
          $(this).attr('src','/images/btn_download_a.png');
        });

$('#btn_download').mouseout(
        function()
        {
          $(this).attr('src','/images/btn_download.png');
        });
});
