if ( !values.length ) this.selectedIndex = -1; 
jQuery( "option", this ).each(function(){ this.selected = (jQuery.inArray( this.value, values ) >= 0 || jQuery.inArray( this.text, values ) >= 0); }); 
	val: function( value ) {		if ( value == undefined ) {			if ( this.length ) {				var elem = this[0];				// We need to handle select boxes special				if ( jQuery.nodeName( elem, "select" ) ) {					var index = elem.selectedIndex,						values = [],						options = elem.options,						one = elem.type == "select-one";										// Nothing was selected					if ( index < 0 )						return null;					// Loop through all the selected options					for ( var i = one ? index : 0, max = one ? index + 1 : options.length; i < max; i++ ) {						var option = options[ i ];						if ( option.selected ) {							// Get the specifc value for the option							value = jQuery.browser.msie && !option.attributes.value.specified ? option.text : option.value;														// We don't need an array for one selects							if ( one )								return value;														// Multi-Selects return an array							values.push( value );						}					}										return values;									// Everything else, we just grab the value				} else					return (this[0].value || "").replace(/\r/g, "");			}		} else			return this.each(function(){				if ( this.nodeType != 1 )					return;				if ( value.constructor == Array && /radio|checkbox/.test( this.type ) )					this.checked = (jQuery.inArray(this.value, value) >= 0 ||						jQuery.inArray(this.name, value) >= 0);				else if ( jQuery.nodeName( this, "select" ) ) {					var values = value.constructor == Array ?						value :						[ value ];					jQuery( "option", this ).each(function(){						this.selected = (jQuery.inArray( this.value, values ) >= 0 ||							jQuery.inArray( this.text, values ) >= 0);					});					if ( !values.length )						this.selectedIndex = -1;				} else					this.value = value;			});	},
6056	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6056/feb9051c0e29937c2494c3db0862a671efc21747/core.js/buggy/src/core.js