<!--
  //NOTICE: Remember to Load strings.js before using any functions in this script!
  function retChk(objName, iChkType, bChkEmpty) {
    var strValidString;
    var iTemp;
    var bValid = true;
    var bEmpty;

    //Check for valid characters
    if (iChkType > 0) {
      strValidString = retType(iChkType);
      if (objName.value.length > 0) {
        if (Trim(objName.value) != "") {      
          for (var i=0; i<objName.value.length; i++) {
            iTemp = "" + objName.value.substring(i, i+1);
            if (strValidString.indexOf(iTemp) == "-1") {
              bValid = false;
              break;
            }  
          }
      
          if (!bValid) {
            switch (iChkType) {
            case 1:
              alert ("Please key in only characters [A-Z].");
              break;
            case 2:
              alert ("Please key in only characters [a-z].");
              break;
            case 3:
              alert ("Please key in only characters [A-Z] and numbers [0-9].");
              break;
            case 4:
              alert ("Please key in only characters [a-z] and numbers [0-9].");
              break;
            case 5:
              alert ("Please key in only characters [A-Z] & [a-z].");
              break;
            case 6:
              alert ("Please key in only characters [A-Z] & [a-z] and space.");
              break;
            case 7:
              alert ("Please key in only characters [A-Z] & [a-z] and numbers [0-9].");
              break;
            case 8:
              alert ("Please key in only characters [A-Z] & [a-z], numbers [0-9] and space.");
              break;
            case 9:
              alert ("Please key in only characters [A-Z] & [a-z], numbers [0-9], space and typical symbols.");
              break;
            case 10:
              alert ("| are not allowed");
              break;
            case 50:
              alert ("Please key in only numbers [0-9].");
              break;
            case 51:
              alert ("Please key in only numbers [0-9] and full stop.");
              break;
            case 52:
              alert ("Please key in only numbers [0-9], space, -, (, ).");
              break;
            case 53:
              alert ("Please key in valid email address.");
              break;
            }  
          }
        }  
        else {
          bEmpty = true;
        }  
      }
      else {
        bEmpty = true;
      }
    }  

    //Check for empty    
    if (bValid) {
      if (bChkEmpty) {
        bValid = bEmpty?false:true;
        if (!bValid) {
          alert ("Please do not leave this field empty.");
        }  
      }  
    }

    if (bValid)
      return (true);
    else {
      objName.focus();
      objName.select();
      return (false);
    }
  }

  function retType(type) {
    switch (type) {
    case 1:
      //A to Z
      return ("ABCDEFGHIJKLMNOPQRSTUVWXYZ");
    case 2:
      //a to z
      return ("abcdefghijklmnopqrstuvwxyz");
    case 3:
      //A to Z, 0 to 9
      return ("ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789");
    case 4:
      //a to z, 0 to 9
      return ("abcdefghijklmnopqrstuvwxyz0123456789");
    case 5:
      //A to Z, a to z
      return ("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz");
    case 6:
      //A to Z, a to z and space
      return ("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz ");
    case 7:
      //A to Z, a to z and 0 to 9
      return ("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789");
    case 8:
      //A to Z, a to z, 0 to 9 and space
      return ("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789 ");
    case 9:
      //All the visible characters
      return ("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789 `~!@#$%^&*()-=_+|[]{}:;<>?,.+-/'");
    case 10:
      //All the visible characters except comma
      return ("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789 `~!@#$%^&*()-=_+[]{}:;<>,?.+-/'");
    case 50:
      //integer
      return ("0123456789");
    case 51:
      //decimal
      return ("0123456789.");
    case 52:
      //phone number
      return ("0123456789-() ");
    case 53:
      //email characters
      return ("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789@-_.");
    }  
  }  
  
  function microsoftKeyPress()
  {
		if (window.event.keyCode == 13) {
			return true;
		}
		else {
			return false;
		}

  }

  function chkFileExtension(objName, extenstionType, equalType)
  {
	myString = new String(Trim(objName.value));
	splitString = myString.split(".");
	if (equalType == "==") {
		if (splitString[splitString.length-1].toLowerCase() == extenstionType.toLowerCase()) {
			alert("File not allowed.");
			return false;
		}
		else {
			return true;
		}
	}
	else {
		if (splitString[splitString.length-1].toLowerCase() != extenstionType.toLowerCase()) {
			alert("File not allowed.");
			return false;
		}
		else {
			return true;
		}
	}
	
  }
  
  //For Profiling
  function lookfor(index)
  {       
    var i;
    
    //Clear all options of Looking For
    for (i=document.frmSLAProfile.selLoo.options.length-1; i>=0; i--)
    {
      document.frmSLAProfile.selLoo.options[i]=null;
    }
    
    switch(index)
    {  
      //Nothing
      case 0:           
        var item0 = new Option('- Select -');
        document.frmSLAProfile.selLoo.options[0] = item0;
        break;
        
      //Architects
      case 1:    
        var item0 = new Option('- Select -');
        document.frmSLAProfile.selLoo.options[0] = item0;
       
        var item1 = new Option('Allocation of Lot Numbers', '../ser/ser0404.htm');
        document.frmSLAProfile.selLoo.options[1] = item1;

        var item2 = new Option('Inspection of Survey Plans', '../ser/ser0405.htm');
        document.frmSLAProfile.selLoo.options[2] = item2;

        var item3 = new Option('Buy Land Info (INLIS)', 'http://www.inlis.gov.sg');
        document.frmSLAProfile.selLoo.options[3] = item3;

        var item4 = new Option('Sales of Land', '../ser/ser0202.htm');
        document.frmSLAProfile.selLoo.options[4] = item4;

        var item5 = new Option('Sales of Remnant Land', '../ser/ser0203.htm');
        document.frmSLAProfile.selLoo.options[5] = item5;
   
        var item6 = new Option('Change of Land Use', '../ser/ser0204.htm');
        document.frmSLAProfile.selLoo.options[6] = item6;
        
        var item7 = new Option('Renewal of Lease', '../ser/ser0204.htm#renewal');
        document.frmSLAProfile.selLoo.options[7] = item7;
        
        break;   

        
      //Business Partners
      case 2:  
        var item0 = new Option('- Select -');
        document.frmSLAProfile.selLoo.options[0] = item0; 
        
        var item1 = new Option('Rental of State Land', '../ser/ser0206.htm');
        document.frmSLAProfile.selLoo.options[1] = item1;
        
        var item2 = new Option('Rental of State Buildings', '../ser/ser0207.htm');
        document.frmSLAProfile.selLoo.options[2] = item2;  
        
        var item3 = new Option('State Property Info Online (SPIO)', 'http://www.spio.sla.gov.sg');
        document.frmSLAProfile.selLoo.options[3] = item3;
        
        var item4 = new Option('Licensing of Digitised Land Info', '../ser/ser0503.htm');
        document.frmSLAProfile.selLoo.options[4] = item4;
        
        var item5 = new Option('Production of Maps', '../ser/ser0504.htm');
        document.frmSLAProfile.selLoo.options[5] = item5;
        
        var item6 = new Option('Buy Land Info (INLIS)', 'http://www.inlis.gov.sg');
        document.frmSLAProfile.selLoo.options[6] = item6;
        
        var item7 = new Option('Special Schemes', '../ser/ser0209.htm');
        document.frmSLAProfile.selLoo.options[7] = item7;
        
        var item8 = new Option('Change of Land Use', '../ser/ser0204.htm');
        document.frmSLAProfile.selLoo.options[8] = item8;
        
        var item9 = new Option('Renewal of Lease', '../ser/ser0204.htm#renewal');
        document.frmSLAProfile.selLoo.options[9] = item9;  
        
        break;

        
      //Developers
      case 3:     
        var item0 = new Option('- Select -');
        document.frmSLAProfile.selLoo.options[0] = item0;      
        
        var item1 = new Option('Sales of Land', '../ser/ser0202.htm');
        document.frmSLAProfile.selLoo.options[1] = item1;
        
        var item2 = new Option('Sales of Remnant Land', '../ser/ser0203.htm');
        document.frmSLAProfile.selLoo.options[2] = item2;
        
        var item3 = new Option('Change of Land Use', '../ser/ser0204.htm');
        document.frmSLAProfile.selLoo.options[3] = item3;
        
        var item4 = new Option('Renewal of Lease', '../ser/ser0204.htm#renewal');        
        document.frmSLAProfile.selLoo.options[4] = item4;
        
        var item5 = new Option('Rental of State Land', '../ser/ser0206.htm');
        document.frmSLAProfile.selLoo.options[5] = item5; 
        
        var item6 = new Option('Allocation of Lot Numbers', '../ser/ser0404.htm');
        document.frmSLAProfile.selLoo.options[6] = item6; 
        
        var item7 = new Option('Inspection of Survey Plans', '../ser/ser0405.htm');
        document.frmSLAProfile.selLoo.options[7] = item7;
        
        var item8 = new Option('Survey Maps', '../ser/ser0406.htm');
        document.frmSLAProfile.selLoo.options[8] = item8; 
        
        var item9 = new Option('Surrounding Amenities (INLIS)', 'http://www.inlis.gov.sg');
        document.frmSLAProfile.selLoo.options[9] = item9;

        var item10 = new Option('Buy Land Info (INLIS) ', 'http://www.inlis.gov.sg');
        document.frmSLAProfile.selLoo.options[10] = item10;
        
        break; 

        
      //Government Agency
      case 4:       
        var item0 = new Option('- Select -');
        document.frmSLAProfile.selLoo.options[0] = item0; 

        var item1 = new Option('Rental of State Land', '../ser/ser0206.htm');        
        document.frmSLAProfile.selLoo.options[1] = item1;
        
        var item2 = new Option('Rental of State Buildings', '../ser/ser0207.htm');        
        document.frmSLAProfile.selLoo.options[2] = item2;
        
        var item3 = new Option('Land for Community Use', '../ser/ser0208.htm');        
        document.frmSLAProfile.selLoo.options[3] = item3;
        
        var item4 = new Option('Special Schemes', '../ser/ser0209.htm');        
        document.frmSLAProfile.selLoo.options[4] = item4; 
        
        var item5 = new Option('Sales of Land', '../ser/ser0202.htm');        
        document.frmSLAProfile.selLoo.options[5] = item5;
        
        var item6 = new Option('Land Titles Search', '../ser/ser0304.htm');        
        document.frmSLAProfile.selLoo.options[6] = item6;
        
        var item7 = new Option('Allocation of Lot Numbers', '../ser/ser0404.htm');        
        document.frmSLAProfile.selLoo.options[7] = item7; 

        var item8 = new Option('Survey Maps', '../ser/ser0406.htm');        
        document.frmSLAProfile.selLoo.options[8] = item8;

        var item9 = new Option('Production of Maps', '../ser/ser0504.htm');        
        document.frmSLAProfile.selLoo.options[9] = item9;

        var item10 = new Option('Buy Land Info (INLIS)', 'http://www.inlis.gov.sg');        
        document.frmSLAProfile.selLoo.options[10] = item10; 
        
        break;


      //Home owner & buyer
      case 5:    
        var item0 = new Option('- Select -');
        document.frmSLAProfile.selLoo.options[0] = item0;   

        var item1 = new Option('Property Transaction (INLIS)', 'http://www.inlis.gov.sg');
        document.frmSLAProfile.selLoo.options[1] = item1; 
        
        var item2 = new Option('Surrounding Amenities (INLIS)', 'http://www.inlis.gov.sg');
        document.frmSLAProfile.selLoo.options[2] = item2;
        
        var item3 = new Option('Land Titles Search', '../ser/ser0304.htm');
        document.frmSLAProfile.selLoo.options[3] = item3
        
        var item4 = new Option('Foreign Ownership - Properties', '../ser/ser0306.htm');
        document.frmSLAProfile.selLoo.options[4] = item4;
        
        var item5 = new Option('Allocation of Lot Numbers', '../ser/ser0404.htm');        
        document.frmSLAProfile.selLoo.options[5] = item5; 
        
        var item6 = new Option('Inspection of Survey Plans', '../ser/ser0405.htm');
        document.frmSLAProfile.selLoo.options[6] = item6;
        
        var item7 = new Option('Sales of Land', '../ser/ser0202.htm');
        document.frmSLAProfile.selLoo.options[7] = item7;
        
        var item8 = new Option('Sales of Remnant Land', '../ser/ser0203.htm');
        document.frmSLAProfile.selLoo.options[8] = item8;

        var item9 = new Option('Change of Land Use', '../ser/ser0204.htm');
        document.frmSLAProfile.selLoo.options[9] = item9;

        var item10 = new Option('Renewal of Lease', '../ser/ser0204.htm#renewal');
        document.frmSLAProfile.selLoo.options[10] = item10;
        
        break; 

        
      //Job seeker
      case 6:     
        var item0 = new Option('- Select -');
        document.frmSLAProfile.selLoo.options[0] = item0;
        
        var item1 = new Option('Career Opportunities', '../car/car02.htm');        
        document.frmSLAProfile.selLoo.options[1] = item1;
        
        var item2 = new Option('Career Opportunities - Forms', '../car/car0201.htm');
        document.frmSLAProfile.selLoo.options[2] = item2;        

        var item3 = new Option('About Us', '../abo/abo01.htm');
        document.frmSLAProfile.selLoo.options[3] = item3;       
           
        var item4 = new Option('Community Svc', '../abo/abo09.htm');
        document.frmSLAProfile.selLoo.options[4] = item4;    

        var item5 = new Option('State Land & Buildings', '../ser/ser02.htm');
        document.frmSLAProfile.selLoo.options[5] = item5;

        var item6 = new Option('Property Registration', '../ser/ser03.htm');
        document.frmSLAProfile.selLoo.options[6] = item6; 
        
        var item7 = new Option('Land Survey', '../ser/ser04.htm');
        document.frmSLAProfile.selLoo.options[7] = item7;         
        
        var item8 = new Option('Land Information', '../ser/ser05.htm');
        document.frmSLAProfile.selLoo.options[8] = item8; 
        
        var item9 = new Option('Press Releases', '../new/new02.htm');
        document.frmSLAProfile.selLoo.options[9] = item9; 
        
        break; 

        
      //Journalist 
      case 7:   
        var item0 = new Option('- Select -');
        document.frmSLAProfile.selLoo.options[0] = item0;      
        
        var item1 = new Option('Media Contact', '../cnt/cnt01.htm#e');        
        document.frmSLAProfile.selLoo.options[1] = item1;
        
        var item2 = new Option('Press Release', '../new/new02.htm');
        document.frmSLAProfile.selLoo.options[2] = item2;
        
        var item3 = new Option('State Land and Buildings', '../ser/ser02.htm');
        document.frmSLAProfile.selLoo.options[3] = item3; 
        
        var item4 = new Option('Property Registration', '../ser/ser03.htm');
        document.frmSLAProfile.selLoo.options[4] = item4; 
        
        var item5 = new Option('Land Survey', '../ser/ser04.htm');
        document.frmSLAProfile.selLoo.options[5] = item5;
        
        var item6 = new Option('Land Information', '../ser/ser05.htm');
        document.frmSLAProfile.selLoo.options[6] = item6; 
        
        var item7 = new Option('State Property Online (SPIO)', 'http://www.spio.sla.gov.sg');
        document.frmSLAProfile.selLoo.options[7] = item7;
        
        var item8 = new Option('Buy Land Info (INLIS)', 'http://www.inlis.gov.sg');
        document.frmSLAProfile.selLoo.options[8] = item8;        
        
        var item9 = new Option('Annual Report', '../abo/abo07.htm');        
        document.frmSLAProfile.selLoo.options[9] = item9;  
         
        break; 
        
      //Lawyers        
      case 8:        
        var item0 = new Option('- Select -');
        document.frmSLAProfile.selLoo.options[0] = item0;   

        var item1 = new Option('E-Lodgment', 'http://www.stars.gov.sg/ELS');
        document.frmSLAProfile.selLoo.options[1] = item1; 
        
        var item2 = new Option('Property Registration - Forms', '../ser/ser0307.htm');
        document.frmSLAProfile.selLoo.options[2] = item2; 
        
        var item3 = new Option('Property Registration - Fees', '../ser/ser0308.htm');
        document.frmSLAProfile.selLoo.options[3] = item3; 
        
        var item4 = new Option('Property Registration - Circulars', '../ser/ser0309.htm');
        document.frmSLAProfile.selLoo.options[4] = item4;
        
        var item5 = new Option('Buy Land Info (INLIS)', 'http://www.inlis.gov.sg');
        document.frmSLAProfile.selLoo.options[5] = item5; 
        
        var item6 = new Option('Property Transaction (INLIS)', 'http://www.inlis.gov.sg');
        document.frmSLAProfile.selLoo.options[6] = item6; 
        
        var item7 = new Option('Registration - Deeds & Instruments', '../ser/ser0302.htm');
        document.frmSLAProfile.selLoo.options[7] = item7; 
        
        var item8 = new Option('Issue of Titles', '../ser/ser0303.htm');
        document.frmSLAProfile.selLoo.options[8] = item8; 
        
        var item9 = new Option('Land Titles Search', '../ser/ser0304.htm');
        document.frmSLAProfile.selLoo.options[9] = item9;
        
        var item10 = new Option('Document Imaging Sys (DIPS)', '../ser/ser0305.htm');
        document.frmSLAProfile.selLoo.options[10] = item10;  

        break; 


      //Property Agents
      case 9:     
        var item0 = new Option('- Select -');
        document.frmSLAProfile.selLoo.options[0] = item0;      
        
        var item1 = new Option('Rental of State Buildings', '../ser/ser0207.htm');
        document.frmSLAProfile.selLoo.options[1] = item1;
        
        var item2 = new Option('Rental of State Land', '../ser/ser0206.htm');
        document.frmSLAProfile.selLoo.options[2] = item2; 
        
        var item3 = new Option('Land Titles Search', '../ser/ser0304.htm');
        document.frmSLAProfile.selLoo.options[3] = item3;
        
        var item4 = new Option('Foreign Ownership - Properties', '../ser/ser0306.htm');
        document.frmSLAProfile.selLoo.options[4] = item4; 
        
        var item5 = new Option('Property Transaction (INLIS)', 'http://www.inlis.gov.sg');
        document.frmSLAProfile.selLoo.options[5] = item5; 
        
        var item6 = new Option('Surrounding Amenities (INLIS)', 'http://www.inlis.gov.sg');
        document.frmSLAProfile.selLoo.options[6] = item6; 
        
        var item7 = new Option('Buy Land Info (INLIS)', 'http://www.inlis.gov.sg');
        document.frmSLAProfile.selLoo.options[7] = item7;
        
        var item8 = new Option('Allocation of Lot Numbers', '../ser/ser0404.htm');        
        document.frmSLAProfile.selLoo.options[8] = item8;        
        
        var item9 = new Option('Inspection of Survey Plans', '../ser/ser0405.htm');
        document.frmSLAProfile.selLoo.options[9] = item9;    
        
        var item10 = new Option('Renewal of Lease', '../ser/ser0204.htm#renewal');
        document.frmSLAProfile.selLoo.options[10] = item10; 

        break; 

        
      //Public
      case 10:           
        var item0 = new Option('- Select -');
        document.frmSLAProfile.selLoo.options[0] = item0;
        
        var item1 = new Option('About Us', '../abo/abo01.htm');
        document.frmSLAProfile.selLoo.options[1] = item1;  

        var item2 = new Option('Surrounding Amenities (INLIS)', 'http://www.inlis.gov.sg');
        document.frmSLAProfile.selLoo.options[2] = item2;
        
        var item3 = new Option('Primary School Listing (INLIS)', 'http://www.inlis.gov.sg');
        document.frmSLAProfile.selLoo.options[3] = item3;         
        
        var item4 = new Option('Buy Land Info (INLIS)', 'http://www.inlis.gov.sg');
        document.frmSLAProfile.selLoo.options[4] = item4;       
        
        var item5 = new Option('Production of Maps', '../ser/ser0504.htm');
        document.frmSLAProfile.selLoo.options[5] = item5;        

        var item6 = new Option('Residential Properties - Rent', 'http://www.spio.sla.gov.sg');
        document.frmSLAProfile.selLoo.options[6] = item6;
        
        var item7 = new Option('Rental of State Land', '../ser/ser0206.htm');
        document.frmSLAProfile.selLoo.options[7] = item7;   

        var item8 = new Option('Rental of State Buildings', '../ser/ser0207.htm');
        document.frmSLAProfile.selLoo.options[8] = item8; 

        var item9 = new Option('Land for Community Use', '../ser/ser0208.htm');
        document.frmSLAProfile.selLoo.options[9] = item9;

        break;

        
      //Student & Researcher  
      case 11:        
        var item0 = new Option('- Select -');
        document.frmSLAProfile.selLoo.options[0] = item0; 
        
        var item1 = new Option('About Us', '../abo/abo01.htm');
        document.frmSLAProfile.selLoo.options[1] = item1;
        
        var item2 = new Option('State Land & Buildings', '../ser/ser02.htm');
        document.frmSLAProfile.selLoo.options[2] = item2; 
 
        var item3 = new Option('Property Registration', '../ser/ser03.htm');
        document.frmSLAProfile.selLoo.options[3] = item3; 

        var item4 = new Option('Land Survey', '../ser/ser04.htm');
        document.frmSLAProfile.selLoo.options[4] = item4;
        
        var item5 = new Option('Land Information', '../ser/ser05.htm');
        document.frmSLAProfile.selLoo.options[5] = item5;

        var item6 = new Option('Career Opportunities', '../car/car02.htm');
        document.frmSLAProfile.selLoo.options[6] = item6;        

        var item7 = new Option('Scholarship', '../car/car03.htm');
        document.frmSLAProfile.selLoo.options[7] = item7; 

        var item8 = new Option('Buy Land Info (INLIS)', 'http://www.inlis.gov.sg');
        document.frmSLAProfile.selLoo.options[8] = item8;

        var item9 = new Option('Press Releases', '../new/new02.htm');
        document.frmSLAProfile.selLoo.options[9] = item9;
        
        var item10 = new Option('Annual Report', '../abo/abo07.htm');
        document.frmSLAProfile.selLoo.options[10] = item10;
        
        break; 


      //Surveyers
      case 12:      
        var item0 = new Option('- Select -');
        document.frmSLAProfile.selLoo.options[0] = item0;    

        var item1 = new Option('Land Survey - Forms', '../ser/ser0407.htm');
        document.frmSLAProfile.selLoo.options[1] = item1; 

        var item2 = new Option('Land Survey - Fees', '../ser/ser0408.htm');
        document.frmSLAProfile.selLoo.options[2] = item2; 

        var item3 = new Option('Land Survey - Circulars', '../ser/ser0409.htm');
        document.frmSLAProfile.selLoo.options[3] = item3;  
        
        var item4 = new Option('CS Directive', '../ser/ser0409.htm');
        document.frmSLAProfile.selLoo.options[4] = item4; 
        
        var item5 = new Option('Allocation of Lot Numbers', '../ser/ser0404.htm');
        document.frmSLAProfile.selLoo.options[5] = item5;  
        
        var item6 = new Option('Inspection of Survey Plans', '../ser/ser0405.htm');
        document.frmSLAProfile.selLoo.options[6] = item6;  
        
        var item7 = new Option('Buy Land Info (INLIS)', 'http://www.inlis.gov.sg');
        document.frmSLAProfile.selLoo.options[7] = item7;
        
        var item8 = new Option('Survey Maps', '../ser/ser0406.htm');
        document.frmSLAProfile.selLoo.options[8] = item8;  
        
        break; 
 
        
      //Valuers
      case 13:        
        var item0 = new Option('- Select -');
        document.frmSLAProfile.selLoo.options[0] = item0;      
        
        var item1 = new Option('Rental of State Land', '../ser/ser0206.htm');
        document.frmSLAProfile.selLoo.options[1] = item1; 
        
        var item2 = new Option('Rental of State Buildings', '../ser/ser0207.htm');
        document.frmSLAProfile.selLoo.options[2] = item2;      

        var item3 = new Option('Sales of Land', '../ser/ser0202.htm');
        document.frmSLAProfile.selLoo.options[3] = item3;
        
        var item4 = new Option('Sales of Remnant Land', '../ser/ser0203.htm');
        document.frmSLAProfile.selLoo.options[4] = item4;
        
        var item5 = new Option('Change of Land Use', '../ser/ser0204.htm');
        document.frmSLAProfile.selLoo.options[5] = item5;        
        
        var item6 = new Option('Renewal of Lease', '../ser/ser0204.htm#renewal');
        document.frmSLAProfile.selLoo.options[6] = item6;        

        var item7 = new Option('Land Titles Search', '../ser/ser0304.htm');
        document.frmSLAProfile.selLoo.options[7] = item7; 
        
        var item8 = new Option('Allocation of Lot Numbers', '../ser/ser0404.htm');
        document.frmSLAProfile.selLoo.options[8] = item8;  
        
        var item9 = new Option('Inspection of Survey Plans', '../ser/ser0405.htm');
        document.frmSLAProfile.selLoo.options[9] = item9; 
        
        break;   

    }
    document.frmSLAProfile.selLoo.selectedIndex = 0;
  }
  
  function goToURL(URL1, URL2) 
  {      
    
    if (URL2!="")
      document.location.href=URL2;        
    else if (URL1!="")
      document.location.href=URL1;
  }  

  function resizeFrame()
  {    
    try
    {      
      document.getElementById("divESEIFrame").style.height = frameESEIFrame.document.body.scrollHeight+20;      
    }
    catch(err){document.getElementById("divESEIFrame").style.height="90%";}
  }

//-->