/*
 * Common javascript function that everyone should have access to
 * Require jquery
 */
toggleDefaultText = function(inputArray){
	inputArray = typeof inputArray == "undefined"
	? []
	: inputArray;

	for (i = 0 ; i < inputArray.length ; i++)
	{
		tempInput = $("[name=" + inputArray[i] + "]:not(.noToggle)");
		tempInput.attr("defaulttext", tempInput.val() );

		tempInput.focus(function(){
			if ( $(this).val() == $(this).attr("defaulttext") )
			{
				$(this).val("");
			}		
		});
		tempInput.blur(function(){
			if ( $(this).val() == "" )
			{
				$(this).val( $(this).attr("defaulttext") );
			}	
		});
	}
}