function addEquipment(){
	var html = '';
	html += '<tr><td class="it_label">Quantity</td><td><input class="it_input" type="text" name="qty[]" value="" /></td></tr>';
	html +=	'<tr><td class="it_label">Type</td><td>';
	html +=	'<select class="it_select" name="type[]">';
	html +=	'<option value="">Choose one...</option>';
	html +=	'<option value="Laptop">Laptop</option>';
	html +=	'<option value="Desktop">Desktop</option>';
	html +=	'<option value="Server">Server</option>';
	html +=	'<option value="Midrange Server">Midrange Server</option>';
	html +=	'<option value="Mainframe Server">Mainframe Server</option>';
	html +=	'<option value="Networking">Networking</option>';
	html +=	'<option value="Storage System">Storage System</option>';
	html +=	'<option value="Printer">Printer</option>';
	html +=	'<option value="Other">Other</option>';
	html +=	'</select></td></tr>';
	html +=	'<tr><td class="it_label">Manufacturer</td>';
	html +=	'<td><select class="it_select" name="manufacturer[]">';
	html +=	'<option value="">Choose one...</option>';
	html +=	'<option value="Cisco">Cisco</option>';
	html +=	'<option value="Dell">Dell</option>';
	html +=	'<option value="EMC">EMC</option>';
	html +=	'<option value="HP">HP</option>';
	html +=	'<option value="IBM">IBM</option>';
	html +=	'<option value="SUN">SUN</option>';
	html +=	'<option value="Other">Other</option>';
	html +=	'</select></td></tr>';
	html +=	'<tr><td class="it_label">Model Number</td><td><input class="it_input" type="text" name="model_number[]" value="" /></td></tr>';
	html +=	'<tr><td class="it_label">Cosmetic condition<u>(Assumes equipment itself is in full working order)</u></td><td>';
	html +=	'<select class="it_select" name="condition[]">';
	html +=	'<option value="">Choose one...</option>';
	html +=	'<option value="Excellent condition/As new">Excellent condition/As new</option>';
	html +=	'<option value="A few scratches">A few scratches</option>';
	html +=	'<option value="Many scratches and small dents">Many scratches and small dents</option>';
	html +=	'<option value="Other">Other</option>';
	html +=	'</select></td></tr>';
	html +=	'<tr><td class="it_label">Description/Notes</td><td><textarea class="it_input area" name="description[]" rows="" cols=""></textarea></td></tr>';
	html +=	'<tr><td colspan="2"><hr/></td></tr>';

	$("#equipment").append(html);
}

function xmlhttpPost(strURL) 
{
	var xmlHttpReq = false;
	var thisform = this;
	// Checks if browser is Mozilla or Safari
	if (window.XMLHttpRequest){thisform .xmlHttpReq = new XMLHttpRequest();}
	// Checks if browser is Internet Explorer
	else if (window.ActiveXObject){thisform .xmlHttpReq = new ActiveXObject("Microsoft.XMLHTTP");}

	thisform .xmlHttpReq.open('POST', strURL, true);
	thisform .xmlHttpReq.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
	thisform .xmlHttpReq.onreadystatechange = function() 
	{
		if (thisform .xmlHttpReq.readyState == 4) {updatepage(thisform .xmlHttpReq.responseText);}
	}
	thisform .xmlHttpReq.send(getquerystring());
	}

	function getquerystring() 
	{
		var postcode= document.getElementById('postcode').value;
		qstr = 'postcode=' + escape(postcode);  // NOTE: no '?' before querystring
		return qstr;
	}

	function updatepage(str)
	{
		document.getElementById("result").innerHTML = str;
	}
