jQuery(function( $ ){

var seeking = $( "#seeking" );
var owAttributes = $( "#owAttributes" );
var rtAttributes = $( "#rtAttributes" );

$( "h2.attribute-title" ).remove();

seeking.change(
function( event ){

if (seeking.val() == "Round trip"){

rtAttributes
.show()
.find( ":input[ disabled ]" )
.removeAttr( "disabled" )
;

owAttributes
.hide()
.find( ":input" )
.attr( "disabled", "true" )
.removeAttr( "checked" )
;
 

} else {

owAttributes
.show()
.find( ":input[ disabled ]" )
.removeAttr( "disabled" )
;

rtAttributes
.hide()
.find( ":input" )
.attr( "disabled", "true" )
.removeAttr( "checked" )
;
 

}
}
);

seeking.change();

});
