function auto(obj, ev) {

	if(ev == 'focus') {

		if(obj.value == 'cauta produs')
			obj.value = '';

	}
	else
		if(ev == 'blur') {
			if(obj.value == '') {
				obj.value = 'cauta produs';
			}
		}

}

$(document).ready(function() {
	  var $this2 = $("#produsekarcher ul li ul.activ");
	        $this2.prev().addClass("headerShown");


	 $("#produsekarcher>ul>li>a").click(function() {

	 	//	$(this).next().toggle();

              var $this = $(this);
                if( $this.is('.headerShown') ) {
                        $this.next().slideUp("fast");
                        $this.removeClass('headerShown');
                        $this.addClass('headerHidden');
                }
                else {
                        $this.next().slideDown("fast");
                        $this.removeClass('headerHidden');
                        $this.addClass('headerShown');
                }
                return false;

	 });



	 $("#banner-mic").click(function() {
	 	//	$(this).next().toggle();
              var $this = $(this);
                if( $this.is('.inchis') ) {
                        $("#banner-mare").fadeIn("fast");
                        $this.removeClass('inchis');
                        $this.addClass('deschis');
                }
                else {
                        $("#banner-mare").fadeOut("fast");
                        $this.removeClass('deschis');
                        $this.addClass('inchis');
                }
                return false;

	 });

    $(".MsoNormal").attr('style', '');
   	$("span").attr('style', '');
    $(".MsoNormal").removeClass('MsoNormal');

    $("#custom_content > ul").css({'padding-left' : 80, 'list-style-type' : 'disc'});
    $("#custom_content > ol").css({'padding-left' : 80});
    $("table > tbody > tr > td > p").css({'padding' : 0});

 });