jQuery().ready(function(){
						
////////////////////////////////////////simple hover effect///////////////////////////////////////////////////////*/		
/*************************************hover for Gallery backgroud*************************************************/	
		$("#mainNav:first li").hover(function() {
				$(this).find("ul").animate({opacity: "show"}, "normal");
				$(this).find(".dropDown").addClass('current');
			}, function() {
				$(this).find("ul").animate({opacity: "hide"}, "fast");
				$(this).find(".dropDown").removeClass('current');
			});
		
				$.easing.backout = function(x, t, b, c, d){
			var s=1.70158;
			return c*((t=t/d-1)*t*((s+1)*t + s) + 1) + b;
		};
		
		
		/************************************* Listing Block Hover *************************************************/	
		$(".newsListing").hover(function() {
				$(this).css('background-color','#f1f6f8');
				$(this).css('cursor','pointer');
			}, function() {
				$(this).css('background-color','#fff');
			});
		
		$(".newsListing").click(function(){
				window.location=$(this).find("a").attr("href");return false;
		});
		
		$(".shadowBg_b>*").hover(function() {
				$('.shadowBg_b').addClass('noBg');
			}, function() {
				$('.shadowBg_b').removeClass('noBg');
			});		
		
			$("#sideNav").find('div').hover(function() {
				$(this).addClass('sideNavHover');
			}, function() {
				$(this).removeClass('sideNavHover');
			});		
		

		$('#screen').scrollShow({
			view:'#view',
			content:'#images',
			easing:'backout',
			wrappers:'link,crop',
			navigators:'a[id]',
			navigationMode:'sr',
			circular:true,
			start:0
		});
		
		
		/************************************* Automated company logos showcast *************************************************/	
		var autoScroll = setInterval(
			function() { $('#right').click() }, 
			5000
		); 
		// Stop automation if left/right is clicked
		/*$('#left').click(function () { 
      clearInterval(autoScroll);
    });
		$('#right').click(function () { 
      clearInterval(autoScroll);
    });*/
		
		
		
		
		
		
		
		
		
});

