function getnums(bref) {
	if( ( typeof(keylist) == 'function' ) ) {
		document.mform.keydef.value = '*** Select address above first ***' ;
		document.mform.keydefh.value = '*** Select address above first ***' ;
	}
	document.mform.num.options.length = 0;
	if(document.mform.block.value) {
		document.mform.num.options[0] = new Option( '** Select number **' , '' );
		if(bref && typeof(document.mform[bref].value)=='string') {
			nvars = document.mform[bref].value.split(',');
			block = nvars[0];
			for(var i = 1 ; i < nvars.length ; i++ ) {
				document.mform.num.options[i] = new Option( nvars[i] , nvars[i] );
			}
		}
	}
	else {
		document.mform.num.options[0] = new Option( '*** Select above first ***' , '' );
	}
}
function getkeys() {
	if( ( typeof(keylist) == 'function' ) && ( typeof(document.mform.keydef) == 'object' ) ) {
		document.mform.keydef.value = keylist(document.mform.block.value,document.mform.num.value) ;
		document.mform.keydefh.value = keylist(document.mform.block.value,document.mform.num.value) ;
	}
}
function roll(ln,cn) {
 if (document.getElementById(ln)) {
   obj=document.getElementById(ln);
   obj.className=cn;
 }
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

