<!--
    // This function gets things set up, creates the cookie,
    // and then moves to the next page
    //
    function saveField(orgCookie) {
        // Get the value of the "data" field in the form
        var cookieData = document.orgForm.email.value;

        // Get the value of the "data" field in the form
        var cookie2Data = orgCookie;

        // See if the data was entered
        if (cookie2Data != null) {

            // Use this variable to set the name of the cookie
            var cookie2Name = "orgSelect";

            // Use this variable to set the number of days after which the cookie will expire
            var days = 1;

            // Calculate the expiration date
            var expires2 = new Date ();
            expires2.setTime(expires2.getTime() + days * (24 * 60 * 60 * 1000)); 

            // Set the cookie
            SetCookie2(cookie2Name, cookie2Data, expires2);
        }
		
		
		
		// See if the data was entered
        if (cookieData != null) {

            // Use this variable to set the name of the cookie
            var cookieName = "userEmail";

            // Use this variable to set the number of days after which the cookie will expire
            var days = 1;

            // Calculate the expiration date
            var expires = new Date ();
            expires.setTime(expires.getTime() + days * (24 * 60 * 60 * 1000)); 

            // Set the cookie
            SetCookie(cookieName, cookieData, expires);
        }

    }

    function SetCookie(cookieName2, cookieData2, expireDate) {
        document.cookie = cookieName2 + "=" + escape(cookieData2) + "; expires=" + expireDate.toGMTString();
    }

    function SetCookie2(cookie2Name2, cookie2Data2, expire2Date) {
        document.cookie = cookie2Name2 + "=" + escape(cookie2Data2) + "; expires=" + expire2Date.toGMTString();
    }
	
	
	
	function GetCookie(name) {
        var arg = name + "=";
        var alen = arg.length;
        var clen = document.cookie.length;
        var i = 0;
        while (i < clen) {
            var j = i + alen;
            if (document.cookie.substring(i, j) == arg)
                return GetCookieVal (j);
            i = document.cookie.indexOf(" ", i) + 1;
            if (i == 0) break; 
          }
        return null;
        }

    function GetCookieVal (offset) {
        var endstr = document.cookie.indexOf (";", offset);
        if (endstr == -1)
            endstr = document.cookie.length;
        return unescape(document.cookie.substring(offset, endstr));
        }
		
		


function setBio() {
	document.orgForm.organization.options.length=0;
	document.orgForm.organization.options[0]=new Option("Commercial", "commercial", false, false)
	document.orgForm.organization.options[1]=new Option("Biotech", "biotech", true, true)
	document.orgForm.organization.options[2]=new Option("Channel Partner", "Channel Partner", false, false)
}

function setCommercial() {
	document.orgForm.organization.options.length=0;
	document.orgForm.organization.options[0]=new Option("Commercial", "commercial", true, true)
	document.orgForm.organization.options[1]=new Option("Biotech", "biotech", false, false)
	document.orgForm.organization.options[2]=new Option("Channel Partner", "Channel Partner", false, false)
}


//-->
