$(document).ready(function(){
  $('.topmenu ul li').hover(
        function() {
            
            $(this).find('ul').show();
      $(this).addClass("hov");
      
        },
        function() {
                   
            $(this).find('ul').hide();
      $(this).removeClass("hov");
        }
    );
    
  
});


$(document).ready(
function(){
  $(".topmenu ul li:first").addClass("first");
 });
 
 $(document).ready(function(){
  $('h3.parent').click(
        function() {
            $(this).next('ul').slideToggle();
			$(this).next('ul').toggleClass("hov");
			$(this).toggleClass("hov");
			$(this).removeClass("parent");
        }

    );

});

$(document).ready(function(){
  $('#about').click(
        function() {
            
            $(document).find('#comm').show();
			$(document).find('#comm .com').show('slow');
         
        }
    );
  $('#close').click(
        function() {
            
            $(document).find('#comm').hide();
			$(document).find('#comm .com').hide('slow');
         
        }
    );
    
  
});
$(document).ready(function(){
$(".newsticker-jcarousellite").jCarouselLite({
        visible: 1,
auto:14000,
speed:1,
beforeStart: function(a) {
$(a).parent().fadeTo(1000, 0);
},
afterEnd: function(a) {
$(a).parent().fadeTo(1000, 1);
} 
    });
});  

$(document).ready(function(){
    $("#theform").validate();
  });
