//Pega o tamanho da tela ocupada pelo site
function getInnerSize() {
	var size = new Array(2);
	var myWidth = 0, myHeight = 0;
	//Non-IE
	if( typeof( window.innerWidth ) == 'number' ) {
		size[0] = window.innerWidth;
		size[1] = window.innerHeight;
	//IE 6+ in 'standards compliant mode'
	} else if ( document.documentElement &&
					( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {		
		size[0] = document.documentElement.clientWidth;
		size[1] = document.documentElement.clientHeight;
	//IE 4 compatible
	} else if( document.body && ( document.body.clientWidth ||
	document.body.clientHeight ) ) {		
		size[0] = document.body.clientWidth;
		size[1] = document.body.clientHeight;
	}
	return size;
}
