$().ready(function(){
						
////////////////////////////////////////simple hover effect///////////////////////////////////////////////////////*/		
/*************************************hover for Gallery backgroud*************************************************/	
		$(".mainNav li").hoverIntent(function(){
				$(this).addClass('selected');
				$(this).find("ul").slideDown();
			}, function() {
				$(this).removeClass('selected');
				$(this).find("ul").slideUp("fast");
			});
		
		$(".newsListing").hover(function() {
				// only apply the hover class if it contains a link
				var the_link = $(this).find("a").attr("href");
				//alert(the_link);
				if (the_link != undefined) {
					$(this).addClass('newsHover');
				}
			}, function() {
				// only apply the hover class if it contains a link
				var the_link = $(this).find("a").attr("href");
				//alert(the_link);
				if (the_link != undefined) {
					$(this).removeClass('newsHover');
				}
			});
		
	$(".newsListing").click(function(){
			// only apply the hover class if it contains a link
			var the_link = $(this).find("a").attr("href");
			//alert(the_link);
			if (the_link != undefined) {
    		window.location=$(this).find("a").attr("href");return false;
			}
	});
	
		
		/************************************* Listing Block Hover ************************************************
		
		
		$(".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
		});
		*/	
});

