/*
 * WCA Specific functions
 *
 */

function configViewer(p1, p2)
{
  setCookie(v1, hex_md5(p1 + p2), 0);
}

function TandC()
{
	var a = new oAjax("http://"+location.host+"/includes/tandc.php", candt);
	var x = "TandC="+document.getElementById("TermsAndConditions").checked;
	a.update(x, "POST");
	return true;
}

function setTandC()
{
  var oTandC = document.getElementById("TermsAndConditions");

  if ( oTandC.checked == true )
  {
    oTandC.checked = false;
  }
  else
  {
    oTandC.checked = true;
  }

  TandC();
}

function NoTandC(msg)
{
  alert(msg);
}

function candt()
{
}
