﻿// JScript File
(function ($) {

    $.DLPHOTELS = function()
    {
        $('#DLPR option').remove();
        $('#DLPA option').remove();
		$('#DLPC option').remove();
		$('#DLPI option').remove();
        if($('#DLPHOTELS').val() != "0")
        {
            if($('#DLPHOTELS').val() == "DLH")
            {
                $.ajax({
                    type: "get",
                    url: "../../styles/check/fives.xml",
                    dataType: "xml",
                    success: function(xml) {
                    $(xml).find('hotel1').each(function(){
                        $('#DLPR').append($('<option></option>').val($(this).attr('hid1')).html($(this).attr('hotelname1')));
                    });
                 }
              }); 
              
           }
		   else if($('#DLPHOTELS').val() == "DNY")
           {
                  $.ajax({
                    type: "get",
                    url: "../../styles/check/fours.xml",
                    dataType: "xml",
                    success: function(xml) {
                    $(xml).find('hotel4').each(function(){
                    $('#DLPR').append($('<option></option>').val($(this).attr('hid4')).html($(this).attr('hotelname4')));
                    });
                 }
              });  
           }
		   else if($('#DLPHOTELS').val() == "DNB")
           {
                  $.ajax({
                    type: "get",
                    url: "../../styles/check/fours.xml",
                    dataType: "xml",
                    success: function(xml) {
                    $(xml).find('hotel4').each(function(){
                    $('#DLPR').append($('<option></option>').val($(this).attr('hid4')).html($(this).attr('hotelname4')));
                    });
                 }
              });  
           }
		   else if($('#DLPHOTELS').val() == "DSL")
           {
                  $.ajax({
                    type: "get",
                    url: "../../styles/check/fours.xml",
                    dataType: "xml",
                    success: function(xml) {
                    $(xml).find('hotel4').each(function(){
                    $('#DLPR').append($('<option></option>').val($(this).attr('hid4')).html($(this).attr('hotelname4')));
                    });
                 }
              });  
           }
		   else if($('#DLPHOTELS').val() == "DCH")
           {
                  $.ajax({
                    type: "get",
                    url: "../../styles/check/fours.xml",
                    dataType: "xml",
                    success: function(xml) {
                    $(xml).find('hotel4').each(function(){
                    $('#DLPR').append($('<option></option>').val($(this).attr('hid4')).html($(this).attr('hotelname4')));
                    });
                 }
              });  
           }
		   else if($('#DLPHOTELS').val() == "DSF")
           {
                  $.ajax({
                    type: "get",
                    url: "../../styles/check/sixes.xml",
                    dataType: "xml",
                    success: function(xml) {
                    $(xml).find('hotel6').each(function(){
                    $('#DLPR').append($('<option></option>').val($(this).attr('hid6')).html($(this).attr('hotelname6')));
                    });
                 }
              });  
           }
		   else if($('#DLPHOTELS').val() == "DDC")
           {
                  $.ajax({
                    type: "get",
                    url: "../../styles/check/sixes.xml",
                    dataType: "xml",
                    success: function(xml) {
                    $(xml).find('hotel6').each(function(){
                    $('#DLPR').append($('<option></option>').val($(this).attr('hid6')).html($(this).attr('hotelname6')));
                    });
                 }
              });  
           }
           else if($('#DLPHOTELS').val() == "DRC")
           {
                  $.ajax({
                    type: "get",
                    url: "../../styles/check/fours.xml",
                    dataType: "xml",
                    success: function(xml) {
                    $(xml).find('hotel4').each(function(){
                    $('#DLPR').append($('<option></option>').val($(this).attr('hid4')).html($(this).attr('hotelname4')));
                    });
                 }
              });  
           }
           else if($('#DLPHOTELS').val() == "HIH")
           {
                  $.ajax({
                    type: "get",
                    url: "../../styles/check/fours.xml",
                    dataType: "xml",
                    success: function(xml) {
                    $(xml).find('hotel4').each(function(){
                    $('#DLPR').append($('<option></option>').val($(this).attr('hid4')).html($(this).attr('hotelname4')));
                    });
                 }
              });  
           }
           else if($('#DLPHOTELS').val() == "EH")
           {
                  $.ajax({
                    type: "get",
                    url: "../../styles/check/sixes.xml",
                    dataType: "xml",
                    success: function(xml) {
                    $(xml).find('hotel6').each(function(){
                    $('#DLPR').append($('<option></option>').val($(this).attr('hid6')).html($(this).attr('hotelname6')));
                    });
                 }
              });  
           }
           else if($('#DLPHOTELS').val() == "KH")
           {
                  $.ajax({
                    type: "get",
                    url: "../../styles/check/fours.xml",
                    dataType: "xml",
                    success: function(xml) {
                    $(xml).find('hotel4').each(function(){
                    $('#DLPR').append($('<option></option>').val($(this).attr('hid4')).html($(this).attr('hotelname4')));
                    });
                 }
              });  
           }
           else if($('#DLPHOTELS').val() == "HEH")
           {
                  $.ajax({
                    type: "get",
                    url: "../../styles/check/fours.xml",
                    dataType: "xml",
                    success: function(xml) {
                    $(xml).find('hotel4').each(function(){
                    $('#DLPR').append($('<option></option>').val($(this).attr('hid4')).html($(this).attr('hotelname4')));
                    });
                 }
              });  
           }
           else if($('#DLPHOTELS').val() == "PVH")
           {
                  $.ajax({
                    type: "get",
                    url: "../../styles/check/sevens.xml",
                    dataType: "xml",
                    success: function(xml) {
                    $(xml).find('hotel7').each(function(){
                    $('#DLPR').append($('<option></option>').val($(this).attr('hid7')).html($(this).attr('hotelname7')));
                    });
                 }
              });  
           }
          else if($('#DLPHOTELS').val() == "RRH")
           {
                  $.ajax({
                    type: "get",
                    url: "../../styles/check/fours.xml",
                    dataType: "xml",
                    success: function(xml) {
                    $(xml).find('hotel4').each(function(){
                    $('#DLPR').append($('<option></option>').val($(this).attr('hid4')).html($(this).attr('hotelname4')));
                    });
                 }
              }); 
            }
        }
    },
     
    $.DLPADULTS = function()
    {
        $('#DLPA option').remove();
        if($('#DLPHOTELS').val() != "0")
        {
            if($('#DLPHOTELS').val() == "DLH")
            {
              $.ajax({
                    type: "get",
                    url: "../../styles/check/fives.xml",
                    dataType: "xml",
                    success: function(xml) {
                    $(xml).find('hotelname1').each(function(){
                    
                        if($(this).attr('hid1') == $('#DLPR').val())
                        $('#DLPA').append($('<option></option>').val($(this).attr('hid1A')).html($(this).attr('hotelname1A')));
                    });
                 }
              }); 
            }
			else if($('#DLPHOTELS').val() == "DNY")
            {
                $.ajax({
                    type: "get",
                    url: "../../styles/check/fours.xml",
                    dataType: "xml",
                    success: function(xml) {
                    $(xml).find('hotelname4').each(function(){
                        
                        if($(this).attr('hid4') ==  $('#DLPR').val())
                        $('#DLPA').append($('<option></option>').val($(this).attr('hid4A')).html($(this).attr('hotelname4A')));
                    });
                 }
              }); 
            }
			else if($('#DLPHOTELS').val() == "DNB")
            {
                $.ajax({
                    type: "get",
                    url: "../../styles/check/fours.xml",
                    dataType: "xml",
                    success: function(xml) {
                    $(xml).find('hotelname4').each(function(){
                        
                        if($(this).attr('hid4') ==  $('#DLPR').val())
                        $('#DLPA').append($('<option></option>').val($(this).attr('hid4A')).html($(this).attr('hotelname4A')));
                    });
                 }
              }); 
            }
			else if($('#DLPHOTELS').val() == "DSL")
            {
                $.ajax({
                    type: "get",
                    url: "../../styles/check/fours.xml",
                    dataType: "xml",
                    success: function(xml) {
                    $(xml).find('hotelname4').each(function(){
                        
                        if($(this).attr('hid4') ==  $('#DLPR').val())
                        $('#DLPA').append($('<option></option>').val($(this).attr('hid4A')).html($(this).attr('hotelname4A')));
                    });
                 }
              }); 
            }
			else if($('#DLPHOTELS').val() == "DCH")
            {
                $.ajax({
                    type: "get",
                    url: "../../styles/check/fours.xml",
                    dataType: "xml",
                    success: function(xml) {
                    $(xml).find('hotelname4').each(function(){
                        
                        if($(this).attr('hid4') ==  $('#DLPR').val())
                        $('#DLPA').append($('<option></option>').val($(this).attr('hid4A')).html($(this).attr('hotelname4A')));
                    });
                 }
              }); 
            }
			else if($('#DLPHOTELS').val() == "DSF")
            {
                $.ajax({
                    type: "get",
                    url: "../../styles/check/sixes.xml",
                    dataType: "xml",
                    success: function(xml) {
                    $(xml).find('hotelname6').each(function(){
                        
                        if($(this).attr('hid6') ==  $('#DLPR').val())
                        $('#DLPA').append($('<option></option>').val($(this).attr('hid6A')).html($(this).attr('hotelname6A')));
                    });
                 }
              }); 
            }
            
	else if($('#DLPHOTELS').val() == "DDC")
            {
                $.ajax({
                    type: "get",
                    url: "../../styles/check/sixes.xml",
                    dataType: "xml",
                    success: function(xml) {
                    $(xml).find('hotelname6').each(function(){
                        
                        if($(this).attr('hid6') ==  $('#DLPR').val())
                        $('#DLPA').append($('<option></option>').val($(this).attr('hid6A')).html($(this).attr('hotelname6A')));
                    });
                 }
              }); 
            }
			else if($('#DLPHOTELS').val() == "DRC")
            {
                $.ajax({
                    type: "get",
                    url: "../../styles/check/fours.xml",
                    dataType: "xml",
                    success: function(xml) {
                    $(xml).find('hotelname4').each(function(){
                        
                        if($(this).attr('hid4') ==  $('#DLPR').val())
                        $('#DLPA').append($('<option></option>').val($(this).attr('hid4A')).html($(this).attr('hotelname4A')));
                    });
                 }
              }); 
            }
            else if($('#DLPHOTELS').val() == "HIH")
            {
                $.ajax({
                    type: "get",
                    url: "../../styles/check/fours.xml",
                    dataType: "xml",
                    success: function(xml) {
                    $(xml).find('hotelname4').each(function(){
                        
                        if($(this).attr('hid4') ==  $('#DLPR').val())
                        $('#DLPA').append($('<option></option>').val($(this).attr('hid4A')).html($(this).attr('hotelname4A')));
                    });
                 }
              }); 
            }
			else if($('#DLPHOTELS').val() == "EH")
            {
                $.ajax({
                    type: "get",
                    url: "../../styles/check/sixes.xml",
                    dataType: "xml",
                    success: function(xml) {
                    $(xml).find('hotelname6').each(function(){
                        
                        if($(this).attr('hid6') ==  $('#DLPR').val())
                        $('#DLPA').append($('<option></option>').val($(this).attr('hid6A')).html($(this).attr('hotelname6A')));
                    });
                 }
              }); 
            }
			else if($('#DLPHOTELS').val() == "KH")
            {
                $.ajax({
                    type: "get",
                    url: "../../styles/check/fours.xml",
                    dataType: "xml",
                    success: function(xml) {
                    $(xml).find('hotelname4').each(function(){
                        
                        if($(this).attr('hid4') ==  $('#DLPR').val())
                        $('#DLPA').append($('<option></option>').val($(this).attr('hid4A')).html($(this).attr('hotelname4A')));
                    });
                 }
              }); 
            }
			else if($('#DLPHOTELS').val() == "HEH")
            {
                $.ajax({
                    type: "get",
                    url: "../../styles/check/fours.xml",
                    dataType: "xml",
                    success: function(xml) {
                    $(xml).find('hotelname4').each(function(){
                        
                        if($(this).attr('hid4') ==  $('#DLPR').val())
                        $('#DLPA').append($('<option></option>').val($(this).attr('hid4A')).html($(this).attr('hotelname4A')));
                    });
                 }
              }); 
            }
			else if($('#DLPHOTELS').val() == "PVH")
            {
                $.ajax({
                    type: "get",
                    url: "../../styles/check/sevens.xml",
                    dataType: "xml",
                    success: function(xml) {
                    $(xml).find('hotelname7').each(function(){
                        
                        if($(this).attr('hid7') ==  $('#DLPR').val())
                        $('#DLPA').append($('<option></option>').val($(this).attr('hid7A')).html($(this).attr('hotelname7A')));
                    });
                 }
              }); 
            }
			else if($('#DLPHOTELS').val() == "RRH")
            {
                $.ajax({
                    type: "get",
                    url: "../../styles/check/fours.xml",
                    dataType: "xml",
                    success: function(xml) {
                    $(xml).find('hotelname4').each(function(){
                        
                        if($(this).attr('hid4') ==  $('#DLPR').val())
                        $('#DLPA').append($('<option></option>').val($(this).attr('hid4A')).html($(this).attr('hotelname4A')));
                    });
                 }
              }); 
            }
        }
    },
    
	$.DLPKIDS = function()
    {
        $('#DLPC option').remove();
        if($('#DLPHOTELS').val() != "0")
        {
            if($('#DLPHOTELS').val() == "DLH")
            {
              $.ajax({
                    type: "get",
                    url: "../../styles/check/fives.xml",
                    dataType: "xml",
                    success: function(xml) {
                    $(xml).find('hotelname1B').each(function(){
                    
                        if($(this).attr('hid1A') == $('#DLPA').val())
                        $('#DLPC').append($('<option></option>').val($(this).attr('hid1B')).html($(this).attr('hotelname1C')));
                     });
                 }
              }); 
            }
			if($('#DLPHOTELS').val() == "DNY")
            {
              $.ajax({
                    type: "get",
                    url: "../../styles/check/fours.xml",
                    dataType: "xml",
                    success: function(xml) {
                    $(xml).find('hotelname4B').each(function(){
                    
                        if($(this).attr('hid4A') == $('#DLPA').val())
                        $('#DLPC').append($('<option></option>').val($(this).attr('hid4B')).html($(this).attr('hotelname4C')));
                     });
                 }
              }); 
            }
			if($('#DLPHOTELS').val() == "DNB")
            {
              $.ajax({
                    type: "get",
                    url: "../../styles/check/fours.xml",
                    dataType: "xml",
                    success: function(xml) {
                    $(xml).find('hotelname4B').each(function(){
                    
                        if($(this).attr('hid4A') == $('#DLPA').val())
                        $('#DLPC').append($('<option></option>').val($(this).attr('hid4B')).html($(this).attr('hotelname4C')));
                     });
                 }
              }); 
            }
			if($('#DLPHOTELS').val() == "DSL")
            {
              $.ajax({
                    type: "get",
                    url: "../../styles/check/fours.xml",
                    dataType: "xml",
                    success: function(xml) {
                    $(xml).find('hotelname4B').each(function(){
                    
                        if($(this).attr('hid4A') == $('#DLPA').val())
                        $('#DLPC').append($('<option></option>').val($(this).attr('hid4B')).html($(this).attr('hotelname4C')));
                     });
                 }
              }); 
            }
			if($('#DLPHOTELS').val() == "DCH")
            {
              $.ajax({
                    type: "get",
                    url: "../../styles/check/fours.xml",
                    dataType: "xml",
                    success: function(xml) {
                    $(xml).find('hotelname4B').each(function(){
                    
                        if($(this).attr('hid4A') == $('#DLPA').val())
                        $('#DLPC').append($('<option></option>').val($(this).attr('hid4B')).html($(this).attr('hotelname4C')));
                     });
                 }
              }); 
            }
			if($('#DLPHOTELS').val() == "DSF")
            {
              $.ajax({
                    type: "get",
                    url: "../../styles/check/sixes.xml",
                    dataType: "xml",
                    success: function(xml) {
                    $(xml).find('hotelname6B').each(function(){
                    
                        if($(this).attr('hid6A') == $('#DLPA').val())
                        $('#DLPC').append($('<option></option>').val($(this).attr('hid6B')).html($(this).attr('hotelname6C')));
                     });
                 }
              }); 
            }
			if($('#DLPHOTELS').val() == "DDC")
            {
              $.ajax({
                    type: "get",
                    url: "../../styles/check/sixes.xml",
                    dataType: "xml",
                    success: function(xml) {
                    $(xml).find('hotelname6B').each(function(){
                    
                        if($(this).attr('hid6A') == $('#DLPA').val())
                        $('#DLPC').append($('<option></option>').val($(this).attr('hid6B')).html($(this).attr('hotelname6C')));
                     });
                 }
              }); 
            }
			if($('#DLPHOTELS').val() == "DRC")
            {
              $.ajax({
                    type: "get",
                    url: "../../styles/check/fours.xml",
                    dataType: "xml",
                    success: function(xml) {
                    $(xml).find('hotelname4B').each(function(){
                    
                        if($(this).attr('hid4A') == $('#DLPA').val())
                        $('#DLPC').append($('<option></option>').val($(this).attr('hid4B')).html($(this).attr('hotelname4C')));
                     });
                 }
              }); 
            }
			if($('#DLPHOTELS').val() == "HIH")
            {
              $.ajax({
                    type: "get",
                    url: "../../styles/check/fours.xml",
                    dataType: "xml",
                    success: function(xml) {
                    $(xml).find('hotelname4B').each(function(){
                    
                        if($(this).attr('hid4A') == $('#DLPA').val())
                        $('#DLPC').append($('<option></option>').val($(this).attr('hid4B')).html($(this).attr('hotelname4C')));
                     });
                 }
              }); 
            }
			if($('#DLPHOTELS').val() == "EH")
            {
              $.ajax({
                    type: "get",
                    url: "../../styles/check/sixes.xml",
                    dataType: "xml",
                    success: function(xml) {
                    $(xml).find('hotelname6B').each(function(){
                    
                        if($(this).attr('hid6A') == $('#DLPA').val())
                        $('#DLPC').append($('<option></option>').val($(this).attr('hid6B')).html($(this).attr('hotelname6C')));
                     });
                 }
              }); 
            }
			if($('#DLPHOTELS').val() == "KH")
            {
              $.ajax({
                    type: "get",
                    url: "../../styles/check/fours.xml",
                    dataType: "xml",
                    success: function(xml) {
                    $(xml).find('hotelname4B').each(function(){
                    
                        if($(this).attr('hid4A') == $('#DLPA').val())
                        $('#DLPC').append($('<option></option>').val($(this).attr('hid4B')).html($(this).attr('hotelname4C')));
                     });
                 }
              }); 
            }
			if($('#DLPHOTELS').val() == "HEH")
            {
              $.ajax({
                    type: "get",
                    url: "../../styles/check/fours.xml",
                    dataType: "xml",
                    success: function(xml) {
                    $(xml).find('hotelname4B').each(function(){
                    
                        if($(this).attr('hid4A') == $('#DLPA').val())
                        $('#DLPC').append($('<option></option>').val($(this).attr('hid4B')).html($(this).attr('hotelname4C')));
                     });
                 }
              }); 
            }
			if($('#DLPHOTELS').val() == "PVH")
            {
              $.ajax({
                    type: "get",
                    url: "../../styles/check/sevens.xml",
                    dataType: "xml",
                    success: function(xml) {
                    $(xml).find('hotelname7B').each(function(){
                    
                        if($(this).attr('hid7A') == $('#DLPA').val())
                        $('#DLPC').append($('<option></option>').val($(this).attr('hid7B')).html($(this).attr('hotelname7C')));
                     });
                 }
              }); 
            }
			if($('#DLPHOTELS').val() == "RRH")
            {
              $.ajax({
                    type: "get",
                    url: "../../styles/check/fours.xml",
                    dataType: "xml",
                    success: function(xml) {
                    $(xml).find('hotelname4B').each(function(){
                    
                        if($(this).attr('hid4A') == $('#DLPA').val())
                        $('#DLPC').append($('<option></option>').val($(this).attr('hid4B')).html($(this).attr('hotelname4C')));
                     });
                 }
              }); 
            }
        }
    },
	
	$.DLPINFANTS = function()
    {
		$('#DLPI option').remove();
        if($('#DLPHOTELS').val() != "0")
        {
			if($('#DLPHOTELS').val() == "DLH")
            {
              $.ajax({
                    type: "get",
                    url: "../../styles/check/fives.xml",
                    dataType: "xml",
                    success: function(xml) {
                    $(xml).find('hotelname1Z').each(function(){
					
					if($(this).attr('hid1') =='1')
                     $('#DLPI').append($('<option></option>').val($(this).attr('hid1C')).html($(this).attr('hotelname1D')));
					});
                 }
              }); 
            }
			if($('#DLPHOTELS').val() == "DNY")
            {
              $.ajax({
                    type: "get",
                    url: "../../styles/check/fours.xml",
                    dataType: "xml",
                    success: function(xml) {
                    $(xml).find('hotelname4Z').each(function(){
					
					if($(this).attr('hid4') =='1')
                     $('#DLPI').append($('<option></option>').val($(this).attr('hid4C')).html($(this).attr('hotelname4D')));
					});
                 }
              }); 
            }
			if($('#DLPHOTELS').val() == "DNB")
            {
              $.ajax({
                    type: "get",
                    url: "../../styles/check/fours.xml",
                    dataType: "xml",
                    success: function(xml) {
                    $(xml).find('hotelname4Z').each(function(){
					
					if($(this).attr('hid4') =='1')
                     $('#DLPI').append($('<option></option>').val($(this).attr('hid4C')).html($(this).attr('hotelname4D')));
					});
                 }
              }); 
            }
			if($('#DLPHOTELS').val() == "DSL")
            {
              $.ajax({
                    type: "get",
                    url: "../../styles/check/fours.xml",
                    dataType: "xml",
                    success: function(xml) {
                    $(xml).find('hotelname4Z').each(function(){
					
					if($(this).attr('hid4') =='1')
                     $('#DLPI').append($('<option></option>').val($(this).attr('hid4C')).html($(this).attr('hotelname4D')));
					});
                 }
              }); 
            }
			if($('#DLPHOTELS').val() == "DCH")
            {
              $.ajax({
                    type: "get",
                    url: "../../styles/check/fours.xml",
                    dataType: "xml",
                    success: function(xml) {
                    $(xml).find('hotelname4Z').each(function(){
					
					if($(this).attr('hid4') =='1')
                     $('#DLPI').append($('<option></option>').val($(this).attr('hid4C')).html($(this).attr('hotelname4D')));
					});
                 }
              }); 
            }
			if($('#DLPHOTELS').val() == "DSF")
            {
              $.ajax({
                    type: "get",
                    url: "../../styles/check/sixes.xml",
                    dataType: "xml",
                    success: function(xml) {
                    $(xml).find('hotelname6Z').each(function(){
					
					if($(this).attr('hid6') =='1')
                     $('#DLPI').append($('<option></option>').val($(this).attr('hid6C')).html($(this).attr('hotelname6D')));
					});
                 }
              }); 
            }
			if($('#DLPHOTELS').val() == "DDC")
            {
              $.ajax({
                    type: "get",
                    url: "../../styles/check/sixes.xml",
                    dataType: "xml",
                    success: function(xml) {
                    $(xml).find('hotelname6Z').each(function(){
					
					if($(this).attr('hid6') =='1')
                     $('#DLPI').append($('<option></option>').val($(this).attr('hid6C')).html($(this).attr('hotelname6D')));
					});
                 }
              }); 
            }
			if($('#DLPHOTELS').val() == "DRC")
            {
              $.ajax({
                    type: "get",
                    url: "../../styles/check/fours.xml",
                    dataType: "xml",
                    success: function(xml) {
                    $(xml).find('hotelname4Z').each(function(){
					
					if($(this).attr('hid4') =='1')
                     $('#DLPI').append($('<option></option>').val($(this).attr('hid4C')).html($(this).attr('hotelname4D')));
					});
                 }
              }); 
            }
			if($('#DLPHOTELS').val() == "HIH")
            {
              $.ajax({
                    type: "get",
                    url: "../../styles/check/fours.xml",
                    dataType: "xml",
                    success: function(xml) {
                    $(xml).find('hotelname4Z').each(function(){
					
					if($(this).attr('hid4') =='1')
                     $('#DLPI').append($('<option></option>').val($(this).attr('hid4C')).html($(this).attr('hotelname4D')));
					});
                 }
              }); 
            }
    
	if($('#DLPHOTELS').val() == "EH")
            {
              $.ajax({
                    type: "get",
                    url: "../../styles/check/sixes.xml",
                    dataType: "xml",
                    success: function(xml) {
                    $(xml).find('hotelname6Z').each(function(){
					
					if($(this).attr('hid6') =='1')
                     $('#DLPI').append($('<option></option>').val($(this).attr('hid6C')).html($(this).attr('hotelname6D')));
					});
                 }
              }); 
            }
	if($('#DLPHOTELS').val() == "KH")
            {
              $.ajax({
                    type: "get",
                    url: "../../styles/check/fours.xml",
                    dataType: "xml",
                    success: function(xml) {
                    $(xml).find('hotelname4Z').each(function(){
					
					if($(this).attr('hid4') =='1')
                     $('#DLPI').append($('<option></option>').val($(this).attr('hid4C')).html($(this).attr('hotelname4D')));
					});
                 }
              }); 
            }
	if($('#DLPHOTELS').val() == "HEH")
            {
              $.ajax({
                    type: "get",
                    url: "../../styles/check/fours.xml",
                    dataType: "xml",
                    success: function(xml) {
                    $(xml).find('hotelname4Z').each(function(){
					
					if($(this).attr('hid4') =='1')
                     $('#DLPI').append($('<option></option>').val($(this).attr('hid4C')).html($(this).attr('hotelname4D')));
					});
                 }
              }); 
            }
	if($('#DLPHOTELS').val() == "PVH")
            {
              $.ajax({
                    type: "get",
                    url: "../../styles/check/sevens.xml",
                    dataType: "xml",
                    success: function(xml) {
                    $(xml).find('hotelname7Z').each(function(){
					
					if($(this).attr('hid7') =='1')
                     $('#DLPI').append($('<option></option>').val($(this).attr('hid7C')).html($(this).attr('hotelname7D')));
					});
                 }
              }); 
            }
			if($('#DLPHOTELS').val() == "RRH")
            {
              $.ajax({
                    type: "get",
                    url: "../../styles/check/fours.xml",
                    dataType: "xml",
                    success: function(xml) {
                    $(xml).find('hotelname4Z').each(function(){
					
					if($(this).attr('hid4') =='1')
                     $('#DLPI').append($('<option></option>').val($(this).attr('hid4C')).html($(this).attr('hotelname4D')));
					});
                 }
              }); 
            }
        }
    }
	
})(jQuery);
