
window.onload = function() {


                 /*** MENU' ***/
                 _as = document.getElementsByTagName( "A" );

                 for( var _count = 0; _count < _as.length; _count++ )
                  if( _as[_count].className === "actuator" )
                   _items[_items.length] = _as[_count].id;

                 for( var _index in _items )
                  _initializeMenu_( _items[_index] + "Menu", _items[_index] );

                 _divs = document.getElementsByTagName( "DIV" );

                 for( var _index in _divs )
                  if( _divs[_index].id !== "mainMenu" )
                   _divs[_index].onclick = function() {
                                            if( _isTopAlign_() && ( null !== _currentMenu ) ) {
                                             _currentMenu.style.visibility = "hidden";
                                             _currentMenu.style.display = "none";
                                             _currentMenu = null;
                                            }

                                            return;
                                           }

                 _menuResize_();


                 /*** PULITORE ***/
                 _recParseTree_( document );


                 /*** MOTORE DI RICERCA ***/
                 if( document.getElementById( "go" ) ) {
                  document.getElementById( "go" ).onmouseover = function() {
                                                                 this.style.backgroundColor='#003399';
                                                                 this.style.color='#FFFFFF';
                                                                 return;
                                                                }
															   
                  document.getElementById( "go" ).onmouseout = function() {
                                                                this.style.backgroundColor='#ffffff';
                                                                this.style.color='#003399';
                                                                return;
                                                               }
                 }


                 return;

                }

window.onresize = function() {


                   /*** MENU' ***/
                   if ( ( ! _isLeftAlign_() ) && ( null !== _currentMenu ) ) {
                    _currentMenu.style.visibility = "hidden";
                    _currentMenu.style.display = "none";
                    _currentMenu = null;
                   }

                   _menuResize_();


                   return;

                  }
