/* <![CDATA[ */
		jQuery(function($) {
			$("#cauta").defaultvalue("Cauta produse", "Completati cu adresa de mail");
		});
		
			//------- Adaugat pentru hover input buttons in IE6
			$(document).ready(function(){
				$('input.btnCauta').hover(function() {
					$(this).css('color','#000');
				},
				function() {
					$(this).css('color','#fff');
				}
				);
				
				//--- Top Meniu
				closetimer = 0;
					if($("#nav")) {
						$("#nav b").mouseover(function() {
						clearTimeout(closetimer);
							if(this.className.indexOf("clicked") != -1) {
								$(this).parent().next().slideUp(500);
								$(this).removeClass("clicked");
							}
							else {
								$("#nav b").removeClass();
								$(this).addClass("clicked");
								$("#nav ul:visible").slideUp(300);
								$(this).parent().next().slideDown(300);
							}
							return false;
						});
						$("#nav").mouseover(function() {
						clearTimeout(closetimer);
						});
						$("#nav").mouseout(function() {
							closetimer = window.setTimeout(function(){
							$("#nav ul:visible").slideUp(500);
							$("#nav b").removeClass("clicked");
							}, 2000);
						}); 
					}
					//-- End Top Meniu
			});
			//------- End adaugat ------------------
			sfFocus = function() {
				var sfEls = document.getElementsByTagName("input");
				for (var i=0; i<sfEls.length; i++) {
					sfEls[i].onfocus=function() {
						this.className+=" sffocus";
					}
					sfEls[i].onblur=function() {
						this.className=this.className.replace(new RegExp(" sffocus\\b"), "");
					}
				}
			}
			if (window.attachEvent) window.attachEvent("onload", sfFocus);
			
			// For sIFR
			if(typeof sIFR == "function"){
				sIFR.replaceElement(named({sSelector:"h1.title", sFlashSrc:"sifr.swf", sColor: "#d8251e"}));
				sIFR.replaceElement(named({sSelector:"h2.title", sFlashSrc:"sifr.swf", sColor: "#004894"}));
				//sIFR.replaceElement(named({sSelector:"h3", sFlashSrc:"helvetica.swf", sColor:"#004894"}));
				//sIFR.replaceElement(named({sSelector:"h4", sFlashSrc:"helvetica.swf"}));
			};
		
/* ]]> */