	function resizeHomepage()
	{
		var imageLong = 0;
		var imageShort = 0;
		var imageLongMax = 600;
		var imageLongMin = 300;
		var imageLongW = Math.floor(((document.getElementById("cellContent").offsetWidth - 300) * 2/3));
		var imageLongH = document.getElementById("cellContent").offsetHeight - 70;
//alert(document.getElementById("cellContent").offsetWidth + "\n" + imageLongW + "\n" + imageLongH);

		if (imageLongH < imageLongW)
			imageLong = imageLongH;
		else
			imageLong = imageLongW;

		if (imageLong > imageLongMax)
			imageLong = imageLongMax;
		else if (imageLong < imageLongMin)
			imageLong = imageLongMin;

		imageShort = Math.round(imageLong / 2) - 4;

		document.getElementById("shadowLeft").style.height = imageLong;
		document.getElementById("shadowLeft").style.width = imageShort;
		document.getElementById("shadowLeft").style.visibility = "visible";
		document.getElementById("shadowTop").style.height = imageShort;
		document.getElementById("shadowTop").style.width = imageLong;
		document.getElementById("shadowTop").style.visibility = "visible";
		document.getElementById("shadowBottom").style.height = imageShort;
		document.getElementById("shadowBottom").style.width = imageLong;
		document.getElementById("shadowBottom").style.visibility = "visible";
	}

