
var temp = "";
/*$(document).ready(function(){
	
	$(".navmenu li").each(function(){
		
			if ($(this).children(".sub_navmenu").length > 0) {
				
					$(this).hover(function(){
						if (!$(this).hasClass("opened")) {
							//temp = $(this).children("a").text();
							$(this).children("a").before("<span class='temp_open xclosed'></span>");
							var xx = $(this);
							xx.children(".temp_open").toggle(function(){
								xx.children(".temp_open").siblings(".sub_navmenu").slideDown(100);
								$(this).removeClass("xclosed").addClass("xopened");
								xx.addClass("opened");
								
							}, function(){
								xx.children(".temp_open").siblings(".sub_navmenu").slideUp(100);
								$(this).removeClass("xopened").addClass("xclosed");
								xx.removeClass("opened");
								
							});
						}
					}, function(){
						if(!$(this).hasClass("opened"))
							$(this).children(".temp_open").remove();
					});
					
					
					
				}
			
		
	});
	
	
});*/

$(document).ready(function(){
	
	if($("#menu").height()>($("#main").height()-130))
	{
		$("#main").height($("#menu").height()+50);
	}
	
	/*
$(".one_project").each(function(){$(this).hover(
			function(){$(this).css("background-color","#FFFBDF");
						$("#cont"+$(this).attr("project")).fadeIn(300);
		
			},
			function(){$(this).css("background-color","#FFFFFF");
			$("#cont"+$(this).attr("project")).fadeOut(300);
			}
	)});
*/
	
});

