//  Onload, set form button mouseovers.
window.onload = function () {

	// Be sure we can do this.
	if ( document.getElementsByTagName ) {

		// Get the anchor tags.
		var anchors = document.getElementsByTagName("A");

		// If the page has anchor tags, search for those with CLASS="email"
		// and change the value of the HREF attribute.
		if( anchors ) {

			for ( i = 0; i < anchors.length;  i++) {

				var node = anchors[i];
				var thisClassName = node.className.substr( 0, 5 );

				if (thisClassName == 'email') {

					var thisRecipient = node.className.substr( 6 );
					var userNameArray = new Array();
					userNameArray['owner'] = 'larry.weaver';
					userNameArray['webmaster'] = 'guru';

					var userName = userNameArray[thisRecipient];
					node.href = 'mailto:' + userName + '@' + 'weaversphotography.com';
				}
			}
		}
	}
	hilite(thisHilite);
}