$(window).load(function() {
// get img width 
var oWidth = $('#splashlogo img').width();

// get img height 
var oHeight = $('#splashlogo img').height();
//alert(oHeight);
$("#splashlogo img").width(0);
$("#splashlogo img").height(0);
/*
$("#splashlogo").fadeTo(1000, 1);
*/
$("#splashimage1").fadeTo(1000, 1, function (){
	
	$("#splashimage2").fadeTo(1000, 1, function (){
									
		$("#splashimage3").fadeTo(1000, 1, function (){
										
			$("#splashimage4").fadeTo(1000, 1, function (){
				
				
			})
			
		})											
	})										
})

	$("#splash1").fadeTo(1000, 1, function (){
				$(this).css('filter','');						
				$("#splash2").fadeTo(1000, 1, function (){
						$(this).css('filter','');									
					$("#splash3").fadeTo(1000, 1, function (){
								$(this).css('filter','');							
						$("#splash4").fadeTo(1000, 1, function (){
								$(this).css('filter','');									
																
							
								$("#splashlogo img").animate({
															   
							height:oHeight + 'px',
							width: oWidth + 'px'
							
															   
							}, 2000, 'easeOutBack')						
														
				})											
			})										
		})
	})
	
	
	$('#splashlogo img').live('mouseover', function(){
												   
						
		  var $this   = $(this);
		  
		  $this.width( $this.width() + 10);
		  $this.height( $this.height() + 10);
												   
	}).live('mouseout', function(){
												   
						
		  var $this   = $(this);
		  
		  $this.width( oWidth);
		  $this.height(oHeight);
												   
	});
	

});
