Switched logic from AJAX to server side. Now this will make IE7+ happy.