function ValidateDemo(pre){
	if(pre=='_1'){
		$tag='Call Centre Agent Survey Demo';
	}else if(pre=='_2'){
		$tag='Net Promoter Score Demo';
	}else if(pre=='_3'){
		$tag='Polling Survey Demo';
	}else if(pre=='_4'){
		$tag='new Business Demo';
	}
	
	if(!document.getElementById('cell_num'+pre).value){
		alert('Please enter the cell number that you wish to use\nto continue with the '+$tag+'.');
		document.getElementById('cell_num'+pre).focus();
		return false;
	}
	if(isNaN(document.getElementById('cell_num'+pre).value)){
		alert('The cell number entered does not appear to be correct.\nPlease modify this, removing any spaces, and try again.');
		document.getElementById('cell_num'+pre).focus();
		return false;
	}
	if(!document.getElementById('first_name'+pre).value){
		alert('Please enter your first name\nto continue with the '+$tag+'.');
		document.getElementById('first_name'+pre).focus();
		return false;
	}
	if(!document.getElementById('title'+pre).value){
		alert('Please select the title that you wish to use\nto continue with the '+$tag+'.');
		document.getElementById('title'+pre).focus();
		return false;
	}
	if(!document.getElementById('region'+pre).value){
		alert('Please select the region that you wish to use\nto continue with the '+$tag+'.');
		document.getElementById('region'+pre).focus();
		return false;
	}
	if(!document.getElementById('agent_name'+pre).value){
		alert('Please select an agents name\nto continue with the '+$tag+'.');
		document.getElementById('agent_name'+pre).focus();
		return false;
	}
	if(!document.getElementById('call_date'+pre).value){
		alert('Please select a call date\nto continue with the '+$tag+'.');
		document.getElementById('call_date'+pre).focus();
		return false;
	}
}
