/*
 * jQuery JavaScript Library v1.3.2
 * http://jquery.com/
 *
 * Copyright (c) 2009 John Resig
 * Dual licensed under the MIT and GPL licenses.
 * http://docs.jquery.com/License
 *
 * Date: 2009-02-19 17:34:21 -0500 (Thu, 19 Feb 2009)
 * Revision: 6246
 */
$(document).ready(function() {
				$("#twitter").getTwitter({
					userName: "themesrain",
					numTweets: 1,
					loaderText: "Loading tweets...",
					slideIn: true,
					slideDuration: 750,
					showHeading: true,
					headingText: "Latest Tweets",
					showProfileLink: true,
					showTimestamp: true
				});
	$('input[type=text]').bind('focus',function() {
		if ($(this).val() == $(this).attr('alt')) {
			$(this).val('');
		}
		$(this).addClass('selected');
	});
	
	$('input[type=text]').bind('blur',function() {
		if ($(this).val() == '') {
			$(this).val($(this).get(0).defaultValue);
		}
		$(this).removeClass('selected');
	});				
			
});
