//Browser Support Codefunction ajaxFunction(inputfield, outputfield, type, response){	var ajaxRequest;  // The variable that makes Ajax possible!		try{		ajaxRequest = new XMLHttpRequest();	} catch (e){		try{			ajaxRequest = new ActiveXObject("Msxml2.XMLHTTP");		} catch (e) {			try{				ajaxRequest = new ActiveXObject("Microsoft.XMLHTTP");			} catch (e){				alert("Your browser broke!");				return false;			}		}	}	ajaxRequest.onreadystatechange = function(){		if(ajaxRequest.readyState == 4){		// **** the bit that gets the results and puts them in the page ****		if (response == 'combo') {		document.getElementById(outputfield).options.length = 0;		returnElements=ajaxRequest.responseText.split("||")                    for ( var i=0; i< returnElements.length; i++ ){             valueLabelPair = returnElements[i].split("|")             document.getElementById(outputfield).options[i] = new Option(valueLabelPair[1], valueLabelPair[0]);				}		}		if (response == 'textbox') {		document.getElementById(outputfield).innerHTML = ajaxRequest.responseText;		}          	}	}	// **** The bit that grabs the current value and submits to the Ajax script ****	if (response == 'combo') {		var myvar = document.getElementById(inputfield).options[document.getElementById(inputfield).selectedIndex].value;	} else {		var myvar = document.getElementById(inputfield).value;	}		var queryString = "?"+inputfield+"=" + myvar+"&type="+type;	ajaxRequest.open("GET", "ajax_call.asp" + queryString, true);	ajaxRequest.send(null); }