$(document).ready(	function(){		$(window).scroll(			function(){				if(!$.browser.msie){					var x = $(this).scrollTop();					$('body').css('background-position', '0% ' + parseInt(-x / 10) + 'px');				}			}		);		$('.menu li:even').addClass('odd');		equalizeHeight('#sidebar,#content');				$('.calnk').contents().each(			function(){				$(this).contents()[0].nodeValue = $(this).contents()[0].nodeValue.substring(0,11) + "...";			}		);	});function equalizeHeight(selector){	//set the starting bigestHeight variable	var biggestHeight = 0;	//check each of them	$(selector).each(function(){		//if the height of the current element is		//bigger then the current biggestHeight value		if($(this).height() > biggestHeight){			//update the biggestHeight with the			//height of the current elements			biggestHeight = $(this).height();		}	});		if(biggestHeight<850) biggestHeight = 850;	//when checking for biggestHeight is done set that	//height to all the elements	$(selector).height(biggestHeight);}
