anchor.diff:  }
    <logic:notEqual name="operation" value="add">
   var imageIdCombo = dhtmlXComboFromSelect("equipmentImageId");
  +imageIdCombo.setSize(302);
   imageIdCombo.attachEvent("onChange",function()
  -                       {//alert(imageIdCombo.name);
  +                       {
                                  //var activityValue=imageIdCombo.getSelectedValue();
                                  getSelectedData(imageIdCombo.getSelectedValue());
                                  return true;
                                  //alert(activityValue);
                          });
  -imageIdCombo.attachEvent("onBlur",function()
  -                       {//alert(imageIdCombo.name);
  -                               var activityValue=imageIdCombo.getSelectedValue();
  -                          //     alert(activityValue);
  -                       });
  -            </logic:notEqual>       
  +imageIdCombo.attachEvent("onBlur",function(){processComboData(this.name,this.getSelectedText());});
  +            </logic:notEqual>
  +
  +			
   var siteCombo = dhtmlXComboFromSelect("siteId");
  -siteCombo.attachEvent("onChange",function()
  -                       {//alert(siteCombo.name);
  -                               //var activityValue=siteCombo.getSelectedValue();
  -                              // getSelectedData(siteCombo.getSelectedValue());
  -                               //alert(activityValue);
  -                       });
  -siteCombo.attachEvent("onBlur",function()
  -                       {//alert(siteCombo.name);
  -                               var activityValue=siteCombo.getSelectedValue();
  -                          //     alert(activityValue);
  -                       });
  +//siteCombo.setOptionWidth(102);
  +siteCombo.setSize(202);
  +siteCombo.attachEvent("onChange",function(){});
  +siteCombo.attachEvent("onBlur",function(){processComboData(this.name,this.getSelectedValue());});
  +
   
   function deviceEdit(key)
   {
       document.getElementById('editable').style.display="block";
       document.getElementById('readonly').style.display="none";
       document.getElementById('edit').disabled="disabled";
  -}                      
  +}
  +function processComboData(objName,objValue)
  +{
  +	equipDataJson[objName] = objValue;
  +}
   function processEquipData(obj)
   {
       equipDataJson[obj.name] = obj.value; //after rendering struts html tag the 'property' attribute becomes 'name' attribute.
   }
   function viewImageLocally(imageURL)
   {//alert(imageURL);
  -imageURL='http://localhost/imageserver/@32';
  +//imageURL='http://localhost/imageserver/@32';
       var action = "OpenAperioImage.do?imageURL="+imageURL+"&operation=imageScope";
       mywindow=window.open(action,"Download","width=10,height=10");
       mywindow.moveTo(0,0);
   }
   function downloadImage(imageURL)
   {
  -imageURL='http://localhost/imageserver/@32';
  +//imageURL='http://localhost/imageserver/@32';
   //alert(imageURL);
       var loader = dhtmlxAjax.postSync("OpenAperioImage.do","imageURL="+imageURL+"&operation=download");
       if(loader.xmlDoc.responseText != null)
  
positive.code:                                 </div>
                                 
                            </td>
                            <td colspan="3" align="right">
                             
                              <input type="button" name="edit" value="Edit" id='edit'/>
  
negative.code:             <div id="mainTable" style="display:none"><table width="100%"  border="0" cellpadding="3" cellspacing="0" >
                  <tr>
                    <td><div id="error" class="alert alert-error" style="display:none">
  				<strong>Error!</strong> <span id="errorMsg">Change a few things up and try submitting again.</span>
  </div>
  
  
  <div class="alert alert-success" id="success-div" style="display:none">
  					Changes Updated Successfully
  </div>
  </td>
                  </tr>
  