		window.addEvent('domready', function() {			
			//Silideshow
			if($$('.slideshowContainer').length > 0){
				var obj = {
					wait: 4500, 
					effect: 'fade',
					loop: true, 
					thumbnails: true,
					backgroundSlider: false,
					onClick: function(i){return false}
				}
				show = new slideShow('slideshowContainer','slideshowThumbnail',obj);
				show.play();
			}
			
			//Tips
			var tipTextRestore = function() {
				$('newsletter').store('tip:title', 'Click here for news and special offers');
				$('newsletter').store('tip:text', "We'll keep your email address safe");
			}
			tipTextRestore();
			var tipVar = new Tips($('newsletter'), {
				hideDelay: 300,
				fixed: true,
				className:'tool-tip',
				offsets: {x:20, y:20},
				onShow: function(tip){ 
						tip.fade('in'); 
				},
				onHide: function(tip){
						tip.fade('out');
				}
			});
			if(Cookie.read('newsletterShown') != '1'){
				$('newsletter').fireEvent('mouseenter' );
			}
			Cookie.write('newsletterShown', '1');
						
			
			//SOASF Hover
			$$("#nav ul").getParent().addEvents({
				mouseover : function(){
					this.getLast().addClass('soasfhover');
				},
				mouseout : function(){
					this.getLast().removeClass('soasfhover');
				}
			});
			
			//Overlay
			popup = new popUpOverlay({className:'modal', title:'title'});
		});	