// Decodes email addresses for use in forms.  Encoding prevents spam robots from scraping the correct email address
// the page must have a _recipient field and the field must appear BEFORE the function is called.


function string_decode(startstring)
{
	var decoded = "";
	
	var temp = new Array();
	temp = startstring.split(';');
	
	for(i=0 ; i<temp.length ; i++) {
		if(temp[i]-1>0) decoded = decoded + String.fromCharCode(temp[i]-1);
	}
	
	return decoded;
}