Ext.onReady(function(){

		oldstyle = function() {
			box = new Ext.get('mainColumn'); 
			//box.dom.style.display = 'block';
			var sa = Ext.DomQuery.select('div.crazyoverflow','mainColumn');
			for (i=0; i<sa.length; i++) {
			  sa[i].style.overflow = 'auto';
			}
		}

		expand_f = function(){
			box = new Ext.get('mainColumn'); 
			//box.dom.style.display = 'none';
			var sa = Ext.DomQuery.select('div.crazyoverflow','mainColumn');
			for (i=0; i<sa.length; i++) { 
				sa[i].style.overflow = 'hidden';
			}
            
			//box = new Ext.get('leftCol');
			//box.replaceClass('collapsed','expanded');
			box.slideIn('l', {
				easing: 'easeOut',
				duration: 2.5
			});
			setTimeout("oldstyle()",2500);
		};
		
		expand_g = function(){
            box = new Ext.get('mainColumn');
			tx = box.getWidth(); ty = box.getHeight();
			box.setWidth(10);
			box.scale(tx,ty, {
				easing: 'easeOut',
				concurrent: true,
				duration: 5.5
			});
		};
		
		//window.onload = expand_f;
		expand_f();
		//setTimeout("expand_f()",100);
});
/*
$(function(){
			$('#mainColumn').css({'clip': 'rect(0px, 315px, 460px, 0px)'});
		//	$c = $('#mainContent');
		//	setTimeout("$c.jScrollPane({showArrows:true, scrollbarWidth: 16, arrowSize: 16 })",100);
});
*/