// Build Registration URL 
var registrationBaseUrl = "http://www.microsoft.com/web/websitespark/register.aspx?";
var registrationCulture = "en-US";
var registrationAccountType = "Startup";
    	
//***** USE SERVER SIDE LOGIC TO SET THE ENROLLMENT CODE FROM YOUR POOL OF ENROLLMENT CODES HERE *****
var registrationSecurityCode = "64JAHbFxtg"; // 
//****************************************************************************************************
    	
var registrationUrl = registrationBaseUrl + "Culture=" + registrationCulture + "&AccountType=" + registrationAccountType + "&SecurityCode=" + registrationSecurityCode;
    	
function flipContinueButton()
{
    var ContinueButton = document.getElementById('ContinueButton');
    var ContinueAnchor = document.getElementById('ContinueAnchor');

    if(document.getElementById('QualifiesCheckbox').checked == true)
    {
    	ContinueButton.src = "http://www.poundhost.com/images/ContinueEnabled.png";
    	ContinueButton.alt = "Continue";
    	ContinueAnchor.setAttribute("href", registrationUrl);	
    }
    else
    {
    	ContinueButton.src = "http://www.poundhost.com/images/ContinueDisabled.png";	
        ContinueButton.alt = "You must acknowledge that your firm qualifies by checking the checkbox to the left to continue.";
    	ContinueAnchor.removeAttribute("href");
    }
}

