function ok()
{
	if(document.form1.code.value != "")
	{
		window.location = "http://m391.infusionsoft.com/go/GM1000/" + document.form1.code.value;
	}
	else
	{
		alert("Please enter your invite code");
	}
}
window.onload = function()
{
	document.form1.code.focus();
}