var copy_price = function(elem) {
	var new_price = Element.adjacent(elem, 'label.rows2').first();
	if (new_price) {
		$$('#current_price span').first().innerHTML = new_price.innerHTML;
	}
}
document.observe("dom:loaded", function() {
	var first_option = $$('#sell_options_list li input').find(function(elem){return elem.getValue() != undefined});
	if (first_option) {
		copy_price(first_option);
	}
});
Event.addBehavior({
  '#sell_options_list li input:click': function(e) {
  	copy_price(this);
  }
});
