<!--
var xy = navigator.appVersion;
xz = xy.substring(0,4);
document.cookie = "ScreenWidth=" + screen.width
document.cookie = "ScreenHeight=" + screen.height
var supported = (document.getElementById || document.all);

if (supported)
{
	document.write("<STYLE TYPE='text/css'>");
	document.write(".para {display: none}");
	document.write("</STYLE>");

	var max = 7;
	var shown = new Array();
	for (var i=1;i<=max;i++)
	{
		shown[i+1] = false;
	}

}

function cc()
{
/* check for a cookie */
  if (document.cookie == "")
  {
	 /* if a cookie is found - alert user - change cookieexists field value to false */
	 alert("COOKIES need to be enabled!");
	 
	 /* if the user has Cookies disabled an alert will let him know that cookies need to be enabled to log on. */
	 document.memberdb.cookieexists.value = "false"
  } else 
  {
	  /* this sets the value to true and nothing else will happen, the user will be able to log on */
	  document.memberdb.cookieexists.value = "true"
  }
}

/* Set a cookie to be sure that one exists. Nothe that this is outside the function */
      document.cookie = 'killme' + escape('nothing')
function CalCheckMax(obj)
{
   var txtmax;
   txtmax = obj.txtmax.value;
   var ValidChars = "0123456789";
   var IsNumber=true;
   var Char;
   
   for (i = 0; i < txtmax.length && IsNumber == true; i++) 
      { 
      Char = txtmax.charAt(i); 
      if (ValidChars.indexOf(Char) == -1) 
         {
         IsNumber = false;
         }
      }
   if (IsNumber == false)
   {
   alert("This value must be numeric!");
   }
return false;
location.replace("CalDatabaseSearch.asp");
}

function checkMax(obj)
{
   var txtmax;
   txtmax = obj.txtmax.value;
   var ValidChars = "0123456789";
   var IsNumber=true;
   var Char;
   
   for (i = 0; i < txtmax.length && IsNumber == true; i++) 
      { 
      Char = txtmax.charAt(i); 
      if (ValidChars.indexOf(Char) == -1) 
         {
         IsNumber = false;
         }
      }
   if (IsNumber == false)
   {
   alert("This value must be numeric!");
   }
return false;
location.replace("membDatabaseSearch.asp");
}


function blocking(i)
{
	if (!supported)
	{
		alert('This link does not work in your browser.');
		return;
	}
	shown[i] = (shown[i]) ? false : true;
	current = (shown[i]) ? 'block' : 'none';
	if (document.getElementById)
	{
		document.getElementById('number'+i).style.display = current;
	}
	else if (document.all)
	{
		document.all['number'+i].style.display = current;
	}
}

function checkURL() {
var url;
var payType;
var box;
var paypalLink;
var notpaypalLink;
var paymentValue = "Credit Card via Paypal";

paypalLink = "../ti_test/Personal_Memb_Paypal.asp";
notpaypalLink = "../ti_test/PersonalMemb_App_Acknowlege.asp";
box = document.personalMemb.Payment.options;
payType = box[box.selectedIndex].value;


if (payType != paymentValue)
{
document.personalMemb.RedirectURL.value = notpaypalLink;
}

if (payType == paymentValue)
{
document.personalMemb.RedirectURL.value = paypalLink;
}
return true;
}



function Checkform() {
var useritem;
var passitem;

useritem = document.memberdb.userID.value;
passitem = document.memberdb.password.value;

if (useritem == "" & passitem == "")
{
alert("You must enter a UserId and Password");
return false;
}


if (passitem == "")
{
alert("You must enter a Password");
return false;
}


if (useritem == "")
{
alert("You must enter a UserId");
return false;
}



}
-->