// JavaScript Document

function ShowBigImage(path)
{
	popupWin = window.open("../images/" + path + ".jpg", "contacts", "location=0,status=0,toolbar=0,resizable=1,width=800,height=600,top=30%,menubar=0,directories=0");
	popupWin.focus();
}


$(document).ready(function() {
	$('.ext_menu').click(function(){return false;});
	/*$('.ext_menu').mouseover(function()	{
		//  	window.status = '';return true;	
	});*/
	$('.ext_menu').hover(function(){
								  
			$(this).addClass('ext_active');
			$('.ext_menu').not('.ext_active').next('.ext_menu_cont:visible').fadeOut(300);
			$(this).next('.ext_menu_cont:hidden').fadeIn(200);
		},
		function(){			
            focusedMenuItem = '';
			$(this).removeClass('ext_active');
		}
	);
	$('.ext_menu_cont').hover(
		function(){
			$(this).fadeIn(200);	
			$(this).prev('.ext_menu').not('.ext_active').addClass('ext_active');
		},
		function(){}	
	);
	$('.opened_menu').hover(function(){},
		function(){	
			$(this).find('.ext_menu').removeClass('ext_active');
            $(this).find('.ext_menu_cont:visible').fadeOut(300);
		}
	);
 });
