var etb = {

    HEIGHT : 640,

    centerContent : function() {
        var h = $(window).height();
        if (h > etb.HEIGHT) {
            $('#canvas').css('margin-top', ((h - etb.HEIGHT) / 2.0) + 'px');
        } else {
            $('#canvas').css('margin-top', '0');
        }
    }
    
}

$(function() {
    if ($.browser.msie && ($.browser.version === '6.0' || $.browser.version === '7.0')) {
        $('#floater').remove();
	    etb.centerContent();
    	$(window).resize(etb.centerContent);
    }
});
