//validateSearch
function validateSearch()
{
	fv =  new formValidator();
		
	if (fv.isEmpty("searchterm"))
		fv.raiseError("Please enter your searchterm.");
		
	if (fv.numErrors() > 0)
	{
		fv.displayErrors();
		return false;
	}
	else
	  return true;
}

//validateLogin
function validateLogin()
{
	fv =  new formValidator();
		
	if (fv.isEmpty("username"))
		fv.raiseError("Please enter your username.");
		
	if (fv.isEmpty("password"))
		fv.raiseError("Please enter your password.");
		
	if (fv.numErrors() > 0)
	{
		fv.displayErrors();
		return false;
	}
	else
	  return true;
}

//Nav

jQuery(function(){
	jQuery('.sf-menu > li.sub > a').css({'border':'0'});
});




