var nS4 = new noobSlide({
			box: $('box'),
			items: $$('#box div'),
			size: 1000,
			handles: $$('.handle'),
			onWalk: function(currentItem,currentHandle){
				$('info').set('html',currentItem.getFirst().innerHTML);
			}
		});

window.addEvent('domready',function() {
     $each($$('.f'), function(el) {  
         var original = el.getStyle('color');  
         var morph = new Fx.Morph(el,{ 'duration':'200', link:'cancel' });  
         el.addEvents({  
             'mouseenter' : function() { morph.start({ 'color': '#20760d' }) },  
             'mouseleave' : function() { morph.start({ 'color': '#ff0000' }) }  
         });  
     });  
 });  

window.addEvent('domready',function() {
     $each($$('#menu img'), function(el) {  
		 $(el).set('opacity', 0.0001);				   
         var morph = new Fx.Morph(el,{ 'duration':'100', link:'cancel' });  
         el.addEvents({  
             'mouseenter' : function() { morph.start({ 'opacity': 1 }) },  
             'mouseleave' : function() { morph.start({ 'opacity': 0.0001 }) }  
         });  
     });  
 });  

window.addEvent('domready',function() {
     $each($$('a.mb img'), function(el) { 
		$(el).set('opacity', 0.5);	
         var morph = new Fx.Morph(el,{ 'duration':'200', link:'cancel' });  
         el.addEvents({  
             'mouseenter' : function() { morph.start({ 'opacity': 1 }) },  
             'mouseleave' : function() { morph.start({ 'opacity': 0.5 }) }  
         });  
     });  
 });  

window.addEvent("domready",function(){if($$(".mb").length>0){var a=new multiBox("mb",{descClassName:"mbdesc",path:"./inc_mb/",useOverlayer:true,maxWidth:960,maxHeight:720,addDownload:false,addRollover:false,addOverlayIcon:false,addChain:false,recalcTop:true})}});

window.addEvent('load', function(){
		new MooTooltips({
			hovered:'.tipper',		// the element that when hovered shows the tip
			ToolTipClass:'ToolTips',	// tooltip display class
			toolTipPosition: -1, // -1 top; 1: bottom - set this as a default position value if none is set on the element
			sticky:false,		// remove tooltip if closed
			fromTop: 0,		// distance from mouse or object
			fromLeft: -55,	// distance from left
			duration: 300,		// fade effect transition duration
			showDelay: 400,
			fadeDistance: 20    // the distance the tooltip starts the morph   
		});		
});
