// Default values to use
var username = "enquiries";			// ** use sylvia for testing
var hostname = "HelpWorksItalia";	// ** use burstowcottage for testing
var suffix = "com";					// ** use co.uk for testing

if (window.location.search.substring(0, 1) == '?') {	
	var sSearchString = window.location.search.substring(1);
	var asString = sSearchString.split("&");//Parameters are separated with ampersands
	var asParam = asString[0].split("=");	//Each parameter is in the form name=value
	username = asParam[1];			 		//Extract value part
	document.write("<input type=\"hidden\" name=\"debug\" value=\"" + asParam[1] + "\">");
}

var linktext = username + "@" + hostname + "." + suffix;
document.write("<input type=\"hidden\" name=\"recipient\" value=\"" + linktext + "\">");

