var ScrollW = {
  initialize: function(){
    //alert('Scrollwheel');
    this.debugging = true;
    this.busyCount = 0;
    this._debug('initialize');
    document.getElementById('flashcontent').onload = this.start;
    /** DOMMouseScroll is for mozilla. */
    if(window.addEventListener){
      //alert('window.addEventListener');
      window.addEventListener('DOMMouseScroll', this.wheel, false);
    }
    /** IE/Opera. */
    window.onmousewheel = document.onmousewheel = this.wheel;
    //IE exclusive method for binding an event
    if (window.attachEvent) {
      window.attachEvent('onmousewheel', this.wheel);
    }
  },
  start: function(){
    //window.document.network_map.focus();
  },
  //caputer event and do nothing with it.
  wheel: function(event){
     //alert('wheel');
    if(navigator.appName == 'Netscape'){
      if (event.detail){
        delta = 0;
      }
      if (event.preventDefault){
        //console.log(’prevent default exists’);
        event.preventDefault();
        event.returnValue = false;
      }
    }
    return false;
  },
  _debug: function(msg){
    if( this.debugging ){
      //console.log(msg);
    }
  }
};

//You need to call this from your html page:
//ScrollW.initialize();

