function goSignUp(){
	var email = document.getElementById('email').value;
	var apos = email.indexOf("@");
	var dotpos = email.indexOf(".");
	if (apos<1||dotpos<1) 
 	{
		alert('Please enter a valid Email Address');
		return false;
	}
	if (email.length <= 5 || email==null)
	{
		alert('Please enter a valid Email Address');
		return false;
	}
	else
	{
		window.location.href += 'content/217/Sign-Up-Follow/?email=' + encodeURIComponent(email) + '#signUp';
		return false;
	}
}
function populate(){
	document.getElementById('emailAddr').value = gup('email');	
}
function gup(name){
	name = name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]");
	var regexS = "[\\?&]"+name+"=([^&#]*)";
	var regex = new RegExp( regexS );
	var results = regex.exec( window.location.href );
	if( results == null )
		return "";
	else
		return decodeURIComponent(results[1]);
}

