   function onBookingTypeChange(){
   
      document.getElementById("ctl00_content_left_inner_holder_productdropdown").className = "divhidden";
      document.getElementById("ctl00_content_left_inner_holder_productquantity").className = "";

   
      var mySelect = document.getElementById("ctl00_content_left_inner_holder_cmbBookingType");
      
      if (mySelect.selectedIndex>-1){
        //instantiate XmlHttpRequest

          // Checking if IE-specific document.all collection exists 
          // to see if we are running in IE 
          if (document.all) { 
            xhttp = new ActiveXObject("Msxml2.XMLHTTP"); 
           } else { 
          // Mozilla - based browser 
            xhttp = new XMLHttpRequest(); 
          }
          //hook the event handler
          xhttp.onreadystatechange = HandlerOnReadyStateChange_bookingtype;
          //prepare the call, http method=GET, true=asynchronous call
          var bookingtypeid = mySelect.value;
          var url = "/BookingTypeXML.aspx?id=" + bookingtypeid
          xhttp.open("GET", url, true);
          //finally send the call
          xhttp.send("");                   
        }
      }
      function HandlerOnReadyStateChange_bookingtype(){
            document.getElementById("ctl00_content_left_inner_holder_productheading").innerHTML="";
        
            // This handler is called 4 times for each 
            // state change of xmlhttp
            // States are: 0 uninitialized
            //      1 loading
            //      2 loaded
            //      3 interactive
            //      4 complete
            
            if (xhttp.readyState==4){
                document.getElementById("ctl00_content_left_inner_holder_productheading").innerHTML = "";
          
            //responseXML contains an XMLDOM object
               
                var bookingtype = xhttp.responseXML;

                var nodes = bookingtype.documentElement.getElementsByTagName("*");
                for(var i = 0; i < nodes.length; i++)
                {
                    if (nodes[i].getElementsByTagName("HeadingHTML")[0] != undefined) 
                    {
              		    document.getElementById("ctl00_content_left_inner_holder_productheading").innerHTML = nodes[i].getElementsByTagName("HeadingHTML")[0].firstChild.nodeValue;
                    }
                }
        }

      }
