// FANCYBOX STUFF
$(document).ready(function() {
	$("a.fancyBox").fancybox();
});
	
	
$(function() {
	$('#login-box').hide();
	
	$('a#login-toggle').click(function() {
		$('#login-box').slideToggle("slow");
		return false;
	});
	
	$("#tabs").tabs();
	
	//$("#tabs_2").tabs(); moved to profile template
	
	$("#tabs_3").tabs();
});

// MY ACCOUNT TOP NAV
$(function() {
	$('#myaccount-box').hide();
	
	$('#myaccount-toggle').click(function() {
		$('#myaccount-box').slideToggle("slow");
		return false;
	});
});

// INFO EDIT
$(function() {
	$('#info-edit').hide();
	
	$('#info-edit-toggle').click(function() {
		$('#info-edit').slideToggle("slow");
		return false;
	});
});

// RESORT EDIT
$(function() {
	$('#resort-edit').hide();
	
	$('#resort-edit-toggle').click(function() {
		$('#resort-edit').slideToggle("slow");
		return false;
	});
});

// GUIDE EDIT
$(function() {
	$('#guide-edit').hide();
	
	$('#guide-edit-toggle').click(function() {
		$('#guide-edit').slideToggle("slow");
		return false;
	});
});

// ABOUT EDIT
$(function() {
	$('#about-edit').hide();
	
	$('#about-edit-toggle').click(function() {
		$('#about-edit').slideToggle("slow");
		return false;
	});
});

// CATCH EDIT
$(function() {
	$('#catch-edit').hide();
	
	$('#catch-edit-toggle').click(function() {
		$('#catch-edit').slideToggle("slow");
		return false;
	});
});

// PHOTO EDIT
$(function() {
	$('#photo-edit').hide();
	
	$('#photo-edit-toggle').click(function() {
		$('#photo-edit').slideToggle("slow");
		return false;
	});
});

// LEAVE COMMENT/REVIEW
$(function() {
	$('#comment').hide();
	
	$('#comment-toggle').click(function() {
		$('#comment').slideToggle("slow");
		return false;
	});
});

// PROFILE TRUNCATE - REVIEWS
$(function() {
	$('.truncateReview').truncate({max_length: 290});
});


// TOOLTIP ITEMS
$(function() {
	$('#premium a').tooltip({ 
		track: true, 
		delay: 0, 
		showURL: false, 
		showBody: " - ", 
		fade: 350,
		extraClass: "premiumTooltip"
	});
	
	$('#basic a').tooltip({
		positionLeft: true,
		track: true, 
		delay: 0, 
		showURL: false, 
		showBody: " - ", 
		fade: 350
	});	
});




