function trackFormContact(form) {
	if(checkValueContact(form)) { 
		insitePostContact(form); 
	}
	setTimeout(function(){form.submit();},500); // increase this value if it's not tracking properly
}

function checkValueContact(form) {

	// Add additional fields if needed or more advanced validation below here.
	if (form.contact.value == "") { return false; }
	
	return true;
}

function insitePostContact(form) {

	//save the action to insite
	url = "http://www.topfloortech.com/insitemetrics/uRMJ/uniformv2.php";
	url += "?actk=vowc7u-4hm10r7sax"; //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);

	img = new Image(0,0);
 	img.src = url;
}
