//----- Item boxes transitions -----


window.addEvent('domready',function() {   
									
    $each($$('.footer_normal'), function(el) {   
        //var original = el.getStyle('color');   
        //var morph = new Fx.Morph(el,{ 'duration':'300', link:'cancel' });   
        el.addEvents({   
            'mouseenter' : function() { 
			
				this.set('morph', {
					duration: 2000,
					transition: Fx.Transitions.Elastic.easeOut // This could have been also 'bounce:out'
				}).morph('.footer_hover');
			
			},   
            'mouseleave' : function() { 
			
				this.set('morph', {}).morph('.footer_normal');
			
			}   
        });   
    });   
	
});  



function pdfslide(){

	window.addEvent('domready', function() {
	//------------------------------------------------------------BEGIN
	//------------------------------------------------------------WELCOME SECTION
	var pdfSection = new Fx.Slide('pdf_slide',{
		duration: 'short'
		
	});
	
	
		pdfSection.hide();
	
		$('pdf_slideout').addEvent('click', function(e){
				
				
			e.stop();
			pdfSection.toggle();
		});
	});
};


function thickbox(){
	window.addEvent('domready', function() {
	 
		/**
		 * That CSS selector will find all <a> elements with the
		 * class boxed
		 *
		 * The example loads the options from the rel attribute
		 */
		SqueezeBox.assign($$('a.boxed'), {
			parse: 'rel'
		});
	 
	});

};
