// JavaScript Document
jQuery(document).ready(function(){

	var newClass = $("#background").attr('abbr');
	window.status = newClass;
	$("#background").fadeOut("fast",function () {
					$(this).removeClass("myclass").addClass(newClass).fadeIn("slow");
				});


//Initialize the first product to appear on the page
	$('#description>div:first').fadeIn('slow');
	    swapValues = [];
    $(".swap_value").each(function(i){
        swapValues[i] = $(this).val();
        $(this).focus(function(){
            if ($(this).val() == swapValues[i]) {
                $(this).val("");
            }
        }).blur(function(){
            if ($.trim($(this).val()) == "") {
                $(this).val(swapValues[i]);
            }
        });
    }); 

});

