function flashTest(debug) {
	// Default value for debug mode 
	debug = typeof(debug) != 'undefined' ? debug : false;
	
	var playerVersion = swfobject.getFlashPlayerVersion(); // returns a JavaScript object
	var majorVersion = playerVersion.major; // access the major, minor and release version numbers via their respective properties
	
	if (majorVersion >= 9) {
		$('footer').append('<div><strong>YOU HAVE FLASH PLAYER VERSION ' + majorVersion + '</strong></div>');
		// They have Flash so let's redirect (unless we're in debug mode)
		if (!debug) {
			window.location.replace('/');
		}
	} else {
		$('footer').append('<div><strong>YOU DON\'T HAVE THE LATEST FLASH PLAYER</strong></div>');
	}
}
function equalColumns() {
	if ($('nav').height() < $('#main').height()) {
		$('nav').height(function() { return $('#main').height(); });
	} 
}
function resizeMainImage() {
	$('img.main_image')
		.width(620)
		.load(function(){
			equalColumns();
		});
	
}

