function UpdateEntry(val) {
	var race, type, i, j
	i = val.indexOf("_", 0);
	race = val.substring(0, i);	
	j = val.indexOf("_", i+1);
	type = val.substring(i+1, j);
	//document.location.href=document.location.href+'&Race=' + race;
	//window.open("mtp.asp?Race=" + race ,"MtpFrame"); 
	//window.open("wagertype.asp?Type=" + type + "&Race=" + race,"WagerFrame"); 
	//window.open("selection.asp?wager=-1&race=-1"  ,"SelectFrame");	
}
function UpdateEntryRaces(val) {
	var race, type, i, j
	i = val.indexOf("_", 0);
	race = val.substring(0, i);	
	j = val.indexOf("_", i+1);
	type = val.substring(i+1, j);
	var theStr=new String(document.location.href);
	var regExp=/Race/g;
	var newStr=theStr.replace(regExp, String(Math.random()).substring(2));
	document.location.href="?"+val;
	//document.location.href=newStr+'&Race=' + race;
	//window.open("mtp.asp?Race=" + race ,"MtpFrame"); 
	//window.open("wagertype.asp?Type=" + type + "&Race=" + race,"WagerFrame"); 
	//window.open("selection.asp?wager=-1&race=-1"  ,"SelectFrame");
}
