﻿		$(document).ready(function(){  
			$("#featured").tabs({fx:{opacity: "toggle"}}).tabs("rotate", 5000, true);  
			$("#featured").hover(  
			function() {  
			$("#featured").tabs("rotate",0,true);  
			},  
			function() {  
			$("#featured").tabs("rotate",5000,true);  
			}
			);  
		
			$('.browsebutton,.searchbutton,.morenewsbutton').append('<span class="hover"></span>').each(function () {
				var $span = $('> span.hover', this).css('opacity', 0);
				$(this).hover(function () {
					$span.stop().fadeTo(500, 1);
				}, function () {
			$span.stop().fadeTo(500, 0);
				});
			});
			
			
			/*$("#nav-fragment-1 span").click(function(){
												
				window.location = "";
				
			});*/
			
			/*$("#link2").click(function(){
												
				window.location = "";
			});*/
			
			$("#nav-fragment-3 span").click(function(){
												
				window.location = "index.php?page=bookings";
			});
			
			$("#nav-fragment-4 span").click(function(){
												
				window.location = "http://extremeconvention.be/";
			});
			
			$("#nav-fragment-5 span").click(function(){
												
				window.location = "http://www.extremeconvention.be/index.php?page=atlas";
			});
		});
		
