function trackFormCntct(form) {
	if(checkValueCntct(form)) { 
		insitePostCntct(form); 
	}
	setTimeout(function(){form.submit();},500); // increase this value if it's not tracking properly
}

function checkValueCntct(form) {

	// Add additional fields if needed or more advanced validation below here.
	if (form.Contact.value == "") { return false; }
	
	return true;
}

function insitePostCntct(form) {

	//save the action to insite
	url = "http://www.topfloortech.com/insitemetrics/uRMJ/uniformv2.php?actk=10ssxq2-48wmeuh28y";
	//url += "?actk=ACTION_KEY"; //unique action key
	url += "&imReferrerField=" + escape(document.referrer);
	url += "&imEmailField=" + escape(form.email.value);
	url += "&Name=" + escape(form.Contact.value);
	url += "&Phone=" + escape(form.Phone.value);
	url += "&Fax=" + escape(form.Fax.value);
	url += "&Address=" + escape(form.Address.value);
	url += "&City=" + escape(form.City.value);
	url += "&Staste=" + escape(form.State.value);
	url += "&Zip=" + escape(form.Postal.value);
url += "&Message=" + escape(form.Comments.value);
	img = new Image(0,0);
 	img.src = url;
}