jQuery.noConflict()(function(){
	//w: 445, h: 265
	jQuery('.toggle').hide();
	jQuery('.expander h2 a').click(function(event){
		jQuery('.toggle',jQuery(this).parents('.expander-content')).slideToggle();
		event.preventDefault();
	});
	
	jQuery('.fader').not(':first').hide();
	
//	var fader = window.setInterval(function(){
//		jQuery('.fader:visible').fadeOut(1000);
//		jQuery('.fader:hidden').fadeIn(1000);
//	},1500);

	jQuery('.maparea').each(function(i,e){
		var origWidth = jQuery(e).width(),
		origHeight = jQuery(e).height();
		jQuery('.open',e).click(function(){
			if (jQuery('.original-content',e).is(':visible')) {
				jQuery('.original-content',e).stop().fadeOut(function(){
					jQuery(e).animate({
						width:445,
						height:265
					},function(){
						jQuery('.expanded-content',e).fadeIn();
					});
				});
			} else {
				jQuery('.expanded-content',e).stop().fadeOut(function(){
					jQuery(e).animate({
						width:origWidth,
						height:origHeight
					},function(){
						jQuery('.original-content',e).fadeIn();
					});
				});
			}
		});
	});
	
});