function form_feedback_validation()
{
	var b_correct=true;
	if(b_correct && func_trim(document.frm_feedback.cbo_issue.value)=="") 
	{
		b_correct=false;
		alert("Please select an issue");
		document.frm_feedback.cbo_issue.focus();
	}
	else if(b_correct && func_trim(document.frm_feedback.cbo_issue.value)== "Other")
	{
		if(func_trim(document.frm_feedback.txt_issue.value)=="") 
		{
			b_correct=false;
			alert("Please give issue name");
			document.frm_feedback.txt_issue.focus();
		}
	}
	if(b_correct && func_trim(document.frm_feedback.txt_name.value)=="") 
	{
		b_correct=false;
		alert("Please give your name");
		document.frm_feedback.txt_name.focus();
	}
	
	if(b_correct && func_trim(document.frm_feedback.txt_email.value)=="") 
	{
		b_correct=false;
		alert("Please give your email address");
		document.frm_feedback.txt_email.focus();
	}
	
	if(b_correct && !func_is_email(func_trim(document.frm_feedback.txt_email.value)))
	{
		b_correct=false;
		alert("Please give a valid email address");
		document.frm_feedback.txt_email.focus();
		document.frm_feedback.txt_email.select();
	}
	if(b_correct && func_trim(document.frm_feedback.txt_comments.value)=="") 
	{
		b_correct=false;
		alert("Please give comments");
		document.frm_feedback.txt_comments.focus();
	}
	return b_correct;
}
function func_check_issue()
{
	objform = document.frm_feedback;
	if(objform.cbo_issue.value == "Other")
	{
		document.getElementById('otherissue').style.display='block';
	}
	else
	{
		document.getElementById('otherissue').style.display='none';
	}
}

