// error handling function stopError() { return true; } window.onerror=stopError; // object creation function getObj(name) { if( document.getElementById ) { this.obj=document.getElementById( name ); this.style=document.getElementById( name ).style; } else if( document.all ) { this.obj=document.all[name]; this.style=document.all[name].style; } } // browser detection var BrowserDetect = { init: function() { this.browser=this.searchString( this.dataBrowser ) || "unknown browser"; this.version=this.searchVersion( navigator.userAgent ) || this.searchVersion( navigator.appVersion ) || "unknown version"; }, searchString: function( data ) { for( var i=0;i