$(document).ready(function(){
	
	$('ul li:first-child').addClass('firstChild');
	$('ul li:last-child').addClass('lastChild');			
	
	$('#rigDiagram').flash({ 
		src: '/images/theme/images/flash/diagram.swf?V3',
		width: 180,
		height: 482	
		},{ version: 8}
	);
	$('#rigDiagram').css({ height:"482px", overflow: "hidden" });
	
	/*$('#locationMap').flash({ 
		src: '/images/theme/images/flash/map.swf?V2',
		width: 612,
		height: 301	
		},{ version: 8}
	);
	$('#locationMap').css({ height:"301px", overflow: "hidden" });*/
	
	$("#mainMenu a").hover(
		function () {
			$(this).stop().animate({textIndent: "10px"}, 150);
		}, 
		function () {
			$(this).stop().animate({textIndent: "0"}, 350);
		}
	);
    
    // fastfacts rotation
    $('#fastfact').cycle()
    
    // add some jewellery
    $('.addition>a').append(' >>');
	
});

