					var aImages = new Array();
					var imgObj = new Array();
					var aBall = new Array();
					var oBall;
					var count = 1;
					var head_front;
					var head_left;
					var head_right;
					var head_down;
					var cur_obj;
					var iCount
					var q_1;
					var q_2;
					var q_3;
					var iCount = 0;
					var load;
					var bar;
				
				onload=init;
				
				function init()
				{
					head_front = $('sun_head_front');
					head_left = $('sun_head_left');
					head_right = $('sun_head_right');
					head_down = $('sun_head_down');
					
					q_1 = $('quest_01');
					q_2 = $('quest_02');
					q_3 = $('quest_03');
					q_box = $('quest_box');
					
					m_box = $('message');
					t_1 = $('text_01');
					t_2 = $('text_02');
					t_3 = $('text_03');	
					
					dot = $('point');
					
					load = $('load');
					bar = $$('#load div div');
					bar = bar[0];
					
					oBall = $('ball');
					
					for(i=0; i<=18; i++)
					{
						if(i<10)
						{
							aBall[i] = 'img/ball/ball_0'+i+'.png';
						}
						else
						{
							aBall[i] = 'img/ball/ball_'+i+'.png';					
						}
					}
					
					cur_obj = head_front;
					

					
					if( !checkBrowser('MSIE') )
					{
						preloadImages();
					}
					else
					{
						load.style.display = 'none';
						animation();
					}
				}
				
				function preloadImages()
				{
					aImages = aBall;					
					aImages[19] = 'img/wiese_gradient.png';
					aImages[20] = 'img/sun_head_right.png';
					aImages[21] = 'img/sun_head_left.png';
					aImages[22] = 'img/sun_head_front.png';
					aImages[23] = 'img/sun_head_front_down.png';
					aImages[24] = 'img/sun_head_body.png';
					aImages[25] = 'img/sky_gradient.png';
					
					passes = aImages.length;
					for(i=0; i<passes; i++)
					{
						imgObj[i] = new Image();
						imgObj[i].src = aImages[i]; 
						imgObj[i].onload = counter;
					}
				}
				
				function counter()
				{
					iCount++;
	
					moveBar( iCount );
					
					if( iCount == aImages.length-1 )
					{
							fadeOut(load);
							animation();
					}
				}
				
				function moveBar( iProgress )
				{
					iProgress = iProgress*10;
					bar.style.width = iProgress+'px';
				}
				
				function animation()
				{
					setTimeout('setDispTrue(head_left)', 2000);
					setTimeout('setDispTrue(head_down)', 4000);
					setTimeout('setDispTrue(head_right)', 6000);
					setTimeout('setDispTrue(head_front)', 12000);		
					setTimeout('headSlide(40)', 14000);	
					setTimeout('fadeIn(q_1)', 15000);	
					setTimeout('fadeIn(q_3)', 16000);	
					setTimeout('fadeIn(q_2)', 17000);	
					
					setTimeout('fadeIn(m_box)', 18000);
					setTimeout('fadeIn(t_1)', 19000);
					setTimeout('fadeOut(t_1)', 21000);
					setTimeout('fadeIn(t_2)', 22000);
					setTimeout('fadeIn(t_3)', 22000);
					setTimeout('fadeOut(m_box)', 25000);					
					setTimeout('fadeOut(q_box)', 25000);
					setTimeout('moveHeadline()', 27000);
					setTimeout('headSlide(-40)', 28000);
					setTimeout('morphHeadline()', 30000);	
					setTimeout('fadeIn(dot)', 32000);
					
					animateBall();
				}
				
				function setDispTrue( obj )
				{
					cur_obj.style.display = 'none';
					obj.style.display = 'block';
					
					cur_obj = obj;
					

				}
				
				function headSlide( step )
				{
							new Effect.MoveBy( head_front, step, 0, { duration: 2 } );		
				}
				
				function turnBall()
				{
					oBall.style.background = 'url('+aBall[count]+')';
					setTimeout('turnBall()', 100);	
					
					if(count == 18)
					{
						count = 0;
					}					
					count++;
				}
				
				function moveBall()
				{
					new Effect.MoveBy( oBall, 0, 1700, { duration: 10 } );							
				}
				
				function animateBall()
				{
					turnBall();
					moveBall();
				}
				
				function fadeIn( obj )
				{
					new Effect.Appear( obj, {from: 0, to: 1, duration: 2} );
				}

				function fadeOut( obj )
				{
					new Effect.Fade( obj, {from: 1, to: 0, duration: 2} );
				}
				
				function moveHeadline()
				{
					new Effect.MoveBy( t_3, -350, -400, { duration: 6 } );	
				}
				
				function morphHeadline()
				{
					new Effect.Morph(t_3, { style: 'color: #ffffff; font-size: 90pt;', duration: 2 } );

				}
				
				function checkBrowser( name )
				{  
					var agent = navigator.userAgent.toLowerCase();  
					if (agent.indexOf( name.toLowerCase() ) > -1 ) 
					{  
						return true;  
					}  
					return false;  
				}  
