
function GoTo(where) {
	if (where != "#") 
	{
		self.location=where;
	}
};

function GoToNew(where) 
{
	if (where != "#") 
	{
		window.open(where);
	}
};

function isEmpty(input)
{
   var str = input;
   if(str == "" || str.length == 0)
   {
      return false;
   }
   else
   {
       return true;
   }
};

isEmail = function(strInput)
{
	var validFormatRegExp =/^\w(\.?\w)*@\w(\.?[-\w])*\.[a-z]{2,4}$/i;
	var b = validFormatRegExp.test(strInput);
	return b;
};