if (dojo.isIE <= 6) { dojo.require('dojo.dnd.autoscroll'); function ieResizeBackground() { if (dojo.dnd.getViewport().w < 980) { dojo.style('global', 'width', '980px'); if (undefined != dojo.byId('flashHome')) { dojo.style('flashHome', 'width', '980px'); } if (undefined != dojo.byId('footsie')) { dojo.style('footsie', 'width', '980px'); } } else { dojo.style('global', 'width', '100%'); if (undefined != dojo.byId('flashHome')) { dojo.style('flashHome', 'width', '100%'); } if (undefined != dojo.byId('footsie')) { dojo.style('footsie', 'width', '100%'); } } if (dojo.dnd.getViewport().h < 600) { dojo.style('global', 'height', '600px'); if (undefined != dojo.byId('flashHome')) { dojo.style('flashHome', 'height', '600px'); } if (undefined != dojo.byId('footsie')) { dojo.style('footsie', 'height', '600px'); } } else { dojo.style('global', 'height', '100%'); if (undefined != dojo.byId('flashHome')) { dojo.style('flashHome', 'height', '100%'); } if (undefined != dojo.byId('footsie')) { dojo.style('footsie', 'height', '100%'); } } } dojo.addOnLoad(ieResizeBackground); dojo.connect(window, 'onresize', ieResizeBackground); }