function do_onfocus_action( fieldname ){

	// change presentation of the field to indicate it received focus
	fieldname.className = 'field_has_focus';

	// clear the field if it's an e-mail field and it still had its default value
	if  (
				( ( fieldname.name == 'emailto' ) && ( fieldname.value == 'recipient@somewhere.com' ) ) ||
				( ( fieldname.name == 'emailfrom' ) && ( fieldname.value == 'youremailaddress@somewhere.com' ) )
			)
		fieldname.value = '';
} 

function do_onblur_action( fieldname ){

	// change presentation of the field to indicate it lost focus
	fieldname.className = 'field_lost_focus';

	// restore the default value for the field if it's an e-mail field and nothing got entered
	if  ( ( fieldname.name == 'emailto' ) && ( fieldname.value == '' ) )
		fieldname.value = 'recipient@somewhere.com';
	if  ( ( fieldname.name == 'emailfrom' ) && ( fieldname.value == '' ) )
		fieldname.value = 'youremailaddress@somewhere.com';
} 

// preload rollover images
pic= new Image(1,1);
pic.src='/i/about-ro.png';
pic= new Image(1,1);
pic.src='/i/whatwedo-ro.png';
pic= new Image(1,1);
pic.src='/i/whocanbenefit-ro.png';
pic= new Image(1,1);
pic.src='/i/moreinformation-ro.png';

