var Site = {
	
	// initialisation function
	start : function(){
	
		Site.behaviour();
	},
	// apply behaviours to elements via CSS selectors	
	behaviour : function() {
		$$('#query').each(function(el) {
			el.onfocus = function()
			{
				if (el.value == "Enter key search words") {
					el.value = "";
				}
			}
			el.onblur = function()
			{
				if (el.value == "") {
					el.value = "Enter key search words";
				}
			}
		});
		$$('#archived_exhibs').each(function(el){
			el.observe( 'change', function (){
				window.location = $F(el);
			});
		});
	}
};
 
document.observe('dom:loaded', Site.start);
