function closeLayers () {
	$("#con_begagnadebilar").fadeOut("fast");
	$("#con_oppettider").fadeOut("fast");
	$("#con_bildgalleri").fadeOut("fast");
	$("#con_personalen").fadeOut("fast");
	$("#con_varabilmarken").fadeOut("fast");
	$("#con_senasteannons").fadeOut("fast");
	$("#con_ovriginformation").fadeOut("fast");
	$("#con_omforetaget").fadeOut("fast");
	$("#con_kia").fadeOut("fast");
}

$(document).ready(function(){
   	// Menu items start
	$("#oppettider").click(function () {
		closeLayers();
	     $("#con_oppettider").toggle("slow");
	   });
	$("#oppettider").mouseover(function () {
		$(this).addClass('menu_over');
	})
	$("#oppettider").mouseout(function () {
		$(this).removeClass('menu_over');
	})
	
	$("#begagnadebilar").click(function () {
		closeLayers();
	     $("#con_begagnadebilar").toggle("slow");
	   });
	$("#begagnadebilar").mouseover(function () {
		$(this).addClass('menu_over');
	})
	$("#begagnadebilar").mouseout(function () {
		$(this).removeClass('menu_over');
	})
	
	$("#bildgalleri").click(function () {
		closeLayers();
	     $("#con_bildgalleri").toggle("slow");
	   });
	$("#bildgalleri").mouseover(function () {
		$(this).addClass('menu_over');
	})
	$("#bildgalleri").mouseout(function () {
		$(this).removeClass('menu_over');
	})
	
	$("#personalen").click(function () {
		closeLayers();
	     $("#con_personalen").toggle("slow");
	   });
	$("#personalen").mouseover(function () {
		$(this).addClass('menu_over');
	})
	$("#personalen").mouseout(function () {
		$(this).removeClass('menu_over');
	})
	
	$("#varabilmarken").click(function () {
		closeLayers();
	     $("#con_varabilmarken").toggle("slow");
	   });
	$("#varabilmarken").mouseover(function () {
		$(this).addClass('menu_over');
	})
	$("#varabilmarken").mouseout(function () {
		$(this).removeClass('menu_over');
	})
	
	$("#senasteannons").click(function () {
		closeLayers();
	     $("#con_senasteannons").toggle("slow");
	   });
	$("#senasteannons").mouseover(function () {
		$(this).addClass('menu_over');
	})
	$("#senasteannons").mouseout(function () {
		$(this).removeClass('menu_over');
	})
	
	$("#ovriginformation").click(function () {
		closeLayers();
	     $("#con_ovriginformation").toggle("slow");
	   });
	$("#ovriginformation").mouseover(function () {
		$(this).addClass('menu_over');
	})
	$("#ovriginformation").mouseout(function () {
		$(this).removeClass('menu_over');
	})
	
	$("#omforetaget").click(function () {
		closeLayers();
	     $("#con_omforetaget").toggle("slow");
	   });
	$("#omforetaget").mouseover(function () {
		$(this).addClass('menu_over');
	})
	$("#omforetaget").mouseout(function () {
		$(this).removeClass('menu_over');
	})
	// Menu items end
	
	$("#content_close_kia").click(function () {
		$(this).parent().toggle("fast");
	})
	$("#content_close_begagnadebilar").click(function () {
		$(this).parent().toggle("fast");
	})
	$("#content_close_oppettider").click(function () {
		$(this).parent().toggle("fast");
	})
	$("#content_close_bildgalleri").click(function () {
		$(this).parent().toggle("fast");
	})
	$("#content_close_personalen").click(function () {
		$(this).parent().toggle("fast");
	})
	$("#content_close_varabilmarken").click(function () {
		$(this).parent().toggle("fast");
	})
	$("#content_close_senasteannons").click(function () {
		$(this).parent().toggle("fast");
	})
	$("#content_close_ovriginformation").click(function () {
		$(this).parent().toggle("fast");
	})
	$("#content_close_omforetaget").click(function () {
		$(this).parent().toggle("fast");
	})
	
 });