$(document).ready(function(){
	var current = 1;	
	$('#addPost').click(addPost);
	
	
	function addPost() {
		
	   current++;
	   var strToAdd = '<tr><td class="title"  colspan="2"><div class="input text"><label for="AllpropertyPostcode'+current+'">Post Code </label><input id="AllpropertyPostcode'+current+'" type="text" value="" maxlength="5" size="5" name="data[Allproperty][postcode][]"/></div></td></tr>';
	   if(current<6){
	
	   $('#postcodeAdd').after(strToAdd);
	   }
	}
});
