anchor.diff:  	}
   
   	var viewed_secgroup = -1;	
  -$(function(){
  -	
  -	
  +	$(function(){
   		$("#popupbutton_secgroup").click(function(){
  -			
   			viewed_secgroup = -1;
   			centerPopup_secgroup();
   			loadPopup_secgroup();
  -				var groupDescriptionp = {  id:null,name:null, url:null };
  -			  	dwr.util.setValues(groupDescriptionp);
  -			  	clearTable('secTable');
  -			  	addRow('secTable');
  -			  
  -		});
  -	
  -		
  -			$("#popupbutton_secgrouplist").click(function(){
  -				
  -					dwr.engine.beginBatch();
  -					start =0;
  -					$('#SearchField').val('');
  -					GroupDescriptionP.findAll4Edit(start,max,'',findAll_secgroup);
  -				  dwr.engine.endBatch();
  -			} );
  -			
  -			$("#popupbutton_previous").click(function(){
  -				if(start>16){
  -					start=start -17;
  -				}
  -				var text2Search = dwr.util.getValue("SearchField");
  -				GroupDescriptionP.findAll4Edit(start,max,text2Search,findAll_secgroup);
  -			} );
  -			
  -			$("#popupbutton_next").click(function(){
  -				start = start +17;
  -				var text2Search = dwr.util.getValue("SearchField");
  -				GroupDescriptionP.findAll4Edit(start,max,text2Search,findAll_secgroup);
  -			} );
  -			
  -			$("#popupbutton_search").click(function(){
  -				
  -				var text2Search = dwr.util.getValue("SearchField");
  -				start = 0;
  -				GroupDescriptionP.findAll4Edit(start,max,text2Search,findAll_secgroup);
  -				
  -			} );
  -	
  -			ProjectService.findAll(function(p){
  -				dwr.util.removeAllOptions('projectId');
  -				//dwr.util.addOptions('project', p, 'id', 'name');
  -				dwr.util.addOptions('projectId', p, 'id', function(p) {
  -					return p.name+' @ '+p.department.name;
  -				});
  -				//dwr.util.setValue(id, sel);
  -				
  +			var groupDescriptionp = {  id:null,name:null, url:null };
  +		  	dwr.util.setValues(groupDescriptionp);
  +		  	clearTable('secTable');
  +		  	addRowLabel('secTable');
  +		  	addRow('secTable');
  +		});
  +		
  +		$("#popupbutton_secgrouplist").click(function(){
  +			
  +				dwr.engine.beginBatch();
  +				start =0;
  +				$('#SearchField').val('');
  +				GroupDescriptionP.findAll4Edit(start,max,'',findAll_secgroup);
  +			  dwr.engine.endBatch();
  +		} );
  +		
  +		$("#popupbutton_previous").click(function(){
  +			if(start>16){
  +				start=start -17;
  +			}
  +			var text2Search = dwr.util.getValue("SearchField");
  +			GroupDescriptionP.findAll4Edit(start,max,text2Search,findAll_secgroup);
  +		} );
  +		
  +		$("#popupbutton_next").click(function(){
  +			start = start +17;
  +			var text2Search = dwr.util.getValue("SearchField");
  +			GroupDescriptionP.findAll4Edit(start,max,text2Search,findAll_secgroup);
  +		} );
  +		
  +		$("#popupbutton_search").click(function(){
  +			
  +			var text2Search = dwr.util.getValue("SearchField");
  +			start = 0;
  +			GroupDescriptionP.findAll4Edit(start,max,text2Search,findAll_secgroup);
  +			
  +		} );
  +
  +		ProjectService.findAll(function(p){
  +			dwr.util.removeAllOptions('projectId');
  +			//dwr.util.addOptions('project', p, 'id', 'name');
  +			dwr.util.addOptions('projectId', p, 'id', function(p) {
  +				return p.name+' @ '+p.department.name;
   			});
  -		});
  +			//dwr.util.setValue(id, sel);
  +			
  +		});
  +	});
   
   		$("#popupContactClose_secgroup").click(function(){
   			viewed_secgroup = -1;
  
positive.code: 			  '</td>'+
  		  '</tr>';
  		  
  	    $('#'+tableID+' tr:last').after(rowData);
  	}
  	
  	function deleteRow(row,id) {
  
negative.code: 								<p id="contactArea_secgroup" class="contactArea" >
  								<input type="hidden" id="id" name="id">
  								<table  style="width: 100%;" border="0">
  									<tr>
  									    <td style="width: 20%;">Product : </td>
  									    <td><select id="product" name="product" style="width: 250px;" class="required"></select></td>
  									 </tr>
  									<tr>
  									    <td style="width: 20%;">Project : </td>
  									     <td>
  										    <select id="projectId" name="projectId" style="width: 250px;" class="required">
  									    	</select>
  								    	</td>
  									</tr>
  									<tr>
  									    <td style="width: 20%;">Name : </td>
  									    <td><input type="text" name="name" id="name" size="39" class="required"></td>
  									</tr>
  									<tr>
  									    <td style="width: 20%;">Description : </td>
  									    <td><input type="text" name="descripton" id="descripton" size="39" class="required"></td>
  									 </tr>
  									<tr id="rowOwner">
  									    <td style="width: 20%;">Owner : </td>
  									    <td><input type="text" name="owner" id="owner" size="39" class="required"> </td>
  									 </tr>
  								</table>
  								<br>
  								<table  style="width: 100%;">
  									<tr>
  										  <td>
  											  <table style="width: 100%;" id="secTable" border="0">
  											  </table>
  										  </td>
  									</tr>
  									<tr>
  									  	<td align="right">
  									    <br><br>
  											<div class="demo" id="popupbutton_secgroup_create">
  											<input class="submit" type="submit" value="Save"/>&nbsp;&nbsp;&nbsp;&nbsp;
  												<button onclick="cancelForm_secgroup(this.form);return false;">Cancel</button>
  											</div>
  										</td>
  										
  									</tr>
  								</table>
  								</p>
  							</form>
  						</div>
  		<div id="backgroundPopup_secgroup" class="backgroundPopup" ></div>
  	</div>
  	