<!--
function addbookmark() {
if ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4)) {
var url="http://www.race-track-info.com/";
var title="Race-Track-info.com";

window.external.AddFavorite(url,title);
}
else {
var msg = "Don't forget to bookmark us!";
if(navigator.appName == "Netscape") msg += "  (CTRL-D)";
alert(msg);
}
}


<!--
function emptyvalidation(entered, alertbox)
{
with (entered)
{
if (value==null || value=="")
{if (alertbox!="") {alert(alertbox);} return false;}
else {return true;}
}
}

function emailvalidation(entered, alertbox)
{
with (entered)
{
apos=value.indexOf("@");
dotpos=value.lastIndexOf(".");
lastpos=value.length-1;
if (apos<1 || dotpos-apos<2 || lastpos-dotpos>4 || lastpos-dotpos<2)
{if (alertbox) {alert(alertbox);} return false;}
else {return true;}
}
}

function intvalidation(entered, alertbox)
{	with(entered)
	{	checkvalue = parseInt(value);
		if (checkvalue == "e")
		{	if (alertbox)
			{	alert(alertbox);
			}
			return false;
		}
		else
		{	return true;
		}
	}
}

function formvalidation(thisform)
{
with (thisform)
{
if (emptyvalidation(emailAdd," Your email address is required if you wish to receive the regular news updates on your favorite race tracks from Race-Track-Info.com ")==false) {emailAdd.focus(); return false;};
if (emailvalidation(emailAdd,"Invalid email address")==false) {emailAdd.focus(); return false;};
}
}