// Efecte pentru meniu folosind jQuery

 jQuery(document).ready(function(){

	//meniu
	 jQuery('#container #header #meniu #butoane li a.animatie')
		.css( {backgroundPosition: "0 35px"} )
		.mouseover(function(){
			jQuery(this).stop().animate(
				{backgroundPosition:"(0 0)"},
				{duration:100})
			})
		.mouseout(function(){
			jQuery(this).stop().animate(
				{backgroundPosition:"(0 35px)"},
				{duration:500})
			})

	//acordeon
//	$("#acordeon")
//		.accordion({
////			animated: 'easeslide' ,
//			event: 'mouseover',
//		})
//		.accordion("enable");

	//tab-uri filtre
//	$taburi = $('#taburi_filtre').tabs();
//	$taburi.tabs('select', 1);

 });

 /*$("#b1").hover(
		function (){
			 $(this).stop().animate({
				backgroundColor: "#D9351C",
			  }, 300 );
		} ,
		function (){
			  $(this).stop().animate({
				backgroundColor: "#000000",
			  }, 300 );
		}
	);

	$("#b2").hover(
		function (){
			 $(this).stop().animate({
				backgroundColor: "#FAAC02",
			  }, 300 );
		} ,
		function (){
			  $(this).stop().animate({
				backgroundColor: "#000000",
			  }, 300 );
		}
	);

	$("#b3").hover(
		function (){
			 $(this).stop().animate({
				backgroundColor: "#79D81C",
			  }, 300 );
		} ,
		function (){
			  $(this).stop().animate({
				backgroundColor: "#000000",
			  }, 300 );
		}
	);

	$("#b4").hover(
		function (){
			 $(this).stop().animate({
				backgroundColor: "#2A9DF0",
			  }, 300 );
		} ,
		function (){
			  $(this).stop().animate({
				backgroundColor: "#000000",
			  }, 300 );
		}
	);

	$("#b5").hover(
		function (){
			 $(this).stop().animate({
				backgroundColor: "#02AA9D",
			  }, 300 );
		} ,
		function (){
			  $(this).stop().animate({
				backgroundColor: "#000000",
			  }, 300 );
		}
	);

	$("#b6").hover(
		function (){
			 $(this).stop().animate({
				backgroundColor: "#C8C8C8",
			  }, 300 );
		} ,
		function (){
			  $(this).stop().animate({
				backgroundColor: "#000000",
			  }, 300 );
		}
	);*/


	/*-----------------------------------------------------------+
	 | addLoadEvent: Add event handler to body when window loads |
	 +-----------------------------------------------------------*/
//	function addLoadEvent(func) {
//		var oldonload = window.onload;
//
//		if (typeof window.onload != "function") {
//			window.onload = func;
//		} else {
//			window.onload = function () {
//				oldonload();
//				func();
//			}
//		}
//	}

	/*------------------------------------+
	 | Functions to run when window loads |
	 +------------------------------------*/
//	addLoadEvent(function () {
//		initChecklist();
//	});

	/*----------------------------------------------------------+
	 | initChecklist: Add :hover functionality on labels for IE |
	 +----------------------------------------------------------*/
//	function initChecklist() {
//		if (document.all && document.getElementById) {
//			// Get all unordered lists
//			var lists = document.getElementsByTagName("ul");
//
//			for (i = 0; i < lists.length; i++) {
//				var theList = lists[i];
//
//				// Only work with those having the class "checklist"
//				if (theList.className.indexOf("checklist") > -1) {
//					var labels = theList.getElementsByTagName("label");
//
//					// Assign event handlers to labels within
//					for (var j = 0; j < labels.length; j++) {
//						var theLabel = labels[j];
//						theLabel.onmouseover = function() { this.className += " hover"; };
//						theLabel.onmouseout = function() { this.className = this.className.replace(" hover", ""); };
//					}
//				}
//			}
//		}
//	}
