/*******************************************************
* Random Password Generator JavaScript
* Original JavaScript by Kipp B. Smith © 1999 (6EQUJ5)
* <http://www.kipp.smith.net/javascripts/random.htm/>
* This script is free as long as original credits remain.
********************************************************/

function makerandpwd()
{
	// Use the following variables for password characters
	// and length
	
	  var characters="0123456789abcdefghijklmnopqrstuvwxyz";	
	  var passwordlength=8;
	  
	// This function will build a string using randomly
	// generated characters.
	
	  var password = "";
	  var n = 0;
	  var randomnumber = 0;
	  while( n < passwordlength ) {
	     n ++
	     randomnumber = Math.floor(characters.length*Math.random());
	     password += characters.substring(randomnumber,randomnumber + 1);
	  }
	
	// Display the word inside the form text box
	
	 return password;
}
