/**
 * Global javascript functions for standard SimpleCMS pages
 *
 * Created 04 February 2010
 * Updated 11 April 2010
 *
 * @author Allan A Beattie <allan.beattie@abdn.ac.uk>
 * @version 1.0.3
 */


function cleanSlate(textbox, defaultValue) {
	// if the box contains the default value clear it
	if (textbox.value == defaultValue) {
		textbox.value = '';
	}
	
	// set the text colour to black
	textbox.style.color = '#111111';
}
