//////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////
//
// fuchs.js, part of the michael fuchs web consulting site
//
// This contains all common JavaScript functions for the work side.
//
// Developed by Michael Fuchs,
//   fuchs@michaelfuchs.org
//
// _revision history_
// 2009.05.17, MF: first written
// see individual functions for revision histories
//
////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////



//////////////////////////////////////////////////////////////////////////
//
// function generateEmail ( )
//
// This function creates a spammer-harvest-proof email address on the
// on the page, via document.write()
//
// Params:		none
//
// Returns:		nothing (but does write to the document)
//
// Developed by Michael Fuchs,
//   fuchs@michaelfuchs.org
//
// _revision history_
// 2009.05.17, MF: first written
//
//////////////////////////////////////////////////////////////////////////

function generateEmail ( ) {

	var username = "consult";
	var hostname = "michaelfuchs.org";
	document.write("<a href=" + "mail" + "to:" + username + "@" + hostname + ">" + username + "@" + hostname + "</a>");
	return true;

}








