  function ChangeDivElementHeight(divElementId, divHeight){
			document.getElementById(divElementId).style.height = divHeight;
		
		}
		var SlideInterval = new Object;
		var ActiveBlocks = new Array;
		
		function BlockAddHeight(BlockId,Height){
			var BlockContentElement = document.getElementById(BlockId);
			if(parseInt(BlockContentElement.style.height) <= Height){
				var pixelsLeft = Height - parseInt(BlockContentElement.style.height);
				var pixelsStep = Math.round(pixelsLeft/8);
				if(pixelsStep <= 1){
					pixelsStep = 1;
				}
				BlockContentElement.style.height = parseInt(BlockContentElement.style.height)+pixelsStep+'px';
			}else{
				clearInterval(SlideInterval[BlockId]);
			}
			
		}
		
		function BlockMinusHeight(BlockId,Height){
			var BlockContentElement = document.getElementById(BlockId);
			if(BlockContentElement.style.height == '100%')
				BlockContentElement.style.height = Height+'px';
			
			if(parseInt(BlockContentElement.style.height) >= 0){
				var pixelsStep = parseInt(BlockContentElement.style.height)-Math.round(parseInt(BlockContentElement.style.height)/5);
				if(pixelsStep <= 1){
					pixelsStep = 1;
				}
				BlockContentElement.style.height = pixelsStep+'px';

			}else{
				
				clearInterval(SlideInterval[BlockId]);
			}
			
		}
		
		function slideBlockHeight(Func,BlockId,HeightTo){
			if(SlideInterval[BlockId]) clearInterval(SlideInterval[BlockId]);
			SlideInterval[BlockId] = setInterval(Func+"('"+BlockId+"',"+HeightTo+")",12);
		}
		
		function DisplaceBlock(InnerDivId,ResizeTo,evalOnAutoMin){
			var BlockContentElement = document.getElementById(InnerDivId);
			if(parseInt(BlockContentElement.style.height) >= parseInt(ResizeTo)){
				slideBlockHeight('BlockMinusHeight',InnerDivId,parseInt(ResizeTo));
			}else{
				for(var i=0;i<ActiveBlocks.length;i++){
					slideBlockHeight('BlockMinusHeight',ActiveBlocks[i],parseInt(ResizeTo));
				}
				if(evalOnAutoMin){
					eval(evalOnAutoMin);
				}
				slideBlockHeight('BlockAddHeight',InnerDivId,parseInt(ResizeTo));
			}
			
			
		}