// CLEAR ON FOCUS
$.fn.clearOnFocus = function(){
	/* No attribution required,
	don't use excessively */
	return this.focus(function(){
		var v = $(this).val();
		$(this).val( v === this.defaultValue ? '' : v );
	}).blur(function(){
		var v = $(this).val();
		$(this).val( v.match(/^\s+$|^$/) ? this.defaultValue : v );
	});

};

// OVERLAY
var myOverlay =
(new documentOverlay())
.css({
	background: 'white',
	opacity: 0.7,
	filter: 'alpha(opacity=50)'
});

// TWITTER (georgesduverger)
getTwitters('georgesduverger_tweet', {
	id: 'georgesduverger',
	count: 1,
	enableLinks: true,
	ignoreReplies: false,
	clearContents: true,
	template: '%text%'
});

// TWITTER (harlene)
getTwitters('harlene_tweet', {
	id: 'harlene',
	count: 1,
	enableLinks: true,
	ignoreReplies: false,
	clearContents: true,
	template: '%text%'
});