function positionFooter(){
	var heightContent1 = 0;
	var heightContent2 = 0;
	var heightContent = 0;

		heightContent1  = document.getElementById('rightSide').offsetHeight > heightContent1 ? document.getElementById('rightSide').offsetHeight : heightContent1;
		heightContent2 = document.getElementById('leftSide').offsetHeight > heightContent2 ? document.getElementById('leftSide').offsetHeight : heightContent2;
		
    heightContent1  = heightContent1 + 330;
		heightContent = heightContent1 > heightContent2 ? heightContent1 : heightContent2;
 
	// Is there an element with the ID "div_footer"?
	if (document.getElementById('footer')){
		// IE or not IE?
		if (navigator.userAgent && navigator.userAgent.indexOf("MSIE") >= 0){
			document.getElementById('footer').style.setAttribute('top', heightContent + 'px');
			document.getElementById('footer').style.setAttribute('visibility', 'visible');
		}else{
			document.getElementById('footer').style.setProperty('top', heightContent + 'px', null);
			document.getElementById('footer').style.setProperty('visibility', 'visible', null);
		}
	}
}
