/*
 * vincent-yu-photography.js
 * Copyright 2010 Vincent Yu Photography
 * http://vincent.yu.net.nz/
 */

jQuery.noConflict();
jQuery(document).ready(function() {

	// Search field placeholder text - if the search field is empty, then populate
	// it with the 'title' attribute...
	jQuery('#s').attr('value', jQuery('#s').attr('title'));
	jQuery('#s').focus(function() {
		if (this.value == this.title) {
			this.value = '';
		}
	});
	jQuery('#s').blur(function() {
		if (this.value == '') {
			this.value = this.title;
		}
	});
});

