/*
Gobal JS: Visit Manchester foriegn market microsite web template
Author: Mark Janson
Author URI: http://www.eskimocreative.com
Coprright: ©Mark Janson of eskimocreative 2009

*/

$(document).ready(function(){
	
	$('a[href^=http://]').attr('target','_blank');

	$('#gallery').cycle({
		fx: 'fade',
		speed: 500,
		timeout: 0,
		next: '#next',
		prev: '#prev'
	});	

	$("#accordionEvents").accordion({
	header: 'h5',
	active: '.open',
	selectedClass:'current',
	alwaysOpen: false,
	collapsible: false
	});

	$("#navmenu li").mouseover(function() {
		$(this).stop(true).css({ backgroundColor: "#F9EA37" });
	}).mouseout(function() {
		$(this).stop(true).animate({ backgroundColor: "#000000" }, 500);
	})
	
	$("#prev, #next").mouseover(function() {
		$(this).stop(true).css({ color: "#F9EA37" });
	}).mouseout(function() {
		$(this).stop(true).animate({ color: "#969696" }, 500);
	})
	
	$(".navPanela .title, .navPanelb .title, .navPanelc .title").mouseover(function() {
		$(this).stop(true).css({ backgroundColor: "#F9EA37" });
	}).mouseout(function() {
		$(this).stop(true).animate({ backgroundColor: "#000000" }, 500);
	})
	
	$("#sidebarMenu ul li#sidebar1").mouseover(function() {
		$(this).stop(true).css({ backgroundColor: "#F9EA37" });
	}).mouseout(function() {
		$(this).stop(true).animate({ backgroundColor: "#1E1E1E" }, 500);
	})
	
	$("#sidebarMenu ul li#sidebar2").mouseover(function() {
		$(this).stop(true).css({ backgroundColor: "#F9EA37" });
	}).mouseout(function() {
		$(this).stop(true).animate({ backgroundColor: "#3C3C3C" }, 500);
	})
	
	$("#sidebarMenu ul li#sidebar3").mouseover(function() {
		$(this).stop(true).css({ backgroundColor: "#F9EA37" });
	}).mouseout(function() {
		$(this).stop(true).animate({ backgroundColor: "#5A5A5A" }, 500);
	})
	
	$("#sidebarMenu ul li#sidebar4").mouseover(function() {
		$(this).stop(true).css({ backgroundColor: "#F9EA37" });
	}).mouseout(function() {
		$(this).stop(true).animate({ backgroundColor: "#787878" }, 500);
	})
	
	$("#sidebarMenu ul li#sidebar5").mouseover(function() {
		$(this).stop(true).css({ backgroundColor: "#F9EA37" });
	}).mouseout(function() {
		$(this).stop(true).animate({ backgroundColor: "#969696" }, 500);
	})

});
<!-- /documentreadyEnd -->