			Cufon.replace('h1');
			
			
			//<![CDATA[
			jQuery(document).ready(function() {
			
				
				jQuery('#horiznav li').hover(
 					function() { 
 						if (!jQuery('a', this).hasClass('show')) {
 								jQuery('a.menu-item', this).css('display', 'none'); 
 								jQuery('a.over', this).css('display', 'inline');
 						}
 						 
 					},
 					function() { 
 						if (!jQuery('a', this).hasClass('show')) {
 								jQuery('a.over', this).css('display', 'none'); 
 								jQuery('a.menu-item', this).css('display', 'inline');
 						} 
 					}
 				);
 				
 				nd.rollover.init();
 				
 				jQuery('#hero1').hover( 
 				function () 
 				{
 					jQuery('#hero-img').attr('src', 'images/home/hero-bubble-1.png');	
 				},
 				function () {
 					jQuery('#hero-img').attr('src', 'images/home/hero-hello.png');
 				});
 				
 				jQuery('#hero2').hover( 
 				function () 
 				{
 					jQuery('#hero-img').attr('src', 'images/home/hero-bubble-2.png');	
 				},
 				function () {
 					jQuery('#hero-img').attr('src', 'images/home/hero-hello.png');
 				});
 				
 				jQuery('#hero3').hover( 
 				function () 
 				{
 					jQuery('#hero-img').attr('src', 'images/home/hero-bubble-3.png');	
 				},
 				function () {
 					jQuery('#hero-img').attr('src', 'images/home/hero-hello.png');
 				});
 				
 				jQuery('#hero4').hover( 
 				function () 
 				{
 					jQuery('#hero-img').attr('src', 'images/home/hero-bubble-4.png');	
 				},
 				function () {
 					jQuery('#hero-img').attr('src', 'images/home/hero-hello.png');
 				});
 				
 				jQuery('#hero5').hover( 
 				function () 
 				{
 					jQuery('#hero-img').attr('src', 'images/home/hero-bubble-5.png');	
 				},
 				function () {
 					jQuery('#hero-img').attr('src', 'images/home/hero-hello.png');
 				});
 				
 				jQuery('#hero6').hover( 
 				function () 
 				{
 					jQuery('#hero-img').attr('src', 'images/home/hero-bubble-6.png');	
 				},
 				function () {
 					jQuery('#hero-img').attr('src', 'images/home/hero-hello.png');
 				});
 				
 				jQuery('#hero7').hover( 
 				function () 
 				{
 					jQuery('#hero-img').attr('src', 'images/home/hero-bubble-7.png');	
 				},
 				function () {
 					jQuery('#hero-img').attr('src', 'images/home/hero-hello.png');
 				}); 							
				
				
				jQuery.extend({
					random: function(X) {
					    return Math.floor(X * (Math.random() % 1));
				},
					randomBetween: function(MinV, MaxV) {
					  return MinV + jQuery.random(MaxV - MinV + 1);
				}
});

			});
			//]]>
			
			
			nd = {};
			
			nd.rollover =
			{
			   init: function()
			   {
			      this.preload();
			     
			      jQuery(".roll").hover(
			         function () { 
			         	jQuery(this).attr( 'src', nd.rollover.newimage(jQuery(this).attr('src')) );
			         	 
			         },
			         function () { 
			         	jQuery(this).attr( 'src', nd.rollover.oldimage(jQuery(this).attr('src')) );
			         	
			         }
			      );
			      
			   },
			
			   preload: function()
			   {
			      jQuery(window).bind('load', function() {
			         jQuery('.roll').each( function( key, elm ) { jQuery('<img>').attr( 'src', nd.rollover.newimage( jQuery(this).attr('src') ) ); });
			         
			      });
			   },
			   
			   newimage: function( src )
			   {
			      return src.substring( 0, src.search(/(\.[a-z]+)$/) ) + '_over' + src.match(/(\.[a-z]+)$/)[0];
			   },
			
			   oldimage: function( src )
			   {
			      return src.replace(/_over\./, '.');
			   }
			   
			};


			window.addEvent('domready', function() {
				new Moomenu($E('ul.menutop'), {
					bgiframe: false,
					delay: 500,
					animate: {
						props: ['height', 'opacity'],
						opts: {
							duration: 400,
							transition: Fx.Transitions.Sine.easeInOut
						}
					},
					bg: {
						enabled: false,
						overEffect: {
							duration: 100,
							transition: Fx.Transitions.Expo.easeOut
						},
						outEffect: {
							duration: 800,
							transition: Fx.Transitions.Sine.easeIn
						}
					},
					submenus: {
						enabled: false,
						overEffect: {
							duration: 50,
							transition: Fx.Transitions.Expo.easeOut
						},
						outEffect: {
							duration: 600,
							transition: Fx.Transitions.Sine.easeIn
						},
						offsets: {
							top: 5,
							right: 15,
							bottom: 5,
							left: 5
						}
					}
				});
				
				var accordion = new Accordion('h2.atStart', 'div.atStart', {
                    display: false,
                    opacity: false,
                    alwaysHide:true,
                    onActive: function(toggler, element){
                        toggler.setStyle('color', '#000000');
                        var arrow = toggler.getElement('img');
                        arrow.setProperty('src' , 'images/arrow-down.jpg');
                        
                    },
                 
                    onBackground: function(toggler, element){
                        toggler.setStyle('color', '#ab2018');
                        var arrow = toggler.getElement('img');
                        arrow.setProperty('src' , 'images/arrow.jpg');
                        
                    }
                }, $('accordion'));

			});

