var Link = Class.create({
	
  
  initialize: function() {

    this.pe = 0;

  },
  
  buttonOver: function(o){
  	Element.extend(o);
  	o.setStyle({backgroundImage: 'url(../image/button1.gif)', color:'#006699'});
  },
  buttonOut: function(o){
  	Element.extend(o);
  	o.setStyle({backgroundImage:'url(../image/button0.gif)', color:'#ffffff'});
  	
  },
  iluBig: function(o){
    //o.up().setStyle({width:'530px'});
    this.pe = new PeriodicalExecuter(function(pe){
	  Element.extend(o); 
	  var h = o.getWidth();
	  h = h+1;
	  if(h>510){pe.stop(); return;}
	  o.setStyle({width:h+'px'});

	      
	}.bind(this), 0.005);	
  },
  
  blah: function(){}

  
});


var link = new Link();

var Stutz = Class.create({
	
  
  initialize: function() {

    this.pe = 0;

  },
  
  
  
  changeImg: function(obj, id){
  	
  	$(id).show();
  	obj.hide();
  	return false; 
  	
  },
  setLink: function(id){
  	
  	//$(id).addClassName('current');
  	$(id).setStyle({backgroundPosition:'0 -15px'});
  }
});


var stutz = new Stutz();
