/*
// QUICKLINKS SELECTOR
var quicklinker = function() {
	var quicks = document.getElementById('quicklinks').getElementsByTagName('LI');
	var journey	= 3;
	
	
	for(var i=0; i<quicks.length; i++) {		
		quicks[i].onmouseover = function() {
			var current = parseInt(this.className.split('-')[1]);
			if(current > 0) var prv = quicks[current-1];
			if(current < 3) var nxt = quicks[current+1];
			quicks[current].style.backgroundColor = '#0c1a24';
			if(prv) prv.style.background = 'url(/images/quicklinks_left_btm.gif) no-repeat right bottom';
			if(nxt) nxt.style.background = 'url(/images/quicklinks_right_btm.gif) no-repeat left bottom';
		}
		
		quicks[i].onmouseout = function() {
			var current = parseInt(this.className.split('-')[1]);
			if(current > 0) var prv = quicks[current-1];
			if(current < 3) var nxt = quicks[current+1];
			this.style.backgroundColor = '#fff';
			if(prv) prv.style.backgroundImage = '';
			if(nxt) nxt.style.backgroundImage = '';
		}
	}
}

window.onload = quicklinker;
*/

jQuery(document).ready(function(){

	var i=1; 
	jQuery('#quicklinks li').each(function(){
		$(this).attr('id', 'quicklink'+i);
		i++;
	});
	
	jQuery('#quicklinks li').hover(function(){
		$(this).css('background', '#0c1a24');
		$(this).prev().css('background', 'url(/images/quicklinks_left_btm.gif) no-repeat right bottom');
		$(this).next().css('background', 'url(/images/quicklinks_right_btm.gif) no-repeat left bottom');
	}, function(){			
		$(this).prev().css('background', 'none');
		$(this).next().css('background', 'none');
	});
	
});


