$(document).ready(function(){
    $('.navigation li').hover(
        function() {
            $(this).addClass("hover");
            $(this).find('.drop_nav').stop(true, true); 
            $(this).find('.drop_nav').slideDown();
        },
        function() {
            $(this).removeClass("hover");
            $(this).find('.drop_nav').slideUp('fast');
        }
    );
});
$(document).ready(function(){
	$('.pod_catalog li:even').addClass ('no_bg');
});
$(document).ready(function(){
	$(".open_popup").click(function(){
		Height = $("#main").height();
		$('#fader').css({
			opacity:			"0",
			"height": Height
		}).fadeIn();
		if (document.getElementById(this.rel)) {
			$("#" + this.rel).fadeIn("slow");
		}
		Div = $("#" + this.rel);
		Left = $(this).parent().offset().left;
		Top = $(this).parent().offset().top;
		Div.css(
			{
			"left":Left,
			"top":Top
			}
		)
		
		$("#fader").click(function(){
			$('.help_drop').fadeOut();
			$(this).fadeOut();
		});
		$(".clouse_popup").click(function(){
			$('.help_drop').fadeOut();
			$("#fader").fadeOut();
		});
		
	});
});

$(document).ready(function()
			{
				$(window).resize(function()
				{
					if($(window).width()<1202)
					{
						//alert(1);
						$("body").addClass("new_resize");
					}
					else $("body").removeClass("new_resize");
				});
				$(window).resize();
			});
