
//Function for the Progressive Jackpots..
function showJackPots(){
	if(0 == document.ProgressiveJackpots.jackpotState.selectedIndex){
		alert("Please select a state and then click on the Button <<Go>>");
	}else{
		var jackpotURL = document.ProgressiveJackpots.jackpotState[document.ProgressiveJackpots.jackpotState.selectedIndex].value;
		window.open(jackpotURL,'','height=600,width=800,scrollbars=yes, toolbar=yes, status=yes, menubar=yes, resizable=yes, location=yes, ');		
	}
}
	
function showMarketProperty(){

	var browser = navigator.appName;
	var stateCode = document.TableFinderForm.state[document.TableFinderForm.state.selectedIndex].value;
	if("" != stateCode){
		var propertyGroup = document.getElementById(stateCode);

		if (propertyGroup) {
			propertyGroup.style.display="block";
				
			var defaultCasinoId = stateCode + "_default";
			var defaultRadio = document.getElementById(defaultCasinoId);
			
			if (defaultRadio) {
				defaultRadio.checked = true;
			}
		}
		
		 
	}	

	// Hiding the Previous state div tag
	var previousState = document.TableFinderForm.previousState.value;		
	if("" != previousState){			
		document.getElementById(previousState).style.display="none";
	}		
	document.TableFinderForm.previousState.value=stateCode;
}