$(function() {
        $('#mdRotate > ul').tabs({ fx: { opacity: 'toggle' } }).tabs('mdRotate', 2000);
        $('#mdCustomer ').html('<bold>Other Outstanding Products<bold>');
			// start header
			if ($('#testLoc').length > 0 || $('#fluProtection').length > 0 || $('#mdGeneric').length > 0) {
				$('#mdFlashHeader').hide('fast');
				$('#mdFlashExpand').html('<br>');
				$('#crumb').prepend('<img src="/site/images/plus.png" alt="Click to Expand" align="baseline" class="mdPlus">').click(function(){
	    
				$('#mdFlashHeader').show('fast');
				$('.mdPlus').remove();
		});
	}
				// start add to cart click
				$('.mdButClicked') .click(function() { 
				$('.mdButClicked').hide();
				$('.mdAddClick').html('<br/>Processing...')
						.animate({opacity: 1.0}, 2000)
						.fadeOut('fast', function(){
				$('.mdAddClick').hide();
				$('.mdButClicked').show();
           }); 
      }); 
	  			var callForPrice = $('#mdPriceOutput').html();
 					if (callForPrice == 'Please Call for Pricing'){
 						$('.mdButClicked').hide();
 			};
	    
	    		
});

$(function(){
	
	 $("input[type='radio'][name='sShipMeth']").parent().contents().filter(function() { return this.nodeType != 1; }).remove();
	
});

$(function(){
 			// start UOM
            var mdUnitMeasure = $('A.smalltextnolink').html();
            var mdUnitEach = $('span.input').html();
            	if (mdUnitMeasure == 'UM' ){
            		$('A.smalltextnolink').html('');
            		
            };
            	if (mdUnitEach == 'EA'|| mdUnitEach == 'BX'|| mdUnitEach == 'DZ' || mdUnitEach == 'CS'){
            		$('span.input').html('');
        };    		
 			 
 });
$(function(){
 
			var $cartExtraFocus = $('#mdBrightRed').text();

				if ($cartExtraFocus != '(0 items)'){
							$('#mdBrightRed').css('background-color', 'yellow');
					};
 
 });