$(document).ready(function(){
		var windowHeight = document.documentElement.clientHeight;
		var ElementHeight = $("#footerbk").height();
		$("#footerbk").css({
			"position": "absolute",
			"top": windowHeight-ElementHeight
			});
		$("#wrapper").css({"height": windowHeight-100 + "px"});
		$("#col1").css({"height": windowHeight-170 + "px"});
		$("#col2").css({"height": windowHeight-170 + "px"});
		$("#col3").css({"height": windowHeight-170 + "px"});
	})

$(window).resize(function(){
		var windowHeight = document.documentElement.clientHeight;
		var ElementHeight = $("#footerbk").height();
		$("#footerbk").css({
			"position": "absolute",
			"top": windowHeight-ElementHeight + "px"
			});
		$("#wrapper").css({"height": windowHeight-50 + "px"});
		$("#col1").css({"height": windowHeight-120 + "px"});
		$("#col2").css({"height": windowHeight-120 + "px"});
		$("#col3").css({"height": windowHeight-120 + "px"});
	})


<!-- Widths -->

$(document).ready(function(){
		var windowWidth = document.documentElement.clientWidth;
		var col2WidthCal = windowWidth-370;
		var col2Width = ""
		var wrapper = ""
		
		
		if(col2WidthCal > 430 && col2WidthCal < 600 ){
			col2Width = col2WidthCal
			wrapper = col2WidthCal+370				
		}
		else if (col2WidthCal > 600){
			col2Width = 600
			wrapper = 970
		}
		else{
			col2Width = 430
			wrapper = 800
		};
		
		$("#col2").css({"width": col2Width +"px"});
		$("#wrapper").css({"width": wrapper + "px"});							
	})

$(window).resize(function(){
		var windowWidth = document.documentElement.clientWidth;
		var col2WidthCal = windowWidth-370;
		var col2Width = ""
		var wrapper = ""
		
		
		if(col2WidthCal > 430 && col2WidthCal < 600 ){
			col2Width = col2WidthCal
			wrapper = col2WidthCal+370				
		}
		else if (col2WidthCal > 600){
			col2Width = 600
			wrapper = 970
		}
		else{
			col2Width = 430
			wrapper = 800
		};
		
		
		$("#col2").css({"width": col2Width +"px"});
		$("#wrapper").css({"width": wrapper + "px"});	
		
	})


