// WelcomePage.js

function goHist() {
 window.history.forward(1);
}

 // Function to check for Civil Inactive Option Exists For the Court or not..
 
function changed(){ 
 var courtId= document.courtlist.whichsystem.value; 
 courtId=courtId.substring(0,3);
 // Pass the value to hidden field "courtId"...
 document.courtlist.courtId.value= courtId; 
}


// Function directs the application to their respective URL.
function submitForm(){ 
   document.getElementById("courtSubmit").disabled=true;
   // This is the address of the URL for Public Version in Production Server..
   document.courtlist.action= "MainMenu.do";
 // This is the address used in local machine.. 
  // document.courtlist.action = "http://magdev-001:9080/CJISWeb/MainMenu.do";
   document.courtlist.submit(); 
}



