function elemFocus () {
	if ( this . value == inpText [ this . name ] ) this . value = '' ;
}

function elemBlur () {
	if ( this . value == '' ) this . value = inpText [ this . name ] ;
}

function initFormFocusBlur () {
	for ( i = 0 ; i < initFormFocusBlur . arguments . length ; i ++ ) {
		var form = document . getElementById ( initFormFocusBlur . arguments [ i ] ) ;
		if ( form ) {
			for ( j = 0 ; j < form . elements . length ; j ++ ) {
				current = form . elements [ j ] ;
				if ( ( current . type == 'text' ) || ( current . tagName == 'TEXTAREA' ) ) {
					current . onfocus = elemFocus ;
					current . onblur = elemBlur ;
					inpText [ current . name ] = current . value ;
				}
			}
		}
	}
}

var inpText = new Array () ;