
$(document).ready(function(){
    $("#open_login").click(function(){
        $(".login_form").fadeIn();
        $(".bg_light").show();
    });
    $("#close_login").click(function(){
        $(".login_form").fadeOut();
        $(".bg_light").hide();
    });
});

$(document).ready(function(){
    $("#open_top_menu").hover(function(){
        $(".sub_top_menu").slideDown();
		$(".open_top_menu b").toggle();
    });
	$(".sub_top_menu").mouseover(function(){
        $(".sub_top_menu").show();
    });
	$(".sub_top_menu").mouseout(function(){
        $(".sub_top_menu").hide();
    });
});

$(document).ready(function(){
    $(".t_block_1").click(function(){
        $(this).parent(".block_1").children(".bg_block_1").toggle();
        $(this).children(".a_block_1").children("b").toggle();
    });
});

$(document).ready(function(){
	$(".one_serv:last").css({'border':'none'});
	$(".one_serv:first").children(".one_serv p").show();
	$(".one_serv:first").css("width","340px");
	$(".one_serv:first").addClass("current_serv");
	 
	$(".one_serv").hover(function () {
		 $(".one_serv").css("width","100px");
		 $(this).css("width","340px");
		 $(".one_serv").removeClass("current_serv");
		 $(this).addClass("current_serv");
		 $(".one_serv").children(".one_serv p").hide();
		 $(this).children(".one_serv p").show();		 
	});
	$(".one_serv").mouseleave(function () {
		 $(this).children(".one_serv p").hide();
		 $(this).children(".one_serv p").show();
	});
});

$(document).ready(function(){
	$(".one_item_footer").hover(function () {
		$(".one_item_footer").children(".img_item_footer").css("background","url("+get_img_path()+"bg_footer_i.png) no-repeat center top");
		$(this).children(".img_item_footer").css("background","url("+get_img_path()+"bg_footer_i2.png) no-repeat center top");
		
	});
	$(".one_item_footer").mouseleave(function () {
		$(".one_item_footer").children(".img_item_footer").css("background","url("+get_img_path()+"bg_footer_i.png) no-repeat center top");
	});

});



$(document).ready(function(){
	$("#more_iteam").hover(function () {
		$(".open_more_details").show();
	});
	$("#more_iteam").mouseout(function () {
		$(".open_more_details").hide();
	});
});

$(document).ready(function(){
	$(".item_control:odd").css("background-color","#f9f9f9");
});




