var medialist = 'REX_MEDIALIST_'+id; var needle = new getObj(medialist);  var source = needle.obj; var sourcelength = source.options.length; var position = ""; for (ii = 0; ii < sourcelength; ii++) { if (source.options[ii].selected) { position = ii; } } source.options[position] = null; 
var medialist = 'REX_MEDIALIST_SELECT_'+id; var needle = new getObj(medialist);  var source = needle.obj; var sourcelength = source.options.length; var position = null; for (ii = 0; ii < sourcelength; ii++) { if (source.options[ii].selected) { position = ii; break; } }  if(position != null) { source.options[position] = null; sourcelength--;   if(position == 0) {   if(sourcelength > 0) source.options[0].selected = "selected"; } else {  if(sourcelength > position) source.options[position].selected= "selected"; else source.options[position-1].selected= "selected"; }  writeREXMedialist(id); }  
function deleteREXMedialist(id){	var medialist = 'REX_MEDIALIST_'+id;	var needle = new getObj(medialist);		var source = needle.obj;	var sourcelength = source.options.length;	var position = "";	for (ii = 0; ii < sourcelength; ii++) {		if (source.options[ii].selected) {			position = ii;		}	}	source.options[position] = null;}
7270	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/7270/c0148dc91a66683cc0c90acea1a81b2313a6536f/standard.js/buggy/redaxo3_0/redaxo/js/standard.js