function initHome() {
	$(document).ready(
		function() {
			$('#cat1').slideshow(
				{ timeout: 3000, type: 'random' }
			);
			$('#cat2').slideshow(
				{ timeout: 3750, type: 'random' }
			);
			$('#cat3').slideshow(
				{ timeout: 3250, type: 'random' }
			);
			$('#cat4').slideshow(
				{ timeout: 3500, type: 'random' }
			);
		}
	);
}

$(document).ready(
	function() {
		$('#nl_name').bind('focus',
			function() {
		    	if (this.value=="Your Name") this.value="";
			}
		);
		$('#nl_name').bind('blur',
			function() {
		    	if (this.value=="") this.value="Your Name";
			}
		);
		$('#nl_email').bind('focus',
			function() {
		    	if (this.value=="Your Email") this.value="";
			}
		);
		$('#nl_email').bind('blur',
			function() {
		    	if (this.value=="") this.value="Your Email";
			}
		);
	}
);

function playVideo(url, width, height) {
	 window.open (url,"video-window","status=0,menubar=0,resizable=1,width=" + width + ",height=" + height);
}

function doSearch() {
	var theForm = $('#searchForm');
	theForm.action = 'http://www.google.com/search?q=' + encode(theForm.q.value) + '+site%3Abigcat.org&btnG=Search';
}