function handler(){
	$(".twocolumns").each(
		function(i){
			full = $(this).width();
			spacer = $(this).find(".twoCspacer").width();
			w = full - spacer;
			temp = $(".twoCleft:eq("+ i +")").attr("width");
			leftPercent = temp.slice(0, temp.length - 1);
			leftWidth = Math.floor(w * (leftPercent / 100));
			rightWidth = w - leftWidth;
			
			
			$("div.twoCleft:eq("+ i +")").css({ width: leftWidth });
			$("div.twoCright:eq("+ i +")").css({ width: rightWidth });
			
			$("div.twoCleft:eq("+ i +")").css("float","left");
			$("div.twoCspacer:eq("+ i +")").css("float","left");
			$("div.twoCright:eq("+ i +")").css("float","left");
			
			return true;
		}
	);
}
$(document).ready(
	function(){
		handler();
		window.onresize = handler;
		return false;
	}
);
