$(document).ready(function() {						   	var hash = window.location.hash.substr(1);	var href = $('#small_image a').each(function(){		var href = $(this).attr('href');		if(hash==href.substr(0,href.length)){			var leftLoad = hash+'.html #left_content';			$('#left_content').load(leftLoad)			var rightLoad = hash+'.html #right_content';			$('#right_content').load(rightLoad)		}		return false;	});		$('#left_images a.click_lead,#right_content a.click_lead').click(function(){								  		var leftLoad = $(this).attr('href')+' #left_content';		$('#left_content').animate({left: "-410px"}, 1000,loadLeftContent);		$('#left_images .lead').fadeOut(1500);		$('#load').remove();		$('#wrapper').append('<span id="load">LOADING...</span>');		$('#load').fadeIn(1500);		window.location.hash = $(this).attr('href').substr(0,$(this).attr('href').length);		function loadLeftContent() {			$('#left_content').load(showLeftContent())		}		function showLeftContent() {			$('#left_images .kickout,#left_images .heat').fadeIn(1500,hideLoader());		}		function hideLoader() {			$('#load').fadeOut('normal');		}						var rightLoad = $(this).attr('href')+' #right_content';		$('#right_content,#right_content a').fadeOut(1500,loadRightContent);		$('#load').remove();		$('#wrapper').append('<span id="load">LOADING...</span>');		$('#load').fadeIn(1500);		window.location.hash = $(this).attr('href').substr(0,$(this).attr('href').length);		function loadRightContent() {			$('#right_content').load(rightLoad,'',showRightContent())		}		function showRightContent() {			$('#right_content').fadeIn(1500,hideLoader());		}		function hideLoader() {			$('#load').fadeOut('normal');		}		return false;	});		$('#left_images a.click_kickout,#right_content a.click_kickout').click(function(){								  		var leftLoad = $(this).attr('href')+' #left_content';		$('#left_content').animate({left:"-825px"}, 1000,loadLeftContent);		$('#left_images .kickout').fadeOut(1500);		$('#load').remove();		$('#wrapper').append('<span id="load">LOADING...</span>');		$('#load').fadeIn(1500);		window.location.hash = $(this).attr('href').substr(0,$(this).attr('href').length);		function loadLeftContent() {			$('#left_content').load(showLeftContent())		}		function showLeftContent() {			$('#left_images .lead,#left_images .heat').fadeIn(1500,hideLoader());		}		function hideLoader() {			$('#load').fadeOut('normal');		}						var rightLoad = $(this).attr('href')+' #right_content';		$('#right_content,#right_content a').fadeOut(1500,loadRightContent);		$('#load').remove();		$('#wrapper').append('<span id="load">LOADING...</span>');		$('#load').fadeIn(1500);		window.location.hash = $(this).attr('href').substr(0,$(this).attr('href').length);		function loadRightContent() {			$('#right_content').load(rightLoad,'',showRightContent())		}		function showRightContent() {			$('#right_content').fadeIn(1500,hideLoader());		}		function hideLoader() {			$('#load').fadeOut('normal');		}		return false;	});	$('#left_images a.click_heat,#right_content a.click_heat').click(function(){								  		var leftLoad = $(this).attr('href')+' #left_content';		$('#left_content').animate({left:"-1240px"}, 1000,loadLeftContent);		$('#left_images .heat').fadeOut(1500);		$('#load').remove();		$('#wrapper').append('<span id="load">LOADING...</span>');		$('#load').fadeIn(1500);		window.location.hash = $(this).attr('href').substr(0,$(this).attr('href').length);		function loadLeftContent() {			$('#left_content').load(showLeftContent())		}		function showLeftContent() {			$('#left_images .kickout,#left_images .lead').fadeIn(1500,hideLoader());		}		function hideLoader() {			$('#load').fadeOut('normal');		}						var rightLoad = $(this).attr('href')+' #right_content';		$('#right_content,#right_content a').fadeOut(1500,loadRightContent);		$('#load').remove();		$('#wrapper').append('<span id="load">LOADING...</span>');		$('#load').fadeIn(1500);		window.location.hash = $(this).attr('href').substr(0,$(this).attr('href').length);		function loadRightContent() {			$('#right_content').load(rightLoad,'',showRightContent())		}		function showRightContent() {			$('#right_content').fadeIn(1500,hideLoader());		}		function hideLoader() {			$('#load').fadeOut('normal');		}		return false;			});	});