jQuery.noConflict();






jQuery(function(){

         jQuery("#nombrerepuesto").attr('value', 'Nombre');

    });




    jQuery(function(){

         jQuery("#emailrepuesto").attr('value', 'E-mail');


    });

    jQuery(function(){

         jQuery("#telefonorepuesto").attr('value', 'Teléfono');


    });


jQuery(function(){
jQuery("#nombrerepuesto").click(function(event){
var vacio = "";
jQuery("#nombrerepuesto").val(vacio);
});
});

jQuery(function(){
jQuery("#nombrerepuesto").blur(function(event){
var inputn = jQuery("#nombrerepuesto").val();
if(("#nombrerepuesto").value=(inputn)){
}else{ var vacio = "Nombre";
jQuery("#nombrerepuesto").val(vacio);
}
});
});

jQuery(function(){
jQuery("#emailrepuesto").click(function(event){
var vacio = "";
jQuery("#emailrepuesto").val(vacio);
});
});

jQuery(function(){
jQuery("#emailrepuesto").blur(function(event){
var inputn = jQuery("#emailrepuesto").val();
if(("#emailrepuesto").value=(inputn)){
}else{ var vacio = "E-mail";
jQuery("#emailrepuesto").val(vacio);
}
});
});

jQuery(function(){
jQuery("#telefonorepuesto").click(function(event){
var vacio = "";
jQuery("#telefonorepuesto").val(vacio);
});
});

jQuery(function(){
jQuery("#telefonorepuesto").blur(function(event){
var inputn = jQuery("#telefonorepuesto").val();
if(("#telefonorepuesto").value=(inputn)){
}else{ var vacio = "Teléfono";
jQuery("#telefonorepuesto").val(vacio);
}
});
});
    jQuery(function(){

        jQuery("#categoria").change(function(event){

            var categoria = jQuery("#categoria").find(':selected').val();

            jQuery("#categoria-sub").load('funciones/807&categoria='+categoria);

            

        });

    });
    jQuery(function(){

        jQuery("#categoria-sub").change(function(event){

            var categoria = jQuery("#categoria-sub").find(':selected').val();

            jQuery("#subcategoria").load('funciones/select-categoria-chevrolet&categoria='+categoria);

            

        });

    });
    jQuery(function(){

        jQuery("#subcategoria").change(function(event){
            jQuery("#area").toggle("slow");
            var subcategoria = jQuery("#subcategoria").find(':selected').val();

            jQuery("#area").load('funciones/select-producto-chevrolet&subcategoria='+subcategoria).toggle("slow");

            

        });

    });

jQuery(function(){
	jQuery("#2, .2").hover(
		function(){
			jQuery(".2").show();
		}, 
		function(){
			jQuery(".2, .3, .4").hide();
		}
	);
});

jQuery(function(){
	jQuery("#3, .3").hover(
		function(){
			jQuery(".3").show();
		}, 
		function(){
			jQuery(".2, .3, .4").hide();
		}
	);
});

jQuery(function(){
	jQuery("#4, .4").hover(
		function(){
			jQuery(".4").show();
		}, 
		function(){
			jQuery(".2, .3, .4").hide();
		}
	);
});

   jQuery(function(){
          
          jQuery(".banner-shop").show();
        jQuery(".box-319x142 #cotizar").click(function(event){
          jQuery(".banner-shop").hide();
            jQuery("#upicon").show();
           jQuery("#downicon").hide();
            jQuery("#sidebar-izquierdo .left").removeClass('cierrecotizador');
           
            

        });

    });
    jQuery(function(){
          
          jQuery(".banner-shop").show();
        jQuery("#cotizarb").click(function(event){
          jQuery(".banner-shop").hide();
            jQuery("#upicon").show();
           jQuery("#downicon").hide();
           
            jQuery("#sidebar-izquierdo .left").removeClass('cierrecotizador');
           
            

        });

    });



jQuery(function(){
jQuery("#upicon").click(function(event){
            jQuery("#sidebar-izquierdo #cotizador").addClass('cierrecotizador');
            jQuery("#upicon").hide();
           jQuery("#downicon").show();
           jQuery(".banner-shop").show();
});
});
jQuery(function(){
jQuery("#downicon").click(function(event){
            jQuery("#sidebar-izquierdo #cotizador").removeClass('cierrecotizador');
            jQuery("#upicon").show();
           jQuery("#downicon").hide();
           jQuery(".banner-shop").hide();
});
});

jQuery(function(){

jQuery('.acc_container').hide();
jQuery('.acc_trigger:first')
	.addClass('active')
	.next()
	.show();

jQuery('.acc_trigger').click(function(){
	if( jQuery(this).next().is(':hidden') ) {
		jQuery('.acc_trigger')
			.removeClass('active')
			.next()
			.slideUp();
		jQuery(this).toggleClass('active')
			.next()
			.slideDown();
	}
	return false;
});

});

