function SetHeight(str)
{
	var x,y;
	// общий синтаксис
	if (self.innerHeight) {
	    x = self.innerWidth;
	    y = self.innerHeight;
	// IE 6 Strict Mode
	} else if (document.documentElement && document.documentElement.clientHeight) {
	    x = document.documentElement.clientWidth;
	    y = document.documentElement.clientHeight;
	// Остальные версии IE
	} else if (document.body) {
	    x = document.body.clientWidth;
	    y = document.body.clientHeight;
	}
	y = y - 333;
	document.getElementById(str).setAttribute("height",y)
//alert("Ширина: "+x+"\nВысота: "+y);
}
