var bRules = {
	'#commentSubmit' : function(post)
	{
		post.onclick = function()
		{
			return checkForm();
		}
	},
	'#quickSearchForm' : function(sf)
	{
		sf.onsubmit = function()
		{
			quickSearchSubmit();
			return false;
		}
	},
	'#quicksearch' : function(ls)
	{
		ls.onclick = function()
		{
			if (this.value == 'search this site')
			{
				this.style.color = '#513f34';
				this.value = '';
			}
		}
		ls.onblur = function()
		{
			if (this.value == '')
			{
				closeQuickSearch();
				this.style.color = '#b8ae9b;';
				this.value = 'search this site';
			}
		}
		ls.onkeypress = function()
		{
			quickSearchStart();
		}
	},
	'#showText' : function(st)
	{
		st.onclick = function()
		{
			document.getElementById('theFullList').style.display = 'block';
			document.getElementById('hideText').style.display = 'inline';
			this.style.display = 'none';
		}
	},
	'#hideText' : function(ht)
	{
		ht.onclick = function()
		{
			document.getElementById('theFullList').style.display = 'none';
			document.getElementById('showText').style.display = 'inline';
			this.style.display = 'none';
		}
	}
};
Behaviour.register(bRules);
