jQuery.noConflict();
jQuery().ready(function() {

  jQuery('#clear_area').change(function(){
    area_id = jQuery(this).val();
		//alert(area_id);
    jQuery.ajax({
			type: "GET", 
      url: "js/list_clear_brand.php", 
      data: "area_id=" + area_id,
      cache: false,
			success: function(html){
        jQuery('#clear_brand').html(html);
			}
		});
  
  
  });
  
    jQuery('#clear_brand').change(function(){
    brand_id = jQuery(this).val();
		//alert(brand_id);
    jQuery.ajax({
			type: "GET", 
      url: "js/list_clear_size.php", 
      data: "brand_id=" + brand_id,
      cache: false,
			success: function(html){
        jQuery('#clear_size').html(html);
			}
		});
  
  
  });
  
  jQuery('#clear_pricesqm').change(function(){
    clear_pricesqm = jQuery(this).val();
    if (clear_pricesqm == 0){
		jQuery('#clear_price').attr("disabled", false);
	}else{
		jQuery('#clear_price').attr("disabled", true);
	};
  
  
  });
  
   jQuery('#clear_price').change(function(){
    clear_price = jQuery(this).val();
	//alert(clear_price);
    if (clear_price == 0){
		jQuery('#clear_pricesqm').attr("disabled", false);
	}else{
		jQuery('#clear_pricesqm').attr("disabled", true);
	};
  
  
  });

  
    
  
  /**jQuery('#ddlsubtype').change(function(){
    subtype_id = jQuery(this).val();
    jQuery.ajax({
			type: "GET", 
      url: "js/subclass.php", 
      data: "subtype_id=" + subtype_id,
      cache: false,
			success: function(html){
        jQuery('#ddlsubclass').html(html);
			}
		});
  
  
  });
  
  jQuery('#ddlbrands').change(function(){
    brand_id = jQuery(this).val();
    jQuery.ajax({
			type: "GET", 
      url: "js/series.php", 
      data: "brand_id=" + brand_id,
      cache: false,
			success: function(html){
        jQuery('#ddlseries').html(html);
			}
		});
  
  
  });**/
    
});
