jQuery(document).ready(function(){
	
	// Adjusts Featured
	jQuery("#featuredProducts ul li:last-child").addClass("last");
	// Fading Menu Functions
	jQuery('#pageNav').addClass("fade"); 
	jQuery("#tertNav li a, #cartLinks li a").after('<span>/</span>');
	jQuery("#tertNav li:last-child").addClass("last"); 
	// Fading Menu Functions
	jQuery(function () {
        if (jQuery.browser.msie && jQuery.browser.version < 7) return;
        jQuery('#pageNav li a, #siteHeader a, #primeNav li a')
            .append('<span />').each(function () {
                    var jQueryspan = jQuery('> span', this).css('opacity', 0);
                    jQuery(this).hover(function () {
						jQueryspan.stop().fadeTo('fast', 1);
                    }, function () {
						jQueryspan.stop().fadeTo('slow', 0);
                    });
				
        });
    });
	//Form Stuff
	jQuery("input.required, select.required").after('<span class="flag">(Required)</span>');
	jQuery("span.alert").siblings('input.text').addClass('error');
}); 