// JavaScript Document


function loadc()
{
  document.frm2.ctext.value = randomPassword(6);
  //document.frm2.pvalid.value='n';
  ahpos(document.getElementById('ctxt'),'tdiv');
  return false;
}		


function validate()
{
//alert("jo");
	if(isvalidvalue(document.frm2.txtcmt.value)!=true)
	{
		alert("Invalid Comment");
		document.frm2.txtcmt.focus();
		return false;
	}
	return true;
	
	

	if(document.frm2.ec.value =="" || pass111!=document.frm2.ec.value)
			{
			alert("Invalid Code!");
			document.frm2.ec.focus();
			return false;
			}


//return ProgressBar(document.getElementById('frm2'));

}

