$(document).ready(function() {
	var i = Math.floor(Math.random()*3) + 1;
  $('.cyclemeet-display-first').load('meet-panel'+i+'.htm', null, function() {
    // start_cycler();
  });
});

// controls the banrnav menu in the image banner
$(document).ready(function() 
	{
	// these classes mark a <div> for swapping for each button
	var current_div = '.cyclemeet-display-first';
	var next_div = '.cyclemeet-display-second';

	// this associates nav content to the swapping <div> tag
	$('ul#mnav li > a').click(function(ev) 
		{
		var tmp_div = '';
		ev.preventDefault();
		$('ul#mnav li > a').removeClass('selected');
		$(this).addClass('selected');
    	$(next_div).load($(this).attr('href'), null, function() 
			{
  			$(current_div).fadeOut(150, function() 
				{
  				$(current_div).html($(next_div).html());
				$(current_div).fadeIn(1000);
  				});		
			});
  		});
  		});
  		
  		$(document).ready(function() {
$(".before-after > img.a").live('mouseover', 
function() {
$(this).animate({"opacity": "0"}, "slow");
});

$(".before-after > img.a").live('mouseout', 
function() {
$(this).animate({"opacity": "1"}, "slow");
});
});
