/**
 * Event Class 
 * 
 * LICENSE: For detailed license informations visist 
 * http://tippspiel4free.de/tippermanager/license.
 * 
 * NOTE: This class.event.js Script use the other scripts there are
 * released under GNU/GPL. This File but is NOT released under GNU/GPL.
 *
 * @namespace        style::js::class.event
 * @version          $Id: class.event.js 748 2009-06-14 12:54:21Z tomtaz $
 * @author           Tomtaz
 * @LastChangedBy    $LastChangedBy: tomtaz $    
 * @date             2009-06-14 14:11 +0100
 * @LastChangedDate  $LastChangedDate: 2009-06-14 14:54:21 +0200 (So, 14. Jun 2009) $
 * @Revision         $Revision: 748 $
 * @copyright        (c) 2008-2009 by tippspiel4free.de
 * @license          http://tippspiel4free.de/tippermanager/licence/ Tippspiel4free license
 */
var Event={events:[],add:function(D,C,B,A){A=A||false;if(D.addEventListener){D.addEventListener(C,B,A);this.events["e"+C+B]={object:D,callbackFunction:B,useCaption:A};return true}else{if(D.attachEvent){D["e"+C+B]=B;D[C+B]=function(){D["e"+C+B](window.event)};D.attachEvent("on"+C,D[C+B]);this.events["e"+C+B]={object:D,callbackFunction:B,useCaption:A};return true}else{return false}}},remove:function(D,C,B,A){},removeAll:function(){}};