    window.addEvent('domready', function(){
                   // create an instance of the FX.Slide object
        //this is a simple hash with one key/value pair
//	 var currentCounter = new Hash({counter: 0});
        //we initiate our periodical and pass and bind the hash var
//	 simpleTimer = always.periodical(10000, currentCounter);


       /* ajax replace element text */
        $$('a.proj_link').addEvent('click', function(event) {
         var name = this.name
         event.stop();

         $('right_side').set('tween',{
           onComplete: function(){
                 var req = new Request.HTML({
                 method: 'get',
                 url: 'includes/'+name+'.html',
                 onRequest: function() {

                 },
                 update: $('right_side'),
                 onComplete: function() {
                  $('right_side').set('tween',{onComplete: Class.empty});

                  $('right_side').tween('opacity', '1');


                 }
             }).send();
           }
         });

         $('right_side').tween('opacity', '0.2')
         //$('right_side');

         //make the ajax call, replace text

        });

          var original = $('content').getStyle('border-top-color');
          $$('a.menu_link').set('tween', {
            duration : '200'
          });
          $$('a.menu_link').addEvent('mouseenter',function(){
          tweenerFunction(this.getStyle('color'));
          this.tween('line-height' , '35px');
          });
          $$('a.menu_link').addEvent('mouseleave',function(){
            tweenerFunction(original);
            this.tween('line-height' , '15px');
          });

        });
        function ajax(name){
        var req = new Request.HTML({
             method: 'get',
             url: 'includes/'+name+'.html',
             onRequest: function() {

             },
             update: $('right_side'),
             onComplete: function() {

             }
         }).send();

        }
        function echo(){
          $('right_side').tween('opacity' , 0.2);
        }

        function changepic(e){
           $('thumb').set('src', e);

        }
        var tweenerFunction  = function(e) {

        $('content').tween('border-color', e);

        }
