Tower.EUO.Translate = function(options) {
  var instance = this;
  instance._translateURL = options.translateURL || '';
  var w = Tower.Util.getWindowWidth(800);
  w = (w - 400);
  var position = 'center';
  if (w > 0) {
    position = [(w / 2), 50];
  }
  var popup = Liferay.Popup({
    modal: true,
    title: Liferay.Language.get("create-copy-for-channel"),
    width: 400,
    position: position
  });
  jQuery.ajax({
    url: instance._translateURL,
    success: function(response) {
      jQuery(popup).html(response);
    }
  });
};
