respond_to do |format|
      format.json { render :json => window_data.as_json, :status => :unauthorized }
      format.js { render :json => window_data.as_json, :status => :unauthorized }
      format.xml { render :xml => window_data.to_xml, :status => :unauthorized }
      format.any { render :text => window_content(displayed_data, window_data), :status => :unauthorized }