function newsletter(root)
	{
	
	var email = document.getElementById("email").value;
	
	if (root == true)
	{
		var url="join/";
	} else {
		var url="../join/";
	}
	
	if (email == "Enter your email here")
	{
		alert("Please enter an email address");
		
	} else {
	
		url += "?email=" + email;	
	
		window.location.href = url;
	
	}
}

function launch(url, name, width, height, options)
	{
	if (!name)
		{
		name = "window_" + Math.floor(1000 * Math.random());
		}
	
	if (!width)
		{
		width = 800;
		}
		
	if (!height)
		{
		height = 600;
		}
	
	if (!options)
		{
		options = "menubar=1,toolbar=1,location=1,directories=1,status=1,scrollbars=1,resizable=1";
		}
	
	width	= Math.min(width, screen.availWidth);
	height	= Math.min(height, screen.availHeight);
	var x	= Math.max(0, 0.5 * (screen.availWidth - width));
	var y	= Math.max(0, 0.5 * (screen.availHeight - height));

	var config = "";
	config += "left=" + x + ",top=" + y + ",";
	config += "screenX=" + x + ",screenY=" + y + ",";
	config += "width=" + width + ",height=" + height;
	config += "," + options;

	var win = window.open(url, name, config);
	if (win && window.focus)
		{
		win.focus();
		}
	}

