	$(function() {
		$(".quilt td a img").each(function() {
			var originalPath = $(this).attr("src");
			var imgPath = originalPath.split("/");
			var pathCount = $(imgPath).size()-1;
			var imgDirectory = "";
			for (var i=0; i < pathCount; i++) {
				imgDirectory += imgPath[i] + "/";
			}
			var file = imgPath[pathCount].split(".");
			var filename = file[0];
			var extention = file[1];
			var newImg = imgDirectory + filename + "_over." + extention;
			$(this).hover(
				function() {
					$(this).attr("src",newImg);
				},
				function() {
					$(this).attr("src",originalPath);
				}
			);
		});
	});

// This adds 'placeholder' to the items listed in the jQuery .support object. 
jQuery(function () {
    jQuery.support.placeholder = false;
    test = document.createElement('input');
    if ('placeholder' in test) jQuery.support.placeholder = true;
});
// This adds placeholder support to browsers that wouldn't otherwise support it. 
$(function () {
    if (!$.support.placeholder) {
        var active = document.activeElement;
        $(':text').focus(function () {
            if ($(this).attr('placeholder') != '' && $(this).attr('placeholder') != undefined && $(this).val() == $(this).attr('placeholder')) {
                $(this).val('').removeClass('hasPlaceholder');
            }
        }).blur(function () {
            if ($(this).attr('placeholder') != '' && $(this).attr('placeholder') != undefined && ($(this).val() == '' || $(this).val() == $(this).attr('placeholder'))) {
                $(this).val($(this).attr('placeholder')).addClass('hasPlaceholder');
            }
        });
        $(':text').blur();
        $(active).focus();
        $('form:eq(0)').submit(function () {
            $(':text.hasPlaceholder').val('');
        });
    }
});
$('.searchInput').keypress(function (e) {
    if (e.which == 13) {
        $('form#frmSiteSearch').submit();
        e.preventDefault();
    }

});


