function InsuranceLeadzAuto(zipcode, ni_var1){
	tgUrl = 'https://forms.insuranceagents.com/auto/';
	_url = tgUrl + '?zip=' + zipcode + '&a=38402&c=' + ni_var1 + '&t=395';

	xmlHttp = httpGetObject();
	xmlHttp.onreadystatechange = function(){
		if(xmlHttp.readyState == 4){
			if(xmlHttp.status == 200){
				document.location = _url;
				return false;
			}
		}
	}
	xmlUrl = '/savestat.php?tgUrl=' + escape(tgUrl) + '&Zip=' + zipcode + '&AffID=38402&Nivar=' + ni_var1 + '&Theme=395';
	xmlHttp.open('GET', xmlUrl, true);
	xmlHttp.send(null);
}

function AutoFrame(zipcode, ni_var1){
	tgUrl = 'https://www.insuranceusa.com/autoframe/';
	_url = tgUrl + '?zip=' + zipcode + '&a=38402&c=' + ni_var1 + '&t=395';

	xmlHttp = httpGetObject();
	xmlHttp.onreadystatechange = function(){
		if(xmlHttp.readyState == 4){
			if(xmlHttp.status == 200){
				document.location = _url;
				return false;
			}
		}
	}
	xmlUrl = '/savestat.php?tgUrl=' + escape(tgUrl) + '&Zip=' + zipcode + '&AffID=38402&Nivar=' + ni_var1 + '&Theme=395';
	xmlHttp.open('GET', xmlUrl, true);
	xmlHttp.send(null);
}

function AutoFrame1(zipcode, ni_var1){
	tgUrl = 'https://www.insuranceusa.com/autoframe1/';
	_url = tgUrl + '?zip=' + zipcode + '&a=38402&c=' + ni_var1 + '&t=395';

	xmlHttp = httpGetObject();
	xmlHttp.onreadystatechange = function(){
		if(xmlHttp.readyState == 4){
			if(xmlHttp.status == 200){
				document.location = _url;
				return false;
			}
		}
	}
	xmlUrl = '/savestat.php?tgUrl=' + escape(tgUrl) + '&Zip=' + zipcode + '&AffID=38402&Nivar=' + ni_var1 + '&Theme=395';
	xmlHttp.open('GET', xmlUrl, true);
	xmlHttp.send(null);
}
