jQuery.noConflict();
(function($) {
$(function() {	
	/*TITLE CHANGER + PIC CHANGER*/
	
	$('#thumbs a').mouseover(function() { 
		var source=$(this).attr('href'); 
		$('#mainPic img').fadeOut("slow", function() { $('#mainPic img').removeAttr('width').removeAttr('height'); $('#mainPic img').attr('src', source);  $('#mainPic img').fadeIn('slow'); });  
	});
	$('#thumbs a').click(function() { return false; });
	if($('#left').size()<1) {
		$('#right').css({width: '703px', float: 'none', paddingLeft: '0' });
	}
	$('#submenu li').each(function(i){
		$(this).find('a').click(function(){
			$('.textContent').slideUp();
			$('#text'+i).slideDown();
			$('#submenu li').removeClass('active');
			$(this).parent().addClass('active');
		});
	});
});

})(jQuery);
