// var toolbar = new Class({
// 	Implements: [Options, Events],
// 	options:[],
// 	initialize:function(options){		 
// 					
// 					var self = this;
// 					
// 					this.login = new Object;
// 					this.login.status = 'closed';
// 					this.login.obj = $('login_inputs');	
// 					this.login.openWidth = '24em';
// 					this.login.obj.style.display = 'none';
// 					
// 					this.search = new Object;
// 					this.search.status = 'closed';
// 					this.search.obj = $('live_search');
// 					this.search.openWidth = '12.7em';
// 					$('live_search').style.width = '0px';
// 					
// 					
// 					this.accessiblity = new Object;
// 					this.accessiblity.status = 'closed';
// 					this.accessiblity.obj = $('accessibility_inputs');
// 					this.accessiblity.openWidth = '3.3em';
// 					
// 					$('toggle_search').style.display = 'none';
// 					$('toggle_login').style.display = 'none';
// 					$$('.pvc_login')[0].style.display = 'block';
// 					$('accessibility_inputs').style.display = 'block';
// 					
// 					
// 					$('login_inputs').style.width = '0px';
// 					$('accessibility_inputs').style.width = '0px';
// 					
// 					
// 					
// 					$('toggle_accessibility').style.display = 'block';
// 					$('pvc_search_box').style.display = 'block';
// 					
// 
// 					$('submit_search').getParent('form').addEvent('submit', function(e) {
// 						new Event(e).stop();
// 						self.searchController(this)
// 					});
// 
// 					$('submit_login').getParent('form').addEvent('submit', function(e){
// 						new Event(e).stop();
// 						self.loginController(this)
// 					}
// 						);
// 
// 					$('toggle_accessibility').getParent('form').addEvent('submit', function(e) {
// 						new Event(e).stop();
// 						self.accessController(this)
// 					});
// 					
// 					
// 					this.currentTextSize = 100;
// 					
// 					$('text_bigger').getParent('form').addEvent('submit', function(e) {
// 						new Event(e).stop();
// 						self.textSize('bigger');
// 					});
// 				
// 					
// 					$('text_smaller').getParent('form').addEvent('submit', function(e) {
// 						new Event(e).stop();
// 						self.textSize('smaller');
// 					});
// 	},
// 	loginController: function(e){
// 		if(this.login.status == 'open'){
// 			if($('log').value != "" && $('pwd').value != ""){
// 				// alert($('log').value);
// 				e.submit();
// 			}else{
// 				this.slider(this.login,'0em');
// 			}
// 		}
// 		
// 		else if (this.login.status == 'closed'){
// 			this.slider(this.login,'24em');
// 			
// 			this.slider(this.accessiblity,'0em');
// 			
// 			this.slider(this.search,'0em');
// 			
// 			this.login.status = 'open';
// 			
// 			
// 		}
// 		return false;
// 	},
// 	searchController: function(e){
// 		if(this.search.status == 'open'){
// 			if($('s').value != ""){
// 				// alert($('s').value);
// 				e.submit();
// 			}else{
// 				this.slider(this.search,'0em');
// 				this.search.status = 'closed';
// 			}
// 		}
// 		
// 		else if (this.search.status == 'closed'){
// 			this.slider(this.search,this.search.openWidth);
// 			
// 			this.slider(this.login,'0em');
// 			this.slider(this.accessiblity,'0em');
// 			
// 			
// 			this.search.status = 'open';
// 			
// 			
// 		}
// 		return false;
// 	},
// 	accessController: function(e){
// 		if(this.accessiblity.status == 'open'){
// 				this.slider(this.accessiblity,'0em');
// 				this.accessiblity.status = 'closed';
// 				
// 		}
// 		
// 		else if (this.accessiblity.status == 'closed'){
// 			this.slider(this.accessiblity,this.accessiblity.openWidth);
// 			
// 			this.slider(this.search,'0em');
// 			this.slider(this.login,'0em')
// 			
// 			
// 			
// 			this.accessiblity.status = 'open';
// 			
// 			
// 		}
// 		return false;
// 	},
// 	slider: function(thing,width){
// 		var slideIt = new Fx.Morph(thing.obj,{unit:'em'});
// 		if(width=="0em"){
// 			slideIt.start({'width':width}).chain(function(){thing.obj.style.display = 'none'});
// 		}else{
// 			slideIt.start({'width':width,'display':'block'});
// 		}
// 		// thing.obj.style.width = width;
// 		thing.status = 'closed';
// 	},
// 	textSize: function(direction){
// 		if(direction == 'bigger'){
// 			this.currentTextSize = this.currentTextSize+5;
// 		}else if(direction == 'smaller'){
// 			this.currentTextSize = this.currentTextSize-5;
// 		}
// 
// 		$('content').setStyle('font-size',this.currentTextSize+"%");
// 		
// 	}
// 
// 	});
// 	
// 
// var toolbar = new toolbar;	
// 
// document.addEvent('domready', function() {
// 
// 	// var toolbar = new toolbar;
// 
// });
