<!--


this.imagePreview = function(){

	$('a#a_news').click(function(){
	
	});
	$('a#a_news').mouseover(function(){
	

	});
	
	 $("a.nav").hover(
		 function(){
			$(this).animate({opacity: 0.2},500).animate({opacity: 0.26},10);
	
		 },
		 function(){
			 $(this).animate({opacity: 1.0},300);
		 });
	
	 $("a.nav_gr").hover(
		function(){
			$(this).animate({opacity: 0.2},500).animate({opacity: 0.26},10);
		},
		function(){
			 $(this).animate({opacity: 1.0},300);
		});
		
		
	 $("a.nav").hover(
		 function(){
			$(this).animate({opacity: 0.2},500).animate({opacity: 0.26},10);
			
			if ($(this).is("a#a_news")) {
				$("div#m_left").fadeOut(
					"slow",
					function() {
						$("div#m_left").css("background-image", "url('./images/main_test_01.jpg')");
						$("div#m_left").load(function () {
							$("div#m_left").fadeIn(2000);
						});
					}
				);
			} else if ($(this).is("a#a_achive")) {
				$("div#m_left").fadeOut(
					"slow",
					function() {
						$("div#m_left").css("background-image", "url('./images/main_achive.jpg')");
						$("div#m_left").load(function () {
							$("div#m_left").fadeIn(2000);
						});
					}
				);
			} else if ($(this).is("a#a_profile")) {
				$("div#m_left").fadeOut(
					"slow",
					function() {
						$("div#m_left").css("background-image", "url('./images/main_profile.jpg')");
						$("div#m_left").load(function () {
							$("div#m_left").fadeIn(2000);
						});
					}
				);
			} else if ($(this).is("a#a_pandb")) {
				$("div#m_left").fadeOut(
					"slow",
					function() {
						$("div#m_left").css("background-image", "url('./images/main_pandb.jpg')");
						$("div#m_left").load(function () {
							$("div#m_left").fadeIn(2000);
						});
					}
				);
			} else {
				$("div#m_left").fadeOut(
					"slow",
					function() {
						$("div#m_left").css("background-image", "url('./images/main_achive.jpg')");
						$("div#m_left").load(function () {
							$("div#m_left").fadeIn(2000);
						});
					}
				);
			}

		 },
		 function(){
			 $(this).animate({opacity: 1.0},300);
		 });
};
 
// starting the script on page load
$(document).ready(function(){
	imagePreview();
});
 
 //-->
