


$(document).ready(function(){
	
	  $("#logoText")
		  .animate({
			   opacity:0,
			   left:190,
			   opacity:1,
			   left:148,
			   top:57,
			   fontSize:50}, 1500)
		  .animate({top:30,
				   fontSize:34
				   },1700)
				  
		$("#box").delay(3000).animate({width:450,height:3},1800)	
		
		
	$('#imgSlider').tinycarousel({ interval: true });	
		

})
setTimeout(function() {
						//$('#MSTWMenu').val("hi");
//						$("#MSTWMenu option[text=Hindi]").attr("selected","selected") ;
						$("#MSTWMenu").html('<option value="en">English</option><option value="hi" >Hindi</option>');
						
					},4000);
/*

			var scrollSpeed = 70; 		// Speed in milliseconds
			var step = 1; 				// How many pixels to move per step
			var current = 0;			// The current pixel row
			var imageHeight = 4300;		// Background image height
			var headerHeight = 200;		// How tall the header is.
			
			//The pixel row where to start a new loop
			var restartPosition = -(imageHeight - headerHeight);
			
			function scrollBg(){
				
				//Go to next pixel row.
				current -= step;
				
				//If at the end of the image, then go to the top.
				if (current == restartPosition){
					current = 0;
				}
				
				//Set the CSS of the header.
				$('#header').css("background-position","0 "+current+"px");
				
				
			}
			
			//Calls the scrolling function repeatedly
			var init = setInterval("scrollBg()", scrollSpeed);
			*/

//}





