This trial is conducted globally (the United States of America excepted). This trial is designed to show the effect of treatment with liraglutide when added to existing glimepiride therapy and to compare this to both glimepiride monotherapy and to rosiglitazone as add-on therapy to glimepiride.