var AjaxReq = false;
var ttime = null;
var myvar;
	
var isIE = false;
// on !IE we only have to initialize it once
if (window.XMLHttpRequest) {
	AjaxReq = new XMLHttpRequest();
}

function SessionVarStart(myvar) {
	if (ttime) {
		window.clearTimeout(ttime);
	}
	ttime = window.setTimeout("SessionVar(myvar)",10);
}

function SessionVar(myvar) {

	if (window.XMLHttpRequest) {
	// branch for IE/Windows ActiveX version
	} else if (window.ActiveXObject) {
		AjaxReq = new ActiveXObject("Microsoft.XMLHTTP");
	}
	AjaxReq.open("GET", "http://www.cartft.com/catalog/threeorbuilt2/Session_Ajax_Setter_htm?name=" + myvar + "&r=" +  Math.floor(Math.random()*50000));
	AjaxReq.send(null);
}
