$().ready(
                function()
                {
                    MM_preloadImages( 'images/pic_home_09_02.png', 'images/pic_home_09_03.png', 'images/pic_home_09_04.png', 'images/pic_home_09_05.png' );
                    
                    window.setTimeout( rotatePhotos, 5000 );
                }
            );
            
            function hideFlashVideo()
            {
                $( '#flash_video' ).html( '' );
                
                $( '#flash_popup' ).slideUp( 500,
                    function() { $( '#shadow' ).hide(); }
                );
            }
            
            function renderFlashVideo()
            {
                if ( AC_FL_RunContent == 0 ) {
	                alert( "This page requires AC_RunActiveContent.js." );
                } else {
	                return AC_FL_RunContent(
		                'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0',
		                'width', '510',
		                'height', '295',
		                'src', 'flash',
		                'quality', 'high',
		                'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
		                'align', 'middle',
		                'play', 'true',
		                'loop', 'true',
		                'scale', 'showall',
		                'wmode', 'window',
		                'devicefont', 'false',
		                'id', 'flash',
		                'bgcolor', '#ffffff',
		                'name', 'flash',
		                'menu', 'true',
		                'allowFullScreen', 'false',
		                'allowScriptAccess','sameDomain',
		                'movie', 'flash',
		                'salign', ''
		                ); //end AC code
                }
            }
            
            function showFlashVideo()
            {
                $( '#flash_video' ).html( renderFlashVideo() );
            
                $( '#shadow' ).show();
                $( '#flash_popup' ).fadeIn( 1000 );
            }