rem: debug._minLink = new Element('span').setHTML('MIN').injectInside(debug._actions).addEvent('click',function(){ this.setStyle('display', 'none'); debug._maxLink.setStyle('display','inline'); debug.minimize(); }).setStyle('cursor','pointer'); debug._maxLink = new Element('span').setHTML('MAX').injectInside(debug._actions).addEvent('click',function(){ this.setStyle('display', 'none'); debug._minLink.setStyle('display','inline'); debug.maximize(); }).setStyle('cursor','pointer'); if(Cookie.get('mootools-debugger-status') && Cookie.get('mootools-debugger-status').toInt() < 50) debug._minLink.setStyle('display','none'); else debug._maxLink.setStyle('display','none');  
add: debug._minLink = new Element('span').setHTML('MIN').injectInside(debug._actions).addEvent('click', function(){ debug.minmax(); }).setStyle('cursor', 'pointer'); debug._maxLink = new Element('span').setHTML('MAX').injectInside(debug._actions).addEvent('click', function(){ debug.minmax(true); }).setStyle('cursor', 'pointer');  var debuggerStatus = Cookie.get('mootools-debugger-status'); ((debuggerStatus && (debuggerStatus.toInt() < 50)) ? debug._minLink : debug._maxLink).setStyle('display', 'none');  
context: 	create: function(){				//main element		debug._body = new Element('div').setStyles({			'width': '100%',			'position':'fixed',			'background':'#fff',			'font': '11px Andale Mono, Monaco, Courier New',			'z-index':'996'		}).injectInside(document.body);		if (window.ie6) debug._body.setStyles({			'position':'absolute',			'width': Window.getWidth()-13+'px'		})				//links		debug._actions = new Element('div').setStyles({			'text-align':'right',			'background-color':'#f5f5f5',			'border-bottom':'1px solid #ddd',			'border-top':'1px solid #ddd',			'padding': '2px 10px',			'margin':'0px',			'font-size': '10px'		}).injectInside(debug._body);		new Element('span').setHTML('CLEAR').injectInside(debug._actions).addEvent('click',function(){				debug._contents.setHTML('');		}).setStyle('cursor','pointer');		new Element('span').setHTML('&nbsp;|&nbsp;').injectInside(debug._actions);		debug._minLink = new Element('span').setHTML('MIN').injectInside(debug._actions).addEvent('click',function(){			this.setStyle('display', 'none');			debug._maxLink.setStyle('display','inline');			debug.minimize();		}).setStyle('cursor','pointer');		debug._maxLink = new Element('span').setHTML('MAX').injectInside(debug._actions).addEvent('click',function(){			this.setStyle('display', 'none');			debug._minLink.setStyle('display','inline');			debug.maximize();		}).setStyle('cursor','pointer');		if(Cookie.get('mootools-debugger-status') && Cookie.get('mootools-debugger-status').toInt() < 50)			debug._minLink.setStyle('display','none');		else debug._maxLink.setStyle('display','none');					new Element('span').setHTML('&nbsp;|&nbsp;').injectInside(debug._actions);		new Element('span').setHTML('CLOSE').injectInside(debug._actions).addEvent('click',function(){			debug._body.remove();			debug._body = false;		}).setStyle('cursor','pointer');				//messages container		debug._contents = new Element('div').setStyles({			'position': 'relative',			'z-index': '9997',			'height': (Cookie.get('mootools-debugger-status')) ? Cookie.get('mootools-debugger-status') : '112px',			'border-bottom': '1px solid #ddd',			'overflow': 'auto',			'background': '#fff'		}).injectInside(debug._body);		if(window.ie6)debug._contents.setStyle('width','101%');		//input box		debug._input = new Element('input').setProperties({			'type': 'text'		}).setStyles({			'z-index': '9996',			'width': '98%',			'background': '#fff',			'color': '#222',			'font': '12px Andale Mono, Monaco, Courier New',			'height':'16px',			'border': '0',			'padding': '2px 2px 2px 31px',			'position': 'relative',			'margin-top': '-1px'		}).injectInside(debug._body);				//>>>		debug._gts = new Element('div').setHTML("&gt;&gt;&gt;").setStyles({			'color': '#3e72b2',			'padding': '2px 5px',			'background': '#fff',			'z-index': '9999',			'position': 'absolute',			'left': '0'		}).injectInside(debug._body);				if (window.khtml){			debug._input.setStyles({				'margin-top': '-2px',				'margin-left': '29px',				'font-size': '12px',				'opacity': '0.99'			});		};				debug._scroll = new Fx.Scroll(debug._contents, {duration: 300, wait: false});		debug.resetHeight();		if(window.ie6)window.addEvent('scroll', debug.resetHeight);		debug._input.onkeydown = debug.parseKey.bindWithEvent(debug);	},
meta: 8516	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/8516/2d22591aa759eb3d263726cda7060e1ac3325865/Debugger.js/buggy/Plugins/Debugger.js