// JavaScript Document

$(document).ready(function($) {
       $('#interactive-footer-area .main').hide();
       $('#interactive-footer-area-header .centralise a').click(function(){
		   $('#interactive-footer-area .main').slideToggle(300);
			return false;
       });
       $('#interactive-footer-area .main .centralise .hideButton a').click(function(){
		   $('#interactive-footer-area .main').slideUp();
			return false;
       });
});

function hoverOverFooterNav() {
	document.getElementById('interactive-footer-area-header').style.background = "#F58C1E";
	
	$('html, body').animate({
		scrollTop: $("#interactive-footer-bottom").offset().top
	}, 1000); 
}

function hoverOutFooterNav() {
	document.getElementById('interactive-footer-area-header').style.backgroundColor = "#F58C1E";
	document.getElementById('interactive-footer-area-header').style.backgroundImage = "url('images/interactive-footer-header-bg.png')";
	document.getElementById('interactive-footer-area-header').style.backgroundPosition= "left";
	document.getElementById('interactive-footer-area-header').style.backgroundRepeat= "repeat-y";
}


$(document).ready(function() {
	$("#menuslide").tabs({ fx: { opacity: 'toggle' } }).tabs('rotate',5000);
});
