// JavaScript Document

function redimensionaTela() {
	if( typeof( window.innerWidth ) == 'number' ) {
		//Non-IE
		
		document.getElementById('redimensiona').style.paddingTop = (window.innerHeight-document.getElementById('redimensiona').style.height.replace('px', ''))/2 + 'px';
		document.getElementById('redimensiona').style.paddingBottom = (window.innerHeight-document.getElementById('redimensiona').style.height.replace('px', ''))/2 + 'px';
	} else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
		
		//IE 6+ in 'standards compliant mode'
		document.getElementById('redimensiona').style.paddingTop = (document.documentElement.clientHeight-document.getElementById('redimensiona').style.height.replace('px', ''))/2 + 'px';
		document.getElementById('redimensiona').style.paddingBottom = (document.documentElement.clientHeight-document.getElementById('redimensiona').style.height.replace('px', ''))/2 + 'px';
	} else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
		//IE 4 compatible
		document.getElementById('redimensiona').style.paddingTop = (document.body.clientHeight-document.getElementById('redimensiona').style.height.replace('px', ''))/2 + 'px';
		document.getElementById('redimensiona').style.paddingBottom = (document.body.clientHeight-document.getElementById('redimensiona').style.height.replace('px', ''))/2 + 'px';
	}
}