jQuery.fn.exists = function(){return jQuery(this).length>0;}
$(document).ready(function () {
	if ($("#page").exists())
	{
		offs = 11;
		fh = $("#footer").outerHeight();
		phh = $("#holder").outerHeight();
		lmh = $("#leftmenu").outerHeight();
		if ((phh+fh) < (lmh-offs)) $("#holder").css('height' , '' + (lmh-fh-offs) + 'px');
	}
	$(".lightbox").lightbox();
});
