function tabAhead(maxvalue, currentvalue, to) {
	if(value.length == maxvalue) {
		document.contactus.to.focus;
		return true;
	} else {
		alert('Nope. Value: ' + currentvalue + ' ... ' + maxvalue + ' ... ' + to);
		return false;
	}
}
function resetform() {
	var x = confirm("Are you sure you want to reset the form?\nThis will clear all values entered.");
	if(x) {
		document.contactus.reset;
		return true;
	} else {
		return false;
	}
}
function newwindow(project , action) {
	var togo = '';
	if(action == 'dl') {
		togo += 'http://dl.bkworksproducts.info/?prod=' + project;
	} else {
		togo += 'http://demos.bkworksproducts.org/' + project;
	}
	window.open(togo, 'dlwindow', 'location=0,toolbar=0,width=1024,height=600,resizeable=false');
}
