//The js code base that is reused. 


//Author: Ronald Eddy
//Beta release: 23 Oct 2008
//Copyright 2008 Saturno Design LLC. All rights reserved.



 //when the dom is ready...  
window.addEvent('domready', function() {  
     //time to implement basic show / hide  
     Element.implement({  
         //implement show  
         show: function() {  
             this.setStyle('display','');  
         },  
         //implement hide  
         hide: function() {  
             this.setStyle('display','none');  
         }  
         ,  
         //implement hide  
         toggle: function() {  
             if (this.getStyle('display')=='none')
             {
                this.setStyle('display','');  
             }else
             {
                this.setStyle('display','none');
             }
         },
         fadeShow: function() {  
             this.fade('in');  
         },  
         //implement hide  
         fadeHide: function() {  
             this.fade('out');  
        } ,
        toggle: function() {  
             if (this.getStyle('display')=='none')
             {
                this.fade('in'); 
             }else
             {
                this.fade('ou');
             }
        }
                   
     });  
}); 
