$.validator.setDefaults({
	submitHandler: function(form) { form.submit(); }
});

$(function(){
	$('input').bind("keypress", function(e) {
	  if (e.keyCode == 13) return false;
	});
});

$().ready(function() {
	$('#schkey').click(function() {
		if($('#schkey').val() == 'Enter keywords, title, author, ISBN...')
		{
			$('#schkey').val('');
		}
	});
	
	$('#schkey').blur(function() {
		if($('#schkey').val() == '')
		{
			$('#schkey').val('Enter keywords, title, author, ISBN...');
		}
	});

});

<!--
if (document.images) {
	homeon = new Image();           // The onmouseover image
	homeon.src = "images/btn_home_on.jpg";  	
	homeoff = new Image();          // The normally seen image
	homeoff.src = "images/btn_home.jpg"; 
	
	bargainbookon = new Image();           // The onmouseover image
	bargainbookon.src = "images/btn_bargainbook_on.jpg";  	
	bargainbookoff = new Image();          // The normally seen image
	bargainbookoff.src = "images/btn_bargainbook.jpg"; 
	
	sellurbookon = new Image();           // The onmouseover image
	sellurbookon.src = "images/btn_sellurbook_on.jpg";  	
	sellurbookoff = new Image();          // The normally seen image
	sellurbookoff.src = "images/btn_sellurbook.jpg"; 

	wishliston = new Image();           // The onmouseover image
	wishliston.src = "images/btn_wishlist_on.jpg";  	
	wishlistoff = new Image();          // The normally seen image
	wishlistoff.src = "images/btn_wishlist.jpg"; 

	shippingon = new Image();           // The onmouseover image
	shippingon.src = "images/btn_shipping_on.jpg";  	
	shippingoff = new Image();          // The normally seen image
	shippingoff.src = "images/btn_shipping.jpg"; 

	faqon = new Image();           // The onmouseover image
	faqon.src = "images/btn_faq_on.jpg";  	
	faqoff = new Image();          // The normally seen image
	faqoff.src = "images/btn_faq.jpg"; 

	abouton = new Image();           // The onmouseover image
	abouton.src = "images/btn_about_on.jpg";  	
	aboutoff = new Image();          // The normally seen image
	aboutoff.src = "images/btn_about.jpg"; 
	
	contacton = new Image();           // The onmouseover image
	contacton.src = "images/btn_contact_on.jpg";  	
	contactoff = new Image();          // The normally seen image
	contactoff.src = "images/btn_contact.jpg"; 

  }				  //This function changes the image when over.
    function imgOn(imgName) {
            if (document.images) {
            document[imgName].src = eval(imgName + "on.src");
            }
    }				   //This function changes the image back when off.
    function imgOff(imgName) {
            if (document.images) {
            document[imgName].src = eval(imgName + "off.src");        
            }
    }
// -->
