flowplayer("player", "scripts/flowplayer-3.1.1.swf");

$(function() {$('#main>a, #main>div>a').lightBox({fixedNavigation:true});});

function initMenu() {
   $('#menu ul li ul').hide();
   $('#menu li a').click(
   function() {
   var checkElement = $(this).next();
   if((checkElement.is('ul')) && (checkElement.is(':visible'))) {
   return false;
   }
   if((checkElement.is('ul')) && (!checkElement.is(':visible'))) {
   $('#menu ul li ul:visible').slideUp('normal');
   checkElement.slideDown('normal');
   return false;
   }
   }
);} $(document).ready(function() {initMenu();});



/* CSS STYLING */

/* #menu ul li:last-child fix for IE */
$(function() {$('body #wrapper #menu ul li:last-child').css('background','url(media/menu_ul_li_bg.png) no-repeat -4px -780px');});

/* Fade a:hover */
  $(document).ready(function(){
    $("a img").mouseover(function(){
  $(this).animate( { borderTopColor: '#ffc312', borderRightColor: '#ffc312', borderBottomColor: '#ffc312', borderLeftColor: '#ffc312' }, 550)
   });

	$("a img").mouseout(function(){
  $(this).animate( { borderTopColor: '#555', borderRightColor: '#555', borderBottomColor: '#555', borderLeftColor: '#555' }, 200);
});
  });
  
  $(document).ready(function(){
    $("a").mouseover(function(){
  $(this).animate( { color: '#ffc312' }, 550)
   });

	$("a").mouseout(function(){
  $(this).animate( { color: '#999' }, 200);
});
  });
