﻿function setHeightLeft() {
	var component = pxDOM.byId('side-left');
	var i = 90;
	var height = 300;
	if (component.innerHeight) {
		height = height * Math.ceil(component.innerHeight / height) + i;
		component.style.height = height + "px";			
		return;					
	}
	
	if (component.clientHeight) {	
		height = height * Math.ceil(component.clientHeight / height) + i;
		component.style.height = height + "px";								
	}	
}

function setHeightLeft2() {
	var component = pxDOM.byId('side-left');
	var i = -20;
	var height = 339;
	if (component.innerHeight) {
		height = height * Math.ceil(component.innerHeight / height) + i;
		component.style.height = height + "px";			
		return;					
	}

	if (component.clientHeight) {	
		height = height * Math.ceil(component.clientHeight / height) + i;
		component.style.height = height + "px";								
	}	
	
	if (init) init();
}


