result += '<tr>'; result += '  <td>[ <a href="javascript:deleteUser('+jsonData[i].id+');">delete user</a> ]</td>'; result += '  <td><a href="javascript:editUser('+jsonData[i].id+');">'+jsonData[i].fullname+'</a></td>'; result += '  <td>'+jsonData[i].level+'</td>'; result += '</tr>'; 
if(!(userlevel<5 && jsonData[i].id != myUserId)) { result += '<tr>'; result += '  <td>[ <a onclick="deleteUser('+jsonData[i].id+');setTimeout(\'userAdmin();\', 2500);">delete user</a> ]</td>'; result += '  <td><a href="javascript:editUser('+jsonData[i].id+');">'+jsonData[i].fullname+'</a></td>'; result += '  <td>'+jsonData[i].level+'</td>'; result += '</tr>'; } 
function showUserAdmin (request){	if (request.readyState==4)	{		var jsonData = eval('('+request.responseText+')');				var result = '<table width="800">';				for(i=0; i<jsonData.length; i++)		{			result += '<tr>';			result += '  <td>[ <a href="javascript:deleteUser('+jsonData[i].id+');">delete user</a> ]</td>';			result += '  <td><a href="javascript:editUser('+jsonData[i].id+');">'+jsonData[i].fullname+'</a></td>';			result += '  <td>'+jsonData[i].level+'</td>';			result += '</tr>';		}				result += '<tr><td colspan="3">&nbsp;</td></tr>';		result += '<tr><td colspan="3"><h1>Add a user</h1></td></tr>';		result += '<tr><td>Username</td><td colspan="2"><input type="text" id="username"></td></tr>';		result += '<tr><td>Password</td><td colspan="2"><input type="text" id="password"></td></tr>';		result += '<tr><td>Password check</td><td colspan="2"><input type="text" id="passwordcheck"></td></tr>';		result += '<tr><td>Full name</td><td colspan="2"><input type="text" id="fullname"></td></tr>';		result += '<tr><td>E-mail</td><td colspan="2"><input type="text" id="email"></td></tr>';		result += '<tr><td>Description</td><td colspan="2"><input type="text" id="description"></td></tr>';		result += '<tr><td>Level</td><td colspan="2"><input type="text" id="level"></td></tr>';		result += '<tr><td>Active</td><td colspan="2"><input type="text" id="active"></td></tr>';		result += '<tr><td colspan="3"><input type="button" id="save" value="Add user" onclick="addUser(';		result += ' document.getElementById(\'username\').value, document.getElementById(\'password\').value, document.getElementById(\'passwordcheck\').value,';		result += ' document.getElementById(\'fullname\').value, document.getElementById(\'email\').value, document.getElementById(\'description\').value,';		result += ' document.getElementById(\'level\').value, document.getElementById(\'active\').value);"></td></tr>';		result += '</table>';				document.getElementById("body").innerHTML = result;	}}
3798	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/3798/1d3cf66b4577096f73830bf2d186038e504dea01/freshdns.js/buggy/trunk/js/freshdns.js