(function () {
	var killswitch = 20;
	var u = function (source) {
		var aside = $$('#content>div>div>aside').first();
		var article = $$('#content>div>div>article').last();
		
		if (aside && article && aside.getHeight() < article.getHeight() ) {
			aside.setStyle({height:20+article.getHeight()+'px'});
		}
		//console.log(source, killswitch);
	};
	Event.observe(document,'dom:loaded', function() {u('domload');});
	Event.observe(window,'load', function() {u('load');});
	//Event.observe(window,'resize', function() {u('resize');});
	Event.observe(document,'custom:resize', function() {u('c:resize');});
})();

