 /**
  * Events manager Object
  *                      @author: Lkrannabetter
  *
  *       }
  *
  */           
  eventsManager = {
  
      mainWindow: null
      
      ...
  
  
  
  
      initialize: function() {
        mainWindow = window;
        ....
        ....
        ....
        
      }
      
      
      /**
       * Attach an event listener to a passed element
       *
       *...
       
       USAGE: 
       
       events: "mousedown", "mouseup", "mouseover", "mousemove", "mouseout"
       example:
       	eventsManager.attachEvent(window, "onload", function(){whatever})
       *...
       * @see Prototyoe 1.4.1: attachEvent       
       *                     
       *   @param element Mixed element where the event is attached to
       *   @param eventStr The string corresponding the event
       *   
       *
       *...
       *  @return Boolean true, if the event was successfully attached                                        
       */                    
      ,attachEvent: function(element, eventStr, func){
      
        ...
        ...
        ...
        
        return true;
      
      
      }
      
      
      further functions
      
      
  
  
  }