$(document).ready(function() {
	
	/* BUY */
	
	var buyhtml = '<h2>Just want to buy your photo?</h2><p>Click the "Buy A Photo" button and away you go!</p><p>To learn more about using 21Cphotos point your mouse at the links on the right.</p>';
	
	$(".buy1 a").hover(function() {
		$("#buy-content").hide();
		$("#buy-content").html('<strong>1.</strong> Find your photo - browse or search<br /><strong>2.</strong> Pay with your credit card online via PayPal - no need to register or signup<br /><strong>3.</strong> Enter your email address - and download your photo(s) instantly!').fadeIn();
	});
	
	$(".buy1 a").mouseout(function() {
		$("#buy-content").hide();
		$("#buy-content").html(buyhtml).fadeIn();
	});
	
	$(".buy2 a").hover(function() {
		$("#buy-content").hide();
		$("#buy-content").html('<li>Get your photo(s) as soon as you\'ve paid<li>No cheques to send, no waiting for prints or disks in the post, no emails stuck in your spam filter...<li>No waiting - no worries!').fadeIn();
	});
	
	$(".buy2 a").mouseout(function() {
		$("#buy-content").hide();
		$("#buy-content").html(buyhtml).fadeIn();
	});
	
	$(".buy3 a").hover(function() {
		$("#buy-content").hide();
		$("#buy-content").html('<li>Do what you want with your photos!<li>Display on your PC, tablet, smartphone, or digital photo frame<li>Post to Facebook, Twitter. Email to friends & family<li>And you can even print them if you want!').fadeIn();
	});
	
	$(".buy3 a").mouseout(function() {
		$("#buy-content").hide();
		$("#buy-content").html(buyhtml).fadeIn();
	});
	
	$(".buy4 a").hover(function() {
		$("#buy-content").hide();
		$("#buy-content").html('<li>We sell digital images<li>We don\'t offer CD\'s, multiple sized prints, frames, posters, calendars, mugs etc. - (but you can get those if you want)<li>It\'s your picture. Buy it - use it!').fadeIn();
	});
	
	$(".buy4 a").mouseout(function() {
		$("#buy-content").hide();
		$("#buy-content").html(buyhtml).fadeIn();
	});
	
	/* SELL */
	
	var sellhtml = '<h2>Want to sell your event photos?</h2><p>Try the 21Cphotos FREE TRAIL to see how you can sell your pictures easily and profitably.</p><p>To find out more click the "Sell Your Photos" button.</p>';

	$(".sell1 a").mouseover(function() {
		$("#sell-content").hide();
		$("#sell-content").html('<li>Upload your photos through 21CPhotos<br /><br /><li>Set prices and organise your galleries<br /><br /><li>Put the event live and sell them immediately').fadeIn();
	});
	
	$(".sell1 a").mouseout(function() {
		$("#sell-content").hide();
		$("#sell-content").html(sellhtml).fadeIn();
	});
	
	$(".sell2 a").mouseover(function() {
		$("#sell-content").hide();
		$("#sell-content").html('<li>Only pay for images you upload, not unused web space<li>Payments go directly to you. No waiting, no fees, no commission<li>No admin at all - the sales process is all taken care of').fadeIn();
	});
	
	$(".sell2 a").mouseout(function() {
		$("#sell-content").hide();
		$("#sell-content").html(sellhtml).fadeIn();
	});
	
	$(".sell3 a").mouseover(function() {
		$("#sell-content").hide();
		$("#sell-content").html('<p>Any sports event, carnival, party, concert, presentation evening, corporate function, school activity, charity challenge, and more... Anywhere people get together, 21Cphotos can be used to sell photos. You can even opt to distribute them for free!</p>').fadeIn();
	});
	
	$(".sell3 a").mouseout(function() {
		$("#sell-content").hide();
		$("#sell-content").html(sellhtml).fadeIn();
	});
	
	$(".sell4 a").mouseover(function() {
		$("#sell-content").hide();
		$("#sell-content").html('<li>Sell directly from 21Cphotos.com<li>Or use our sales technology on your own website (one line of code - as easy as embedding a YouTube movie)<li>Or on the event/client website<li>Or all three!').fadeIn();
	});
	
	$(".sell4 a").mouseout(function() {
		$("#sell-content").hide();
		$("#sell-content").html(sellhtml).fadeIn();
	});
});
