document.observe("dom:loaded", function(){
	/* fix for background image flicker in IE6 */
			var isIE6 = /msie|MSIE 6/.test(navigator.userAgent);
				if(isIE6){try {document.execCommand("BackgroundImageCache", false, true);} catch(err) {}}

	$('searchBox').observe('focus', function(e){
		var element = e.element();
		if (element.getValue() == 'Search HarvardBusiness.org'){
			element.setValue('');
		}
	});
	
	$('searchBox').observe('blur', function(e){
		var element = e.element();
		if (element.getValue() == ''){
			element.setValue('Search HarvardBusiness.org');
		}
	});
	
	
	if($('searchBox2')){
	$('searchBox2').observe('focus', function(e){
		var element = e.element();
		if (element.getValue() == 'Search all Blogs'){
			element.setValue('');
		}
	});
	
	$('searchBox2').observe('blur', function(e){
		var element = e.element();
		if (element.getValue() == ''){
			element.setValue('Search all Blogs');
		}
	});
	}
	
	if ($('tipSignup')){
		$('tipSignup').observe('focus', function(e){
			var element = e.element();
			if (element.getValue() == 'Enter your email address'){
				element.setValue('');
			}
		});
		
		$('tipSignup').observe('blur', function(e){
			var element = e.element();
			if (element.getValue() == ''){
				element.setValue('Enter your email address');
			}
		}); 
	}
	
	if($('blogAuthorInfo')&&$('blogAuthorPrint')){
		var e = $('blogAuthorInfo').getElementsByTagName('div');
		$('blogAuthorPrint').innerHTML = '<center>* * *</center>'+e[0].innerHTML+'<center>* * *</center>';
	}
});