function go() {
	box = document.forms[0].company;
	destination = box.options[box.selectedIndex].value;
	if (destination) location.href = destination;
}

function getStuff() {
	var url="contajax.php";
	try {
		xmlHttp=new XMLHttpRequest();
	}
	catch (e) {
		xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
	}
	xmlHttp.open("GET", url, true);
	xmlHttp.onreadystatechange = function() {
		if (xmlHttp.readyState==4) {
			branch = document.getElementById("branch");
			while(branch.firstChild) branch.removeChild(branch.firstChild);

			opt=document.createElement("option");
			opt.setAttribute("value", "new");
			opt.appendChild( document.createTextNode("New Item") );
			branch.appendChild(opt);
			branch.appendChild(document.createTextNode("<option>New Option</option>") );
		}
	}
	xmlHttp.send(null);
}

