/*
swfobject.embedSWF('getDados.swf', 'getDados', '20px', '20px', '10',
		'js/swfobject/expressinstall.swf', {}, {}, {});
swfobject.embedSWF('index.swf?<?php echo rand(0,500);?>', 'website', '100%',
		'100%', '10', 'js/swfobject/expressinstall.swf', {
			domain : '*'
		}, {
			allowFullScreen : 'true',
			allowscriptaccess : 'always',
			bgcolor : '#ffffff',
			menu : 'false',
			wmode : 'transparent'
		}, {
			id : 'website'
		});
*/
var currentHeight = 0;
function resizeFlash(height) {
	var clientHeight = document.body.clientHeight;
	if (height > clientHeight && height > currentHeight) {
		$('#container, #website').css('height', height + 'px');
	} else {
		if (height <= clientHeight) {
			$('#container, #website').css('height', clientHeight + 'px');
		} else {
			$('#container, #website').css('height', height + 'px');
		}
		currentHeight = $('#container').height();
	}
}
function removeGetDados() {
	$('#getDados').remove();
}
$(document).ready(function() {
	currentHeight = $('#container').height();
	$(window).resize(function() {
		var clientHeight = document.body.clientHeight;
		if (clientHeight > currentHeight) {
			$('#container, #website').css('height', clientHeight + 'px');
			currentHeight = $('#container').height();
		}
	});
	if (!$.browser.msie) {
		$('body, html').css('overflow-x', 'hidden');
	}
});
