function gotoIndexPage(){
    alert("Your session got expired. Kindly login again");
    top.location.href = '/eMitra';
}
function forwardToDifferentPage(pageURL){
   top.location.href = pageURL;

}

function forwardToDifferentPageForDistict(pageURL){
  window.open(pageURL,"_media","resizable=yes,height=900,width=1500,top=0,left=0,toolbar=yes,location=yes,scrollbars=yes");
  
}

function viewService(){      
    
      var url="ListOfServices.jsp?&groupCode="+document.getElementById("service").value; 
      if(document.getElementById("service").value!=-1){
      window.open(url,"_media","height=300,width=400,scrollbars=yes");
      }
}
function viewService_H(){      
    
      var url="ListOfServices.jsp?&groupCode="+document.getElementById("service").value+"&lang=H"; 
      if(document.getElementById("service").value!=-1){
      window.open(url,"_media","height=300,width=400,scrollbars=yes");
      }
}
function discl()//disclaimer
{
three=open("","three","height=600,width=600,status=no,toolbar=no,directories=no,menubar=no,location=no,resizable=no,left=160,top=100");
three.document.write("<html><title>Legal Disclaimer - e-Mitra</title>"
+ "<body bgcolor='white' onblur='javascript:window.close()'>"
+ "<p align=center><font size=2 face=Verdana, "
+ "Arial, Helvetica, sans-serif><b><font color=#FF0000>Legal"
+ " Disclaimer </font></b></font></p>"
+ "<p><font size=2 face=Verdana, Arial, Helvetica, sans-serif>"
+ "I understand that :<br><br> "
+ "The Service Provider and ...  have taken all reasonable steps to ensure the transaction is secure and safe.<br> "
+ "<ul><li>The use of the ... ... service, and any data of information accessed using that service, will be at my own risk entirely. </li>"
+ "<li>The cumulative liability of the service operator or ... ... for any and all claims relating to the services provided by the service provider or ... ... , in contract, tort, or otherwise, shall not exceed that total amount of the basic service fee paid to the service provider and ... for services for my use of ... service at this property. </li></ul></p>"

+"<br>I agree that : <br><br>"
+"The service operator and Government of Rajasthan shall have no liability for any consequential, "
+"indirect, special or incidental damages regardless of the success or effectiveness of other remedies. "
+"I shall defend, indemnify and hold harmless the service provider and Government of Rajasthan and "
+"their respective affiliates from and against any and all liabilities, costs, and expenses, including "
+"reasonable attorney's fees, related to or arising from, any violation of these agreement by me or "
+"those who access the services through my account, or the use of the services or the Internet and the "
+"placement or transmission of any message, information, software, audio files or other materials on the "
+"Internet by me or by those who have access to the services through my account and understand that the "
+"laws of India govern use of the  Government of Rajasthan service.<br><br>  I expressly agree that the courts at "
+"Rajasthan shall have exclusive jurisdiction for any claim or dispute with the service provider "
+"or Government of Rajasthan or relating in any way to my account or my use of Government of Rajasthan.</b>"

+ "<p align=center><b><a href='javascript:window.close()'>I Agree</a>.</p>"
+ "</body></html>");
}

function getDistrict(dist){
if(dist==30)
  link="http://kota.nic.in";  
if(dist==21)    
    link="http://ajmer.nic.in";
if(dist==6)    
    link="http://alwar.nic.in";
if(dist==28)    
    link="http://banswara.nic.in";
if(dist==31)    
    link="http://baran.nic.in";
if(dist==17)    
    link="http://barmer.nic.in";
if(dist==7)      
   link="http://bharatpur.nic.in";
if(dist==24)      
   link="http://bhilwara.nic.in";
if(dist==3)      
   link="http://bikaner.nic.in";
  if(dist==23)      
   link="http://bundi.nic.in";
   if(dist==29)      
   link="http://chittorgarh.nic.in";
   if(dist==4)      
   link="http://churu.nic.in";
   if(dist==11)      
   link="http://dausa.nic.in";
   if(dist==8)      
   link="http://dholpur.nic.in";
   if(dist==27)      
   link="http://dungarpur.nic.in";
   if(dist==2)      
   link="http://hanumangarh.nic.in";
   if(dist==12)      
   link="http://jaipur.nic.in";
   if(dist==16)      
   link="http://jaisalmer.nic.in";
    if(dist==18)      
   link="http://jalore.nic.in";
    if(dist==32)      
   link="http://jhalawar.nic.in";
    if(dist==5)      
   link="http://jhunjhunu.nic.in";
    if(dist==15)      
   link="http://jodhpur.nic.in";
    if(dist==9)      
   link="http://karauli.nic.in";
    if(dist==14)      
   link="http://nagaur.nic.in";
    if(dist==20)      
   link="http://pali.nic.in";
    if(dist==25)      
   link="http://rajsamand.nic.in";
    if(dist==10)      
   link="http://sawaimadhopur.nic.in";
    if(dist==13)      
   link="http://sikar.nic.in";
    if(dist==19)      
   link="http://sirohi.nic.in";
     if(dist==1) 
   link="http://ganganagar.nic.in";
        if(dist==22) 
   link="http://tonk.nic.in";
        if(dist==26) 
   link="http://udaipur.nic.in"; 

top.location.href = link;
}

