/* Shortcut for document.getElementById */
function EBD(param)
{
	return document.getElementById(param);
}

function TrimString(intString) 
{
  intString = intString.replace( /^\s+/g, "" );// strip leading
  return intString.replace( /\s+$/g, "" );// strip trailing
}

function viewDemo()
{
	if(EBD('_chkdemo').checked==false)
	{
		alert("Please accept the Privacy Policy to Proceed");
		return;
	}
	location	=	"amember/premium/";
}