or model the returned content will then be displayed in the manufacturer 39 s portal frame the event dispatcher and handler functions preferably are programmed using javascript u2122 in the parent frameset element the event dispatcher function preferably is the main interface that is used to communicate all events to the target frame 39 s server when an event occurs in the cas frame the cas application preferably packages the context information including the event id from the frame into a jscript u2122 object and calls the dispatcher the cas application preferably passes the javascript u2122 object to the dispatcher as a function parameter all events within the cas application preferably are pre defined and given an event id each event preferably is associated with an event handler u2014 a function which assigns a url address to the location property of the manufacturer 39 s portal frame if such event handler is not pre programmed the particular event is ignored for all major modules of the cas application the cas application preferably calls the dispatcher on an u201c on load u201d event for any page in the module with the object passed to it containing the module id the cas application also passes a page id with the module id if the manufacturer application is interested in more detail the dispatcher javascript function preferably checks for the event by extracting the event id from the packaged object passed to it when the event id has a handler associated with it the dispatcher preferably executes the appropriate handler if the user re visits a page with an event the event preferably is executed again with the parameters an example of the code of the frameset element that defines the two frames and controls their.