private void setCombos(dir_type level)
	{

		drawImage();
		
		  if(level.equals(dir_type.initial))
		  {
			  patient_combo.removeAllItems();
			  //patient_combo.addItem("all");
			  	//TODO: find out reference key between patient and study
				  for (Entry<String, HashMap<String, String>> entry : patient_map.entrySet()) {
					  patient_combo.addItem(entry.getValue().get(dcm.nameOf(Tag.PatientName)));
					  ref_key_pat.put(entry.getValue().get(dcm.nameOf(Tag.PatientName)), entry.getValue().get(dcm.nameOf(Tag.PatientID)));
						
				   }
			  studie_combo.removeAllItems();
				//TODO: find out reference key between study and serie
			  int counter = 0;
			  	//studie_combo.addItem("all");
				 for (Entry<String, HashMap<String, String>> entry : studie_map.entrySet()) {
					  studie_combo.addItem(counter +" " + entry.getValue().get(dcm.nameOf(Tag.StudyDescription)));
					  ref_key_stu.put(counter +" " + entry.getValue().get(dcm.nameOf(Tag.StudyDescription)), entry.getValue().get(dcm.nameOf(Tag.StudyInstanceUID)));
					  counter ++;
				   }
			 serie_combo.removeAllItems();
			  //serie_combo.addItem("all");
			  int counter2 = 0;
			  //serie_combo.addItem("all");
				  for (Entry<String, HashMap<String, String>> entry : serie_map.entrySet()) {
					  serie_combo.addItem(counter2 +" " + entry.getValue().get(dcm.nameOf(Tag.SeriesDescription)));
					  ref_key_ser.put(counter2 +" " + entry.getValue().get(dcm.nameOf(Tag.SeriesDescription)), entry.getValue().get(dcm.nameOf(Tag.SeriesInstanceUID)));
					  counter2 ++;
				  }
		  }
		  //if(level.equals(dir_type.initial)||level.equals(dir_type.patient)){  }
		  //if(level.equals(dir_type.initial)||level.equals(dir_type.patient)||level.equals(dir_type.studie)){}

		  if(!level.equals(dir_type.recource))
		  {
			  recource_combo.removeAllItems();
				 int imageCount = 1;
				 Iterator<Integer> it = images.keySet().iterator(); 	 
				 String selected_serieUID = ref_key_ser.get(serie_combo.getSelectedItem());
				 recource_combo.addItem("select");
					 while(it.hasNext()) { 
						 Object key = it.next();
						 //Object val = images.get(key);  
						 if(ref_img_serie.get(key) != null && ref_img_serie.get(key).equals(selected_serieUID)){
							 recource_combo.addItem(key);
							 imageCount++;
						 }
				}
		  }
	}