    $(document).ready(function(){ 
        $("ul.sf-menu").superfish(); 
		
        $("ul.sidebar_menu").superfish({ 
            animation: {height:'show'},   // slide-down effect without fade-in 
            delay:     100               // 1.2 second delay on mouseout 
        }); 
		
       $('.hoverable').hover(
          function() {
             $(this).addClass('hovered');     
          }, function() {
             $(this).removeClass('hovered');  
          }
       );
	   
	   
				$("#content_slider").jCarouselLite({
					btnNext: ".next",
					btnPrev: ".prev",
					auto:10000,
					visible:1,
					speed:3000,
					scroll:1
				});
				$("#event_slider").jCarouselLite({
					btnNext: ".event_next",
					btnPrev: ".event_prev",
					auto:15000,
					visible:1,
					scroll:1,
					speed:3000
				});
				
        $('marquee').marquee('quote').mouseover(function () {
            $(this).trigger('stop');
        }).mouseout(function () {
            $(this).trigger('start');
        });
		
	
	$('#regional_publication').mouseover(function() {
	//get the position of the placeholder element
	  var pos = $("#regional_publication").offset();  
	  var width = $("#regional_publication").width();
	  
	  $(".popup_reg_pub").css( {  "position":"absolute","display" : "block","left":pos.left + "px", "top":(pos.top+40) + "px" } );
	});
	
	$('#regional_publication').mouseout(function() {
	  $('.popup_reg_pub').css({ "display" : "none"});
	});
		

    });
	
function navigate(url)
	{
		if(url!="")
				window.location=url;
	}
