function ask_go(loc) {
	if (confirm('Are you sure?')) {
		location = loc;
		return true;
	} else
		return void(0);
}

function ask() {
	if (confirm('Are you sure?')) {
		return true;
	} else
		return false;
}

function ask_submit() {
	/*if (confirm('Are you sure?')) {
		this.form.submit;
		return true;
	} else
		return false;*/
}

function uc() {
	alert("This section is under construction");
	return false;
}

//function to check valid email address
function isValidEmail(strEmail, msg)
{
	//strEmail = trim(strEmail);
	validRegExp = /^[^@]+@[^@]+.[a-z]{2,}$/i;
	strEmail = strEmail;

	// search email text for regular exp matches
	if (strEmail.search(validRegExp) == -1) 
   	{
		alert(msg);
		return false;
	} 
	return true; 
}
