/**
 * public.file.list.js - insert headline here
 *
 * COPYRIGHT: All  title   and  proprietary  rights,  including  trade
 * secrets,   in   the   Software   and   any   copies thereof and the
 * accompanying  written   materials,   are  owned  by   schukai  GmbH
 * and  are  protected  by  German  copyright  laws,  other applicable
 * copyright   laws  and  international  treaty  provisions.
 *
 * @package    alvine
 * @author     schukai GmbH <info@schukai.de>
 * @copyright  Copyright (C) 2002, 2003, 2004, 2005, 2006 schukai GmbH
 * @license    http://www.alvine.de/license/
 * @version    20061114
 * @link       http://www.alvine.de/
 */

function content_frontend_plugin_public_file_list_init(boxID){
  
}

function content_frontend_plugin_public_file_list_registerPopupContent(boxID, popupContentID, popupID, srcID, eventName){
  
  if(typeof popupContentID == 'undefined') return false;
  if(typeof popupID        == 'undefined') return false;
  if(typeof srcID          == 'undefined') return false;
  
  if(!boxID) return false;
  
  srcObj = element_isObject(srcID);
  if(!srcObj) return false;
  
  popupContentObj = element_isObject(popupContentID);
  if(!popupContentObj) return false;
  
  
  srcObj['alvine_boxID']        = boxID;
  srcObj['alvine_popupContent'] = popupContentObj;
  srcObj['alvine_popupID']      = popupID;

  eventName = (typeof eventName == 'undefined')?'click':eventName;
  
  event_add(srcID, eventName, content_frontend_plugin_public_file_list_raisePopUp);

}

function content_frontend_plugin_public_file_list_getRegisteredItems(boxID){
  return public_file_listItems[boxID];  
}


function content_frontend_plugin_public_file_list_raisePopUp(ev){
  if(!ev) ev = window.event;
  
  obj = this;

  var copyObjectLayer = obj.alvine_popupContent.cloneNode(true);

  content_layout_popup_js_show(obj.alvine_popupID, copyObjectLayer.childNodes, true, false, 'Details');
  
  return true;
}

