$(document).ready(function() {

// FADE SCRIPT
$('#nav a.fade').fadeOut(0);
$('#strapline').fadeOut(0);
$('#strapline').delay(1000).fadeIn('slow')

$('#nav a.fade').each(function(i){
$(this).delay(i*100).fadeIn('slow')
});

//FACEBOOK
$('#facebook-nav').css({opacity:0.5});

$('#facebook-nav').hover(
	function () {
		$('#facebook-nav').fadeTo('fast',1.0);
	},
	function () {
		$('#facebook-nav').fadeTo('fast',0.5);
	}
);





// ABOUT US DESCRIPTIONS

$('.desc1').click(function() {
	$('#display').html('This means if you want the cheapest price possible we suggest you call someone else. At SPADA you\'ll be pampered, not rushed and you’ll have the best techniques and products available for your best hair appointment – ever! ');
});

$('.desc2').click(function() {
	$('#display').html('Before going all out and changing your hairstyle, book in for a complementary consultation at the salon prior to your appointment. ');
});

$('.desc3').click(function() {
	$('#display').html('You\'ve never thought that the shape of your face affects your hairstyle? Well it does. Together we can discuss which look transforms you into looking great\!');
});

$('.desc4').click(function() {
	$('#display').html('At SPADA all our staff have been trained to offer you the best possible advice. We train our staff to believe in the SPADA philosophy, and that is to EDUCATE the client. So not only will you get a haircut that suits you, but you\'ll learn how to maintain your style and the best products to use.');
});

$('.desc5').click(function() {
	$('#display').html('Bring along as many pictures as you can of the kind of cut you\'re looking for. If possible, bring pictures of women with a similar face shape, hairline and hair texture to you to give your stylist a clearer idea of what you\'re after.');
});

$('.desc6').click(function() {
	$('#display').html('If you\'re attached to your long locks, say so. And if you hate your waves, mention it. Once the stylist starts snipping, speak up if the cut is going in a direction that is making you nervous. If, at the end of it all, you’re unhappy with your cut, tell us why. ');
});

$('.desc7').click(function() {
	$('#display').html('We want you to feel we’ve given you the best service possible, otherwise we will redo your hair for free! No questions asked\.');
});

// TEAM
var teamArr = ["marco", "amber", "jess", "louise", "nikki", "todd"];
$('#team a').each(function(i){
	$(this).click(function() {
		$('#small-scrollbox').load('content/team/'+teamArr[i]+'.html');
	});
});

// COLLECTIONS
var collArr = ["american-crew", "loreal-colour", "ahj", "behind-the-scenes"];

$('#collections a').each(function(i){
	$(this).click(function() {
		$('#small-scrollbox').load('content/collections/'+collArr[i]+'.html');
	});
});

// COLLECTIONS
var priceArr = ["scissors-brushes", "technical-work", "policies"];

$('#prices a').each(function(i){
	$(this).click(function() {
		$('#small-scrollbox').load('content/prices/'+priceArr[i]+'.html');
	});
});

$(".fancymap").fancybox({
	'overlayShow'	: true,
	'transitionIn'	: 'elastic',
	'transitionOut'	: 'elastic'
});


});
