function ajustar( divID, minWidth, minHeight ) {
	
	var _div = document.getElementById( divID );

	_div.style.minWidth = minWidth + 'px';
	_div.style.minHeight = minHeight + 'px';
	
	var ieFixVer = ( navigator.appName.indexOf( 'Microsoft' ) != -1 ) && ( parseInt( navigator.appVersion.split('MSIE ')[1] ) < 7 );
	var operaFixVer = ( navigator.appName.indexOf( 'Opera' ) != -1 );
	
	if( ieFixVer || operaFixVer ) {
		
		if( document.compatMode == 'CSS1Compat' ) { 
			var _body = this.document.body.parentNode;
			document.body.style.overflow = 'visible';
		} else {
			var _body = this.document.body;
		}
		
		var fixSWFResizing = function( e ) {

			clearTimeout( arguments.callee.timID );

			if( e ) {
				arguments.callee.timID = setTimeout( arguments.callee , 200 );
				return;
			} 
			
			if( _body.clientHeight < minHeight ) {
				_div.style.height = minHeight + 'px';
				_body.style.overflowY = 'scroll';
			} else {
				_div.style.height = '100%';
				_body.style.overflowY = 'auto';
			}
			if( _body.clientWidth < minWidth ) {
				_div.style.width = minWidth + 'px';
				_body.style.overflowX = 'scroll';
			} else {
				_div.style.width = '100%';
				_body.style.overflowX = 'auto';
			}
	
		}
		
		window.attachEvent( 'onresize' , fixSWFResizing );
		
		fixSWFResizing();
		
	}
	

}

